@riverbankcms/sdk 0.123.0 → 0.125.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 (263) hide show
  1. package/README.md +14 -9
  2. package/dist/{PreviewEditorSidebar-DvJFmC29.mjs → PreviewEditorSidebar-BezDOtQ7.mjs} +22 -39
  3. package/dist/{PreviewEditorUI-DVHP4bCo.mjs → PreviewEditorUI-CgSqmfo2.mjs} +3 -3
  4. package/dist/{PreviewQueryProvider-07EE4uWL.mjs → PreviewQueryProvider-BH-3-jSj.mjs} +1 -1
  5. package/dist/{SdkPreviewModeRuntime-BE5eFayo.mjs → SdkPreviewModeRuntime-Co3AHfj0.mjs} +1031 -1237
  6. package/dist/{SiteChromeCustomizeContext-4hn4A0HX.mjs → SiteChromeCustomizeContext-BHF-KANn.mjs} +1949 -2004
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +1236 -4152
  8. package/dist/_dts/api/src/accessAdmin.d.ts +2 -14
  9. package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +435 -0
  10. package/dist/_dts/api/src/bookingClosures.d.ts +3 -3
  11. package/dist/_dts/api/src/bookingConfig.d.ts +72 -73
  12. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +26 -35
  13. package/dist/_dts/api/src/bookingRecords.d.ts +4 -15
  14. package/dist/_dts/api/src/bookingVerticalCatalog.d.ts +746 -0
  15. package/dist/_dts/api/src/bookingVerticalPreset.d.ts +38 -0
  16. package/dist/_dts/api/src/bookingVerticals.d.ts +11 -652
  17. package/dist/_dts/api/src/bookings.d.ts +11 -9
  18. package/dist/_dts/api/src/cache-tags.d.ts +2 -2
  19. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +10 -10
  20. package/dist/_dts/api/src/common/envelope.d.ts +2 -0
  21. package/dist/_dts/api/src/contentRuntime.d.ts +0 -17
  22. package/dist/_dts/api/src/courseEndpointDefinitions.d.ts +99 -0
  23. package/dist/_dts/api/src/courses.d.ts +22 -33
  24. package/dist/_dts/api/src/defineEndpointDefinitions.d.ts +14 -0
  25. package/dist/_dts/api/src/demoMutationPolicies.d.ts +4 -0
  26. package/dist/_dts/api/src/endpoints.d.ts +3740 -3733
  27. package/dist/_dts/api/src/event-destination-policy.d.ts +1 -1
  28. package/dist/_dts/api/src/event-presentation.d.ts +4 -9
  29. package/dist/_dts/api/src/index.d.ts +9 -11
  30. package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +376 -0
  31. package/dist/_dts/api/src/participantMessaging.d.ts +2 -2
  32. package/dist/_dts/api/src/public/endpoints.d.ts +1 -1
  33. package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +272 -0
  34. package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +274 -0
  35. package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +31 -0
  36. package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +152 -0
  37. package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +95 -0
  38. package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +154 -0
  39. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +10 -962
  40. package/dist/_dts/api/src/publicWholeSeriesEndpointDefinitions.d.ts +52 -0
  41. package/dist/_dts/api/src/sdkContracts.d.ts +0 -51
  42. package/dist/_dts/api/src/sdkEntryReadEndpoints.d.ts +23 -0
  43. package/dist/_dts/api/src/siteAccessAdmin.d.ts +23 -0
  44. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +1 -38
  45. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -4
  46. package/dist/_dts/billing/src/plans/types.d.ts +24 -5
  47. package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -15
  48. package/dist/_dts/blocks/src/contracts/index.d.ts +1 -1
  49. package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +4 -16
  50. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -222
  51. package/dist/_dts/blocks/src/portal/types.d.ts +3 -3
  52. package/dist/_dts/blocks/src/subroutes/fold.d.ts +1 -14
  53. package/dist/_dts/blocks/src/subroutes/index.d.ts +1 -1
  54. package/dist/_dts/blocks/src/subroutes/kinds.d.ts +3 -3
  55. package/dist/_dts/blocks/src/system/blocks/course-details.d.ts +0 -11
  56. package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +3 -4
  57. package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +1 -1
  58. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +401 -12
  59. package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +9 -10
  60. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +14 -13
  61. package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +1 -2
  62. package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +1 -4
  63. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +19 -18
  64. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +9 -11
  65. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +2 -2
  66. package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
  67. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +10 -10
  68. package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +10 -10
  69. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
  70. package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +162 -0
  71. package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +59 -0
  72. package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +134 -0
  73. package/dist/_dts/blocks/src/system/runtime/api/types/discounts.d.ts +85 -0
  74. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +241 -0
  75. package/dist/_dts/blocks/src/system/runtime/api/types/forms.d.ts +53 -0
  76. package/dist/_dts/blocks/src/system/runtime/api/types/newsletter.d.ts +32 -0
  77. package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +220 -0
  78. package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +176 -0
  79. package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +12 -1121
  80. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +20 -583
  81. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -276
  82. package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +1 -12
  83. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +0 -1
  84. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +0 -1
  85. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +2 -3
  86. package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +1 -18
  87. package/dist/_dts/blocks/src/system/runtime/nodes/course-details/runs.d.ts +0 -2
  88. package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +1 -5
  89. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/courseRegistrationViewState.d.ts +21 -0
  90. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/index.d.ts +1 -1
  91. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/pricing.d.ts +14 -0
  92. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +0 -25
  93. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseEligibility.d.ts +24 -0
  94. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCoursePaymentVerification.d.ts +9 -0
  95. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationActions.d.ts +35 -0
  96. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationPortal.d.ts +7 -0
  97. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationSelection.d.ts +31 -0
  98. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +80 -55
  99. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseWaitlistSelection.d.ts +14 -0
  100. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.contract.d.ts +4 -5
  101. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +0 -38
  102. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
  103. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +2 -0
  104. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +4 -3
  105. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +2 -2
  106. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +12 -0
  107. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +0 -4
  108. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +0 -9
  109. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +0 -5
  110. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +0 -11
  111. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +13 -0
  112. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +0 -21
  113. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
  114. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +24 -433
  115. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +1 -2
  116. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +52 -266
  117. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -15
  118. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventFilters.d.ts +0 -8
  119. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +1573 -0
  120. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +1 -3
  121. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +2 -3
  122. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +2 -2
  123. package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -5
  124. package/dist/_dts/content-model/src/content-types/builtins.d.ts +0 -5
  125. package/dist/_dts/content-model/src/templates/defaults.d.ts +6 -3
  126. package/dist/_dts/core/src/editor-state.d.ts +1 -13
  127. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +1646 -37
  128. package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +6 -6
  129. package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +6 -1
  130. package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +27 -4
  131. package/dist/_dts/sdk/src/cli/commands/audit.d.ts +1 -2
  132. package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +1 -1
  133. package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +4 -6
  134. package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +1 -1
  135. package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +1 -1
  136. package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -1
  137. package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +1 -1
  138. package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +23 -0
  139. package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +25 -0
  140. package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -52
  141. package/dist/_dts/sdk/src/cli/content/writer.d.ts +3 -81
  142. package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +6 -9
  143. package/dist/_dts/sdk/src/client/contentReadOperations.d.ts +40 -0
  144. package/dist/_dts/sdk/src/client/management/index.d.ts +1 -3
  145. package/dist/_dts/sdk/src/client/management/types.d.ts +3 -91
  146. package/dist/_dts/sdk/src/client/runtimeCacheKeys.d.ts +72 -0
  147. package/dist/_dts/sdk/src/client/runtimeCachePolicy.d.ts +10 -75
  148. package/dist/_dts/sdk/src/client/types.d.ts +7 -33
  149. package/dist/_dts/sdk/src/components.d.ts +1 -1
  150. package/dist/_dts/sdk/src/config/types.d.ts +1 -1
  151. package/dist/_dts/sdk/src/config/validation.d.ts +3 -6
  152. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  153. package/dist/_dts/sdk/src/contracts/page.d.ts +0 -8
  154. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -34
  155. package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +4 -3
  156. package/dist/_dts/sdk/src/next/catch-all-utils.d.ts +0 -11
  157. package/dist/_dts/sdk/src/next/catch-all.d.ts +1 -76
  158. package/dist/_dts/sdk/src/next/types.d.ts +0 -19
  159. package/dist/_dts/sdk/src/public-api/contracts.d.ts +7 -207
  160. package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
  161. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -1
  162. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -2
  163. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +0 -7
  164. package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +81 -0
  165. package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
  166. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -51
  167. package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -1
  168. package/dist/_dts/sdk/src/routing/entrySubroutes.d.ts +6 -6
  169. package/dist/_dts/sdk/src/routing/index.d.ts +0 -2
  170. package/dist/_dts/sdk/src/routing/resolveOccurrence.d.ts +3 -3
  171. package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +10 -39
  172. package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
  173. package/dist/_dts/sdk/src/version.d.ts +1 -1
  174. package/dist/_dts/site-commands/src/adapter.d.ts +1 -1
  175. package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +100 -0
  176. package/dist/_dts/site-commands/src/capabilityGaps.d.ts +2 -2
  177. package/dist/_dts/site-commands/src/commandContract.d.ts +1242 -0
  178. package/dist/_dts/site-commands/src/commandDomain.d.ts +20 -0
  179. package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +7 -0
  180. package/dist/_dts/site-commands/src/commandValidation.d.ts +10 -0
  181. package/dist/_dts/site-commands/src/commands.d.ts +729 -2659
  182. package/dist/_dts/site-commands/src/domain.d.ts +1 -1
  183. package/dist/_dts/site-commands/src/eventCommandContent.d.ts +11 -0
  184. package/dist/_dts/site-commands/src/exposure.d.ts +1 -1
  185. package/dist/_dts/site-commands/src/index.d.ts +6 -0
  186. package/dist/_dts/site-commands/src/metadata.d.ts +1 -27
  187. package/dist/_dts/site-commands/src/planner.d.ts +1 -1
  188. package/dist/_dts/site-commands/src/refContributions.d.ts +1 -1
  189. package/dist/_dts/site-commands/src/refs.d.ts +1 -4
  190. package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +378 -0
  191. package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +46 -0
  192. package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +2 -2
  193. package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +21 -0
  194. package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +58 -0
  195. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +1 -0
  196. package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
  197. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +47 -24
  198. package/dist/cli/index.mjs +7267 -8479
  199. package/dist/cli/init-docs/content/cli-reference.md +5 -21
  200. package/dist/cli/init-docs/content/content-management.md +4 -5
  201. package/dist/client/{DiscountCodeDisclosure-DIWj-P9v.mjs → DiscountCodeDisclosure-CyPpekBp.mjs} +2 -2
  202. package/dist/client/{EventCombined.client-De8YWBSr.mjs → EventCombined.client-zywit-60.mjs} +5 -16
  203. package/dist/client/{EventListing.client-seHTjimY.mjs → EventListing.client-J2nLhkKT.mjs} +3 -10
  204. package/dist/client/{LeafletStaticMap-BmQxFcJW.mjs → LeafletStaticMap-CSubXWt6.mjs} +1 -1
  205. package/dist/client/{MagicLinkForm-OoJAIUIj.mjs → MagicLinkForm-DDLIfiq9.mjs} +2 -2
  206. package/dist/client/{StepIndicator-CiZ8kdPk.mjs → StepIndicator-DE8EvHIp.mjs} +2 -2
  207. package/dist/client/{accordion-6lnN__XJ.mjs → accordion-Ct5T5NiA.mjs} +1 -1
  208. package/dist/client/{bookingForm-5uyqhONU.mjs → bookingForm-DMxtLPxw.mjs} +6 -6
  209. package/dist/client/bookings.mjs +753 -818
  210. package/dist/client/{carousel-Dtnifil_.mjs → carousel--FMqgvob.mjs} +1 -1
  211. package/dist/client/{cart-5Tc5S7NV.mjs → cart-BKX1bWiU.mjs} +3 -3
  212. package/dist/client/{checkout-CYKKN5Hr.mjs → checkout-B_jxi4WW.mjs} +3 -3
  213. package/dist/client/client.mjs +6876 -7150
  214. package/dist/client/{context-BGZNlGXB.mjs → context-CJz1Vlsz.mjs} +40 -43
  215. package/dist/client/{courseRegistration-CxCBybB4.mjs → courseRegistration-DH4MlkRD.mjs} +606 -621
  216. package/dist/client/{eventCalendar-Xj2jZS9X.mjs → eventCalendar-BQILwAcL.mjs} +5 -13
  217. package/dist/client/{eventCombined-CgcMoOgM.mjs → eventCombined-DFFW_Vmo.mjs} +3 -3
  218. package/dist/client/{eventDetails-CEAH8Edc.mjs → eventDetails-B045CTSJ.mjs} +147 -118
  219. package/dist/client/{eventListing-qyPVQ0wP.mjs → eventListing-BDMYNVzS.mjs} +3 -3
  220. package/dist/client/{eventRegistration-DDu79CtL.mjs → eventRegistration-CQ2-BSnB.mjs} +165 -68
  221. package/dist/client/{form-Bc7JKI7I.mjs → form-DJKuyZgN.mjs} +2 -2
  222. package/dist/client/{headerSection-vTku_LEl.mjs → headerSection-DeTjfiDo.mjs} +2 -2
  223. package/dist/client/hooks.mjs +3454 -2363
  224. package/dist/client/{locationMap-Bg7X4Jna.mjs → locationMap-i2wDA8gB.mjs} +2 -2
  225. package/dist/client/{newsletterForm-lpylVdp5.mjs → newsletterForm-DKiueauk.mjs} +2 -2
  226. package/dist/client/{pricing-DE8fjJiT.mjs → pricing-C01J3Epx.mjs} +3 -19
  227. package/dist/client/{productDetail-D7Bo2RMH.mjs → productDetail-Dfc1sZaX.mjs} +3 -3
  228. package/dist/client/{productList-VjnZqiqN.mjs → productList-BXbvXWTF.mjs} +3 -3
  229. package/dist/client/{propsDecoder-DreFXjNP.mjs → propsDecoder-CIR5DQ1l.mjs} +213 -376
  230. package/dist/client/rendering/client.mjs +3036 -3292
  231. package/dist/client/rendering/islands.mjs +18 -18
  232. package/dist/client/rendering.mjs +5489 -4585
  233. package/dist/client/{shop-IRsHHbf7.mjs → shop-BbNwPKM-.mjs} +6 -6
  234. package/dist/client/{shop-commerce-gnI8PieZ.mjs → shop-commerce-XO-XMFEt.mjs} +5 -5
  235. package/dist/client/{shop-commerce-store-BTbrhObn.mjs → shop-commerce-store-Byh6OUGK.mjs} +1 -1
  236. package/dist/client/{shopShared-D6KS2_qk.mjs → shopShared-Bbq39mwr.mjs} +3 -3
  237. package/dist/client/{useDiscountCodeUi-DCccGCxV.mjs → useDiscountCodeUi-Bcyh4508.mjs} +2 -2
  238. package/dist/client/{useEventFilters-eGs3rPZQ.mjs → useEventFilters-C8OOJ3el.mjs} +59 -124
  239. package/dist/client/{usePolling-CvSU2sur.mjs → usePolling-CyJVo9kF.mjs} +2 -2
  240. package/dist/preview-next/before-render.mjs +1115 -1044
  241. package/dist/preview-next/client/runtime.mjs +4 -4
  242. package/dist/preview-next/middleware.mjs +1118 -1047
  243. package/dist/{previewAuthStore-ShY26RNz.mjs → previewAuthStore-CJX21dGi.mjs} +1121 -1047
  244. package/dist/{sdk-runtime-CJxkFq2B.mjs → sdk-runtime-BGhyuE-E.mjs} +2 -2
  245. package/dist/{separator-CoFmo8uA.mjs → separator-BFs-Kmv5.mjs} +1 -1
  246. package/dist/server/components.mjs +5909 -5011
  247. package/dist/server/config-validation.mjs +3456 -2354
  248. package/dist/server/config.mjs +3456 -2354
  249. package/dist/server/data.mjs +3454 -2365
  250. package/dist/server/index.mjs +1501 -1491
  251. package/dist/server/next.mjs +7534 -8067
  252. package/dist/server/page-converter.mjs +1900 -2038
  253. package/dist/server/prebuild.mjs +1 -1
  254. package/dist/server/rendering/server.mjs +5618 -4723
  255. package/dist/server/rendering.mjs +6238 -5393
  256. package/dist/server/routing.mjs +3616 -2507
  257. package/dist/server/server.mjs +3300 -3477
  258. package/package.json +1 -1
  259. package/dist/_dts/api/src/previewContentContract.d.ts +0 -4
  260. package/dist/_dts/sdk/src/cli/commands/course.d.ts +0 -6
  261. package/dist/_dts/sdk/src/cli/commands/push/scopes/courses.d.ts +0 -4
  262. package/dist/_dts/sdk/src/client/management/courses.d.ts +0 -10
  263. package/dist/_dts/sdk/src/routing/resolveEntrySubroute.d.ts +0 -36
@@ -131,11 +131,10 @@ export declare const runtimeBackedBlockServerEntries: {
131
131
  showCategoryFilter?: import("../..").FilterAutoShow;
132
132
  showVenueFilter?: boolean | null;
133
133
  showStaffFilter?: boolean | null;
134
- eventKind?: import("../..").EventBlockKind | null;
135
134
  eventSurface?: import("../..").EventSurfaceScope | null;
136
135
  filterEventPresets?: readonly string[] | string | null;
137
136
  scheduleScope?: import("../..").EventScheduleScope | null;
138
- filterCategoryIds?: string | null;
137
+ filterCategoryIds?: readonly string[] | string | null;
139
138
  filterStaffMemberId?: string | null;
140
139
  filterVenueId?: string | null;
141
140
  }>) => Readonly<{
@@ -165,7 +164,6 @@ export declare const runtimeBackedBlockServerEntries: {
165
164
  showCategoryFilter: import("../..").FilterAutoShow;
166
165
  showVenueFilter: boolean;
167
166
  showStaffFilter: boolean;
168
- eventKind: import("../..").EventBlockKind;
169
167
  eventSurface: import("../..").EventSurfaceScope;
170
168
  filterEventPresets: string | null;
171
169
  scheduleScope: import("../..").EventScheduleScope;
@@ -200,11 +198,10 @@ export declare const runtimeBackedBlockServerEntries: {
200
198
  showCategoryFilter?: import("../..").FilterAutoShow;
201
199
  showVenueFilter?: boolean | null;
202
200
  showStaffFilter?: boolean | null;
203
- eventKind?: import("../..").EventBlockKind | null;
204
201
  eventSurface?: import("../..").EventSurfaceScope | null;
205
202
  filterEventPresets?: readonly string[] | string | null;
206
203
  scheduleScope?: import("../..").EventScheduleScope | null;
207
- filterCategoryIds?: string | null;
204
+ filterCategoryIds?: readonly string[] | string | null;
208
205
  filterStaffMemberId?: string | null;
209
206
  filterVenueId?: string | null;
210
207
  }>) => unknown;
@@ -231,11 +228,10 @@ export declare const runtimeBackedBlockServerEntries: {
231
228
  showCategoryFilter?: import("../..").FilterAutoShow;
232
229
  showVenueFilter?: boolean | null;
233
230
  showStaffFilter?: boolean | null;
234
- eventKind?: import("../..").EventBlockKind | null;
235
231
  eventSurface?: import("../..").EventSurfaceScope | null;
236
232
  filterEventPresets?: readonly string[] | string | null;
237
233
  scheduleScope?: import("../..").EventScheduleScope | null;
238
- filterCategoryIds?: string | null;
234
+ filterCategoryIds?: readonly string[] | string | null;
239
235
  filterStaffMemberId?: string | null;
240
236
  filterVenueId?: string | null;
241
237
  }>>;
@@ -268,7 +264,6 @@ export declare const runtimeBackedBlockServerEntries: {
268
264
  showCategoryFilter: import("../..").FilterAutoShow;
269
265
  showVenueFilter: boolean;
270
266
  showStaffFilter: boolean;
271
- eventKind: import("../..").EventBlockKind;
272
267
  eventSurface: import("../..").EventSurfaceScope;
273
268
  filterEventPresets: string | null;
274
269
  scheduleScope: import("../..").EventScheduleScope;
@@ -305,7 +300,6 @@ export declare const runtimeBackedBlockServerEntries: {
305
300
  showCategoryFilter: import("../..").FilterAutoShow;
306
301
  showVenueFilter: boolean;
307
302
  showStaffFilter: boolean;
308
- eventKind: import("../..").EventBlockKind;
309
303
  eventSurface: import("../..").EventSurfaceScope;
310
304
  filterEventPresets: string | null;
311
305
  scheduleScope: import("../..").EventScheduleScope;
@@ -324,88 +318,12 @@ export declare const runtimeBackedBlockServerEntries: {
324
318
  readonly 'event-calendar': Readonly<{
325
319
  definition: RuntimeBackedBlockDefinition<Readonly<{
326
320
  kind: "progressive";
327
- buildRender: (source: Readonly<{
328
- events?: import("../..").PublicEvent[] | null;
329
- siteId: string;
330
- apiBaseUrl?: string;
331
- stage?: "preview" | "published";
332
- variant?: import("../..").DisplayMode | null;
333
- displayMode?: import("../..").DisplayMode | null;
334
- listLayout?: import("../..").EventLayout;
335
- listColumns?: import("../..").ColumnOption;
336
- layout?: import("../..").EventLayout;
337
- columns?: import("../..").ColumnOption;
338
- eventsPerPage?: string;
339
- paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
340
- seeAllUrl?: string;
341
- loadMoreText?: string;
342
- startOfWeek?: import("../..").WeekStart;
343
- calendarTabViews?: import("../..").CalendarTabViews;
344
- defaultCalendarView?: import("../..").CalendarView;
345
- showFilters?: boolean | null;
346
- showCategoryFilter?: import("../..").FilterAutoShow;
347
- showVenueFilter?: boolean | null;
348
- showStaffFilter?: boolean | null;
349
- kind?: import("../..").EventBlockKind | null;
350
- eventSurface?: import("../..").EventSurfaceScope | null;
351
- filterEventPresets?: readonly string[] | string | null;
352
- scheduleScope?: import("../..").EventScheduleScope | null;
353
- filterCategoryIds?: readonly string[] | string | null;
354
- filterStaffMemberId?: string | null;
355
- filterVenueId?: string | null;
356
- buttonVariant?: import("../..").ButtonVariant;
357
- buttonText?: string;
358
- boardTitle?: string;
359
- footerNote?: string;
360
- elevated?: boolean | null;
361
- banded?: boolean | null;
362
- showVenue?: boolean | null;
363
- showMap?: boolean | null;
364
- showCapacity?: boolean | null;
365
- emptyMessage?: string;
366
- className?: string;
367
- }>) => Readonly<{
368
- display: Readonly<{
369
- kind: "event-calendar";
370
- displayMode: import("../..").DisplayMode;
371
- className: string | null;
372
- events: readonly import("../..").PublicEvent[];
373
- listLayout: import("../..").EventLayout;
374
- listColumns: import("../..").ColumnOption;
375
- eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
376
- paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
377
- startOfWeek: import("../..").WeekStart;
378
- calendarTabViews: import("../..").CalendarTabViews;
379
- defaultCalendarView: import("../..").CalendarView;
380
- showFilters: boolean;
381
- showCategoryFilter: import("../..").FilterAutoShow;
382
- showVenueFilter: boolean;
383
- showStaffFilter: boolean;
384
- eventKind: import("../..").EventBlockKind;
385
- eventSurface: import("../..").EventSurfaceScope;
386
- filterEventPresets: string | null;
387
- scheduleScope: import("../..").EventScheduleScope;
388
- filterCategoryIds: string | null;
389
- filterStaffMemberId: string | null;
390
- filterVenueId: string | null;
391
- buttonVariant: import("../..").ButtonVariant;
392
- buttonText: string;
393
- boardTitle?: string;
394
- footerNote?: string;
395
- seeAllUrl?: string;
396
- loadMoreText?: string;
397
- elevated: boolean;
398
- banded: boolean;
399
- showVenue: boolean;
400
- showMap: boolean;
401
- showCapacity: boolean;
402
- emptyMessage: string;
403
- }>;
321
+ buildRender: (source: import("../nodes/events/EventCalendar.interactive").EventCalendarSourceProps) => Readonly<{
322
+ display: import("../nodes/events/EventCalendar.interactive").EventCalendarDisplay;
404
323
  hydration: Readonly<{
405
324
  siteId: string;
406
325
  stage?: "preview" | "published";
407
326
  prefetchedEvents: boolean;
408
- eventKind: import("../..").EventBlockKind;
409
327
  eventSurface: import("../..").EventSurfaceScope;
410
328
  filterEventPresets: string | null;
411
329
  scheduleScope: import("../..").EventScheduleScope;
@@ -413,179 +331,27 @@ export declare const runtimeBackedBlockServerEntries: {
413
331
  }>;
414
332
  contracts: Readonly<{
415
333
  source: Readonly<{
416
- encode: (value: Readonly<{
417
- events?: import("../..").PublicEvent[] | null;
418
- siteId: string;
419
- apiBaseUrl?: string;
420
- stage?: "preview" | "published";
421
- variant?: import("../..").DisplayMode | null;
422
- displayMode?: import("../..").DisplayMode | null;
423
- listLayout?: import("../..").EventLayout;
424
- listColumns?: import("../..").ColumnOption;
425
- layout?: import("../..").EventLayout;
426
- columns?: import("../..").ColumnOption;
427
- eventsPerPage?: string;
428
- paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
429
- seeAllUrl?: string;
430
- loadMoreText?: string;
431
- startOfWeek?: import("../..").WeekStart;
432
- calendarTabViews?: import("../..").CalendarTabViews;
433
- defaultCalendarView?: import("../..").CalendarView;
434
- showFilters?: boolean | null;
435
- showCategoryFilter?: import("../..").FilterAutoShow;
436
- showVenueFilter?: boolean | null;
437
- showStaffFilter?: boolean | null;
438
- kind?: import("../..").EventBlockKind | null;
439
- eventSurface?: import("../..").EventSurfaceScope | null;
440
- filterEventPresets?: readonly string[] | string | null;
441
- scheduleScope?: import("../..").EventScheduleScope | null;
442
- filterCategoryIds?: readonly string[] | string | null;
443
- filterStaffMemberId?: string | null;
444
- filterVenueId?: string | null;
445
- buttonVariant?: import("../..").ButtonVariant;
446
- buttonText?: string;
447
- boardTitle?: string;
448
- footerNote?: string;
449
- elevated?: boolean | null;
450
- banded?: boolean | null;
451
- showVenue?: boolean | null;
452
- showMap?: boolean | null;
453
- showCapacity?: boolean | null;
454
- emptyMessage?: string;
455
- className?: string;
456
- }>) => unknown;
457
- decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
458
- events?: import("../..").PublicEvent[] | null;
459
- siteId: string;
460
- apiBaseUrl?: string;
461
- stage?: "preview" | "published";
462
- variant?: import("../..").DisplayMode | null;
463
- displayMode?: import("../..").DisplayMode | null;
464
- listLayout?: import("../..").EventLayout;
465
- listColumns?: import("../..").ColumnOption;
466
- layout?: import("../..").EventLayout;
467
- columns?: import("../..").ColumnOption;
468
- eventsPerPage?: string;
469
- paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
470
- seeAllUrl?: string;
471
- loadMoreText?: string;
472
- startOfWeek?: import("../..").WeekStart;
473
- calendarTabViews?: import("../..").CalendarTabViews;
474
- defaultCalendarView?: import("../..").CalendarView;
475
- showFilters?: boolean | null;
476
- showCategoryFilter?: import("../..").FilterAutoShow;
477
- showVenueFilter?: boolean | null;
478
- showStaffFilter?: boolean | null;
479
- kind?: import("../..").EventBlockKind | null;
480
- eventSurface?: import("../..").EventSurfaceScope | null;
481
- filterEventPresets?: readonly string[] | string | null;
482
- scheduleScope?: import("../..").EventScheduleScope | null;
483
- filterCategoryIds?: readonly string[] | string | null;
484
- filterStaffMemberId?: string | null;
485
- filterVenueId?: string | null;
486
- buttonVariant?: import("../..").ButtonVariant;
487
- buttonText?: string;
488
- boardTitle?: string;
489
- footerNote?: string;
490
- elevated?: boolean | null;
491
- banded?: boolean | null;
492
- showVenue?: boolean | null;
493
- showMap?: boolean | null;
494
- showCapacity?: boolean | null;
495
- emptyMessage?: string;
496
- className?: string;
497
- }>>;
334
+ encode: (value: import("../nodes/events/EventCalendar.interactive").EventCalendarSourceProps) => unknown;
335
+ decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/events/EventCalendar.interactive").EventCalendarSourceProps>;
498
336
  }>;
499
337
  render: Readonly<{
500
338
  encode: (value: Readonly<{
501
- display: Readonly<{
502
- kind: "event-calendar";
503
- displayMode: import("../..").DisplayMode;
504
- className: string | null;
505
- events: readonly import("../..").PublicEvent[];
506
- listLayout: import("../..").EventLayout;
507
- listColumns: import("../..").ColumnOption;
508
- eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
509
- paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
510
- startOfWeek: import("../..").WeekStart;
511
- calendarTabViews: import("../..").CalendarTabViews;
512
- defaultCalendarView: import("../..").CalendarView;
513
- showFilters: boolean;
514
- showCategoryFilter: import("../..").FilterAutoShow;
515
- showVenueFilter: boolean;
516
- showStaffFilter: boolean;
517
- eventKind: import("../..").EventBlockKind;
518
- eventSurface: import("../..").EventSurfaceScope;
519
- filterEventPresets: string | null;
520
- scheduleScope: import("../..").EventScheduleScope;
521
- filterCategoryIds: string | null;
522
- filterStaffMemberId: string | null;
523
- filterVenueId: string | null;
524
- buttonVariant: import("../..").ButtonVariant;
525
- buttonText: string;
526
- boardTitle?: string;
527
- footerNote?: string;
528
- seeAllUrl?: string;
529
- loadMoreText?: string;
530
- elevated: boolean;
531
- banded: boolean;
532
- showVenue: boolean;
533
- showMap: boolean;
534
- showCapacity: boolean;
535
- emptyMessage: string;
536
- }>;
339
+ display: import("../nodes/events/EventCalendar.interactive").EventCalendarDisplay;
537
340
  hydration: Readonly<{
538
341
  siteId: string;
539
342
  stage?: "preview" | "published";
540
343
  prefetchedEvents: boolean;
541
- eventKind: import("../..").EventBlockKind;
542
344
  eventSurface: import("../..").EventSurfaceScope;
543
345
  filterEventPresets: string | null;
544
346
  scheduleScope: import("../..").EventScheduleScope;
545
347
  }>;
546
348
  }>) => unknown;
547
349
  decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
548
- display: Readonly<{
549
- kind: "event-calendar";
550
- displayMode: import("../..").DisplayMode;
551
- className: string | null;
552
- events: readonly import("../..").PublicEvent[];
553
- listLayout: import("../..").EventLayout;
554
- listColumns: import("../..").ColumnOption;
555
- eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
556
- paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
557
- startOfWeek: import("../..").WeekStart;
558
- calendarTabViews: import("../..").CalendarTabViews;
559
- defaultCalendarView: import("../..").CalendarView;
560
- showFilters: boolean;
561
- showCategoryFilter: import("../..").FilterAutoShow;
562
- showVenueFilter: boolean;
563
- showStaffFilter: boolean;
564
- eventKind: import("../..").EventBlockKind;
565
- eventSurface: import("../..").EventSurfaceScope;
566
- filterEventPresets: string | null;
567
- scheduleScope: import("../..").EventScheduleScope;
568
- filterCategoryIds: string | null;
569
- filterStaffMemberId: string | null;
570
- filterVenueId: string | null;
571
- buttonVariant: import("../..").ButtonVariant;
572
- buttonText: string;
573
- boardTitle?: string;
574
- footerNote?: string;
575
- seeAllUrl?: string;
576
- loadMoreText?: string;
577
- elevated: boolean;
578
- banded: boolean;
579
- showVenue: boolean;
580
- showMap: boolean;
581
- showCapacity: boolean;
582
- emptyMessage: string;
583
- }>;
350
+ display: import("../nodes/events/EventCalendar.interactive").EventCalendarDisplay;
584
351
  hydration: Readonly<{
585
352
  siteId: string;
586
353
  stage?: "preview" | "published";
587
354
  prefetchedEvents: boolean;
588
- eventKind: import("../..").EventBlockKind;
589
355
  eventSurface: import("../..").EventSurfaceScope;
590
356
  filterEventPresets: string | null;
591
357
  scheduleScope: import("../..").EventScheduleScope;
@@ -1039,12 +805,6 @@ export declare const runtimeBackedBlockServerEntries: {
1039
805
  siteId?: string;
1040
806
  apiBaseUrl?: string;
1041
807
  portalToken?: string | null;
1042
- contentEntry?: Readonly<{
1043
- id: string;
1044
- slug: string;
1045
- contentTypeSlug: string;
1046
- }> | null;
1047
- entrySubrouteContext?: import("../nodes/course-registration.interactive").CourseEntrySubrouteContext | null;
1048
808
  subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
1049
809
  courses?: import("../..").PublicCourse[] | null;
1050
810
  className?: string | null;
@@ -1073,12 +833,6 @@ export declare const runtimeBackedBlockServerEntries: {
1073
833
  siteId?: string;
1074
834
  apiBaseUrl?: string;
1075
835
  portalToken?: string | null;
1076
- contentEntry?: Readonly<{
1077
- id: string;
1078
- slug: string;
1079
- contentTypeSlug: string;
1080
- }> | null;
1081
- entrySubrouteContext?: import("../nodes/course-registration.interactive").CourseEntrySubrouteContext | null;
1082
836
  subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
1083
837
  courses?: import("../..").PublicCourse[] | null;
1084
838
  className?: string | null;
@@ -1097,12 +851,6 @@ export declare const runtimeBackedBlockServerEntries: {
1097
851
  siteId?: string;
1098
852
  apiBaseUrl?: string;
1099
853
  portalToken?: string | null;
1100
- contentEntry?: Readonly<{
1101
- id: string;
1102
- slug: string;
1103
- contentTypeSlug: string;
1104
- }> | null;
1105
- entrySubrouteContext?: import("../nodes/course-registration.interactive").CourseEntrySubrouteContext | null;
1106
854
  subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
1107
855
  courses?: import("../..").PublicCourse[] | null;
1108
856
  className?: string | null;
@@ -1218,11 +966,6 @@ export declare const runtimeBackedBlockServerEntries: {
1218
966
  portalToken?: string | null;
1219
967
  previewToken?: string | null;
1220
968
  occurrenceContext?: import("../..").OccurrenceContext | null;
1221
- contentEntry?: Readonly<{
1222
- id: string;
1223
- slug: string;
1224
- contentTypeSlug: string;
1225
- }> | null;
1226
969
  subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
1227
970
  events?: import("../..").PublicEvent[] | null;
1228
971
  className?: string | null;
@@ -1263,11 +1006,6 @@ export declare const runtimeBackedBlockServerEntries: {
1263
1006
  portalToken?: string | null;
1264
1007
  previewToken?: string | null;
1265
1008
  occurrenceContext?: import("../..").OccurrenceContext | null;
1266
- contentEntry?: Readonly<{
1267
- id: string;
1268
- slug: string;
1269
- contentTypeSlug: string;
1270
- }> | null;
1271
1009
  subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
1272
1010
  events?: import("../..").PublicEvent[] | null;
1273
1011
  className?: string | null;
@@ -1295,11 +1033,6 @@ export declare const runtimeBackedBlockServerEntries: {
1295
1033
  portalToken?: string | null;
1296
1034
  previewToken?: string | null;
1297
1035
  occurrenceContext?: import("../..").OccurrenceContext | null;
1298
- contentEntry?: Readonly<{
1299
- id: string;
1300
- slug: string;
1301
- contentTypeSlug: string;
1302
- }> | null;
1303
1036
  subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
1304
1037
  events?: import("../..").PublicEvent[] | null;
1305
1038
  className?: string | null;
@@ -1,4 +1,3 @@
1
- import { type EventBlockKind } from '../../blocks/events/shared';
2
1
  import type { EventScheduleScope, EventSurfaceScope } from '../../blocks/events/shared/filtering';
3
2
  import type { EventFilterCategory, EventFilterStaffMember, EventFilterVenue } from '../api/types';
4
3
  import type { EventRuntimeFilters } from '../nodes/events/shared/listOptions';
@@ -15,8 +14,6 @@ type UseEventFiltersOptions = {
15
14
  preFilterStaffMemberId?: string | null;
16
15
  /** Pre-selected venue ID from block config */
17
16
  preFilterVenueId?: string | null;
18
- /** Hard block-level kind restriction */
19
- preFilterKind?: EventBlockKind | null;
20
17
  /** Hard block-level semantic event surface restriction */
21
18
  preFilterEventSurface?: EventSurfaceScope | null;
22
19
  /** Hard block-level event preset restriction */
@@ -31,8 +28,6 @@ type EventFiltersState = {
31
28
  venues: EventFilterVenue[];
32
29
  /** Available staff members from the API */
33
30
  staffMembers: EventFilterStaffMember[];
34
- /** Currently selected kind filter */
35
- selectedKind: 'all' | 'courses' | 'events';
36
31
  /** Currently selected category ID (or 'all') */
37
32
  selectedCategoryId: string;
38
33
  /** Currently selected staff member ID (or 'all') */
@@ -49,14 +44,8 @@ type EventFiltersState = {
49
44
  shouldShowVenueFilter: boolean;
50
45
  /** Whether staff filter should be shown */
51
46
  shouldShowStaffFilter: boolean;
52
- /** Whether the public category UI should include the Course option */
53
- showCourseOption: boolean;
54
- /** Label for the course-like category option */
55
- courseOptionLabel: string;
56
47
  /** Whether any filter is currently active (non-default) */
57
48
  hasActiveFilters: boolean;
58
- /** Set selected kind */
59
- setSelectedKind: (kind: 'all' | 'courses' | 'events') => void;
60
49
  /** Set selected category */
61
50
  setSelectedCategoryId: (id: string) => void;
62
51
  /** Set selected staff member */
@@ -93,5 +82,5 @@ type EventFiltersState = {
93
82
  * const events = await api.getPublicEvents(params);
94
83
  * ```
95
84
  */
96
- export declare function useEventFilters({ showCategoryFilter, showVenueFilter, showStaffFilter, preFilterCategoryIds, preFilterStaffMemberId, preFilterVenueId, preFilterKind, preFilterEventSurface, preFilterEventPresets, preFilterScheduleScope, }?: UseEventFiltersOptions): EventFiltersState;
85
+ export declare function useEventFilters({ showCategoryFilter, showVenueFilter, showStaffFilter, preFilterCategoryIds, preFilterStaffMemberId, preFilterVenueId, preFilterEventSurface, preFilterEventPresets, preFilterScheduleScope, }?: UseEventFiltersOptions): EventFiltersState;
97
86
  export default useEventFilters;
@@ -11,7 +11,6 @@ export type { EventRegistrationSubmitOptions, EventRegistrationSubmitResult, } f
11
11
  export type HeadlessEventRegistrationFlowOptions = Readonly<{
12
12
  anchorId?: string;
13
13
  occurrenceContext?: EventRegistrationClientProps['occurrenceContext'];
14
- contentEntry?: EventRegistrationClientProps['contentEntry'];
15
14
  events?: readonly NonNullable<EventRegistrationClientProps['events']>[number][];
16
15
  maxTickets?: string | number;
17
16
  spamProtectionEnabled?: boolean;
@@ -7,7 +7,6 @@ export type { BlockApiConfig };
7
7
  export type { HeadlessWholeSeriesRegistrationFlow, WholeSeriesRegistrationAvailabilityModel, WholeSeriesRegistrationFlowActionResult, WholeSeriesRegistrationFlowActions, WholeSeriesRegistrationFlowStatus, WholeSeriesRegistrationFlowStep, WholeSeriesRegistrationFlowStepId, WholeSeriesRegistrationFlowView, WholeSeriesRegistrationPaymentModel, WholeSeriesRegistrationPaymentSelection, WholeSeriesRegistrationPricingInput, WholeSeriesRegistrationPricingModel, WholeSeriesRegistrationPricingOptionInput, WholeSeriesRegistrationRun, WholeSeriesRegistrationRunInput, WholeSeriesRegistrationRunsModel, WholeSeriesRegistrationSpamProtectionModel, WholeSeriesRegistrationWaitlistClaimModel, } from '../nodes/course-registration/whole-series-registration.headless.contract';
8
8
  export type HeadlessWholeSeriesRegistrationFlowOptions = Readonly<{
9
9
  runs?: readonly WholeSeriesRegistrationRunInput[];
10
- contentEntry?: CourseRegistrationClientProps['contentEntry'];
11
10
  subject?: CourseRegistrationClientProps['subject'];
12
11
  }>;
13
12
  export type HeadlessWholeSeriesRegistrationProviderProps = Readonly<{
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  import type { PublicEvent } from "../../blocks/events/shared/types";
3
3
  import type { BookingFormField, BookingFormService, BookingFormServicesSource, BookingFormSettings, BookingFormSourceRecord } from "./booking-form.state";
4
- import type { EventRegistrationContentEntry, EventRegistrationSourceProps } from "./event-registration.interactive";
4
+ import type { EventRegistrationSourceProps } from "./event-registration.interactive";
5
5
  export declare const APPOINTMENT_BOOKING_RUNTIME_FORM_ID = "booking-form";
6
6
  export type BookingFormRebookContext = Readonly<{
7
7
  kind: "portal_rebook";
@@ -159,8 +159,7 @@ export declare function buildEventRegistrationSourceProps(input: Readonly<{
159
159
  portalToken?: string | null;
160
160
  previewToken?: string | null;
161
161
  occurrenceContext?: EventRegistrationSourceProps["occurrenceContext"];
162
- contentEntry?: EventRegistrationContentEntry | null;
163
162
  events?: readonly PublicEvent[] | null;
164
163
  stage?: EventRegistrationSourceProps["stage"];
165
164
  supportEmail?: string;
166
- }> & Omit<EventRegistrationSourceProps, "siteId" | "apiBaseUrl" | "portalToken" | "previewToken" | "occurrenceContext" | "contentEntry" | "events" | "stage" | "supportEmail">): EventRegistrationSourceProps;
165
+ }> & Omit<EventRegistrationSourceProps, "siteId" | "apiBaseUrl" | "portalToken" | "previewToken" | "occurrenceContext" | "events" | "stage" | "supportEmail">): EventRegistrationSourceProps;
@@ -1,28 +1,11 @@
1
1
  import type { PublicCourse } from '../../../blocks/courses/shared/types';
2
- export type ContentEntryLike = {
3
- id?: string | null;
4
- slug?: string | null;
5
- path?: string | null;
6
- _entryPath?: string | null;
7
- } | null;
8
- export type EntrySubrouteContextLike = {
9
- kind: 'course-run';
10
- run?: {
11
- courseId?: string | null;
12
- } | null;
13
- } | {
14
- kind: 'event-occurrence';
15
- } | null;
16
2
  export type CourseDetailsSelection = {
17
- mode: 'runContext' | 'pageSurfaceSubject' | 'unsupportedPageSurfaceSubject' | 'contentEntry' | 'slugOverride' | 'single' | 'none';
3
+ mode: 'pageSurfaceSubject' | 'unsupportedPageSurfaceSubject';
18
4
  selected: PublicCourse | null;
19
5
  scoped: PublicCourse[];
20
6
  };
21
7
  export declare function selectCourseDetails(args: {
22
8
  courses: PublicCourse[] | null | undefined;
23
- contentEntry: unknown;
24
- entrySubrouteContext?: unknown;
25
9
  subject?: unknown;
26
- courseSlug: string | null | undefined;
27
10
  }): CourseDetailsSelection;
28
11
  export declare function sortCourseSessions(course: PublicCourse): PublicCourse['sessions'];
@@ -1,5 +1,4 @@
1
1
  import type { PublicCourse } from '../../../blocks/courses/shared/types';
2
- import type { ContentEntryLike } from './logic';
3
2
  export type CourseDateRange = {
4
3
  start: Date | null;
5
4
  end: Date | null;
@@ -7,6 +6,5 @@ export type CourseDateRange = {
7
6
  endIso: string | null;
8
7
  timeZone: string | null;
9
8
  };
10
- export declare function getEntryBasePath(contentEntry: ContentEntryLike | null | undefined): string | null;
11
9
  export declare function getCourseDateRange(course: PublicCourse): CourseDateRange;
12
10
  export declare function formatCourseDateRange(range: CourseDateRange): string;
@@ -1,13 +1,9 @@
1
1
  import React from 'react';
2
2
  import type { PublicCourse } from '../../blocks/courses/shared/types';
3
- import { type ContentEntryLike, type EntrySubrouteContextLike } from './course-details/logic';
4
3
  type CourseDetailsProps = {
5
4
  blockId?: string | null;
6
- contentEntry?: ContentEntryLike;
7
- entrySubrouteContext?: EntrySubrouteContextLike;
8
5
  subject?: unknown;
9
6
  courses?: PublicCourse[] | null;
10
- courseSlug?: string | null;
11
7
  showTitle?: boolean;
12
8
  showDescription?: boolean;
13
9
  showSessions?: boolean;
@@ -20,5 +16,5 @@ type CourseDetailsProps = {
20
16
  className?: string | null;
21
17
  children?: React.ReactNode;
22
18
  };
23
- export declare function CourseDetailsSSR({ courses, contentEntry, entrySubrouteContext, subject, courseSlug, showTitle, showDescription, showSessions, sessionsLimit, showVenue, showPrice, showCapacity, showEnrollmentStatus, showMembershipNote, className, children, }: CourseDetailsProps): React.JSX.Element;
19
+ export declare function CourseDetailsSSR({ courses, subject, showTitle, showDescription, showSessions, sessionsLimit, showVenue, showPrice, showCapacity, showEnrollmentStatus, showMembershipNote, className, children, }: CourseDetailsProps): React.JSX.Element;
24
20
  export default CourseDetailsSSR;
@@ -0,0 +1,21 @@
1
+ import type { PublicCourse, ResolvedCoursePricingState } from '../../../blocks/courses/shared';
2
+ import type { BookingMode, EnrollmentStep, PortalAuthState } from './types';
3
+ export declare function deriveCourseRegistrationViewState(input: Readonly<{
4
+ scopedCourses: readonly PublicCourse[];
5
+ selectedCourse: PublicCourse | null;
6
+ pricing: ResolvedCoursePricingState | null;
7
+ portalAuthState: PortalAuthState;
8
+ eligibleMembershipCount: number;
9
+ bookingMode: BookingMode;
10
+ step: EnrollmentStep;
11
+ waitlistRequiresPortalLogin: boolean;
12
+ }>): {
13
+ hasCoursePayment: boolean;
14
+ canUseMembership: boolean;
15
+ hasPreSelectedCourse: boolean;
16
+ wizardSteps: readonly EnrollmentStep[];
17
+ currentStepNumber: number;
18
+ totalSteps: number;
19
+ stepLabels: string[];
20
+ showPortalAuthSidebar: boolean;
21
+ };
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Exports types, utilities, and components for course enrollment.
5
5
  */
6
- export type { EnrollmentStep, BookingMode, FormData, PortalAuthState, EnrollmentResult, ContentEntryContext, ButtonVariant, CourseRegistrationBaseProps, CourseRegistrationServerProps, CourseRegistrationClientProps, } from './types';
6
+ export type { EnrollmentStep, BookingMode, FormData, PortalAuthState, EnrollmentResult, ButtonVariant, CourseRegistrationBaseProps, CourseRegistrationServerProps, CourseRegistrationClientProps, } from './types';
7
7
  export { formatPrice, formatDate, formatTime, formatDateTime, validateFormData, buildCheckoutReturnUrls, COURSE_REGISTRATION_ANCHOR_ID, } from './utils';
8
8
  export { WIZARD_STEPS, STEP_LABELS, getWizardStepsForContext, getStepNumber, getStepLabel, getStepLabels, } from './wizardSteps';
9
9
  export { CheckIcon } from './CheckIcon';
@@ -0,0 +1,14 @@
1
+ import type { ResolvedCoursePricingState } from '../../../blocks/courses/shared';
2
+ export type CoursePricingSelection = Readonly<{
3
+ pricingOptionId: string | null;
4
+ slidingAmountInput: string;
5
+ }>;
6
+ export declare function parseCurrencyInputToCents(value: string): number | null;
7
+ export declare function formatCentsAsCurrencyInput(amount: number): string;
8
+ export declare function getMissingCoursePricingSelectionMessage(pricing: ResolvedCoursePricingState | null): string | null;
9
+ export declare function buildCoursePricingOptionPayload(pricing: ResolvedCoursePricingState | null): {
10
+ pricingOptionId?: string;
11
+ selectedSlidingAmount?: number;
12
+ };
13
+ export declare function resolveHasCoursePayment(pricing: ResolvedCoursePricingState | null): boolean;
14
+ export declare function defaultCoursePricingSelection(pricing: ResolvedCoursePricingState, previousOptionId: string | null): CoursePricingSelection;