@riverbankcms/sdk 0.121.0 → 0.124.0

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 (259) hide show
  1. package/README.md +14 -9
  2. package/dist/{PreviewEditorSidebar-lZ600tJx.mjs → PreviewEditorSidebar-DBmAJJkQ.mjs} +24 -41
  3. package/dist/{PreviewEditorUI-CTBWzLSb.mjs → PreviewEditorUI-CfGaz9cY.mjs} +3 -3
  4. package/dist/{PreviewQueryProvider-BHT8CJvZ.mjs → PreviewQueryProvider-BH-3-jSj.mjs} +1 -1
  5. package/dist/{SdkPreviewModeRuntime-DhPU58s7.mjs → SdkPreviewModeRuntime-BW9Z8j8T.mjs} +1020 -1234
  6. package/dist/{SiteChromeCustomizeContext-BkNvpzNZ.mjs → SiteChromeCustomizeContext-2z8moxYf.mjs} +1902 -1961
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +1236 -4152
  8. package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +435 -0
  9. package/dist/_dts/api/src/bookingClosures.d.ts +3 -3
  10. package/dist/_dts/api/src/bookingConfig.d.ts +100 -75
  11. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +26 -35
  12. package/dist/_dts/api/src/bookingRecords.d.ts +4 -15
  13. package/dist/_dts/api/src/bookingVerticalCatalog.d.ts +746 -0
  14. package/dist/_dts/api/src/bookingVerticalPreset.d.ts +38 -0
  15. package/dist/_dts/api/src/bookingVerticals.d.ts +11 -652
  16. package/dist/_dts/api/src/bookings.d.ts +11 -9
  17. package/dist/_dts/api/src/cache-tags.d.ts +2 -2
  18. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +10 -10
  19. package/dist/_dts/api/src/common/envelope.d.ts +2 -0
  20. package/dist/_dts/api/src/contentRuntime.d.ts +0 -17
  21. package/dist/_dts/api/src/courseEndpointDefinitions.d.ts +99 -0
  22. package/dist/_dts/api/src/courses.d.ts +22 -33
  23. package/dist/_dts/api/src/defineEndpointDefinitions.d.ts +14 -0
  24. package/dist/_dts/api/src/demoMutationPolicies.d.ts +4 -0
  25. package/dist/_dts/api/src/endpoints.d.ts +3740 -3733
  26. package/dist/_dts/api/src/event-destination-policy.d.ts +1 -1
  27. package/dist/_dts/api/src/event-presentation.d.ts +4 -9
  28. package/dist/_dts/api/src/index.d.ts +10 -12
  29. package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +376 -0
  30. package/dist/_dts/api/src/participantMessaging.d.ts +2 -2
  31. package/dist/_dts/api/src/public/endpoints.d.ts +1 -1
  32. package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +272 -0
  33. package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +274 -0
  34. package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +31 -0
  35. package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +152 -0
  36. package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +95 -0
  37. package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +154 -0
  38. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +10 -962
  39. package/dist/_dts/api/src/publicWholeSeriesEndpointDefinitions.d.ts +52 -0
  40. package/dist/_dts/api/src/sdkContracts.d.ts +0 -51
  41. package/dist/_dts/api/src/sdkEntryReadEndpoints.d.ts +23 -0
  42. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +1 -38
  43. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -7
  44. package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -15
  45. package/dist/_dts/blocks/src/contracts/index.d.ts +1 -1
  46. package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +0 -16
  47. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +6 -222
  48. package/dist/_dts/blocks/src/portal/types.d.ts +3 -3
  49. package/dist/_dts/blocks/src/subroutes/fold.d.ts +1 -14
  50. package/dist/_dts/blocks/src/subroutes/index.d.ts +1 -1
  51. package/dist/_dts/blocks/src/subroutes/kinds.d.ts +3 -3
  52. package/dist/_dts/blocks/src/system/blocks/course-details.d.ts +0 -11
  53. package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +3 -4
  54. package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +1 -1
  55. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +401 -12
  56. package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +9 -10
  57. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +14 -13
  58. package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +1 -2
  59. package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +1 -4
  60. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +19 -18
  61. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +9 -11
  62. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +2 -2
  63. package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
  64. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +10 -10
  65. package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +10 -10
  66. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
  67. package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +162 -0
  68. package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +59 -0
  69. package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +134 -0
  70. package/dist/_dts/blocks/src/system/runtime/api/types/discounts.d.ts +85 -0
  71. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +241 -0
  72. package/dist/_dts/blocks/src/system/runtime/api/types/forms.d.ts +53 -0
  73. package/dist/_dts/blocks/src/system/runtime/api/types/newsletter.d.ts +32 -0
  74. package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +220 -0
  75. package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +176 -0
  76. package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +12 -1121
  77. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +19 -583
  78. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -276
  79. package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +1 -12
  80. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +0 -1
  81. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +0 -1
  82. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +2 -3
  83. package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +1 -18
  84. package/dist/_dts/blocks/src/system/runtime/nodes/course-details/runs.d.ts +0 -2
  85. package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +1 -5
  86. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/courseRegistrationViewState.d.ts +21 -0
  87. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/index.d.ts +1 -1
  88. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/pricing.d.ts +14 -0
  89. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +0 -25
  90. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseEligibility.d.ts +24 -0
  91. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCoursePaymentVerification.d.ts +9 -0
  92. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationActions.d.ts +35 -0
  93. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationPortal.d.ts +7 -0
  94. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationSelection.d.ts +31 -0
  95. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +80 -55
  96. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseWaitlistSelection.d.ts +14 -0
  97. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.contract.d.ts +4 -5
  98. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +0 -38
  99. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
  100. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +1 -2
  101. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +0 -1
  102. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +12 -0
  103. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +0 -4
  104. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +0 -9
  105. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +0 -5
  106. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +0 -11
  107. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +13 -0
  108. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +0 -21
  109. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
  110. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +24 -433
  111. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +1 -2
  112. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +52 -266
  113. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -15
  114. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventFilters.d.ts +0 -8
  115. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +1573 -0
  116. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +1 -3
  117. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +2 -3
  118. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +2 -2
  119. package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -5
  120. package/dist/_dts/content-model/src/content-types/builtins.d.ts +0 -5
  121. package/dist/_dts/content-model/src/templates/defaults.d.ts +6 -3
  122. package/dist/_dts/core/src/editor-state.d.ts +1 -13
  123. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +1587 -115
  124. package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +6 -6
  125. package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +6 -1
  126. package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +27 -4
  127. package/dist/_dts/sdk/src/cli/commands/audit.d.ts +1 -2
  128. package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +1 -1
  129. package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +4 -6
  130. package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +1 -1
  131. package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +1 -1
  132. package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -1
  133. package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +1 -1
  134. package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +23 -0
  135. package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +25 -0
  136. package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -52
  137. package/dist/_dts/sdk/src/cli/content/writer.d.ts +3 -81
  138. package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +6 -9
  139. package/dist/_dts/sdk/src/client/contentReadOperations.d.ts +40 -0
  140. package/dist/_dts/sdk/src/client/management/index.d.ts +1 -3
  141. package/dist/_dts/sdk/src/client/management/types.d.ts +3 -91
  142. package/dist/_dts/sdk/src/client/runtimeCacheKeys.d.ts +72 -0
  143. package/dist/_dts/sdk/src/client/runtimeCachePolicy.d.ts +10 -75
  144. package/dist/_dts/sdk/src/client/types.d.ts +7 -33
  145. package/dist/_dts/sdk/src/components.d.ts +1 -1
  146. package/dist/_dts/sdk/src/config/types.d.ts +1 -1
  147. package/dist/_dts/sdk/src/config/validation.d.ts +3 -6
  148. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  149. package/dist/_dts/sdk/src/contracts/page.d.ts +0 -8
  150. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -34
  151. package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +4 -3
  152. package/dist/_dts/sdk/src/next/catch-all-utils.d.ts +0 -11
  153. package/dist/_dts/sdk/src/next/catch-all.d.ts +1 -76
  154. package/dist/_dts/sdk/src/next/types.d.ts +0 -19
  155. package/dist/_dts/sdk/src/public-api/contracts.d.ts +7 -207
  156. package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
  157. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -1
  158. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -2
  159. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +0 -7
  160. package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +81 -0
  161. package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
  162. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -51
  163. package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -1
  164. package/dist/_dts/sdk/src/routing/entrySubroutes.d.ts +6 -6
  165. package/dist/_dts/sdk/src/routing/index.d.ts +0 -2
  166. package/dist/_dts/sdk/src/routing/resolveOccurrence.d.ts +3 -3
  167. package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +10 -39
  168. package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
  169. package/dist/_dts/sdk/src/version.d.ts +1 -1
  170. package/dist/_dts/site-commands/src/adapter.d.ts +1 -1
  171. package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +100 -0
  172. package/dist/_dts/site-commands/src/capabilityGaps.d.ts +2 -2
  173. package/dist/_dts/site-commands/src/commandContract.d.ts +1242 -0
  174. package/dist/_dts/site-commands/src/commandDomain.d.ts +20 -0
  175. package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +7 -0
  176. package/dist/_dts/site-commands/src/commandValidation.d.ts +10 -0
  177. package/dist/_dts/site-commands/src/commands.d.ts +729 -2659
  178. package/dist/_dts/site-commands/src/domain.d.ts +1 -1
  179. package/dist/_dts/site-commands/src/eventCommandContent.d.ts +11 -0
  180. package/dist/_dts/site-commands/src/exposure.d.ts +1 -1
  181. package/dist/_dts/site-commands/src/index.d.ts +6 -0
  182. package/dist/_dts/site-commands/src/metadata.d.ts +1 -27
  183. package/dist/_dts/site-commands/src/planner.d.ts +1 -1
  184. package/dist/_dts/site-commands/src/refContributions.d.ts +1 -1
  185. package/dist/_dts/site-commands/src/refs.d.ts +1 -4
  186. package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +378 -0
  187. package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +46 -0
  188. package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +2 -2
  189. package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +21 -0
  190. package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +58 -0
  191. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +1 -0
  192. package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
  193. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +47 -24
  194. package/dist/cli/index.mjs +7392 -10989
  195. package/dist/cli/init-docs/content/cli-reference.md +5 -21
  196. package/dist/cli/init-docs/content/content-management.md +4 -5
  197. package/dist/client/{DiscountCodeDisclosure-DIWj-P9v.mjs → DiscountCodeDisclosure-DxvjKvck.mjs} +2 -2
  198. package/dist/client/{EventCombined.client-De8YWBSr.mjs → EventCombined.client-BydMGc4c.mjs} +5 -16
  199. package/dist/client/{EventListing.client-seHTjimY.mjs → EventListing.client-vpzhhysN.mjs} +3 -10
  200. package/dist/client/{LeafletStaticMap-BmQxFcJW.mjs → LeafletStaticMap-CB07rpf8.mjs} +1 -1
  201. package/dist/client/{MagicLinkForm-OoJAIUIj.mjs → MagicLinkForm-BzyRJ8VF.mjs} +2 -2
  202. package/dist/client/{StepIndicator-CiZ8kdPk.mjs → StepIndicator-CTcGf8Be.mjs} +2 -2
  203. package/dist/client/{accordion-6lnN__XJ.mjs → accordion-B-DUDLRD.mjs} +1 -1
  204. package/dist/client/{bookingForm-5uyqhONU.mjs → bookingForm-DSbClLcZ.mjs} +6 -6
  205. package/dist/client/bookings.mjs +753 -818
  206. package/dist/client/{carousel-Dtnifil_.mjs → carousel-B6Ccdx8M.mjs} +1 -1
  207. package/dist/client/{cart-5Tc5S7NV.mjs → cart-BZh8G8wM.mjs} +3 -3
  208. package/dist/client/{checkout-CYKKN5Hr.mjs → checkout-o6zaC-kM.mjs} +3 -3
  209. package/dist/client/client.mjs +7398 -7687
  210. package/dist/client/{context-BGZNlGXB.mjs → context-CJz1Vlsz.mjs} +40 -43
  211. package/dist/client/{courseRegistration-CxCBybB4.mjs → courseRegistration-Cf11pNDs.mjs} +606 -621
  212. package/dist/client/{eventCalendar-Xj2jZS9X.mjs → eventCalendar-BeXrdsSE.mjs} +5 -13
  213. package/dist/client/{eventCombined-CgcMoOgM.mjs → eventCombined-DA76PZgG.mjs} +3 -3
  214. package/dist/client/{eventDetails-CEAH8Edc.mjs → eventDetails-BLxg0rok.mjs} +140 -116
  215. package/dist/client/{eventListing-qyPVQ0wP.mjs → eventListing-tO9LheBX.mjs} +3 -3
  216. package/dist/client/{eventRegistration-DDu79CtL.mjs → eventRegistration-Cnene9D9.mjs} +165 -68
  217. package/dist/client/{form-Bc7JKI7I.mjs → form-DZf72CHB.mjs} +2 -2
  218. package/dist/client/{headerSection-vTku_LEl.mjs → headerSection-Hioja5Cr.mjs} +2 -2
  219. package/dist/client/hooks.mjs +3452 -2365
  220. package/dist/client/{locationMap-Bg7X4Jna.mjs → locationMap-DwhUXEix.mjs} +2 -2
  221. package/dist/client/{newsletterForm-lpylVdp5.mjs → newsletterForm-C350bEQf.mjs} +2 -2
  222. package/dist/client/{pricing-DE8fjJiT.mjs → pricing-BYWN_ATa.mjs} +3 -19
  223. package/dist/client/{productDetail-D7Bo2RMH.mjs → productDetail-CCqCyXgU.mjs} +3 -3
  224. package/dist/client/{productList-VjnZqiqN.mjs → productList-BAiNJrOU.mjs} +3 -3
  225. package/dist/client/{propsDecoder-DreFXjNP.mjs → propsDecoder-DeunRj6m.mjs} +210 -378
  226. package/dist/client/rendering/client.mjs +2541 -2813
  227. package/dist/client/rendering/islands.mjs +18 -18
  228. package/dist/client/rendering.mjs +5622 -4734
  229. package/dist/client/{shop-IRsHHbf7.mjs → shop-DUmCdBtw.mjs} +6 -6
  230. package/dist/client/{shop-commerce-gnI8PieZ.mjs → shop-commerce-CY27mEUr.mjs} +5 -5
  231. package/dist/client/{shop-commerce-store-BTbrhObn.mjs → shop-commerce-store-ChXPbWfa.mjs} +1 -1
  232. package/dist/client/{shopShared-D6KS2_qk.mjs → shopShared-q0kin1cv.mjs} +3 -3
  233. package/dist/client/{useDiscountCodeUi-DCccGCxV.mjs → useDiscountCodeUi-I-92-x2V.mjs} +2 -2
  234. package/dist/client/{useEventFilters-eGs3rPZQ.mjs → useEventFilters-DlcVluZh.mjs} +59 -124
  235. package/dist/client/{usePolling-CvSU2sur.mjs → usePolling-Bz7GFV_a.mjs} +2 -2
  236. package/dist/preview-next/before-render.mjs +1115 -1043
  237. package/dist/preview-next/client/runtime.mjs +4 -4
  238. package/dist/preview-next/middleware.mjs +1116 -1044
  239. package/dist/{previewAuthStore-31xH13Jc.mjs → previewAuthStore-CJX21dGi.mjs} +1119 -1044
  240. package/dist/{sdk-runtime-BE_vcGua.mjs → sdk-runtime-OnPM8Z69.mjs} +2 -2
  241. package/dist/{separator-CiffYtk3.mjs → separator-CPtfzHqA.mjs} +1 -1
  242. package/dist/server/components.mjs +11120 -12601
  243. package/dist/server/config-validation.mjs +3454 -2356
  244. package/dist/server/config.mjs +3454 -2356
  245. package/dist/server/data.mjs +3452 -2367
  246. package/dist/server/index.mjs +1499 -1488
  247. package/dist/server/next.mjs +18291 -21201
  248. package/dist/server/page-converter.mjs +1898 -2040
  249. package/dist/server/prebuild.mjs +1 -1
  250. package/dist/server/rendering/server.mjs +19666 -21153
  251. package/dist/server/rendering.mjs +17117 -18651
  252. package/dist/server/routing.mjs +3614 -2509
  253. package/dist/server/server.mjs +3298 -3478
  254. package/package.json +1 -1
  255. package/dist/_dts/api/src/previewContentContract.d.ts +0 -4
  256. package/dist/_dts/sdk/src/cli/commands/course.d.ts +0 -6
  257. package/dist/_dts/sdk/src/cli/commands/push/scopes/courses.d.ts +0 -4
  258. package/dist/_dts/sdk/src/client/management/courses.d.ts +0 -10
  259. package/dist/_dts/sdk/src/routing/resolveEntrySubroute.d.ts +0 -36
@@ -370,7 +370,6 @@ export declare const proofBlockIslandCodecs: {
370
370
  showCategoryFilter: import("..").FilterAutoShow;
371
371
  showVenueFilter: boolean;
372
372
  showStaffFilter: boolean;
373
- eventKind: import("..").EventBlockKind;
374
373
  eventSurface: import("..").EventSurfaceScope;
375
374
  filterEventPresets: string | null;
376
375
  scheduleScope: import("..").EventScheduleScope;
@@ -416,7 +415,6 @@ export declare const proofBlockIslandCodecs: {
416
415
  showCategoryFilter: import("..").FilterAutoShow;
417
416
  showVenueFilter: boolean;
418
417
  showStaffFilter: boolean;
419
- eventKind: import("..").EventBlockKind;
420
418
  eventSurface: import("..").EventSurfaceScope;
421
419
  filterEventPresets: string | null;
422
420
  scheduleScope: import("..").EventScheduleScope;
@@ -438,47 +436,11 @@ export declare const proofBlockIslandCodecs: {
438
436
  render: Readonly<{
439
437
  mode: "event-calendar";
440
438
  } & Readonly<{
441
- display: Readonly<{
442
- kind: "event-calendar";
443
- displayMode: import("..").DisplayMode;
444
- className: string | null;
445
- events: readonly import(".").PublicEvent[];
446
- listLayout: import("..").EventLayout;
447
- listColumns: import("..").ColumnOption;
448
- eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
449
- paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
450
- startOfWeek: import("..").WeekStart;
451
- calendarTabViews: import("..").CalendarTabViews;
452
- defaultCalendarView: import("..").CalendarView;
453
- showFilters: boolean;
454
- showCategoryFilter: import("..").FilterAutoShow;
455
- showVenueFilter: boolean;
456
- showStaffFilter: boolean;
457
- eventKind: import("..").EventBlockKind;
458
- eventSurface: import("..").EventSurfaceScope;
459
- filterEventPresets: string | null;
460
- scheduleScope: import("..").EventScheduleScope;
461
- filterCategoryIds: string | null;
462
- filterStaffMemberId: string | null;
463
- filterVenueId: string | null;
464
- buttonVariant: import("../system").ButtonVariant;
465
- buttonText: string;
466
- boardTitle?: string;
467
- footerNote?: string;
468
- seeAllUrl?: string;
469
- loadMoreText?: string;
470
- elevated: boolean;
471
- banded: boolean;
472
- showVenue: boolean;
473
- showMap: boolean;
474
- showCapacity: boolean;
475
- emptyMessage: string;
476
- }>;
439
+ display: EventCalendarDisplay;
477
440
  hydration: Readonly<{
478
441
  siteId: string;
479
442
  stage?: "preview" | "published";
480
443
  prefetchedEvents: boolean;
481
- eventKind: import("..").EventBlockKind;
482
444
  eventSurface: import("..").EventSurfaceScope;
483
445
  filterEventPresets: string | null;
484
446
  scheduleScope: import("..").EventScheduleScope;
@@ -494,47 +456,11 @@ export declare const proofBlockIslandCodecs: {
494
456
  render: Readonly<{
495
457
  mode: "event-calendar";
496
458
  } & Readonly<{
497
- display: Readonly<{
498
- kind: "event-calendar";
499
- displayMode: import("..").DisplayMode;
500
- className: string | null;
501
- events: readonly import(".").PublicEvent[];
502
- listLayout: import("..").EventLayout;
503
- listColumns: import("..").ColumnOption;
504
- eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
505
- paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
506
- startOfWeek: import("..").WeekStart;
507
- calendarTabViews: import("..").CalendarTabViews;
508
- defaultCalendarView: import("..").CalendarView;
509
- showFilters: boolean;
510
- showCategoryFilter: import("..").FilterAutoShow;
511
- showVenueFilter: boolean;
512
- showStaffFilter: boolean;
513
- eventKind: import("..").EventBlockKind;
514
- eventSurface: import("..").EventSurfaceScope;
515
- filterEventPresets: string | null;
516
- scheduleScope: import("..").EventScheduleScope;
517
- filterCategoryIds: string | null;
518
- filterStaffMemberId: string | null;
519
- filterVenueId: string | null;
520
- buttonVariant: import("../system").ButtonVariant;
521
- buttonText: string;
522
- boardTitle?: string;
523
- footerNote?: string;
524
- seeAllUrl?: string;
525
- loadMoreText?: string;
526
- elevated: boolean;
527
- banded: boolean;
528
- showVenue: boolean;
529
- showMap: boolean;
530
- showCapacity: boolean;
531
- emptyMessage: string;
532
- }>;
459
+ display: EventCalendarDisplay;
533
460
  hydration: Readonly<{
534
461
  siteId: string;
535
462
  stage?: "preview" | "published";
536
463
  prefetchedEvents: boolean;
537
- eventKind: import("..").EventBlockKind;
538
464
  eventSurface: import("..").EventSurfaceScope;
539
465
  filterEventPresets: string | null;
540
466
  scheduleScope: import("..").EventScheduleScope;
@@ -1006,40 +932,11 @@ export declare const runtimeIslandCodecs: {
1006
932
  render: Readonly<{
1007
933
  mode: "event-combined";
1008
934
  } & Readonly<{
1009
- display: Readonly<{
1010
- kind: "event-combined";
1011
- className: string | null;
1012
- events: readonly import(".").PublicEvent[];
1013
- listLayout: import("..").EventLayout;
1014
- listColumns: import("..").ColumnOption;
1015
- eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
1016
- paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
1017
- startOfWeek: import("..").WeekStart;
1018
- calendarTabViews: import("..").CalendarTabViews;
1019
- defaultCalendarView: import("..").CalendarView;
1020
- showFilters: boolean;
1021
- showCategoryFilter: import("..").FilterAutoShow;
1022
- showVenueFilter: boolean;
1023
- showStaffFilter: boolean;
1024
- eventKind: import("..").EventBlockKind;
1025
- eventSurface: import("..").EventSurfaceScope;
1026
- filterEventPresets: string | null;
1027
- scheduleScope: import("..").EventScheduleScope;
1028
- filterCategoryIds: string | null;
1029
- filterStaffMemberId: string | null;
1030
- filterVenueId: string | null;
1031
- showVenue: boolean;
1032
- showMap: boolean;
1033
- showCapacity: boolean;
1034
- buttonVariant: import("../system").ButtonVariant;
1035
- buttonText: string;
1036
- emptyMessage: string;
1037
- }>;
935
+ display: EventCombinedDisplay;
1038
936
  hydration: Readonly<{
1039
937
  siteId: string;
1040
938
  stage?: "preview" | "published";
1041
939
  prefetchedEvents: boolean;
1042
- eventKind: import("..").EventBlockKind;
1043
940
  eventSurface: import("..").EventSurfaceScope;
1044
941
  filterEventPresets: string | null;
1045
942
  scheduleScope: import("..").EventScheduleScope;
@@ -1055,40 +952,11 @@ export declare const runtimeIslandCodecs: {
1055
952
  render: Readonly<{
1056
953
  mode: "event-combined";
1057
954
  } & Readonly<{
1058
- display: Readonly<{
1059
- kind: "event-combined";
1060
- className: string | null;
1061
- events: readonly import(".").PublicEvent[];
1062
- listLayout: import("..").EventLayout;
1063
- listColumns: import("..").ColumnOption;
1064
- eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
1065
- paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
1066
- startOfWeek: import("..").WeekStart;
1067
- calendarTabViews: import("..").CalendarTabViews;
1068
- defaultCalendarView: import("..").CalendarView;
1069
- showFilters: boolean;
1070
- showCategoryFilter: import("..").FilterAutoShow;
1071
- showVenueFilter: boolean;
1072
- showStaffFilter: boolean;
1073
- eventKind: import("..").EventBlockKind;
1074
- eventSurface: import("..").EventSurfaceScope;
1075
- filterEventPresets: string | null;
1076
- scheduleScope: import("..").EventScheduleScope;
1077
- filterCategoryIds: string | null;
1078
- filterStaffMemberId: string | null;
1079
- filterVenueId: string | null;
1080
- showVenue: boolean;
1081
- showMap: boolean;
1082
- showCapacity: boolean;
1083
- buttonVariant: import("../system").ButtonVariant;
1084
- buttonText: string;
1085
- emptyMessage: string;
1086
- }>;
955
+ display: EventCombinedDisplay;
1087
956
  hydration: Readonly<{
1088
957
  siteId: string;
1089
958
  stage?: "preview" | "published";
1090
959
  prefetchedEvents: boolean;
1091
- eventKind: import("..").EventBlockKind;
1092
960
  eventSurface: import("..").EventSurfaceScope;
1093
961
  filterEventPresets: string | null;
1094
962
  scheduleScope: import("..").EventScheduleScope;
@@ -1456,7 +1324,6 @@ export declare const runtimeIslandCodecs: {
1456
1324
  showCategoryFilter: import("..").FilterAutoShow;
1457
1325
  showVenueFilter: boolean;
1458
1326
  showStaffFilter: boolean;
1459
- eventKind: import("..").EventBlockKind;
1460
1327
  eventSurface: import("..").EventSurfaceScope;
1461
1328
  filterEventPresets: string | null;
1462
1329
  scheduleScope: import("..").EventScheduleScope;
@@ -1502,7 +1369,6 @@ export declare const runtimeIslandCodecs: {
1502
1369
  showCategoryFilter: import("..").FilterAutoShow;
1503
1370
  showVenueFilter: boolean;
1504
1371
  showStaffFilter: boolean;
1505
- eventKind: import("..").EventBlockKind;
1506
1372
  eventSurface: import("..").EventSurfaceScope;
1507
1373
  filterEventPresets: string | null;
1508
1374
  scheduleScope: import("..").EventScheduleScope;
@@ -1524,47 +1390,11 @@ export declare const runtimeIslandCodecs: {
1524
1390
  render: Readonly<{
1525
1391
  mode: "event-calendar";
1526
1392
  } & Readonly<{
1527
- display: Readonly<{
1528
- kind: "event-calendar";
1529
- displayMode: import("..").DisplayMode;
1530
- className: string | null;
1531
- events: readonly import(".").PublicEvent[];
1532
- listLayout: import("..").EventLayout;
1533
- listColumns: import("..").ColumnOption;
1534
- eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
1535
- paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
1536
- startOfWeek: import("..").WeekStart;
1537
- calendarTabViews: import("..").CalendarTabViews;
1538
- defaultCalendarView: import("..").CalendarView;
1539
- showFilters: boolean;
1540
- showCategoryFilter: import("..").FilterAutoShow;
1541
- showVenueFilter: boolean;
1542
- showStaffFilter: boolean;
1543
- eventKind: import("..").EventBlockKind;
1544
- eventSurface: import("..").EventSurfaceScope;
1545
- filterEventPresets: string | null;
1546
- scheduleScope: import("..").EventScheduleScope;
1547
- filterCategoryIds: string | null;
1548
- filterStaffMemberId: string | null;
1549
- filterVenueId: string | null;
1550
- buttonVariant: import("../system").ButtonVariant;
1551
- buttonText: string;
1552
- boardTitle?: string;
1553
- footerNote?: string;
1554
- seeAllUrl?: string;
1555
- loadMoreText?: string;
1556
- elevated: boolean;
1557
- banded: boolean;
1558
- showVenue: boolean;
1559
- showMap: boolean;
1560
- showCapacity: boolean;
1561
- emptyMessage: string;
1562
- }>;
1393
+ display: EventCalendarDisplay;
1563
1394
  hydration: Readonly<{
1564
1395
  siteId: string;
1565
1396
  stage?: "preview" | "published";
1566
1397
  prefetchedEvents: boolean;
1567
- eventKind: import("..").EventBlockKind;
1568
1398
  eventSurface: import("..").EventSurfaceScope;
1569
1399
  filterEventPresets: string | null;
1570
1400
  scheduleScope: import("..").EventScheduleScope;
@@ -1580,47 +1410,11 @@ export declare const runtimeIslandCodecs: {
1580
1410
  render: Readonly<{
1581
1411
  mode: "event-calendar";
1582
1412
  } & Readonly<{
1583
- display: Readonly<{
1584
- kind: "event-calendar";
1585
- displayMode: import("..").DisplayMode;
1586
- className: string | null;
1587
- events: readonly import(".").PublicEvent[];
1588
- listLayout: import("..").EventLayout;
1589
- listColumns: import("..").ColumnOption;
1590
- eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
1591
- paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
1592
- startOfWeek: import("..").WeekStart;
1593
- calendarTabViews: import("..").CalendarTabViews;
1594
- defaultCalendarView: import("..").CalendarView;
1595
- showFilters: boolean;
1596
- showCategoryFilter: import("..").FilterAutoShow;
1597
- showVenueFilter: boolean;
1598
- showStaffFilter: boolean;
1599
- eventKind: import("..").EventBlockKind;
1600
- eventSurface: import("..").EventSurfaceScope;
1601
- filterEventPresets: string | null;
1602
- scheduleScope: import("..").EventScheduleScope;
1603
- filterCategoryIds: string | null;
1604
- filterStaffMemberId: string | null;
1605
- filterVenueId: string | null;
1606
- buttonVariant: import("../system").ButtonVariant;
1607
- buttonText: string;
1608
- boardTitle?: string;
1609
- footerNote?: string;
1610
- seeAllUrl?: string;
1611
- loadMoreText?: string;
1612
- elevated: boolean;
1613
- banded: boolean;
1614
- showVenue: boolean;
1615
- showMap: boolean;
1616
- showCapacity: boolean;
1617
- emptyMessage: string;
1618
- }>;
1413
+ display: EventCalendarDisplay;
1619
1414
  hydration: Readonly<{
1620
1415
  siteId: string;
1621
1416
  stage?: "preview" | "published";
1622
1417
  prefetchedEvents: boolean;
1623
- eventKind: import("..").EventBlockKind;
1624
1418
  eventSurface: import("..").EventSurfaceScope;
1625
1419
  filterEventPresets: string | null;
1626
1420
  scheduleScope: import("..").EventScheduleScope;
@@ -2127,11 +1921,6 @@ export declare const runtimeIslandCodecs: {
2127
1921
  readonly 'event-details': Readonly<{
2128
1922
  encode: (value: Readonly<{
2129
1923
  occurrenceContext?: import("./non-block-islands").EventDetailsOccurrenceContext | null;
2130
- contentEntry?: Readonly<{
2131
- id: string;
2132
- slug: string;
2133
- contentTypeSlug: string;
2134
- }> | null;
2135
1924
  events?: readonly import(".").PublicEvent[] | null;
2136
1925
  showVenue?: boolean;
2137
1926
  showMap?: boolean;
@@ -2152,11 +1941,6 @@ export declare const runtimeIslandCodecs: {
2152
1941
  }>) => unknown;
2153
1942
  decode: (input: unknown) => import("./runtime").DecodeResult<Readonly<{
2154
1943
  occurrenceContext?: import("./non-block-islands").EventDetailsOccurrenceContext | null;
2155
- contentEntry?: Readonly<{
2156
- id: string;
2157
- slug: string;
2158
- contentTypeSlug: string;
2159
- }> | null;
2160
1944
  events?: readonly import(".").PublicEvent[] | null;
2161
1945
  showVenue?: boolean;
2162
1946
  showMap?: boolean;
@@ -120,12 +120,12 @@ export interface EventGuest {
120
120
  guestIndex: number;
121
121
  }
122
122
  /**
123
- * Customer course enrollment data from /api/portal/courses
123
+ * Customer course enrollment data from /api/portal/dated-offerings/whole-series
124
124
  * Note: status uses British spelling 'cancelled'
125
125
  */
126
126
  export interface CustomerCourseEnrollment {
127
127
  id: string;
128
- courseId: string;
128
+ eventSeriesId: string | null;
129
129
  courseTitle: string;
130
130
  /** Path to the course page (published route) when available */
131
131
  coursePath?: string | null;
@@ -425,7 +425,7 @@ export declare function getEventBadgeVariant(status: CustomerEventRegistration['
425
425
  * Get badge variant for appointment status
426
426
  */
427
427
  export declare function getAppointmentBadgeVariant(status: CustomerAppointment['status']): BadgeVariant;
428
- export declare function getBeforeYouComeBadgeVariant(status: NonNullable<CustomerAppointment["beforeYouCome"]>["status"]): BadgeVariant;
428
+ export declare function getBeforeYouComeBadgeVariant(status: NonNullable<CustomerAppointment['beforeYouCome']>['status']): BadgeVariant;
429
429
  export declare function orderFilterLabel(filter: CustomerOrderFilter): string;
430
430
  export declare function getOrderStatusBadgeVariant(status: CustomerOrder['status']): BadgeVariant;
431
431
  export declare function getOrderPaymentStateBadgeVariant(paymentState: CustomerOrder['paymentState']): BadgeVariant;
@@ -4,23 +4,10 @@ import type { EntrySubrouteContextData, OccurrenceContextData } from '../PageRen
4
4
  * adding a new variant there flows here automatically.
5
5
  */
6
6
  export type EntrySubrouteKind = EntrySubrouteContextData['kind'];
7
- /**
8
- * Inner payload shape for the `course-run` variant. Exposed because it's the
9
- * only kind whose payload isn't already named (events use `OccurrenceContextData`).
10
- */
11
- export type CourseRunPayload = Extract<EntrySubrouteContextData, {
12
- kind: 'course-run';
13
- }>['run'];
14
7
  /**
15
8
  * Inner payload type for a given subroute kind.
16
- *
17
- * The conditional mapping centralises the `occurrence`/`run` field-name
18
- * asymmetry so consumers can stay generic. When you extend
19
- * {@link EntrySubrouteContextData} with a new variant, add a branch here and
20
- * {@link foldSubroute} below — the type system will surface every other
21
- * call site that needs updating.
22
9
  */
23
- export type SubroutePayload<K extends EntrySubrouteKind> = K extends 'event-occurrence' ? OccurrenceContextData : K extends 'course-run' ? CourseRunPayload : never;
10
+ export type SubroutePayload<K extends EntrySubrouteKind> = K extends 'event-occurrence' ? OccurrenceContextData : never;
24
11
  /**
25
12
  * Per-kind handler set. The `Record<EntrySubrouteKind, …>` shape forces every
26
13
  * kind to have a handler — adding a new kind to {@link EntrySubrouteContextData}
@@ -1,3 +1,3 @@
1
1
  export { formatOccurrenceDate } from './formatDate';
2
- export { foldSubroute, type CourseRunPayload, type EntrySubrouteKind, type SubrouteFold, type SubroutePayload, } from './fold';
2
+ export { foldSubroute, type EntrySubrouteKind, type SubrouteFold, type SubroutePayload, } from './fold';
3
3
  export { SUBROUTE_KINDS, type SubrouteKindMeta, } from './kinds';
@@ -8,11 +8,11 @@ import type { EntrySubrouteKind, SubroutePayload } from './fold';
8
8
  */
9
9
  export type SubrouteKindMeta<K extends EntrySubrouteKind> = {
10
10
  kind: K;
11
- /** The parent thing — "event", "course". */
11
+ /** The parent thing, such as "event". */
12
12
  containerNoun: string;
13
- /** The instance thing — "date", "run", "session". */
13
+ /** The instance thing, such as "date". */
14
14
  instanceNoun: string;
15
- /** Plural list noun the dashboard groups them under — "events list", "courses list". */
15
+ /** Plural list noun the dashboard groups them under. */
16
16
  listLabel: string;
17
17
  /** Human-friendly name for this instance, or null when none is available. */
18
18
  formatInstanceName: (payload: SubroutePayload<K>) => string | null;
@@ -19,16 +19,6 @@ export declare const courseDetailsManifest: import("..").DefinedBlockManifest<{
19
19
  readonly required: false;
20
20
  readonly multiline: false;
21
21
  readonly defaultValue: "Course details";
22
- }, {
23
- readonly id: "courseSlug";
24
- readonly type: "text";
25
- readonly label: "Course slug (optional)";
26
- readonly description: "Select a course by slug when not used on a course template route";
27
- readonly required: false;
28
- readonly multiline: false;
29
- readonly ui: {
30
- readonly intent: "behavior";
31
- };
32
22
  }, {
33
23
  readonly id: "showTitle";
34
24
  readonly type: "boolean";
@@ -130,7 +120,6 @@ export declare const courseDetailsManifest: import("..").DefinedBlockManifest<{
130
120
  }>;
131
121
  export type CourseDetailsContent = {
132
122
  heading?: string | null;
133
- courseSlug?: string | null;
134
123
  showTitle?: boolean | null;
135
124
  showDescription?: boolean | null;
136
125
  showSessions?: boolean | null;
@@ -2,7 +2,7 @@ import type { SystemBlockDefinition } from "../registry";
2
2
  import type { SectionStylesContent } from "../fields/boxStyles";
3
3
  import { courseRegistrationBlockRuntime } from "../runtime/nodes/course-registration.interactive";
4
4
  import type { BlockButtonRole } from "../constants/buttonRoles";
5
- export { type PublicCourse, type CourseSession, type CourseVenue, type CourseStatus } from "./courses/shared";
5
+ export { type PublicCourse, type PublicWholeSeriesOffering, type CourseSession, type CourseVenue, type CourseStatus, } from "./courses/shared";
6
6
  /**
7
7
  * Course Registration Block
8
8
  *
@@ -17,9 +17,8 @@ export { type PublicCourse, type CourseSession, type CourseVenue, type CourseSta
17
17
  * - Membership-based payment if course accepts memberships
18
18
  *
19
19
  * Context:
20
- * - When placed on a course content type template, the course is
21
- * pre-selected from route context ($root.contentEntry)
22
- * - Can also be placed on standalone pages with course selection
20
+ * - The canonical event-offering/event-series page subject scopes the
21
+ * available run or runs.
23
22
  */
24
23
  export declare const courseRegistrationManifest: import("..").DefinedBlockManifest<{
25
24
  readonly additionalFields: readonly [{
@@ -43,7 +43,7 @@ type CourseCurrencyFormatOptions = Readonly<{
43
43
  maximumFractionDigits?: number;
44
44
  }>;
45
45
  export declare function getSelectableCoursePricingOptions(course: Pick<PublicCourse, 'pricing'>, nowInput?: PlanningDateInput): readonly CoursePricingOption[];
46
- export declare function resolveCoursePricingState(course: Pick<PublicCourse, 'pricing' | 'priceCents' | 'currency'>, selectedPricingOptionId?: string | null, selectedSlidingAmountOrNowInput?: number | null | PlanningDateInput, nowInput?: PlanningDateInput): ResolvedCoursePricingState;
46
+ export declare function resolveCoursePricingState(course: Pick<PublicCourse, 'pricing' | 'currency'>, selectedPricingOptionId?: string | null, selectedSlidingAmountOrNowInput?: number | null | PlanningDateInput, nowInput?: PlanningDateInput): ResolvedCoursePricingState;
47
47
  export declare function formatCoursePriceDisplay(display: CoursePriceDisplay, locale?: string): string;
48
48
  export declare function formatCourseCurrencyAmount(amount: number, currency: string, options?: CourseCurrencyFormatOptions): string;
49
49
  export declare function formatCoursePriceAmount(amount: number, currency: string, locale?: string): string;