Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/json/program/obj-referral-program/program-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"sharing": {
"enabled": true,
"linksConfig": {
"defaults": "linkConfigId"
"defaults": "referral-program-messages.yml"
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

linksConfig.defaults now points at referral-program-messages.yml, but that file doesn’t exist anywhere in this repository (no .yml/.yaml template files besides src/yaml/saasquatch-api.yaml). If consumers expect this to be a resolvable template reference, either add the referenced template file(s) to the repo (or the expected generated output), or update the value to a reference format that the consuming system can actually resolve.

Suggested change
"defaults": "referral-program-messages.yml"
"defaults": null

Copilot uses AI. Check for mistakes.
}
},
"summary": "Reward people for making referrals",
Expand All @@ -16,21 +16,21 @@
{
"key": "referrerWidget",
"name": "In-app referral widget",
"defaults": "referrerWidgetId",
"defaults": "referral-program-widget-template.yml",
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

widgets[referrerWidget].defaults now references referral-program-widget-template.yml, but that file isn’t present in this repo. Unless it’s generated/packaged elsewhere, this will leave the template reference dangling for any tooling that tries to resolve defaults.

Suggested change
"defaults": "referral-program-widget-template.yml",
"defaults": "instant-access-referral-program-widget-template.yml",

Copilot uses AI. Check for mistakes.
"description": "Widget displayed to a user who has referred friends",
"supportsInstantAccess": false
},
{
"key": "websiteReferralWidget",
"name": "Website referral widget",
"defaults": "websiteReferralWidgetId",
"defaults": "instant-access-referral-program-widget-template.yml",
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

widgets[websiteReferralWidget].defaults references instant-access-referral-program-widget-template.yml, but there is no matching template file in the repository. If defaults are intended to be file-based now, the referenced template needs to be added (or the reference updated to whatever location/identifier the resolver expects).

Suggested change
"defaults": "instant-access-referral-program-widget-template.yml",
"defaults": "referral-program-widget-template.yml",

Copilot uses AI. Check for mistakes.
"description": "The website referrer widget allows participants to get instant access to their share link without providing full login credentials. ",
"supportsInstantAccess": true
},
{
"key": "friendWidget",
"name": "Friend widget",
"defaults": "friendWidgetId",
"defaults": "friend-program-widget-template.yml",
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

widgets[friendWidget].defaults references friend-program-widget-template.yml, but that file is not present anywhere in this repo. Please add the template file (or adjust the reference to a resolvable identifier) so consumers don’t fail when attempting to load widget defaults.

Suggested change
"defaults": "friend-program-widget-template.yml",
"defaults": "instant-access-referral-program-widget-template.yml",

Copilot uses AI. Check for mistakes.
"description": "Widget displayed to a referred friend",
"supportsInstantAccess": true
}
Expand Down
Loading