@funnelsgrove/cli 0.1.365 → 0.1.367

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 (34) hide show
  1. package/README.md +16 -0
  2. package/dist/cli.js +52 -0
  3. package/dist/projectSetupCommands.d.ts +74 -0
  4. package/dist/projectSetupCommands.js +107 -0
  5. package/funnel-contract-compatibility.json +35 -35
  6. package/package.json +4 -4
  7. package/template_docs/.funnelsgrove-docs.json +10 -10
  8. package/template_docs/docs/funnelsgrove/START-HERE.md +1 -1
  9. package/template_docs/docs/funnelsgrove/contracts/content-answers.md +2 -2
  10. package/template_docs/docs/funnelsgrove/contracts/payments.md +5 -3
  11. package/template_docs/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
  12. package/template_docs/docs/funnelsgrove/recipes/add-step.md +1 -1
  13. package/template_docs/docs/funnelsgrove/recipes/edit-step.md +1 -1
  14. package/template_docs/docs/funnelsgrove/steps/paywall_offer.md +26 -3
  15. package/template_docs/docs/funnelsgrove/steps/progress_interstitial.md +13 -0
  16. package/template_docs/funnel-docs.config.json +1 -1
  17. package/template_scaffold/.funnelsgrove-docs.json +10 -10
  18. package/template_scaffold/.funnelsgrove-scaffold.json +15 -35
  19. package/template_scaffold/docs/funnelsgrove/START-HERE.md +1 -1
  20. package/template_scaffold/docs/funnelsgrove/contracts/content-answers.md +2 -2
  21. package/template_scaffold/docs/funnelsgrove/contracts/payments.md +5 -3
  22. package/template_scaffold/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
  23. package/template_scaffold/docs/funnelsgrove/recipes/add-step.md +1 -1
  24. package/template_scaffold/docs/funnelsgrove/recipes/edit-step.md +1 -1
  25. package/template_scaffold/docs/funnelsgrove/steps/paywall_offer.md +26 -3
  26. package/template_scaffold/docs/funnelsgrove/steps/progress_interstitial.md +13 -0
  27. package/template_scaffold/funnel-docs.config.json +1 -1
  28. package/template_scaffold/package-lock.json +15 -15
  29. package/template_scaffold/package.json +3 -3
  30. package/template_scaffold/src/steps/step-content.registry.ts +0 -4
  31. package/template_scaffold/src/steps/editor/email-capture.editor.ts +0 -58
  32. package/template_scaffold/src/steps/editor/step-01.editor.ts +0 -22
  33. package/template_scaffold/src/steps/editor/step-32-paywall.editor.ts +0 -508
  34. package/template_scaffold/src/steps/editor/subscription-started.editor.ts +0 -131
@@ -30,10 +30,12 @@ A paywall presents purchasable plans. A reveal, loading state, calculation, or
30
30
  ## Payment rules
31
31
 
32
32
  - Resolve plans, prices, discounts, currencies, provider IDs, and payment mode from shared configuration.
33
- - Use `SharedStripeCheckoutV2Dialog` for card checkout. Render one `StripeSubscriptionWalletSurface` per simultaneously visible subscription wallet placement and one `StripeOneTimeWalletSurface` per one-time placement. Never share a checkout hook result between card and wallet surfaces or between two visible wallet placements.
33
+ - For a checkout opened by a paywall button, use `StripeCheckoutDialog`: an order summary over the wallet-first method blocks, shown as a bottom sheet on phones. It takes the card hook's `clientSecret`, `checkoutSessionId` and `stripePromise` like `StripeWalletFirstCheckout`, plus `title`, `closeAriaLabel`, `onClose`, `summary` and an optional `guaranteeLabel`; mount it while open. `SharedStripeCheckoutV2Dialog` keeps working in existing funnels and renders the same dialog.
34
+ - Render one `StripeSubscriptionWalletSurface` per simultaneously visible subscription wallet placement on the page and one `StripeOneTimeWalletSurface` per one-time placement. Never share a checkout hook result between card and wallet surfaces or between two visible wallet placements.
34
35
  - For an inline paywall form where the device wallet comes first and card second, render one `StripeWalletFirstCheckout` with the card hook's `clientSecret`, `checkoutSessionId` and `stripePromise`. Pass `clientSecret={null}` while the session is being created; the layout stays in place and shows progress. The funnel owns `copy` in its content files.
35
- - Pass `checkoutAnalytics` to every shared dialog, wallet surface and `StripeWalletFirstCheckout`. The payments package owns `checkout_shown`, `checkout_started`, `add_payment_info`, and verified `checkout_completed`; do not call the corresponding `publicAnalyticsSdk` methods in funnel components.
36
- - Treat `onSuccess` as the first valid place to call `completeStep` for a purchase flow. Payment-info submission, dialog open, session creation, browser return, and provider-pending state are not lifecycle completion.
36
+ - Pass `checkoutAnalytics` to every checkout dialog, wallet surface and `StripeWalletFirstCheckout`. The payments package owns `checkout_shown`, `checkout_started`, `add_payment_info`, and verified `checkout_completed`; do not call the corresponding `publicAnalyticsSdk` methods in funnel components.
37
+ - An **initial offer** charges the first period once at a lower price, then renews at the full price on the same card. In the offer set, the item's plan price and follow-up price are the full recurring price, `introIterations` is 1, metadata carries `introPaymentMode: "one_time"`, `introAmount`, `introPeriodInterval` and `introPeriodCount`, and `oldPriceLabel` is the full price. `fgrove offer-sets create --discount <percent>` writes this shape. Stripe subscriptions only, with no free trial.
38
+ - Treat `onSuccess` as the first valid place to call `completeStep` for a purchase flow. Payment-info submission, dialog open, session creation, browser return, and provider-pending state are not lifecycle completion. Return nothing from `onSuccess`: `true` means the page has already navigated, and the checkout block then skips its own redirect.
37
39
  - Use `completeStripeOneClickPayment` for one-click upsells. Do not duplicate the public one-click endpoint, Stripe loader, or `confirmPayment` inside a funnel.
38
40
  - Reuse the same event ID when retrying the same logical conversion.
39
41
  - Keep secrets and trusted provider calls server-side.
@@ -17,7 +17,7 @@ Supported read versions: `1`, `2`, `3`. Authoring and publish target version `3`
17
17
 
18
18
  ### Package release order
19
19
 
20
- Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.45.0`, then `@funnelsgrove/analytics` `0.28.0`, then `@funnelsgrove/payments` `0.72.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.365`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
20
+ Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.45.0`, then `@funnelsgrove/analytics` `0.28.0`, then `@funnelsgrove/payments` `0.72.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.367`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
21
21
  <!-- funnelsgrove:generated:end contract-v3/migration/step-contract-v3 -->
22
22
 
23
23
  ## Version-last policy
@@ -23,7 +23,7 @@ Contract hash: `d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf
23
23
  2. Add the component and exported metadata.
24
24
  3. Add matching manifest metadata, path, file path, and component key.
25
25
  4. Add the registry entry.
26
- 5. Add content/editor definitions and registry entries only when builder-editable.
26
+ 5. Add the step’s content definition and its `contentPath` entry in `src/steps/step-content.registry.ts`. Do not add `src/steps/editor/*.editor.ts` modules or `editorPath` entries.
27
27
  6. Add manifest edges, branches, assets, and tests required by the behavior.
28
28
  7. Start from the type’s golden fixture and preserve answer/helper semantics.
29
29
  8. Run focused tests, then `fgrove validate`.
@@ -22,7 +22,7 @@ Contract hash: `d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf
22
22
  1. Read the current type page from the [step-type index](../steps/INDEX.md).
23
23
  2. Decide whether the requested behavior still matches the existing type.
24
24
  3. Preserve stable IDs, names, paths, answer keys, option IDs, and reserved identities unless the request is an explicit migration.
25
- 4. Update component, content/editor, registry, manifest, and tests only where the change requires.
25
+ 4. Update component, content, registry, manifest, and tests only where the change requires. Leave existing editor modules unchanged and do not add new ones.
26
26
  5. Keep component and manifest metadata in parity.
27
27
  6. Run focused tests, then `fgrove validate`.
28
28
 
@@ -79,17 +79,40 @@ export const goldenFixture = {
79
79
 
80
80
  Resolve offers and plans through shared payments configuration. Do not persist plan data as a choice answer.
81
81
 
82
+ ### Default page structure
83
+
84
+ Build a new paywall in this order unless the approved copy names another structure:
85
+
86
+ 1. **Sticky offer bar**, pinned to the top for the whole page: the discount in plain words (“50% OFF your plan”) and a button that scrolls to the plan block. `position: sticky; top: 0` holds only when no ancestor between the bar and the page scroller sets `overflow`.
87
+ 2. **Hero:** a two-part headline and one image.
88
+ 3. **Offer block:**
89
+ - an intro card: what the visitor gets, as a title and one sentence;
90
+ - a promo band: an “Intro offer applied” label and the discount percent as its largest text (“50% OFF”);
91
+ - “Choose your plan” over three plan cards in one radio group. Each card shows a radio, the plan name (its duration), the regular price struck through beside today's price, and a per-day price tag with the regular per-day price struck through beside it;
92
+ - the recommended plan is preselected and carries a “Most popular” band across its top;
93
+ - a money-back guarantee line, the primary button, a row of payment badges (Apple Pay, Visa, Mastercard, Maestro, Amex), then the renewal terms for the selected plan. Renewal terms live here, under the button, and the cards stay free of them.
94
+ 4. **How it works:** three numbered steps.
95
+ 5. **Recap:** one large fact, one sentence, a button.
96
+ 6. **Stories:** a swipeable row of user quotes.
97
+ 7. **FAQ.**
98
+ 8. **Guarantee card:** badge, title, two points, the policy link, a button.
99
+ 9. **Footer:** support contact, legal links, company details.
100
+
101
+ The offer block's button opens `StripeCheckoutDialog` for the selected plan: an order summary with the regular price, the discount and today's total, then wallet first and card second. Every other button scrolls to the plan block, and the page itself shows no wallet button.
102
+
103
+ The default offer is an **initial offer** on every plan: the first period costs 50% less, then the full price renews. The offer set sets it per item (intro terms with the item's own price as follow-up; see the payments contract). The published plan then carries today's price in `amountCents`, `priceLabel` and `perDayAmount`, and the full price in `oldPriceLabel` and `followUpPriceLabel`. Derive the struck prices and the percent from those, take the terms from `buildPaywallRenewalDisclaimer` with the follow-up plan, and pass no coupon to checkout. Content files hold labels with placeholders such as `{percent}`. A plan without intro terms renders without struck prices; when no plan has one, the bar shows its plan-ready text and the promo band is left out.
104
+
82
105
  ## Automatic lifecycle events
83
106
 
84
107
  The controller owns view/start/completion/exit lifecycle. Closing or leaving without purchase is an exit, not a completion.
85
108
 
86
109
  ## Required semantic conversions
87
110
 
88
- Pass `checkoutAnalytics` into `SharedStripeCheckoutV2Dialog` and every `StripeSubscriptionWalletSurface` or `StripeOneTimeWalletSurface`. Those shared components emit checkout started, payment info, and verified checkout completed with the real Checkout Session identity. Do not call the analytics SDK methods directly.
111
+ Pass `checkoutAnalytics` into the checkout dialog and every `StripeSubscriptionWalletSurface` or `StripeOneTimeWalletSurface`. Those shared components emit checkout started, payment info, and verified checkout completed with the real Checkout Session identity. Do not call the analytics SDK methods directly.
89
112
 
90
113
  ## Approved shared helpers
91
114
 
92
- Use shared plan resolution, the checkout hook matching the resolved payment mode for the card dialog, `SharedStripeCheckoutV2Dialog`, and one private-session wallet surface matching that payment mode per visible placement. Call `completeStep` only from `onSuccess`.
115
+ Use shared plan resolution, the checkout hook matching the resolved payment mode, `StripeCheckoutDialog` for the checkout it opens (`SharedStripeCheckoutV2Dialog` in existing funnels renders the same dialog), and one private-session wallet surface matching that payment mode per wallet button placed on the page. Call `completeStep` only from `onSuccess`, and return nothing from it.
93
116
 
94
117
  ## MUST rules
95
118
 
@@ -114,4 +137,4 @@ Run `fgrove validate`.
114
137
 
115
138
  ## Manual QA and completion criteria
116
139
 
117
- Verify plans and discounts, every payment method, decline/retry, checkout event metadata/deduplication, cancel/exit, and manifest routing after success.
140
+ Verify plans and discounts, every payment method, decline/retry, checkout event metadata/deduplication, cancel/exit, and manifest routing after success. Scroll the whole page and confirm the sticky offer bar stays visible and its button lands on the plan block.
@@ -76,6 +76,17 @@ export const goldenFixture = {
76
76
 
77
77
  This transition does not persist a choice answer. An automatic delay or explicit Continue may complete it through the controller.
78
78
 
79
+ ### Plan-building loader
80
+
81
+ The loader before the plan reveal or paywall is a **phased loader**: progress rows that fill one after another, **stop questions** that pause it, and a button at the end.
82
+
83
+ - **Rows:** 3–4 rows named after the answer groups the plan uses. One row fills at a time, over 5–7 seconds (default 5), slowing toward its end, and finishes with a check mark.
84
+ - **Phases:** each run between two pauses is its own `progress_interstitial` step. A single `setTimeout` for the phase length calls `goNext()`; clear it on unmount. Rows finished in an earlier phase render at their end value.
85
+ - **Stop questions:** two by default. Each is its own `single_step_choice` or `single_step_choice_emoji` step with an `answerKey`, placed between two phases in the manifest. It renders the same loader frozen at the pause values, with the question in a bottom sheet over it, and completes through `useStepChoices`. Pause in the middle of a row (for example at 60%), so the loader reads as waiting for the answer. Use each answer in the plan or on the paywall.
86
+ - **Animation:** CSS only. Give each row its start value, end value, delay and duration as custom properties; one keyframe animates the bar's `transform: scaleX()` with a decelerating curve such as `cubic-bezier(0.2, 0.7, 0.3, 1)`, so each run slows before its pause or its end, and the percent label is a CSS counter driven by a registered integer custom property (`@property`). React state changes only when a phase ends.
87
+ - **Ending:** the last phase stays on screen at 100% and enables a button (“Show my plan”) that calls `goNext()`. Only intermediate phases advance on their own.
88
+ - **Reduced motion:** under `prefers-reduced-motion: reduce`, rows show their end values at once and each phase ends after about 300 ms.
89
+
79
90
  ## Automatic lifecycle events
80
91
 
81
92
  The controller distinguishes completion from abandonment and suppresses provider delivery in preview.
@@ -109,3 +120,5 @@ Run `fgrove validate`.
109
120
  ## Manual QA and completion criteria
110
121
 
111
122
  Confirm timer/manual completion fires once, leaving early records an exit, and no paywall or checkout event appears.
123
+
124
+ For a phased loader, also confirm with 4× CPU throttling that the bars stay smooth, each stop question appears once, saves its answer and resumes from its pause value, and the last phase waits for its button.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.358",
3
+ "bundleVersion": "2.0.360",
4
4
  "contractSource": "funnelsgrove-repository://apps/funnel-runtime/contracts/step-contract-v2.json",
5
5
  "fullyGenerated": [
6
6
  ".funnelsgrove-docs.json",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.358",
3
+ "bundleVersion": "2.0.360",
4
4
  "stepContractVersion": 3,
5
5
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
6
6
  "managedFiles": [
@@ -14,7 +14,7 @@
14
14
  },
15
15
  {
16
16
  "path": "docs/funnelsgrove/START-HERE.md",
17
- "sha256": "5442274f8ca7ddded834147a693677e203a9c223e1db4260e56bf498ec06a362"
17
+ "sha256": "d80f71fcd0fb555ad25808c98e69b3a4b8dc6752d0381ad473e1764ebe0a062c"
18
18
  },
19
19
  {
20
20
  "path": "docs/funnelsgrove/contracts/analytics-events.md",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  {
24
24
  "path": "docs/funnelsgrove/contracts/content-answers.md",
25
- "sha256": "efd912eb405e4c64b33becb1cf9a397ba5fe9afc2d4e2aea115a0f5e0703ca87"
25
+ "sha256": "49ef258b7320628c42fc8381fab7e65fdf4067e8bd6da7afe72e6ab634e2a4b2"
26
26
  },
27
27
  {
28
28
  "path": "docs/funnelsgrove/contracts/flow-routing.md",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  {
32
32
  "path": "docs/funnelsgrove/contracts/payments.md",
33
- "sha256": "6e64acdf171351fddedc96e908f4135e2240751a726c05d938c6e8644ab42082"
33
+ "sha256": "ac346fe0aed3bc3ca48679772870ce98ec7446f23a963f86d707a7fcb051bb46"
34
34
  },
35
35
  {
36
36
  "path": "docs/funnelsgrove/contracts/step-metadata.md",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  {
40
40
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
41
- "sha256": "177644c417fe80371536b9fa0ee0b01ae84d6c66e083e05cc576093ec06c57fc"
41
+ "sha256": "bd323bff8a5b6312aa4e5734c83e50980d0d35d45f94ab6a3a3193e9a696b4cb"
42
42
  },
43
43
  {
44
44
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -62,11 +62,11 @@
62
62
  },
63
63
  {
64
64
  "path": "docs/funnelsgrove/recipes/add-step.md",
65
- "sha256": "fba92b8394b0d622b9886a677af38ddb78042a633c60ab5cb6b1ff600abe2cb9"
65
+ "sha256": "be390e3da8097d5b5a644f33468568939b5f415979920696bec1a6f3d53e002b"
66
66
  },
67
67
  {
68
68
  "path": "docs/funnelsgrove/recipes/edit-step.md",
69
- "sha256": "49eb688c0b3145c025dffe30a9be35e5f5e018da66cbeddf2a08af6a1cc250dc"
69
+ "sha256": "bb9509746bdf8c0e4710b81d32a31f2accf394736fe1e31e0a70d5da5306e21b"
70
70
  },
71
71
  {
72
72
  "path": "docs/funnelsgrove/steps/INDEX.md",
@@ -94,11 +94,11 @@
94
94
  },
95
95
  {
96
96
  "path": "docs/funnelsgrove/steps/paywall_offer.md",
97
- "sha256": "0cf35f69c7d7bfaf3a53ef41cbb833393231ac5dab779f8ace5c529ed3a5d2e8"
97
+ "sha256": "ea24a8474585185bae8793b337956b53ca5a4d34c3f768e464a2b8b84ec5a159"
98
98
  },
99
99
  {
100
100
  "path": "docs/funnelsgrove/steps/progress_interstitial.md",
101
- "sha256": "7ed2d0bf4ac45ee74e36bd87865c250206353ddbd6b34b93975bf87fb0ea09bb"
101
+ "sha256": "5e97cae3e3a4b048efa5d5c4aec9c6371de8db0c1427c012b1eb395ea62a678d"
102
102
  },
103
103
  {
104
104
  "path": "docs/funnelsgrove/steps/purchase_completed.md",
@@ -138,7 +138,7 @@
138
138
  },
139
139
  {
140
140
  "path": "funnel-docs.config.json",
141
- "sha256": "b13c96ce585929d457017df600c19e0b4d315c52ef18a67c194ba29fc7355172"
141
+ "sha256": "9638246c7490ae1dfe1ff07b20a9d820b995df59643119d18ccd11f69b6f6b2f"
142
142
  }
143
143
  ]
144
144
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "sourceTreeHash": "369a6389d483dc64fad79690ccbe933a1aa557ac59eaa8111efe350aa6516f2d",
3
+ "sourceTreeHash": "ac50ff54c29b0f202bd27ffa8b394fa9573ab73ca83f87d4221324ebec3f0866",
4
4
  "stepContractVersion": 3,
5
- "docsBundleVersion": "2.0.358",
5
+ "docsBundleVersion": "2.0.360",
6
6
  "files": [
7
7
  {
8
8
  "path": ".env.example",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  {
18
18
  "path": ".funnelsgrove-docs.json",
19
- "sha256": "e31beef1c284612e7a5a8690a3bb6fa250a3ec3a43c6bc0789bfaccd7af9c239",
19
+ "sha256": "d2f68b059534d7883174b350574a8f019262c48e6184560a1cc18a71dba7f79e",
20
20
  "mode": "100644"
21
21
  },
22
22
  {
@@ -46,7 +46,7 @@
46
46
  },
47
47
  {
48
48
  "path": "docs/funnelsgrove/START-HERE.md",
49
- "sha256": "5442274f8ca7ddded834147a693677e203a9c223e1db4260e56bf498ec06a362",
49
+ "sha256": "d80f71fcd0fb555ad25808c98e69b3a4b8dc6752d0381ad473e1764ebe0a062c",
50
50
  "mode": "100644"
51
51
  },
52
52
  {
@@ -56,7 +56,7 @@
56
56
  },
57
57
  {
58
58
  "path": "docs/funnelsgrove/contracts/content-answers.md",
59
- "sha256": "efd912eb405e4c64b33becb1cf9a397ba5fe9afc2d4e2aea115a0f5e0703ca87",
59
+ "sha256": "49ef258b7320628c42fc8381fab7e65fdf4067e8bd6da7afe72e6ab634e2a4b2",
60
60
  "mode": "100644"
61
61
  },
62
62
  {
@@ -66,7 +66,7 @@
66
66
  },
67
67
  {
68
68
  "path": "docs/funnelsgrove/contracts/payments.md",
69
- "sha256": "6e64acdf171351fddedc96e908f4135e2240751a726c05d938c6e8644ab42082",
69
+ "sha256": "ac346fe0aed3bc3ca48679772870ce98ec7446f23a963f86d707a7fcb051bb46",
70
70
  "mode": "100644"
71
71
  },
72
72
  {
@@ -76,7 +76,7 @@
76
76
  },
77
77
  {
78
78
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
79
- "sha256": "177644c417fe80371536b9fa0ee0b01ae84d6c66e083e05cc576093ec06c57fc",
79
+ "sha256": "bd323bff8a5b6312aa4e5734c83e50980d0d35d45f94ab6a3a3193e9a696b4cb",
80
80
  "mode": "100644"
81
81
  },
82
82
  {
@@ -106,12 +106,12 @@
106
106
  },
107
107
  {
108
108
  "path": "docs/funnelsgrove/recipes/add-step.md",
109
- "sha256": "fba92b8394b0d622b9886a677af38ddb78042a633c60ab5cb6b1ff600abe2cb9",
109
+ "sha256": "be390e3da8097d5b5a644f33468568939b5f415979920696bec1a6f3d53e002b",
110
110
  "mode": "100644"
111
111
  },
112
112
  {
113
113
  "path": "docs/funnelsgrove/recipes/edit-step.md",
114
- "sha256": "49eb688c0b3145c025dffe30a9be35e5f5e018da66cbeddf2a08af6a1cc250dc",
114
+ "sha256": "bb9509746bdf8c0e4710b81d32a31f2accf394736fe1e31e0a70d5da5306e21b",
115
115
  "mode": "100644"
116
116
  },
117
117
  {
@@ -146,12 +146,12 @@
146
146
  },
147
147
  {
148
148
  "path": "docs/funnelsgrove/steps/paywall_offer.md",
149
- "sha256": "0cf35f69c7d7bfaf3a53ef41cbb833393231ac5dab779f8ace5c529ed3a5d2e8",
149
+ "sha256": "ea24a8474585185bae8793b337956b53ca5a4d34c3f768e464a2b8b84ec5a159",
150
150
  "mode": "100644"
151
151
  },
152
152
  {
153
153
  "path": "docs/funnelsgrove/steps/progress_interstitial.md",
154
- "sha256": "7ed2d0bf4ac45ee74e36bd87865c250206353ddbd6b34b93975bf87fb0ea09bb",
154
+ "sha256": "5e97cae3e3a4b048efa5d5c4aec9c6371de8db0c1427c012b1eb395ea62a678d",
155
155
  "mode": "100644"
156
156
  },
157
157
  {
@@ -206,7 +206,7 @@
206
206
  },
207
207
  {
208
208
  "path": "funnel-docs.config.json",
209
- "sha256": "b13c96ce585929d457017df600c19e0b4d315c52ef18a67c194ba29fc7355172",
209
+ "sha256": "9638246c7490ae1dfe1ff07b20a9d820b995df59643119d18ccd11f69b6f6b2f",
210
210
  "mode": "100644"
211
211
  },
212
212
  {
@@ -236,12 +236,12 @@
236
236
  },
237
237
  {
238
238
  "path": "package-lock.json",
239
- "sha256": "4f40882adb89cd3cf7b5c5a36a0ed1fc128a27dd1e4c23227c3134ee130a2acc",
239
+ "sha256": "3a9b064875ec2b698d8fb9b54561756dc47ef2a98fd6c5666f1fa01d70d8745a",
240
240
  "mode": "100644"
241
241
  },
242
242
  {
243
243
  "path": "package.json",
244
- "sha256": "572ae504a7aee63e04343c7b6e09b2a2545f5b496bb789ac9b13e5c0c6a8aea6",
244
+ "sha256": "400935bc2c4e8f21da196b9ea5547fc03deae65803ef3f9a66a6ad48b96194f1",
245
245
  "mode": "100644"
246
246
  },
247
247
  {
@@ -494,26 +494,6 @@
494
494
  "sha256": "7abd10868249d4da2281678c57a11a1cf92a804398bc7f02d615c1aae62cec18",
495
495
  "mode": "100644"
496
496
  },
497
- {
498
- "path": "src/steps/editor/email-capture.editor.ts",
499
- "sha256": "f2f8e2c58ab4dbf73433c895e9079cc16cc3b03fa5ec8722a7c86bead021ce14",
500
- "mode": "100644"
501
- },
502
- {
503
- "path": "src/steps/editor/step-01.editor.ts",
504
- "sha256": "84953933792a5775154845a975b71d74a0590441f7b7d25371e2392786459d5b",
505
- "mode": "100644"
506
- },
507
- {
508
- "path": "src/steps/editor/step-32-paywall.editor.ts",
509
- "sha256": "e544665b1e0ae7b121630fab9c1de33b88dfd8f3835bf3f12ac2438f7cbd220a",
510
- "mode": "100644"
511
- },
512
- {
513
- "path": "src/steps/editor/subscription-started.editor.ts",
514
- "sha256": "5d1d1940620e17a33a85ec752fe35b8de947be4dfa63d57fc9433b780645e6e3",
515
- "mode": "100644"
516
- },
517
497
  {
518
498
  "path": "src/steps/index.ts",
519
499
  "sha256": "21f146040b8c2e47923ee77cbff8ef6dc23481c3647f08de0659d34e0f46d0b8",
@@ -561,7 +541,7 @@
561
541
  },
562
542
  {
563
543
  "path": "src/steps/step-content.registry.ts",
564
- "sha256": "92ce607960c7d05c4811af3000ec5d8553f544f73e8ce2169008c5b529df62cb",
544
+ "sha256": "4d1dd060e7bb6ca9beedca05dc38f2e887a5c3b0aa65a4c1999664a946e8f32b",
565
545
  "mode": "100644"
566
546
  },
567
547
  {
@@ -63,7 +63,7 @@ Contract hash: `d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf
63
63
  ## Standard workflow
64
64
 
65
65
  1. Read the exact type page.
66
- 2. Change the smallest set of component, content/editor, registry, and manifest files needed.
66
+ 2. Change the smallest set of component, content, registry, and manifest files needed.
67
67
  3. Keep component and manifest metadata in parity.
68
68
  4. Run `fgrove validate` and focused tests.
69
69
  5. Perform the relevant manual QA.
@@ -87,9 +87,9 @@ async function onPhotoSelected(file: File) {
87
87
  - Keep `apiService.uploadTempPhoto` for existing photo steps; new file steps use
88
88
  `uploadTempFile`.
89
89
 
90
- ## Content/editor parity
90
+ ## Content modules
91
91
 
92
- Keep builder-editable values in content definitions, expose matching editor sections, and register them once. Do not move stable IDs or answer keys into editable copy.
92
+ Keep editable values in content definitions and register each module once by `contentPath` in `src/steps/step-content.registry.ts`. Editor modules (`src/steps/editor/*.editor.ts`, `editorPath`) are no longer read by any authoring surface: do not create them for new steps or keep them in sync. Do not move stable IDs or answer keys into editable copy.
93
93
 
94
94
  ## Product strategy and plan ownership
95
95
 
@@ -30,10 +30,12 @@ A paywall presents purchasable plans. A reveal, loading state, calculation, or
30
30
  ## Payment rules
31
31
 
32
32
  - Resolve plans, prices, discounts, currencies, provider IDs, and payment mode from shared configuration.
33
- - Use `SharedStripeCheckoutV2Dialog` for card checkout. Render one `StripeSubscriptionWalletSurface` per simultaneously visible subscription wallet placement and one `StripeOneTimeWalletSurface` per one-time placement. Never share a checkout hook result between card and wallet surfaces or between two visible wallet placements.
33
+ - For a checkout opened by a paywall button, use `StripeCheckoutDialog`: an order summary over the wallet-first method blocks, shown as a bottom sheet on phones. It takes the card hook's `clientSecret`, `checkoutSessionId` and `stripePromise` like `StripeWalletFirstCheckout`, plus `title`, `closeAriaLabel`, `onClose`, `summary` and an optional `guaranteeLabel`; mount it while open. `SharedStripeCheckoutV2Dialog` keeps working in existing funnels and renders the same dialog.
34
+ - Render one `StripeSubscriptionWalletSurface` per simultaneously visible subscription wallet placement on the page and one `StripeOneTimeWalletSurface` per one-time placement. Never share a checkout hook result between card and wallet surfaces or between two visible wallet placements.
34
35
  - For an inline paywall form where the device wallet comes first and card second, render one `StripeWalletFirstCheckout` with the card hook's `clientSecret`, `checkoutSessionId` and `stripePromise`. Pass `clientSecret={null}` while the session is being created; the layout stays in place and shows progress. The funnel owns `copy` in its content files.
35
- - Pass `checkoutAnalytics` to every shared dialog, wallet surface and `StripeWalletFirstCheckout`. The payments package owns `checkout_shown`, `checkout_started`, `add_payment_info`, and verified `checkout_completed`; do not call the corresponding `publicAnalyticsSdk` methods in funnel components.
36
- - Treat `onSuccess` as the first valid place to call `completeStep` for a purchase flow. Payment-info submission, dialog open, session creation, browser return, and provider-pending state are not lifecycle completion.
36
+ - Pass `checkoutAnalytics` to every checkout dialog, wallet surface and `StripeWalletFirstCheckout`. The payments package owns `checkout_shown`, `checkout_started`, `add_payment_info`, and verified `checkout_completed`; do not call the corresponding `publicAnalyticsSdk` methods in funnel components.
37
+ - An **initial offer** charges the first period once at a lower price, then renews at the full price on the same card. In the offer set, the item's plan price and follow-up price are the full recurring price, `introIterations` is 1, metadata carries `introPaymentMode: "one_time"`, `introAmount`, `introPeriodInterval` and `introPeriodCount`, and `oldPriceLabel` is the full price. `fgrove offer-sets create --discount <percent>` writes this shape. Stripe subscriptions only, with no free trial.
38
+ - Treat `onSuccess` as the first valid place to call `completeStep` for a purchase flow. Payment-info submission, dialog open, session creation, browser return, and provider-pending state are not lifecycle completion. Return nothing from `onSuccess`: `true` means the page has already navigated, and the checkout block then skips its own redirect.
37
39
  - Use `completeStripeOneClickPayment` for one-click upsells. Do not duplicate the public one-click endpoint, Stripe loader, or `confirmPayment` inside a funnel.
38
40
  - Reuse the same event ID when retrying the same logical conversion.
39
41
  - Keep secrets and trusted provider calls server-side.
@@ -17,7 +17,7 @@ Supported read versions: `1`, `2`, `3`. Authoring and publish target version `3`
17
17
 
18
18
  ### Package release order
19
19
 
20
- Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.45.0`, then `@funnelsgrove/analytics` `0.28.0`, then `@funnelsgrove/payments` `0.72.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.365`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
20
+ Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.45.0`, then `@funnelsgrove/analytics` `0.28.0`, then `@funnelsgrove/payments` `0.72.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.367`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
21
21
  <!-- funnelsgrove:generated:end contract-v3/migration/step-contract-v3 -->
22
22
 
23
23
  ## Version-last policy
@@ -23,7 +23,7 @@ Contract hash: `d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf
23
23
  2. Add the component and exported metadata.
24
24
  3. Add matching manifest metadata, path, file path, and component key.
25
25
  4. Add the registry entry.
26
- 5. Add content/editor definitions and registry entries only when builder-editable.
26
+ 5. Add the step’s content definition and its `contentPath` entry in `src/steps/step-content.registry.ts`. Do not add `src/steps/editor/*.editor.ts` modules or `editorPath` entries.
27
27
  6. Add manifest edges, branches, assets, and tests required by the behavior.
28
28
  7. Start from the type’s golden fixture and preserve answer/helper semantics.
29
29
  8. Run focused tests, then `fgrove validate`.
@@ -22,7 +22,7 @@ Contract hash: `d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf
22
22
  1. Read the current type page from the [step-type index](../steps/INDEX.md).
23
23
  2. Decide whether the requested behavior still matches the existing type.
24
24
  3. Preserve stable IDs, names, paths, answer keys, option IDs, and reserved identities unless the request is an explicit migration.
25
- 4. Update component, content/editor, registry, manifest, and tests only where the change requires.
25
+ 4. Update component, content, registry, manifest, and tests only where the change requires. Leave existing editor modules unchanged and do not add new ones.
26
26
  5. Keep component and manifest metadata in parity.
27
27
  6. Run focused tests, then `fgrove validate`.
28
28
 
@@ -79,17 +79,40 @@ export const goldenFixture = {
79
79
 
80
80
  Resolve offers and plans through shared payments configuration. Do not persist plan data as a choice answer.
81
81
 
82
+ ### Default page structure
83
+
84
+ Build a new paywall in this order unless the approved copy names another structure:
85
+
86
+ 1. **Sticky offer bar**, pinned to the top for the whole page: the discount in plain words (“50% OFF your plan”) and a button that scrolls to the plan block. `position: sticky; top: 0` holds only when no ancestor between the bar and the page scroller sets `overflow`.
87
+ 2. **Hero:** a two-part headline and one image.
88
+ 3. **Offer block:**
89
+ - an intro card: what the visitor gets, as a title and one sentence;
90
+ - a promo band: an “Intro offer applied” label and the discount percent as its largest text (“50% OFF”);
91
+ - “Choose your plan” over three plan cards in one radio group. Each card shows a radio, the plan name (its duration), the regular price struck through beside today's price, and a per-day price tag with the regular per-day price struck through beside it;
92
+ - the recommended plan is preselected and carries a “Most popular” band across its top;
93
+ - a money-back guarantee line, the primary button, a row of payment badges (Apple Pay, Visa, Mastercard, Maestro, Amex), then the renewal terms for the selected plan. Renewal terms live here, under the button, and the cards stay free of them.
94
+ 4. **How it works:** three numbered steps.
95
+ 5. **Recap:** one large fact, one sentence, a button.
96
+ 6. **Stories:** a swipeable row of user quotes.
97
+ 7. **FAQ.**
98
+ 8. **Guarantee card:** badge, title, two points, the policy link, a button.
99
+ 9. **Footer:** support contact, legal links, company details.
100
+
101
+ The offer block's button opens `StripeCheckoutDialog` for the selected plan: an order summary with the regular price, the discount and today's total, then wallet first and card second. Every other button scrolls to the plan block, and the page itself shows no wallet button.
102
+
103
+ The default offer is an **initial offer** on every plan: the first period costs 50% less, then the full price renews. The offer set sets it per item (intro terms with the item's own price as follow-up; see the payments contract). The published plan then carries today's price in `amountCents`, `priceLabel` and `perDayAmount`, and the full price in `oldPriceLabel` and `followUpPriceLabel`. Derive the struck prices and the percent from those, take the terms from `buildPaywallRenewalDisclaimer` with the follow-up plan, and pass no coupon to checkout. Content files hold labels with placeholders such as `{percent}`. A plan without intro terms renders without struck prices; when no plan has one, the bar shows its plan-ready text and the promo band is left out.
104
+
82
105
  ## Automatic lifecycle events
83
106
 
84
107
  The controller owns view/start/completion/exit lifecycle. Closing or leaving without purchase is an exit, not a completion.
85
108
 
86
109
  ## Required semantic conversions
87
110
 
88
- Pass `checkoutAnalytics` into `SharedStripeCheckoutV2Dialog` and every `StripeSubscriptionWalletSurface` or `StripeOneTimeWalletSurface`. Those shared components emit checkout started, payment info, and verified checkout completed with the real Checkout Session identity. Do not call the analytics SDK methods directly.
111
+ Pass `checkoutAnalytics` into the checkout dialog and every `StripeSubscriptionWalletSurface` or `StripeOneTimeWalletSurface`. Those shared components emit checkout started, payment info, and verified checkout completed with the real Checkout Session identity. Do not call the analytics SDK methods directly.
89
112
 
90
113
  ## Approved shared helpers
91
114
 
92
- Use shared plan resolution, the checkout hook matching the resolved payment mode for the card dialog, `SharedStripeCheckoutV2Dialog`, and one private-session wallet surface matching that payment mode per visible placement. Call `completeStep` only from `onSuccess`.
115
+ Use shared plan resolution, the checkout hook matching the resolved payment mode, `StripeCheckoutDialog` for the checkout it opens (`SharedStripeCheckoutV2Dialog` in existing funnels renders the same dialog), and one private-session wallet surface matching that payment mode per wallet button placed on the page. Call `completeStep` only from `onSuccess`, and return nothing from it.
93
116
 
94
117
  ## MUST rules
95
118
 
@@ -114,4 +137,4 @@ Run `fgrove validate`.
114
137
 
115
138
  ## Manual QA and completion criteria
116
139
 
117
- Verify plans and discounts, every payment method, decline/retry, checkout event metadata/deduplication, cancel/exit, and manifest routing after success.
140
+ Verify plans and discounts, every payment method, decline/retry, checkout event metadata/deduplication, cancel/exit, and manifest routing after success. Scroll the whole page and confirm the sticky offer bar stays visible and its button lands on the plan block.
@@ -76,6 +76,17 @@ export const goldenFixture = {
76
76
 
77
77
  This transition does not persist a choice answer. An automatic delay or explicit Continue may complete it through the controller.
78
78
 
79
+ ### Plan-building loader
80
+
81
+ The loader before the plan reveal or paywall is a **phased loader**: progress rows that fill one after another, **stop questions** that pause it, and a button at the end.
82
+
83
+ - **Rows:** 3–4 rows named after the answer groups the plan uses. One row fills at a time, over 5–7 seconds (default 5), slowing toward its end, and finishes with a check mark.
84
+ - **Phases:** each run between two pauses is its own `progress_interstitial` step. A single `setTimeout` for the phase length calls `goNext()`; clear it on unmount. Rows finished in an earlier phase render at their end value.
85
+ - **Stop questions:** two by default. Each is its own `single_step_choice` or `single_step_choice_emoji` step with an `answerKey`, placed between two phases in the manifest. It renders the same loader frozen at the pause values, with the question in a bottom sheet over it, and completes through `useStepChoices`. Pause in the middle of a row (for example at 60%), so the loader reads as waiting for the answer. Use each answer in the plan or on the paywall.
86
+ - **Animation:** CSS only. Give each row its start value, end value, delay and duration as custom properties; one keyframe animates the bar's `transform: scaleX()` with a decelerating curve such as `cubic-bezier(0.2, 0.7, 0.3, 1)`, so each run slows before its pause or its end, and the percent label is a CSS counter driven by a registered integer custom property (`@property`). React state changes only when a phase ends.
87
+ - **Ending:** the last phase stays on screen at 100% and enables a button (“Show my plan”) that calls `goNext()`. Only intermediate phases advance on their own.
88
+ - **Reduced motion:** under `prefers-reduced-motion: reduce`, rows show their end values at once and each phase ends after about 300 ms.
89
+
79
90
  ## Automatic lifecycle events
80
91
 
81
92
  The controller distinguishes completion from abandonment and suppresses provider delivery in preview.
@@ -109,3 +120,5 @@ Run `fgrove validate`.
109
120
  ## Manual QA and completion criteria
110
121
 
111
122
  Confirm timer/manual completion fires once, leaving early records an exit, and no paywall or checkout event appears.
123
+
124
+ For a phased loader, also confirm with 4× CPU throttling that the bars stay smooth, each stop question appears once, saves its answer and resumes from its pause value, and the last phase waits for its button.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.358",
3
+ "bundleVersion": "2.0.360",
4
4
  "contractSource": "funnelsgrove-repository://apps/funnel-runtime/contracts/step-contract-v2.json",
5
5
  "fullyGenerated": [
6
6
  ".funnelsgrove-docs.json",
@@ -8,9 +8,9 @@
8
8
  "name": "funnel-template",
9
9
  "version": "0.1.0",
10
10
  "dependencies": {
11
- "@funnelsgrove/analytics": "^0.27.0",
12
- "@funnelsgrove/payments": "^0.70.0",
13
- "@funnelsgrove/runtime": "^0.44.0",
11
+ "@funnelsgrove/analytics": "^0.28.0",
12
+ "@funnelsgrove/payments": "^0.72.0",
13
+ "@funnelsgrove/runtime": "^0.45.0",
14
14
  "@stripe/react-stripe-js": "^5.6.0",
15
15
  "@stripe/stripe-js": "^8.7.0",
16
16
  "lucide-react": "^0.553.0",
@@ -940,17 +940,17 @@
940
940
  }
941
941
  },
942
942
  "node_modules/@funnelsgrove/analytics": {
943
- "version": "0.27.0",
944
- "resolved": "https://registry.npmjs.org/@funnelsgrove/analytics/-/analytics-0.27.0.tgz",
945
- "integrity": "sha512-XJIZwuhhql0d57OvTXwTx+VsnrozF2/J7eSF0yEMd/tsu4hOAbGSpclI5i46PTeXXK7goNEVcWsK+e/+e2QoWg==",
943
+ "version": "0.28.0",
944
+ "resolved": "https://registry.npmjs.org/@funnelsgrove/analytics/-/analytics-0.28.0.tgz",
945
+ "integrity": "sha512-4v4zhxM6XP66sn3OgZoRSAPJRJuK23ipCBPa9+3ngD3DrSwcz+q7GZ5Xzt8h0wNAIpL4Ao26ZYPeHv5rqbl7fw==",
946
946
  "peerDependencies": {
947
- "@funnelsgrove/runtime": "^0.44.0"
947
+ "@funnelsgrove/runtime": "^0.45.0"
948
948
  }
949
949
  },
950
950
  "node_modules/@funnelsgrove/payments": {
951
- "version": "0.70.0",
952
- "resolved": "https://registry.npmjs.org/@funnelsgrove/payments/-/payments-0.70.0.tgz",
953
- "integrity": "sha512-8pRRUB72JMF1FB1eaXRbWW7i9XkOMqF7onowCQtzTqQ/OzuXOE6M5K/yW1c/KaRJYstFaUtJajdVJCv/wkoPqw==",
951
+ "version": "0.72.0",
952
+ "resolved": "https://registry.npmjs.org/@funnelsgrove/payments/-/payments-0.72.0.tgz",
953
+ "integrity": "sha512-REOx3CVgUPsJhNCZeZDtmy86R2Htfw91P5dJIHq4uHE/aSbPpBvefIQAQEgMM19TLPEkkHghDhhDOU1VVttRXA==",
954
954
  "dependencies": {
955
955
  "@solidgate/react-sdk": "1.34.0",
956
956
  "@stripe/react-stripe-js": "^5.6.0",
@@ -960,14 +960,14 @@
960
960
  "stripe": "^20.3.1"
961
961
  },
962
962
  "peerDependencies": {
963
- "@funnelsgrove/analytics": "^0.27.0",
964
- "@funnelsgrove/runtime": "^0.44.0"
963
+ "@funnelsgrove/analytics": "^0.28.0",
964
+ "@funnelsgrove/runtime": "^0.45.0"
965
965
  }
966
966
  },
967
967
  "node_modules/@funnelsgrove/runtime": {
968
- "version": "0.44.0",
969
- "resolved": "https://registry.npmjs.org/@funnelsgrove/runtime/-/runtime-0.44.0.tgz",
970
- "integrity": "sha512-Vg6XoHDyR2MyK7LJGwgG/ZNTFmB/VypzU3+1sU0kBfTtqgdVcMbU+6DMk0ccgVqQqO3NHVjJsSeFsMc699BGpg==",
968
+ "version": "0.45.0",
969
+ "resolved": "https://registry.npmjs.org/@funnelsgrove/runtime/-/runtime-0.45.0.tgz",
970
+ "integrity": "sha512-VEVizMRSyT0CDHqI+Uvob4fM4i5VMufzfRSPNCloL+XVRmlTN3ytY1ZeQscoKk6bC0gZBo+zZ/n5S3Folri+UQ==",
971
971
  "dependencies": {
972
972
  "@funnelsgrove/sdk": "0.4.0",
973
973
  "posthog-js": "^1.369.2",
@@ -12,9 +12,9 @@
12
12
  "validate:funnel": "vite-node --config src/contract/funnel-validator.vite.config.ts src/contract/validate-funnel.cli.ts"
13
13
  },
14
14
  "dependencies": {
15
- "@funnelsgrove/analytics": "^0.27.0",
16
- "@funnelsgrove/payments": "^0.70.0",
17
- "@funnelsgrove/runtime": "^0.44.0",
15
+ "@funnelsgrove/analytics": "^0.28.0",
16
+ "@funnelsgrove/payments": "^0.72.0",
17
+ "@funnelsgrove/runtime": "^0.45.0",
18
18
  "@stripe/react-stripe-js": "^5.6.0",
19
19
  "@stripe/stripe-js": "^8.7.0",
20
20
  "lucide-react": "^0.553.0",
@@ -1,19 +1,15 @@
1
1
  export const stepContentRegistry = {
2
2
  'step-1': {
3
3
  contentPath: 'src/steps/content/step-01.content.ts',
4
- editorPath: 'src/steps/editor/step-01.editor.ts',
5
4
  },
6
5
  'email-capture': {
7
6
  contentPath: 'src/steps/content/email-capture.content.ts',
8
- editorPath: 'src/steps/editor/email-capture.editor.ts',
9
7
  },
10
8
  paywall: {
11
9
  contentPath: 'src/steps/content/step-32-paywall.content.ts',
12
- editorPath: 'src/steps/editor/step-32-paywall.editor.ts',
13
10
  },
14
11
  'subscription-started': {
15
12
  contentPath: 'src/steps/content/subscription-started.content.ts',
16
- editorPath: 'src/steps/editor/subscription-started.editor.ts',
17
13
  },
18
14
  } as const;
19
15