@funnelsgrove/cli 0.1.87 → 0.1.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/dist/apiClient.d.ts +1 -0
  2. package/dist/apiClient.js +32 -1
  3. package/funnel-contract-compatibility.json +28 -28
  4. package/package.json +3 -3
  5. package/template_docs/.funnelsgrove-docs.json +3 -3
  6. package/template_docs/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
  7. package/template_docs/funnel-docs.config.json +1 -1
  8. package/template_scaffold/.funnelsgrove-docs.json +3 -3
  9. package/template_scaffold/.funnelsgrove-scaffold.json +26 -471
  10. package/template_scaffold/PLAN.md +15 -29
  11. package/template_scaffold/context/build-context.md +3 -3
  12. package/template_scaffold/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
  13. package/template_scaffold/funnel-docs.config.json +1 -1
  14. package/template_scaffold/package-lock.json +9 -9
  15. package/template_scaffold/package.json +2 -2
  16. package/template_scaffold/public/assets/email-capture-preview.svg +5 -0
  17. package/template_scaffold/public/assets/paywall-preview.svg +6 -0
  18. package/template_scaffold/src/app/sdk/page.tsx +14 -26
  19. package/template_scaffold/src/components/FunnelFlow.tsx +8 -1
  20. package/template_scaffold/src/config/billing.plans.ts +71 -21
  21. package/template_scaffold/src/config/funnel.manifest.ts +20 -59
  22. package/template_scaffold/src/runtime/checkout-runtime-config.ts +0 -7
  23. package/template_scaffold/src/runtime/step-registry.ts +0 -28
  24. package/template_scaffold/src/steps/content/step-01.content.ts +4 -9
  25. package/template_scaffold/src/steps/content/step-32-paywall.content.ts +12 -50
  26. package/template_scaffold/src/steps/step-01.tsx +43 -50
  27. package/template_scaffold/src/steps/step-31-email-capture.tsx +18 -1
  28. package/template_scaffold/src/steps/step-32-paywall.tsx +93 -299
  29. package/template_scaffold/src/steps/step-33-subscription-started.tsx +1 -1
  30. package/template_scaffold/src/steps/step-content.registry.ts +1 -26
  31. package/template_scaffold/public/claimbee/bee.png +0 -0
  32. package/template_scaffold/public/claimbee/device-iphone.png +0 -0
  33. package/template_scaffold/public/claimbee/device-macbook.png +0 -0
  34. package/template_scaffold/public/claimbee/device-none.png +0 -0
  35. package/template_scaffold/public/claimbee/device-watch.png +0 -0
  36. package/template_scaffold/public/claimbee/glow.svg +0 -3
  37. package/template_scaffold/public/claimbee/steps-sprite-alt.png +0 -0
  38. package/template_scaffold/public/claimbee/steps-sprite-default.png +0 -0
  39. package/template_scaffold/public/claimbee/testimonial-avatar.png +0 -0
  40. package/template_scaffold/public/claimbee/testimonial-star.svg +0 -3
  41. package/template_scaffold/public/paywall/ai-claim-assistant.png +0 -0
  42. package/template_scaffold/public/paywall/claim-history.png +0 -0
  43. package/template_scaffold/public/paywall/clear-progress.png +0 -0
  44. package/template_scaffold/public/paywall/hero.png +0 -0
  45. package/template_scaffold/public/paywall/money-alerts.png +0 -0
  46. package/template_scaffold/public/paywall/money-back-badge.png +0 -0
  47. package/template_scaffold/public/paywall/paywall-image.png +0 -0
  48. package/template_scaffold/public/paywall/r1.png +0 -0
  49. package/template_scaffold/public/paywall/r2.png +0 -0
  50. package/template_scaffold/public/paywall/r3.png +0 -0
  51. package/template_scaffold/public/paywall/r4.png +0 -0
  52. package/template_scaffold/public/paywall/r5.png +0 -0
  53. package/template_scaffold/public/paywall/r6.png +0 -0
  54. package/template_scaffold/public/paywall/special-offer-gift.png +0 -0
  55. package/template_scaffold/public/please/bee.png +0 -0
  56. package/template_scaffold/public/please/device-iphone.png +0 -0
  57. package/template_scaffold/public/please/device-macbook.png +0 -0
  58. package/template_scaffold/public/please/device-none.png +0 -0
  59. package/template_scaffold/public/please/device-watch.png +0 -0
  60. package/template_scaffold/public/please/glow.svg +0 -3
  61. package/template_scaffold/public/please/steps-sprite-alt.png +0 -0
  62. package/template_scaffold/public/please/steps-sprite-default.png +0 -0
  63. package/template_scaffold/public/please/testimonial-avatar.png +0 -0
  64. package/template_scaffold/public/please/testimonial-star.svg +0 -3
  65. package/template_scaffold/public/upsell/upgrade-hero.png +0 -0
  66. package/template_scaffold/src/assets/claimbee/bee.png +0 -0
  67. package/template_scaffold/src/assets/claimbee/device-iphone.png +0 -0
  68. package/template_scaffold/src/assets/claimbee/device-macbook.png +0 -0
  69. package/template_scaffold/src/assets/claimbee/device-none.png +0 -0
  70. package/template_scaffold/src/assets/claimbee/device-watch.png +0 -0
  71. package/template_scaffold/src/assets/claimbee/glow.svg +0 -3
  72. package/template_scaffold/src/assets/claimbee/steps-sprite-alt.png +0 -0
  73. package/template_scaffold/src/assets/claimbee/steps-sprite-default.png +0 -0
  74. package/template_scaffold/src/assets/claimbee/testimonial-avatar.png +0 -0
  75. package/template_scaffold/src/assets/claimbee/testimonial-star.svg +0 -3
  76. package/template_scaffold/src/components/FunnelStepImage.tsx +0 -28
  77. package/template_scaffold/src/config/offer-sets.generated.ts +0 -4
  78. package/template_scaffold/src/steps/content/manage-subscription.content.ts +0 -62
  79. package/template_scaffold/src/steps/content/paywall.content.ts +0 -191
  80. package/template_scaffold/src/steps/content/step-02.content.ts +0 -77
  81. package/template_scaffold/src/steps/content/step-03.content.ts +0 -40
  82. package/template_scaffold/src/steps/content/step-04.content.ts +0 -49
  83. package/template_scaffold/src/steps/editor/manage-subscription.editor.ts +0 -179
  84. package/template_scaffold/src/steps/editor/paywall.editor.ts +0 -232
  85. package/template_scaffold/src/steps/editor/step-02.editor.ts +0 -41
  86. package/template_scaffold/src/steps/editor/step-03.editor.ts +0 -58
  87. package/template_scaffold/src/steps/editor/step-04.editor.ts +0 -98
  88. package/template_scaffold/src/steps/pricing/paywall-b.pricing.ts +0 -12
  89. package/template_scaffold/src/steps/step-02.tsx +0 -140
  90. package/template_scaffold/src/steps/step-03.tsx +0 -262
  91. package/template_scaffold/src/steps/step-04.tsx +0 -673
  92. package/template_scaffold/src/steps/step-32b-paywall-b.tsx +0 -35
  93. package/template_scaffold/src/steps/step-35-manage-subscription.tsx +0 -46
  94. package/template_scaffold/src/steps/use-claimbee-step-content.ts +0 -15
  95. package/template_scaffold/tests/funnel-agent-docs.test.ts +0 -751
  96. package/template_scaffold/tests/package.test.ts +0 -37
  97. package/template_scaffold/tests/src/app/[stepId]/page.test.tsx +0 -59
  98. package/template_scaffold/tests/src/app/layout.test.ts +0 -26
  99. package/template_scaffold/tests/src/components/FunnelFlow.test.tsx +0 -38
  100. package/template_scaffold/tests/src/components/FunnelStepImage.test.ts +0 -15
  101. package/template_scaffold/tests/src/config/billing.plans.test.ts +0 -143
  102. package/template_scaffold/tests/src/config/funnel.manifest.test.ts +0 -166
  103. package/template_scaffold/tests/src/contract/funnel-project.validation.test.ts +0 -79
  104. package/template_scaffold/tests/src/contract/golden/golden-fixtures.test.ts +0 -190
  105. package/template_scaffold/tests/src/contract/validate-funnel.cli.test.ts +0 -191
  106. package/template_scaffold/tests/src/runtime/checkout-runtime-config.test.ts +0 -60
  107. package/template_scaffold/tests/src/runtime/funnel-runtime.test.ts +0 -25
  108. package/template_scaffold/tests/src/runtime/step-content-context.test.ts +0 -38
  109. package/template_scaffold/tests/src/runtime/use-funnel-flow-controller.integration.test.ts +0 -203
  110. package/template_scaffold/tests/src/runtime/use-funnel-flow-controller.test.ts +0 -76
  111. package/template_scaffold/tests/src/steps/paywall-checkout-options.test.ts +0 -104
  112. package/template_scaffold/tests/src/steps/shared-header-contract.test.ts +0 -29
  113. package/template_scaffold/tests/src/steps/step-01.test.ts +0 -38
  114. package/template_scaffold/tests/src/steps/step-02.test.ts +0 -43
  115. package/template_scaffold/tests/src/steps/step-03.test.ts +0 -15
  116. package/template_scaffold/tests/src/steps/step-04.test.ts +0 -32
  117. package/template_scaffold/tests/src/steps/step-31-email-capture.test.ts +0 -22
  118. package/template_scaffold/tests/src/steps/step-32-paywall.test.ts +0 -773
  119. package/template_scaffold/tests/src/steps/step-33-subscription-started.test.ts +0 -44
  120. package/template_scaffold/tests/src/steps/step-34-upsell-form.test.ts +0 -27
  121. package/template_scaffold/tests/src/steps/step-image-migration.test.ts +0 -20
@@ -1,179 +0,0 @@
1
- import type { StepEditorSection } from '@funnelsgrove/runtime';
2
-
3
- export const manageSubscriptionEditor: readonly StepEditorSection[] = [
4
- {
5
- id: 'subscriptions',
6
- label: 'Subscriptions',
7
- fields: [
8
- {
9
- id: 'subscriptionsStage.title',
10
- label: 'Stage title',
11
- kind: 'text',
12
- path: 'subscriptionsStage.title',
13
- },
14
- {
15
- id: 'subscriptionsStage.loadingLabel',
16
- label: 'Loading label',
17
- kind: 'text',
18
- path: 'subscriptionsStage.loadingLabel',
19
- },
20
- {
21
- id: 'subscriptionsStage.emptyLabel',
22
- label: 'Empty label',
23
- kind: 'text',
24
- path: 'subscriptionsStage.emptyLabel',
25
- },
26
- {
27
- id: 'subscriptionsStage.listAriaLabel',
28
- label: 'List label',
29
- kind: 'text',
30
- path: 'subscriptionsStage.listAriaLabel',
31
- },
32
- {
33
- id: 'subscriptionsStage.supportPrefix',
34
- label: 'Support prefix',
35
- kind: 'text',
36
- path: 'subscriptionsStage.supportPrefix',
37
- },
38
- {
39
- id: 'subscriptionsStage.continueLabel',
40
- label: 'Continue label',
41
- kind: 'text',
42
- path: 'subscriptionsStage.continueLabel',
43
- },
44
- {
45
- id: 'subscriptionsStage.cancelScheduledLabel',
46
- label: 'Cancel scheduled label',
47
- kind: 'text',
48
- path: 'subscriptionsStage.cancelScheduledLabel',
49
- },
50
- {
51
- id: 'subscriptionsStage.notCancellableLabel',
52
- label: 'Unavailable label',
53
- kind: 'text',
54
- path: 'subscriptionsStage.notCancellableLabel',
55
- },
56
- {
57
- id: 'supportLink.label',
58
- label: 'Support email',
59
- kind: 'text',
60
- path: 'supportLink.label',
61
- },
62
- {
63
- id: 'supportLink.href',
64
- label: 'Support link',
65
- kind: 'text',
66
- path: 'supportLink.href',
67
- },
68
- ],
69
- },
70
- {
71
- id: 'reasons',
72
- label: 'Reasons',
73
- fields: [
74
- {
75
- id: 'whyStage.title',
76
- label: 'Why title',
77
- kind: 'text',
78
- path: 'whyStage.title',
79
- },
80
- {
81
- id: 'whyStage.reasonsAriaLabel',
82
- label: 'Reasons label',
83
- kind: 'text',
84
- path: 'whyStage.reasonsAriaLabel',
85
- },
86
- {
87
- id: 'whyStage.backLabel',
88
- label: 'Back label',
89
- kind: 'text',
90
- path: 'whyStage.backLabel',
91
- },
92
- {
93
- id: 'whyStage.reasons',
94
- label: 'Reasons',
95
- kind: 'list',
96
- path: 'whyStage.reasons',
97
- preset: 'reasonItems',
98
- },
99
- ],
100
- },
101
- {
102
- id: 'confirm',
103
- label: 'Confirm',
104
- fields: [
105
- {
106
- id: 'confirmStage.title',
107
- label: 'Confirm title',
108
- kind: 'text',
109
- path: 'confirmStage.title',
110
- },
111
- {
112
- id: 'confirmStage.cancelLabel',
113
- label: 'Cancel label',
114
- kind: 'text',
115
- path: 'confirmStage.cancelLabel',
116
- },
117
- {
118
- id: 'confirmStage.reasonPrefix',
119
- label: 'Reason prefix',
120
- kind: 'text',
121
- path: 'confirmStage.reasonPrefix',
122
- },
123
- {
124
- id: 'confirmStage.selectedPlanPrefix',
125
- label: 'Selected plan prefix',
126
- kind: 'text',
127
- path: 'confirmStage.selectedPlanPrefix',
128
- },
129
- {
130
- id: 'confirmStage.cancellingLabel',
131
- label: 'Cancelling label',
132
- kind: 'text',
133
- path: 'confirmStage.cancellingLabel',
134
- },
135
- {
136
- id: 'confirmStage.backLabel',
137
- label: 'Back label',
138
- kind: 'text',
139
- path: 'confirmStage.backLabel',
140
- },
141
- {
142
- id: 'doneStage.title',
143
- label: 'Done title',
144
- kind: 'text',
145
- path: 'doneStage.title',
146
- },
147
- {
148
- id: 'doneStage.cancelledMessage',
149
- label: 'Cancelled message',
150
- kind: 'textarea',
151
- path: 'doneStage.cancelledMessage',
152
- },
153
- {
154
- id: 'doneStage.emptyMessage',
155
- label: 'Empty message',
156
- kind: 'textarea',
157
- path: 'doneStage.emptyMessage',
158
- },
159
- {
160
- id: 'doneStage.returnHomeLabel',
161
- label: 'Return home label',
162
- kind: 'text',
163
- path: 'doneStage.returnHomeLabel',
164
- },
165
- {
166
- id: 'errorMessages.load',
167
- label: 'Load error',
168
- kind: 'text',
169
- path: 'errorMessages.load',
170
- },
171
- {
172
- id: 'errorMessages.cancel',
173
- label: 'Cancel error',
174
- kind: 'text',
175
- path: 'errorMessages.cancel',
176
- },
177
- ],
178
- },
179
- ] as const;
@@ -1,232 +0,0 @@
1
- import type { StepEditorSection } from '@funnelsgrove/runtime';
2
-
3
- export const paywallEditor: readonly StepEditorSection[] = [
4
- {
5
- id: 'timer',
6
- label: 'Timer',
7
- fields: [
8
- {
9
- id: 'timer.label',
10
- label: 'Timer label',
11
- kind: 'text',
12
- path: 'timer.label',
13
- supportsVariables: true,
14
- },
15
- {
16
- id: 'timer.ctaLabel',
17
- label: 'Timer CTA',
18
- kind: 'text',
19
- path: 'timer.ctaLabel',
20
- supportsVariables: true,
21
- },
22
- ],
23
- },
24
- {
25
- id: 'hero',
26
- label: 'Hero',
27
- fields: [
28
- {
29
- id: 'hero.image',
30
- label: 'Hero image',
31
- kind: 'image',
32
- path: 'hero.image',
33
- },
34
- {
35
- id: 'hero.pills',
36
- label: 'Headline pills',
37
- kind: 'textLines',
38
- path: 'hero.pills',
39
- supportsVariables: true,
40
- },
41
- ],
42
- },
43
- {
44
- id: 'promo',
45
- label: 'Promo',
46
- fields: [
47
- {
48
- id: 'promo.label',
49
- label: 'Promo label',
50
- kind: 'text',
51
- path: 'promo.label',
52
- supportsVariables: true,
53
- },
54
- {
55
- id: 'promo.code',
56
- label: 'Promo code',
57
- kind: 'text',
58
- path: 'promo.code',
59
- supportsVariables: true,
60
- },
61
- ],
62
- },
63
- {
64
- id: 'highlight',
65
- label: 'Highlight',
66
- fields: [
67
- {
68
- id: 'highlight.title',
69
- label: 'Highlight title',
70
- kind: 'textLines',
71
- path: 'highlight.title',
72
- supportsVariables: true,
73
- },
74
- {
75
- id: 'highlight.description',
76
- label: 'Highlight description',
77
- kind: 'textarea',
78
- path: 'highlight.description',
79
- supportsVariables: true,
80
- },
81
- ],
82
- },
83
- {
84
- id: 'plans',
85
- label: 'Plans',
86
- fields: [
87
- {
88
- id: 'plans.title',
89
- label: 'Plans title',
90
- kind: 'text',
91
- path: 'plans.title',
92
- supportsVariables: true,
93
- },
94
- {
95
- id: 'plans.popularLabel',
96
- label: 'Popular label',
97
- kind: 'text',
98
- path: 'plans.popularLabel',
99
- supportsVariables: true,
100
- },
101
- {
102
- id: 'plans.applePayLabel',
103
- label: 'Apple Pay label',
104
- kind: 'text',
105
- path: 'plans.applePayLabel',
106
- supportsVariables: true,
107
- },
108
- {
109
- id: 'plans.cardButtonLabel',
110
- label: 'Card button label',
111
- kind: 'text',
112
- path: 'plans.cardButtonLabel',
113
- supportsVariables: true,
114
- },
115
- {
116
- id: 'plans.loadingLabel',
117
- label: 'Loading label',
118
- kind: 'text',
119
- path: 'plans.loadingLabel',
120
- supportsVariables: true,
121
- },
122
- {
123
- id: 'plans.alternativePaymentLabel',
124
- label: 'Alternative payment label',
125
- kind: 'text',
126
- path: 'plans.alternativePaymentLabel',
127
- supportsVariables: true,
128
- },
129
- {
130
- id: 'plans.metaLabels',
131
- label: 'Plan meta labels',
132
- kind: 'textLines',
133
- path: 'plans.metaLabels',
134
- supportsVariables: true,
135
- },
136
- {
137
- id: 'checkout.submitLabel',
138
- label: 'Checkout submit label',
139
- kind: 'text',
140
- path: 'checkout.submitLabel',
141
- supportsVariables: true,
142
- },
143
- {
144
- id: 'checkout.processingLabel',
145
- label: 'Checkout processing label',
146
- kind: 'text',
147
- path: 'checkout.processingLabel',
148
- supportsVariables: true,
149
- },
150
- {
151
- id: 'checkout.poweredByLabel',
152
- label: 'Powered by label',
153
- kind: 'text',
154
- path: 'checkout.poweredByLabel',
155
- supportsVariables: true,
156
- },
157
- ],
158
- },
159
- {
160
- id: 'stories',
161
- label: 'Stories',
162
- fields: [
163
- {
164
- id: 'stories.title',
165
- label: 'Stories title',
166
- kind: 'text',
167
- path: 'stories.title',
168
- supportsVariables: true,
169
- },
170
- {
171
- id: 'stories.items',
172
- label: 'Stories',
173
- kind: 'list',
174
- path: 'stories.items',
175
- preset: 'quoteItems',
176
- },
177
- ],
178
- },
179
- {
180
- id: 'faq',
181
- label: 'FAQ',
182
- fields: [
183
- {
184
- id: 'faq.title',
185
- label: 'FAQ title',
186
- kind: 'text',
187
- path: 'faq.title',
188
- supportsVariables: true,
189
- },
190
- {
191
- id: 'faq.items',
192
- label: 'FAQ items',
193
- kind: 'list',
194
- path: 'faq.items',
195
- preset: 'qaItems',
196
- },
197
- ],
198
- },
199
- {
200
- id: 'guarantee',
201
- label: 'Guarantee',
202
- fields: [
203
- {
204
- id: 'guarantee.image',
205
- label: 'Guarantee image',
206
- kind: 'image',
207
- path: 'guarantee.image',
208
- },
209
- {
210
- id: 'guarantee.title',
211
- label: 'Guarantee title',
212
- kind: 'text',
213
- path: 'guarantee.title',
214
- supportsVariables: true,
215
- },
216
- {
217
- id: 'guarantee.description',
218
- label: 'Guarantee description',
219
- kind: 'textarea',
220
- path: 'guarantee.description',
221
- supportsVariables: true,
222
- },
223
- {
224
- id: 'guarantee.refundPolicyLabel',
225
- label: 'Refund policy label',
226
- kind: 'text',
227
- path: 'guarantee.refundPolicyLabel',
228
- supportsVariables: true,
229
- },
230
- ],
231
- },
232
- ] as const;
@@ -1,41 +0,0 @@
1
- import type { StepEditorSection } from '@funnelsgrove/runtime';
2
-
3
- export const stepTwoEditor: readonly StepEditorSection[] = [
4
- {
5
- id: 'header',
6
- label: 'Header',
7
- fields: [
8
- {
9
- id: 'title',
10
- label: 'Title',
11
- kind: 'textLines',
12
- path: 'title',
13
- },
14
- {
15
- id: 'description',
16
- label: 'Description',
17
- kind: 'textarea',
18
- path: 'description',
19
- },
20
- {
21
- id: 'optionsLabel',
22
- label: 'Options label',
23
- kind: 'text',
24
- path: 'optionsLabel',
25
- },
26
- ],
27
- },
28
- {
29
- id: 'options',
30
- label: 'Options',
31
- fields: [
32
- {
33
- id: 'options',
34
- label: 'Device options',
35
- kind: 'list',
36
- path: 'options',
37
- preset: 'choiceItems',
38
- },
39
- ],
40
- },
41
- ] as const;
@@ -1,58 +0,0 @@
1
- import type { StepEditorSection } from '@funnelsgrove/runtime';
2
-
3
- export const stepThreeEditor: readonly StepEditorSection[] = [
4
- {
5
- id: 'copy',
6
- label: 'Copy',
7
- fields: [
8
- {
9
- id: 'kicker',
10
- label: 'Kicker',
11
- kind: 'text',
12
- path: 'kicker',
13
- },
14
- {
15
- id: 'title',
16
- label: 'Title',
17
- kind: 'textLines',
18
- path: 'title',
19
- },
20
- {
21
- id: 'description',
22
- label: 'Description',
23
- kind: 'textarea',
24
- path: 'description',
25
- },
26
- {
27
- id: 'progressLabel',
28
- label: 'Progress label',
29
- kind: 'text',
30
- path: 'progressLabel',
31
- },
32
- ],
33
- },
34
- {
35
- id: 'artwork',
36
- label: 'Artwork',
37
- fields: [
38
- {
39
- id: 'artwork.sprite',
40
- label: 'Sprite',
41
- kind: 'image',
42
- path: 'artwork.sprite',
43
- },
44
- {
45
- id: 'artwork.glow',
46
- label: 'Glow',
47
- kind: 'image',
48
- path: 'artwork.glow',
49
- },
50
- {
51
- id: 'artwork.bee',
52
- label: 'Bee',
53
- kind: 'image',
54
- path: 'artwork.bee',
55
- },
56
- ],
57
- },
58
- ] as const;
@@ -1,98 +0,0 @@
1
- import type { StepEditorSection } from '@funnelsgrove/runtime';
2
-
3
- export const stepFourEditor: readonly StepEditorSection[] = [
4
- {
5
- id: 'header',
6
- label: 'Scratchpad Header',
7
- fields: [
8
- {
9
- id: 'header.title',
10
- label: 'Title',
11
- kind: 'textLines',
12
- path: 'header.title',
13
- supportsVariables: true,
14
- },
15
- {
16
- id: 'header.description',
17
- label: 'Description',
18
- kind: 'textLines',
19
- path: 'header.description',
20
- supportsVariables: true,
21
- },
22
- {
23
- id: 'header.instructionLabel',
24
- label: 'Instruction label',
25
- kind: 'text',
26
- path: 'header.instructionLabel',
27
- supportsVariables: true,
28
- },
29
- {
30
- id: 'header.scratchAriaLabel',
31
- label: 'Scratch accessibility label',
32
- kind: 'text',
33
- path: 'header.scratchAriaLabel',
34
- },
35
- ],
36
- },
37
- {
38
- id: 'ticket',
39
- label: 'Ticket',
40
- fields: [
41
- {
42
- id: 'ticket.offerLabel',
43
- label: 'Offer label',
44
- kind: 'text',
45
- path: 'ticket.offerLabel',
46
- supportsVariables: true,
47
- },
48
- {
49
- id: 'ticket.code',
50
- label: 'Promo code',
51
- kind: 'text',
52
- path: 'ticket.code',
53
- supportsVariables: true,
54
- },
55
- ],
56
- },
57
- {
58
- id: 'reward',
59
- label: 'Reward Card',
60
- fields: [
61
- {
62
- id: 'reward.kicker',
63
- label: 'Reward kicker',
64
- kind: 'text',
65
- path: 'reward.kicker',
66
- supportsVariables: true,
67
- },
68
- {
69
- id: 'reward.description',
70
- label: 'Reward description',
71
- kind: 'text',
72
- path: 'reward.description',
73
- supportsVariables: true,
74
- },
75
- {
76
- id: 'reward.offerLabel',
77
- label: 'Reward offer label',
78
- kind: 'text',
79
- path: 'reward.offerLabel',
80
- supportsVariables: true,
81
- },
82
- {
83
- id: 'reward.appliedLabel',
84
- label: 'Applied label',
85
- kind: 'text',
86
- path: 'reward.appliedLabel',
87
- supportsVariables: true,
88
- },
89
- {
90
- id: 'reward.ctaLabel',
91
- label: 'Reward CTA',
92
- kind: 'text',
93
- path: 'reward.ctaLabel',
94
- supportsVariables: true,
95
- },
96
- ],
97
- },
98
- ] as const;
@@ -1,12 +0,0 @@
1
- import type { CountryPricingProfile } from '@funnelsgrove/runtime';
2
- import {
3
- defaultPaywallPlanKey,
4
- defaultPaywallPlanOrder,
5
- paywallCountryOverrides,
6
- } from './shared-plan-order';
7
-
8
- export const paywallBPricing = {
9
- defaultOfferOrder: defaultPaywallPlanOrder,
10
- defaultOfferKey: defaultPaywallPlanKey,
11
- countryOverrides: paywallCountryOverrides,
12
- } as const satisfies CountryPricingProfile<string>;