@riverbankcms/sdk 0.81.0 → 0.84.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 (525) hide show
  1. package/README.md +81 -3
  2. package/dist/{PreviewEditorSidebar-RDCMEXIJ.mjs → PreviewEditorSidebar-HML67UDA.mjs} +367 -507
  3. package/dist/{PreviewEditorSidebar-O4NDX5TP.css → PreviewEditorSidebar-JA4VIPSZ.css} +1 -1
  4. package/dist/{SdkPreviewModeRuntime-PBGALTMK.css → PreviewEditorUI-36T7QYV4.css} +1 -1
  5. package/dist/{PreviewEditorUI-NYGQ6K7B.mjs → PreviewEditorUI-I4BQUU6K.mjs} +4 -6
  6. package/dist/{PreviewEditorUI-4JVDBZBS.css → SdkPreviewModeRuntime-FXKI6XNL.css} +1 -1
  7. package/dist/SdkPreviewModeRuntime-MCKMVDTK.mjs +8 -0
  8. package/dist/_dts/ai/src/contracts/proposals.d.ts +1038 -262
  9. package/dist/_dts/altcha/src/AltchaWidget.d.ts +1 -1
  10. package/dist/_dts/api/src/analytics.d.ts +1 -1
  11. package/dist/_dts/api/src/blocks.d.ts +36 -0
  12. package/dist/_dts/api/src/bookingConfig.d.ts +4 -0
  13. package/dist/_dts/api/src/contentRuntime.d.ts +49 -3
  14. package/dist/_dts/api/src/courses.d.ts +1 -1
  15. package/dist/_dts/api/src/endpoints.d.ts +40 -0
  16. package/dist/_dts/api/src/event-destination-policy.d.ts +17 -0
  17. package/dist/_dts/api/src/index.d.ts +6 -2
  18. package/dist/_dts/api/src/navigation/boundaries.d.ts +64 -0
  19. package/dist/_dts/api/src/navigation.d.ts +2 -0
  20. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +6 -54
  21. package/dist/_dts/api/src/sdk-event-pricing.d.ts +61 -0
  22. package/dist/_dts/api/src/sdk-event-schedule.d.ts +52 -0
  23. package/dist/_dts/api/src/sdk-event-upsert.d.ts +50 -0
  24. package/dist/_dts/api/src/sdkContracts.d.ts +67 -33
  25. package/dist/_dts/api/src/shared-contracts.d.ts +13 -0
  26. package/dist/_dts/api/src/siteGeneration.d.ts +1 -1
  27. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +29 -42
  28. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +46 -1
  29. package/dist/_dts/api/src/types.d.ts +1 -1
  30. package/dist/_dts/block-form/src/backend/useBackendWatch.d.ts +6 -1
  31. package/dist/_dts/block-form/src/context/BlockContext.d.ts +1 -1
  32. package/dist/_dts/block-form/src/context/DisplayLabelResolverContext.d.ts +1 -1
  33. package/dist/_dts/block-form/src/context/FieldPreviewResolverContext.d.ts +2 -2
  34. package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +1 -1
  35. package/dist/_dts/block-form/src/palette/PaletteContext.d.ts +1 -1
  36. package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +1 -1
  37. package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +3 -2
  38. package/dist/_dts/block-form/src/utils/visibleWhen.d.ts +7 -0
  39. package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/BackgroundColorWidget.d.ts +2 -1
  40. package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +1 -1
  41. package/dist/_dts/block-form/src/widgets/BooleanField/BooleanField.d.ts +1 -1
  42. package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +1 -1
  43. package/dist/_dts/block-form/src/widgets/Field.d.ts +2 -2
  44. package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -3
  45. package/dist/_dts/block-form/src/widgets/NumberField/NumberField.d.ts +1 -1
  46. package/dist/_dts/block-form/src/widgets/PresetOrCustomField/PresetOrCustomField.d.ts +1 -1
  47. package/dist/_dts/block-form/src/widgets/SdkSelectField/SdkSelectField.d.ts +1 -1
  48. package/dist/_dts/block-form/src/widgets/SelectField/SelectField.d.ts +1 -1
  49. package/dist/_dts/block-form/src/widgets/SelectWidget.d.ts +1 -1
  50. package/dist/_dts/block-form/src/widgets/SliderField/SliderField.d.ts +1 -1
  51. package/dist/_dts/block-form/src/widgets/TextField/TextField.d.ts +1 -1
  52. package/dist/_dts/block-form/src/widgets/TextInputWidget.d.ts +1 -1
  53. package/dist/_dts/block-form/src/widgets/ToggleWidget.d.ts +1 -1
  54. package/dist/_dts/block-form/src/widgets/stringDefaultValue.d.ts +1 -0
  55. package/dist/_dts/blocks/src/PageRenderer.d.ts +12 -1
  56. package/dist/_dts/blocks/src/bindings/index.d.ts +1 -1
  57. package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
  58. package/dist/_dts/blocks/src/client.d.ts +4 -0
  59. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +24 -20
  60. package/dist/_dts/blocks/src/index.d.ts +2 -2
  61. package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
  62. package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +7 -7
  63. package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +2 -1
  64. package/dist/_dts/blocks/src/primitives/content/components/Text.d.ts +2 -1
  65. package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +3 -0
  66. package/dist/_dts/blocks/src/primitives/layout/Grid.d.ts +2 -1
  67. package/dist/_dts/blocks/src/primitives/layout/Inline.d.ts +2 -1
  68. package/dist/_dts/blocks/src/primitives/layout/Stack.d.ts +2 -1
  69. package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +880 -2608
  70. package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +880 -2608
  71. package/dist/_dts/blocks/src/system/blocks/cart.d.ts +880 -2608
  72. package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +880 -2608
  73. package/dist/_dts/blocks/src/system/blocks/collection.d.ts +880 -2608
  74. package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +171 -0
  75. package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -1
  76. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +302 -151
  77. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +6 -20
  78. package/dist/_dts/blocks/src/system/blocks/faq.d.ts +880 -2608
  79. package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +1 -1
  80. package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +880 -2608
  81. package/dist/_dts/blocks/src/system/blocks/hero.d.ts +3 -2
  82. package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +3 -0
  83. package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
  84. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +4 -10
  85. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +2608 -225
  86. package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +4 -2
  87. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +28 -0
  88. package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +880 -2618
  89. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +880 -2620
  90. package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +0 -4
  91. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +880 -2608
  92. package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +36 -3
  93. package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +4 -4
  94. package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +3 -0
  95. package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
  96. package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +6 -2
  97. package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
  98. package/dist/_dts/blocks/src/system/data/index.d.ts +2 -2
  99. package/dist/_dts/blocks/src/system/data/linkedContentEntries.d.ts +38 -0
  100. package/dist/_dts/blocks/src/system/defineBlock.d.ts +3 -1
  101. package/dist/_dts/blocks/src/system/fields/aspectRatio.d.ts +4 -1
  102. package/dist/_dts/blocks/src/system/fields/imageShape.d.ts +30 -0
  103. package/dist/_dts/blocks/src/system/fragments/library/heroLayoutControls.d.ts +25 -0
  104. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +106 -217
  105. package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +1 -1
  106. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +36 -30
  107. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +18 -15
  108. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +33 -0
  109. package/dist/_dts/blocks/src/system/runtime/nodes/ImageResolveContext.d.ts +2 -2
  110. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +3 -0
  111. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +1 -1
  112. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -1
  113. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +2 -1
  114. package/dist/_dts/blocks/src/system/runtime/nodes/cart.client.d.ts +2 -1
  115. package/dist/_dts/blocks/src/system/runtime/nodes/cart.server.d.ts +1 -1
  116. package/dist/_dts/blocks/src/system/runtime/nodes/checkout.client.d.ts +2 -1
  117. package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +1 -1
  118. package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +1 -5
  119. package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/view.d.ts +10 -13
  120. package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +3 -2
  121. package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -2
  122. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/BookingModeStep.d.ts +1 -1
  123. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/CourseRegistrationWizard.d.ts +2 -1
  124. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +1 -1
  125. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/MembershipHero.d.ts +1 -1
  126. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +1 -1
  127. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PortalAuthSidebar.d.ts +1 -1
  128. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/StepIndicator.d.ts +1 -1
  129. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/SuccessStep.d.ts +1 -1
  130. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +1 -1
  131. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/WaitlistStep.d.ts +1 -1
  132. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/components.d.ts +5 -4
  133. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +3 -2
  134. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
  135. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/CoursePricingDisplay.d.ts +2 -1
  136. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/view.d.ts +1 -1
  137. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +2 -2
  138. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +1 -1
  139. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSummaryBar.d.ts +2 -1
  140. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +2 -1
  141. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +2 -1
  142. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardContent.d.ts +2 -1
  143. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventSelectionStep.d.ts +2 -0
  144. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/OrderSummary.d.ts +1 -1
  145. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PastOccurrenceNotice.d.ts +2 -1
  146. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SelectableOptionCard.d.ts +1 -1
  147. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/StepIndicator.d.ts +1 -1
  148. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.state.d.ts +303 -0
  149. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +1 -1
  150. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +1 -2
  151. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +20 -1
  152. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +4 -3
  153. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +2 -1
  154. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +38 -11
  155. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
  156. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.view.d.ts +1 -1
  157. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DateTimeTile.d.ts +2 -1
  158. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DayEventsModal.d.ts +2 -1
  159. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -1
  160. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/pricing.d.ts +14 -0
  161. package/dist/_dts/blocks/src/system/runtime/nodes/gifting.client.d.ts +2 -1
  162. package/dist/_dts/blocks/src/system/runtime/nodes/gifting.server.d.ts +2 -1
  163. package/dist/_dts/blocks/src/system/runtime/nodes/location-map.client.d.ts +2 -2
  164. package/dist/_dts/blocks/src/system/runtime/nodes/location-map.server.d.ts +1 -1
  165. package/dist/_dts/blocks/src/system/runtime/nodes/location-map.shared.d.ts +4 -4
  166. package/dist/_dts/blocks/src/system/runtime/nodes/location-map.view.d.ts +1 -1
  167. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +2 -1
  168. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +4 -2
  169. package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.client.d.ts +2 -1
  170. package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.server.d.ts +1 -1
  171. package/dist/_dts/blocks/src/system/runtime/nodes/product-list.client.d.ts +2 -1
  172. package/dist/_dts/blocks/src/system/runtime/nodes/product-list.server.d.ts +1 -1
  173. package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +2 -1
  174. package/dist/_dts/blocks/src/system/runtime/nodes/shop-add-feedback.d.ts +1 -1
  175. package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.d.ts +5 -4
  176. package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.server.d.ts +5 -4
  177. package/dist/_dts/blocks/src/system/runtime/nodes/shop.client.d.ts +2 -1
  178. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +0 -17
  179. package/dist/_dts/blocks/src/system/runtime/nodes/shop.server.d.ts +1 -1
  180. package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +0 -1
  181. package/dist/_dts/blocks/src/system/runtime/nodes/spinner.d.ts +1 -1
  182. package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +6 -0
  183. package/dist/_dts/blocks/src/system/runtime/shared/components/ActionRow.d.ts +1 -1
  184. package/dist/_dts/blocks/src/system/runtime/shared/components/CheckIcon.d.ts +1 -1
  185. package/dist/_dts/blocks/src/system/runtime/shared/components/ClockIcon.d.ts +1 -1
  186. package/dist/_dts/blocks/src/system/runtime/shared/components/CrossIcon.d.ts +1 -1
  187. package/dist/_dts/blocks/src/system/runtime/shared/components/FeedbackMessage.d.ts +1 -1
  188. package/dist/_dts/blocks/src/system/runtime/shared/components/FieldValidationMessage.d.ts +1 -1
  189. package/dist/_dts/blocks/src/system/runtime/shared/components/MembershipHero.d.ts +1 -1
  190. package/dist/_dts/blocks/src/system/runtime/shared/components/StateIcon.d.ts +1 -1
  191. package/dist/_dts/blocks/src/system/runtime/shared/components/StepIndicator.d.ts +1 -1
  192. package/dist/_dts/blocks/src/system/runtime/shared/components/TerminalPanel.d.ts +1 -1
  193. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
  194. package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +1 -1
  195. package/dist/_dts/content-editor/src/components/EditableBlockProvider.d.ts +1 -1
  196. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -2
  197. package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +1 -1
  198. package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +1 -1
  199. package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +1 -1
  200. package/dist/_dts/content-editor/src/controller/useInvalidBlockRecovery.d.ts +1 -1
  201. package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +7 -1
  202. package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +7 -1
  203. package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +2 -0
  204. package/dist/_dts/content-editor/src/primitives/shared/index.d.ts +1 -1
  205. package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +3 -1
  206. package/dist/_dts/content-editor/src/primitives/shared/types.d.ts +5 -0
  207. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +7 -2
  208. package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -40
  209. package/dist/_dts/content-model/src/content-types/builtins.d.ts +0 -40
  210. package/dist/_dts/content-model/src/entry-slots/index.d.ts +1 -0
  211. package/dist/_dts/content-model/src/entry-slots/types.d.ts +356 -0
  212. package/dist/_dts/content-model/src/index.d.ts +1 -0
  213. package/dist/_dts/content-model/src/templates/defaults.d.ts +7 -1
  214. package/dist/_dts/core/src/event-pricing.d.ts +72 -0
  215. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +127 -7
  216. package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
  217. package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +1 -1
  218. package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +1 -1
  219. package/dist/_dts/editor/src/primitives/EditorPrimitivesProvider.d.ts +1 -1
  220. package/dist/_dts/editor/src/primitives/InlineFieldContext.d.ts +1 -1
  221. package/dist/_dts/editor/src/primitives/SaveContext.d.ts +1 -1
  222. package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +1 -1
  223. package/dist/_dts/editor/src/primitives/rich-text/RichTextToolbar.d.ts +1 -1
  224. package/dist/_dts/editor/src/primitives/rich-text/toolbar/BlockTypeDropdown.d.ts +1 -1
  225. package/dist/_dts/editor/src/primitives/rich-text/toolbar/LinkPopover.d.ts +1 -1
  226. package/dist/_dts/editor/src/primitives/rich-text/toolbar/ToolbarIconButton.d.ts +1 -1
  227. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +6 -1
  228. package/dist/_dts/editor-blocks/src/BlockForm.d.ts +3 -2
  229. package/dist/_dts/editor-blocks/src/FormProvider.d.ts +1 -1
  230. package/dist/_dts/editor-blocks/src/block-editor/AddBlockDivider.d.ts +1 -1
  231. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +1 -1
  232. package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +1 -1
  233. package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +1 -1
  234. package/dist/_dts/editor-blocks/src/block-editor/BlockListContext.d.ts +1 -1
  235. package/dist/_dts/editor-blocks/src/block-editor/BlockPickerDialog.d.ts +1 -1
  236. package/dist/_dts/editor-blocks/src/block-editor/BlockThumbnail.d.ts +1 -1
  237. package/dist/_dts/editor-blocks/src/block-editor/BlockTile.d.ts +2 -2
  238. package/dist/_dts/editor-blocks/src/block-editor/EmptyState.d.ts +1 -1
  239. package/dist/_dts/editor-blocks/src/block-editor/EnhancedBlockPickerDialog.d.ts +1 -1
  240. package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +1 -1
  241. package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +1 -1
  242. package/dist/_dts/editor-blocks/src/block-editor/HeaderActions.d.ts +1 -1
  243. package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -2
  244. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +3 -2
  245. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +3 -2
  246. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +3 -2
  247. package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +27 -0
  248. package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
  249. package/dist/_dts/editor-blocks/src/index.d.ts +1 -0
  250. package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
  251. package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
  252. package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
  253. package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +1 -1
  254. package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
  255. package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeWidgetProvider.d.ts +1 -1
  256. package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
  257. package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +1 -1
  258. package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
  259. package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
  260. package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +1 -1
  261. package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
  262. package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
  263. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +1 -1
  264. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +1 -1
  265. package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewGroupOrderField.d.ts +2 -0
  266. package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewWidgetProvider.d.ts +10 -0
  267. package/dist/_dts/editor-blocks/src/widgets/offerings-preview/index.d.ts +3 -0
  268. package/dist/_dts/editor-blocks/src/widgets/offerings-preview/orderDomain.d.ts +29 -0
  269. package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +1 -1
  270. package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceWidgetProvider.d.ts +1 -1
  271. package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +1 -1
  272. package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
  273. package/dist/_dts/editor-blocks/src/widgets/rich-text/useImagePicker.d.ts +1 -1
  274. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +1 -1
  275. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionWidgetProvider.d.ts +1 -1
  276. package/dist/_dts/media-core/src/assetsInUseSummary.d.ts +8 -0
  277. package/dist/_dts/media-core/src/mediaUsageProjection.d.ts +37 -3
  278. package/dist/_dts/media-editor/src/CropDialog.d.ts +1 -1
  279. package/dist/_dts/media-editor/src/CropDialogShell.d.ts +1 -1
  280. package/dist/_dts/media-editor/src/FileAssetPreview.d.ts +1 -1
  281. package/dist/_dts/media-editor/src/MediaEditor.d.ts +1 -1
  282. package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +1 -1
  283. package/dist/_dts/media-editor/src/MediaPreview.d.ts +1 -1
  284. package/dist/_dts/media-editor/src/context.d.ts +1 -1
  285. package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -1
  286. package/dist/_dts/media-editor/src/provider.d.ts +1 -1
  287. package/dist/_dts/media-react/src/components/AuthenticatedImage.d.ts +1 -1
  288. package/dist/_dts/media-react/src/components/MediaLibrary.d.ts +1 -1
  289. package/dist/_dts/media-react/src/components/MediaPickerMini.d.ts +1 -1
  290. package/dist/_dts/preview-next/src/client/PreviewShellSmoke.d.ts +2 -1
  291. package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +5 -3
  292. package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +2 -1
  293. package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +2 -2
  294. package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +4 -2
  295. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +2 -2
  296. package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
  297. package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +1 -1
  298. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +4 -2
  299. package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +19 -0
  300. package/dist/_dts/preview-next/src/client/preview/MaintenanceModeBadge.d.ts +1 -1
  301. package/dist/_dts/preview-next/src/client/preview/OnboardingThemeSwitcher.d.ts +2 -1
  302. package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +4 -3
  303. package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +2 -2
  304. package/dist/_dts/preview-next/src/client/preview/PreviewAuthBanner.d.ts +2 -1
  305. package/dist/_dts/preview-next/src/client/preview/PreviewAuthInit.d.ts +1 -1
  306. package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +2 -2
  307. package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +3 -3
  308. package/dist/_dts/preview-next/src/client/preview/PreviewConfirmationDialog.d.ts +2 -1
  309. package/dist/_dts/preview-next/src/client/preview/PreviewDesignCoordinatorContext.d.ts +2 -2
  310. package/dist/_dts/preview-next/src/client/preview/PreviewDesignHistoryOrderContext.d.ts +2 -2
  311. package/dist/_dts/preview-next/src/client/preview/PreviewEditorGuidanceCard.d.ts +2 -1
  312. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +4 -3
  313. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +2 -2
  314. package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -1
  315. package/dist/_dts/preview-next/src/client/preview/PreviewQueryProvider.d.ts +2 -2
  316. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +4 -3
  317. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +4 -3
  318. package/dist/_dts/preview-next/src/client/preview/PreviewSidebarSection.d.ts +2 -2
  319. package/dist/_dts/preview-next/src/client/preview/PreviewViewportControls.d.ts +1 -1
  320. package/dist/_dts/preview-next/src/client/preview/PreviewZoomControls.d.ts +1 -1
  321. package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +2 -1
  322. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeButton.d.ts +10 -1
  323. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +17 -3
  324. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +2 -1
  325. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +1 -1
  326. package/dist/_dts/preview-next/src/client/preview/SubrouteNoticePanel.d.ts +2 -1
  327. package/dist/_dts/preview-next/src/client/preview/linkedEntryEditEvents.d.ts +14 -1
  328. package/dist/_dts/preview-next/src/client/preview/previewChromePlacement.d.ts +5 -0
  329. package/dist/_dts/preview-next/src/client/preview/previewCustomizeControls.d.ts +11 -10
  330. package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +10 -1
  331. package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +29 -6
  332. package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +3 -2
  333. package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +2 -2
  334. package/dist/_dts/preview-next/src/client/sdk/SdkPreviewModeRuntime.d.ts +2 -1
  335. package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +5 -3
  336. package/dist/_dts/sdk/src/__mocks__/next-cache.d.ts +4 -3
  337. package/dist/_dts/sdk/src/bookings/index.d.ts +5 -4
  338. package/dist/_dts/sdk/src/bookings/types.d.ts +2 -2
  339. package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +1 -1
  340. package/dist/_dts/sdk/src/cli/content/reader.d.ts +15 -22
  341. package/dist/_dts/sdk/src/cli/content/writer.d.ts +6 -1
  342. package/dist/_dts/sdk/src/cli/helpers.d.ts +10 -5
  343. package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +2 -2
  344. package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +2 -1
  345. package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +2 -2
  346. package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -1
  347. package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +31 -0
  348. package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +2 -2
  349. package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -1
  350. package/dist/_dts/sdk/src/cli/sync/validation.d.ts +7 -7
  351. package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
  352. package/dist/_dts/sdk/src/client/management/types.d.ts +40 -10
  353. package/dist/_dts/sdk/src/client/types.d.ts +36 -4
  354. package/dist/_dts/sdk/src/client.d.ts +1 -1
  355. package/dist/_dts/sdk/src/config/content-types.d.ts +3 -14
  356. package/dist/_dts/sdk/src/config/content-validation.d.ts +9 -214
  357. package/dist/_dts/sdk/src/config/field-definitions.d.ts +13 -7
  358. package/dist/_dts/sdk/src/config/types.d.ts +9 -0
  359. package/dist/_dts/sdk/src/config/validation.d.ts +21 -21
  360. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +28 -5
  361. package/dist/_dts/sdk/src/index.d.ts +1 -1
  362. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +6 -6
  363. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +4 -3
  364. package/dist/_dts/sdk/src/public-api/contracts.d.ts +42 -37
  365. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
  366. package/dist/_dts/sdk/src/rendering/components/Block.d.ts +1 -1
  367. package/dist/_dts/sdk/src/rendering/components/Block.server.d.ts +1 -1
  368. package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +1 -1
  369. package/dist/_dts/sdk/src/rendering/components/Page.d.ts +1 -1
  370. package/dist/_dts/sdk/src/rendering/components/Page.server.d.ts +1 -1
  371. package/dist/_dts/sdk/src/rendering/components/PageHydrationBootstrap.d.ts +1 -1
  372. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +6 -1
  373. package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +10 -9
  374. package/dist/_dts/sdk/src/rendering/islands/enhancers/routeIslandApiConfig.d.ts +9 -0
  375. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +6 -57
  376. package/dist/_dts/sdk/src/rendering/overrides.d.ts +6 -1
  377. package/dist/_dts/sdk/src/rendering/primitives/RichText.d.ts +2 -1
  378. package/dist/_dts/sdk/src/server.d.ts +1 -1
  379. package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +1 -1
  380. package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
  381. package/dist/_dts/sdk/src/version.d.ts +1 -1
  382. package/dist/_dts/site-commands/src/commands.d.ts +84 -21
  383. package/dist/_dts/theme-core/src/ClientThemeScope.d.ts +1 -1
  384. package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +3 -2
  385. package/dist/_dts/theme-core/src/ThemeScope.d.ts +1 -1
  386. package/dist/_dts/theme-core/src/ThemeScopeCore.d.ts +1 -1
  387. package/dist/_dts/theme-core/src/accordions/types.d.ts +6 -6
  388. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
  389. package/dist/_dts/theme-core/src/buttons/personalities/ornate-ritual.d.ts +16 -0
  390. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +8 -8
  391. package/dist/_dts/theme-core/src/buttons/types.d.ts +20 -20
  392. package/dist/_dts/theme-core/src/cards/types.d.ts +20 -20
  393. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  394. package/dist/_dts/theme-core/src/inputs/types.d.ts +3 -3
  395. package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
  396. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +234 -225
  397. package/dist/_dts/theme-core/src/mock-themes/components/PaletteCard.d.ts +1 -1
  398. package/dist/_dts/theme-core/src/mock-themes/components/swatch.d.ts +1 -1
  399. package/dist/_dts/theme-core/src/navigation/presets.d.ts +1 -1
  400. package/dist/_dts/theme-core/src/navigation/types.d.ts +1 -1
  401. package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
  402. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +6 -6
  403. package/dist/_dts/theme-core/src/palette/variants/warm-dark.d.ts +16 -0
  404. package/dist/_dts/theme-core/src/schema.d.ts +263 -248
  405. package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +2 -2
  406. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +27 -0
  407. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +141 -1
  408. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +16 -14
  409. package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +110 -5
  410. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +11 -9
  411. package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -0
  412. package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
  413. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
  414. package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
  415. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +5 -1
  416. package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +30 -0
  417. package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
  418. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +2 -2
  419. package/dist/_dts/theme-core/src/site-styles/types.d.ts +3 -1
  420. package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
  421. package/dist/_dts/theme-core/src/siteChromePlanning.d.ts +1 -0
  422. package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
  423. package/dist/_dts/theme-core/src/utils/colorStyles.d.ts +6 -6
  424. package/dist/_dts/ui/src/async-boundary.d.ts +1 -1
  425. package/dist/_dts/ui/src/badge.d.ts +1 -1
  426. package/dist/_dts/ui/src/button-group.d.ts +3 -3
  427. package/dist/_dts/ui/src/calendar.d.ts +2 -2
  428. package/dist/_dts/ui/src/card.d.ts +6 -6
  429. package/dist/_dts/ui/src/combobox.d.ts +1 -1
  430. package/dist/_dts/ui/src/command-multi-select.d.ts +1 -1
  431. package/dist/_dts/ui/src/content-spinner.d.ts +1 -1
  432. package/dist/_dts/ui/src/delayed-spinner.d.ts +1 -1
  433. package/dist/_dts/ui/src/dev-toolbar.d.ts +1 -1
  434. package/dist/_dts/ui/src/dialog.d.ts +10 -10
  435. package/dist/_dts/ui/src/dropdown-menu.d.ts +1 -1
  436. package/dist/_dts/ui/src/editor-drawer.d.ts +1 -1
  437. package/dist/_dts/ui/src/empty-state.d.ts +1 -1
  438. package/dist/_dts/ui/src/filter-button-group.d.ts +1 -1
  439. package/dist/_dts/ui/src/fixed-bottom-surface.d.ts +1 -1
  440. package/dist/_dts/ui/src/form.d.ts +7 -7
  441. package/dist/_dts/ui/src/label.d.ts +1 -1
  442. package/dist/_dts/ui/src/menubar.d.ts +16 -16
  443. package/dist/_dts/ui/src/navigation-tabs.d.ts +2 -2
  444. package/dist/_dts/ui/src/number-input.d.ts +1 -1
  445. package/dist/_dts/ui/src/palette/ColorChooserDialog.d.ts +1 -1
  446. package/dist/_dts/ui/src/palette/ColorSlotButton.d.ts +1 -1
  447. package/dist/_dts/ui/src/palette/ColorSwatchButton.d.ts +1 -1
  448. package/dist/_dts/ui/src/palette/PaletteTokenEditor.d.ts +1 -1
  449. package/dist/_dts/ui/src/resizable-split-pane.d.ts +1 -1
  450. package/dist/_dts/ui/src/select.d.ts +10 -10
  451. package/dist/_dts/ui/src/separator.d.ts +1 -1
  452. package/dist/_dts/ui/src/sheet.d.ts +9 -9
  453. package/dist/_dts/ui/src/spinner.d.ts +1 -1
  454. package/dist/_dts/ui/src/tooltip.d.ts +4 -4
  455. package/dist/{chunk-4T5JIPWY.mjs → chunk-3LXFQS7T.mjs} +1 -1
  456. package/dist/{chunk-3QWQ2MUQ.mjs → chunk-5E33VO6J.mjs} +3128 -2300
  457. package/dist/{chunk-3VT7LZY2.mjs → chunk-6X2OVO3S.mjs} +2 -2
  458. package/dist/{chunk-3PTVPAT4.mjs → chunk-HFMGVJCE.mjs} +388 -56
  459. package/dist/{chunk-E3NZYEKF.mjs → chunk-LBBPD2IW.mjs} +53 -2
  460. package/dist/{chunk-WUHKQBB6.mjs → chunk-MSHZO4SL.mjs} +23773 -18556
  461. package/dist/cli/index.mjs +6062 -3246
  462. package/dist/cli/init-docs/content/getting-started.md +2 -0
  463. package/dist/cli/init-docs/content/workflow-custom-block.md +5 -0
  464. package/dist/cli/init-docs/content/workflow-templates.md +93 -2
  465. package/dist/client/{accordion-SFIIZWNH.mjs → accordion-ESY65T56.mjs} +2 -2
  466. package/dist/client/{bookingForm-CFKZVWGA.mjs → bookingForm-JRFNZUHD.mjs} +12 -12
  467. package/dist/client/bookings.mjs +3568 -299
  468. package/dist/client/{carousel-ELXWSBLA.mjs → carousel-CPR5VWIP.mjs} +3 -3
  469. package/dist/client/{cart-6SSCPYY5.mjs → cart-ZUX5BA7O.mjs} +8 -7
  470. package/dist/client/{checkout-UFQ34HPV.mjs → checkout-RULGBADZ.mjs} +8 -7
  471. package/dist/client/{chunk-PA2LJH2M.mjs → chunk-52I7BGEK.mjs} +5 -4
  472. package/dist/client/{chunk-IUEDYLFJ.mjs → chunk-5ZEAZ33K.mjs} +1 -1
  473. package/dist/client/{chunk-V6XI4M2Q.mjs → chunk-BT6AEIKN.mjs} +1 -1
  474. package/dist/client/{chunk-3PEDD5KJ.mjs → chunk-DVNUDUVT.mjs} +1 -1
  475. package/dist/client/{chunk-YLMKMCSJ.mjs → chunk-GFSQNTRW.mjs} +1 -3
  476. package/dist/client/{chunk-NX6X3GRF.mjs → chunk-HXPWP5EN.mjs} +492 -201
  477. package/dist/client/{chunk-G56BSZAM.mjs → chunk-JWEYB4V6.mjs} +3 -3
  478. package/dist/client/chunk-L4J5Y62O.mjs +18 -0
  479. package/dist/client/{chunk-76JUETXQ.mjs → chunk-RDJFCPY3.mjs} +358 -157
  480. package/dist/client/{chunk-RMWMT3ZD.mjs → chunk-SYIJ5JO2.mjs} +1 -1
  481. package/dist/client/{chunk-NP47RHIX.mjs → chunk-URQCZD5W.mjs} +17 -34
  482. package/dist/client/{chunk-TCJS3NY5.mjs → chunk-Z5OBQ5I4.mjs} +1 -1
  483. package/dist/client/{chunk-7BXX7WXH.mjs → chunk-ZE5G642V.mjs} +60 -2
  484. package/dist/client/client.mjs +75121 -72133
  485. package/dist/client/{courseRegistration-HJIISAAG.mjs → courseRegistration-QTUDC35T.mjs} +13 -12
  486. package/dist/client/{eventCalendar-F6YVUCZR.mjs → eventCalendar-Q7NS4XLD.mjs} +14 -14
  487. package/dist/client/{eventCombined-B5DSTIOK.mjs → eventCombined-QAO7VUO5.mjs} +14 -14
  488. package/dist/client/{eventDetails-SEJDDHQC.mjs → eventDetails-WTNNU6Q3.mjs} +9 -9
  489. package/dist/client/{eventListing-TPMWIIBO.mjs → eventListing-5TA2ELDT.mjs} +14 -14
  490. package/dist/client/{eventRegistration-QU6W2PV6.mjs → eventRegistration-M6USZGRF.mjs} +17 -15
  491. package/dist/client/{form-LVTYNTDE.mjs → form-DGVGXLMH.mjs} +3 -3
  492. package/dist/client/{headerSection-SO3MFC4U.mjs → headerSection-O2AGMPCU.mjs} +4 -4
  493. package/dist/client/hooks.mjs +7289 -5663
  494. package/dist/client/{locationMap-5E5FLAKO.mjs → locationMap-EJRNRIKJ.mjs} +2 -2
  495. package/dist/client/{newsletterForm-GN32JEBQ.mjs → newsletterForm-7NTC2DTR.mjs} +3 -3
  496. package/dist/client/{productDetail-Q346KSVR.mjs → productDetail-HH4LP53D.mjs} +8 -7
  497. package/dist/client/{productList-DTDMQYGZ.mjs → productList-YVHYM2AF.mjs} +8 -7
  498. package/dist/client/rendering/client.mjs +3818 -2234
  499. package/dist/client/rendering/islands.mjs +19 -19
  500. package/dist/client/rendering.mjs +17370 -14360
  501. package/dist/client/{shop-OFUW7KPN.mjs → shop-UIFX7XRK.mjs} +8 -7
  502. package/dist/client/spam-protection.mjs +3 -5
  503. package/dist/preview-next/before-render.mjs +40 -0
  504. package/dist/preview-next/client/runtime.css +1 -1
  505. package/dist/preview-next/client/runtime.mjs +5 -5
  506. package/dist/preview-next/middleware.mjs +40 -0
  507. package/dist/{sdk-runtime-EEMNSB7J.css → sdk-runtime-JD4A6SU6.css} +1 -1
  508. package/dist/{sdk-runtime-2GIX6I7X.mjs → sdk-runtime-ZENAOYMN.mjs} +6 -6
  509. package/dist/server/components.mjs +13473 -11321
  510. package/dist/server/config-validation.mjs +7017 -5489
  511. package/dist/server/config.mjs +7017 -5489
  512. package/dist/server/data.mjs +7295 -5669
  513. package/dist/server/index.mjs +149 -56
  514. package/dist/server/next.mjs +14431 -12060
  515. package/dist/server/page-converter.mjs +8062 -5399
  516. package/dist/server/prebuild.mjs +2 -1
  517. package/dist/server/rendering/server.mjs +13510 -11263
  518. package/dist/server/rendering.mjs +13613 -11293
  519. package/dist/server/routing.mjs +30919 -29206
  520. package/dist/server/server.mjs +27669 -25919
  521. package/dist/server/theme-bridge.mjs +1288 -146
  522. package/dist/server/theme.mjs +221 -131
  523. package/dist/styles/index.css +416 -96
  524. package/package.json +16 -16
  525. package/dist/SdkPreviewModeRuntime-AKCSCZEC.mjs +0 -8
@@ -1,4 +1,5 @@
1
1
  import type { EditorBlockId } from '../../ui/editorHistory';
2
+ import type { LinkedContentEntryId } from '../../linkedEntries/domain';
2
3
  /**
3
4
  * Path information for store binding.
4
5
  * Supports three patterns:
@@ -16,4 +17,8 @@ export type PathInfo = {
16
17
  } | {
17
18
  store: 'metadata';
18
19
  field: string;
20
+ } | {
21
+ store: 'linkedEntry';
22
+ entryId: LinkedContentEntryId;
23
+ field: string;
19
24
  };
@@ -16,10 +16,15 @@ export type { EditorCommand, EditorBlockItem, EditorDraftSnapshot, EditorHistory
16
16
  export type MetadataSnapshot = EditorValueSnapshot<EditorMetadataValues | null>;
17
17
  export type ContentSnapshot = EditorValueSnapshot<EditorContentValues | null>;
18
18
  export type PreviewSidebarTab = "editor" | "assistant";
19
- export type ActivePreviewField = Readonly<{
19
+ export type ActivePreviewField = (Readonly<{
20
+ kind: "block";
20
21
  blockId: EditorBlockId;
21
22
  fieldPath: string;
22
- }> | null;
23
+ }> | Readonly<{
24
+ kind: "linked-entry";
25
+ entryId: LinkedContentEntryId;
26
+ fieldPath: string;
27
+ }>) | null;
23
28
  /**
24
29
  * Version of the local draft snapshot that a completed autosave request persisted.
25
30
  * The reducer uses this to accept the saved baseline without treating older
@@ -65,21 +65,6 @@ export declare const EVENT_CONTENT_TYPE_SCHEMA: {
65
65
  readonly type: "media";
66
66
  readonly label: "Listing image";
67
67
  readonly description: "Optional image used for event cards and previews.";
68
- }, {
69
- readonly id: "tags";
70
- readonly type: "text";
71
- readonly label: "Tags";
72
- readonly description: "Comma-separated tags for event listings.";
73
- }, {
74
- readonly id: "badges";
75
- readonly type: "text";
76
- readonly label: "Badges";
77
- readonly description: "Comma-separated badges shown on event cards.";
78
- }, {
79
- readonly id: "ctaLabel";
80
- readonly type: "text";
81
- readonly label: "CTA label";
82
- readonly description: "Optional call-to-action label for event cards.";
83
68
  }, {
84
69
  readonly id: "body";
85
70
  readonly type: "richText";
@@ -115,21 +100,6 @@ export declare const COURSE_CONTENT_TYPE_SCHEMA: {
115
100
  readonly type: "media";
116
101
  readonly label: "Listing image";
117
102
  readonly description: "Optional image used for course cards and previews.";
118
- }, {
119
- readonly id: "tags";
120
- readonly type: "text";
121
- readonly label: "Tags";
122
- readonly description: "Comma-separated tags for course listings.";
123
- }, {
124
- readonly id: "badges";
125
- readonly type: "text";
126
- readonly label: "Badges";
127
- readonly description: "Comma-separated badges shown on course cards.";
128
- }, {
129
- readonly id: "ctaLabel";
130
- readonly type: "text";
131
- readonly label: "CTA label";
132
- readonly description: "Optional call-to-action label for course cards.";
133
103
  }, {
134
104
  readonly id: "body";
135
105
  readonly type: "richText";
@@ -222,16 +192,6 @@ export declare const PRODUCT_CONTENT_TYPE_SCHEMA: {
222
192
  readonly type: "media";
223
193
  readonly label: "Listing image";
224
194
  readonly description: "Optional image used for product cards and previews.";
225
- }, {
226
- readonly id: "badges";
227
- readonly type: "text";
228
- readonly label: "Badges";
229
- readonly description: "Comma-separated badges shown on product cards.";
230
- }, {
231
- readonly id: "ctaLabel";
232
- readonly type: "text";
233
- readonly label: "CTA label";
234
- readonly description: "Optional call-to-action label for product cards.";
235
195
  }, {
236
196
  readonly id: "body";
237
197
  readonly type: "richText";
@@ -182,21 +182,6 @@ export declare const BUILTIN_CONTENT_TYPE_SCHEMAS: {
182
182
  readonly type: "media";
183
183
  readonly label: "Listing image";
184
184
  readonly description: "Optional image used for event cards and previews.";
185
- }, {
186
- readonly id: "tags";
187
- readonly type: "text";
188
- readonly label: "Tags";
189
- readonly description: "Comma-separated tags for event listings.";
190
- }, {
191
- readonly id: "badges";
192
- readonly type: "text";
193
- readonly label: "Badges";
194
- readonly description: "Comma-separated badges shown on event cards.";
195
- }, {
196
- readonly id: "ctaLabel";
197
- readonly type: "text";
198
- readonly label: "CTA label";
199
- readonly description: "Optional call-to-action label for event cards.";
200
185
  }, {
201
186
  readonly id: "body";
202
187
  readonly type: "richText";
@@ -232,21 +217,6 @@ export declare const BUILTIN_CONTENT_TYPE_SCHEMAS: {
232
217
  readonly type: "media";
233
218
  readonly label: "Listing image";
234
219
  readonly description: "Optional image used for course cards and previews.";
235
- }, {
236
- readonly id: "tags";
237
- readonly type: "text";
238
- readonly label: "Tags";
239
- readonly description: "Comma-separated tags for course listings.";
240
- }, {
241
- readonly id: "badges";
242
- readonly type: "text";
243
- readonly label: "Badges";
244
- readonly description: "Comma-separated badges shown on course cards.";
245
- }, {
246
- readonly id: "ctaLabel";
247
- readonly type: "text";
248
- readonly label: "CTA label";
249
- readonly description: "Optional call-to-action label for course cards.";
250
220
  }, {
251
221
  readonly id: "body";
252
222
  readonly type: "richText";
@@ -339,16 +309,6 @@ export declare const BUILTIN_CONTENT_TYPE_SCHEMAS: {
339
309
  readonly type: "media";
340
310
  readonly label: "Listing image";
341
311
  readonly description: "Optional image used for product cards and previews.";
342
- }, {
343
- readonly id: "badges";
344
- readonly type: "text";
345
- readonly label: "Badges";
346
- readonly description: "Comma-separated badges shown on product cards.";
347
- }, {
348
- readonly id: "ctaLabel";
349
- readonly type: "text";
350
- readonly label: "CTA label";
351
- readonly description: "Optional call-to-action label for product cards.";
352
312
  }, {
353
313
  readonly id: "body";
354
314
  readonly type: "richText";
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,356 @@
1
+ import type { TemplateBlockDefinition, TemplateDefinition } from '../templates/types';
2
+ declare const __entrySlotBrand: unique symbol;
3
+ type Brand<TValue, TBrand extends string> = TValue & {
4
+ readonly [__entrySlotBrand]: TBrand;
5
+ };
6
+ export type SlotKey = Brand<string, 'SlotKey'>;
7
+ export type EntryBlockSlotId = Brand<string, 'EntryBlockSlotId'>;
8
+ export type EntrySlotContentEntryId = Brand<string, 'EntrySlotContentEntryId'>;
9
+ export type EntrySlotPageId = Brand<string, 'EntrySlotPageId'>;
10
+ export type EntrySlotBlockId = Brand<string, 'EntrySlotBlockId'>;
11
+ export type EntrySlotContentVersionId = Brand<string, 'EntrySlotContentVersionId'>;
12
+ export type EntrySlotBlockOrderIndex = Brand<number, 'EntrySlotBlockOrderIndex'>;
13
+ export type EntrySlotResult<TValue, TError> = Readonly<{
14
+ ok: true;
15
+ value: TValue;
16
+ }> | Readonly<{
17
+ ok: false;
18
+ error: TError;
19
+ }>;
20
+ export type SlotKeyParseError = Readonly<{
21
+ kind: 'not-string';
22
+ }> | Readonly<{
23
+ kind: 'empty';
24
+ }> | Readonly<{
25
+ kind: 'invalid-format';
26
+ value: string;
27
+ }>;
28
+ export type BrandedUuidParseError = Readonly<{
29
+ kind: 'not-string';
30
+ }> | Readonly<{
31
+ kind: 'empty';
32
+ }> | Readonly<{
33
+ kind: 'invalid-uuid';
34
+ value: string;
35
+ }>;
36
+ export type NonEmptyStringParseError = Readonly<{
37
+ kind: 'not-string';
38
+ }> | Readonly<{
39
+ kind: 'empty';
40
+ }>;
41
+ export declare function unsafeAsSlotKey(value: string): SlotKey;
42
+ export declare function unsafeAsEntryBlockSlotId(value: string): EntryBlockSlotId;
43
+ export declare function unsafeAsEntrySlotContentEntryId(value: string): EntrySlotContentEntryId;
44
+ export declare function unsafeAsEntrySlotPageId(value: string): EntrySlotPageId;
45
+ export declare function unsafeAsEntrySlotBlockId(value: string): EntrySlotBlockId;
46
+ export declare function unsafeAsEntrySlotContentVersionId(value: string): EntrySlotContentVersionId;
47
+ export declare function unsafeAsEntrySlotBlockOrderIndex(value: number): EntrySlotBlockOrderIndex;
48
+ export declare function parseSlotKey(value: unknown): EntrySlotResult<SlotKey, SlotKeyParseError>;
49
+ export declare function parseEntryBlockSlotId(value: unknown): EntrySlotResult<EntryBlockSlotId, BrandedUuidParseError>;
50
+ export declare const SYSTEM_ENTRY_SLOT_BLOCK_KIND: "system.entry-slot";
51
+ export declare const DEFAULT_ENTRY_SLOT_ALLOWED_BLOCKS: readonly ["block.body-text", "block.rich-text", "block.image-gallery", "block.cta-full"];
52
+ export type DefaultEntrySlotBlockKind = (typeof DEFAULT_ENTRY_SLOT_ALLOWED_BLOCKS)[number];
53
+ export type EntrySlotAllowedBlocks = Readonly<{
54
+ kind: 'default';
55
+ blockKinds: readonly DefaultEntrySlotBlockKind[];
56
+ }> | Readonly<{
57
+ kind: 'restricted';
58
+ blockKinds: readonly string[];
59
+ }> | Readonly<{
60
+ kind: 'none';
61
+ blockKinds: readonly [];
62
+ }>;
63
+ export type EntrySlotDefinition = Readonly<{
64
+ slotKey: SlotKey;
65
+ label: string;
66
+ allowedBlocks: EntrySlotAllowedBlocks;
67
+ }>;
68
+ export type EntrySlotDefinitionParseError = Readonly<{
69
+ kind: 'invalid-slot-scope';
70
+ blockIndex: number;
71
+ scope: TemplateBlockDefinition['scope'];
72
+ }> | Readonly<{
73
+ kind: 'invalid-slot-content';
74
+ blockIndex: number;
75
+ }> | Readonly<{
76
+ kind: 'invalid-slot-key';
77
+ blockIndex: number;
78
+ error: SlotKeyParseError;
79
+ }> | Readonly<{
80
+ kind: 'missing-label';
81
+ blockIndex: number;
82
+ slotKey: SlotKey;
83
+ }> | Readonly<{
84
+ kind: 'invalid-allowed-blocks';
85
+ blockIndex: number;
86
+ slotKey: SlotKey;
87
+ }> | Readonly<{
88
+ kind: 'invalid-allowed-block-kind';
89
+ blockIndex: number;
90
+ slotKey: SlotKey;
91
+ value: unknown;
92
+ }> | Readonly<{
93
+ kind: 'template-only-block-kind';
94
+ blockIndex: number;
95
+ slotKey: SlotKey;
96
+ blockKind: string;
97
+ }> | Readonly<{
98
+ kind: 'duplicate-allowed-block-kind';
99
+ blockIndex: number;
100
+ slotKey: SlotKey;
101
+ blockKind: string;
102
+ }> | Readonly<{
103
+ kind: 'duplicate-slot-key';
104
+ slotKey: SlotKey;
105
+ firstBlockIndex: number;
106
+ blockIndex: number;
107
+ }>;
108
+ export declare function parseEntrySlotDefinitions(template: Pick<TemplateDefinition, 'blocks'>): EntrySlotResult<readonly EntrySlotDefinition[], EntrySlotDefinitionParseError>;
109
+ export declare function isEntrySlotTemplateBlock(block: TemplateBlockDefinition): block is TemplateBlockDefinition & Readonly<{
110
+ blockKind: typeof SYSTEM_ENTRY_SLOT_BLOCK_KIND;
111
+ }>;
112
+ export type EntrySlotBlockKindValidationError = Readonly<{
113
+ kind: 'template-only-block-kind';
114
+ blockKind: string;
115
+ }> | Readonly<{
116
+ kind: 'block-kind-not-allowed';
117
+ blockKind: string;
118
+ slotKey: SlotKey;
119
+ }>;
120
+ export declare function validateBlockKindForEntrySlot(definition: EntrySlotDefinition, blockKind: string): EntrySlotResult<string, EntrySlotBlockKindValidationError>;
121
+ export type StoredEntrySlotSummary = Readonly<{
122
+ entrySlotId: EntryBlockSlotId;
123
+ slotKey: SlotKey;
124
+ draftCompositionVersionId: EntrySlotContentVersionId | null;
125
+ publishedCompositionVersionId: EntrySlotContentVersionId | null;
126
+ }>;
127
+ export type DefinedEntrySlot = Readonly<{
128
+ kind: 'defined';
129
+ definition: EntrySlotDefinition;
130
+ entrySlot: StoredEntrySlotSummary | null;
131
+ }>;
132
+ export type OrphanedEntrySlot = Readonly<{
133
+ kind: 'orphaned';
134
+ slotKey: SlotKey;
135
+ entrySlot: StoredEntrySlotSummary;
136
+ }>;
137
+ export type VisibleEntrySlot = DefinedEntrySlot | OrphanedEntrySlot;
138
+ export type EntryPageCompositionState = Readonly<{
139
+ kind: 'absent';
140
+ }> | Readonly<{
141
+ kind: 'draft-only';
142
+ draftCompositionVersionId: EntrySlotContentVersionId;
143
+ }> | Readonly<{
144
+ kind: 'published-only';
145
+ publishedCompositionVersionId: EntrySlotContentVersionId;
146
+ }> | Readonly<{
147
+ kind: 'draft-and-published';
148
+ draftCompositionVersionId: EntrySlotContentVersionId;
149
+ publishedCompositionVersionId: EntrySlotContentVersionId;
150
+ }> | Readonly<{
151
+ kind: 'invalid';
152
+ reason: 'orphaned-slot' | 'missing-slot-definition';
153
+ }>;
154
+ export declare function resolveEntrySlotVisibility(input: {
155
+ definitions: readonly EntrySlotDefinition[];
156
+ storedSlots: readonly StoredEntrySlotSummary[];
157
+ }): readonly VisibleEntrySlot[];
158
+ export declare function resolveEntryPageCompositionState(slot: VisibleEntrySlot): EntryPageCompositionState;
159
+ export type EntrySlotBlockSource<TBlock> = Readonly<{
160
+ slotKey: SlotKey | string;
161
+ blocks: readonly TBlock[];
162
+ }>;
163
+ export declare function selectBlocksForDeclaredEntrySlot<TBlock>(input: {
164
+ declaredSlotKey: SlotKey;
165
+ entrySlots: readonly EntrySlotBlockSource<TBlock>[];
166
+ }): readonly TBlock[];
167
+ export type MissingEntrySlotBlockContentReason = 'new-block' | 'deleted-content-version' | 'unpublished-block';
168
+ export type PublishedEntrySlotBlockSnapshot = Readonly<{
169
+ kind: 'published-block-content';
170
+ blockId: EntrySlotBlockId;
171
+ contentVersionId: EntrySlotContentVersionId;
172
+ identifier: string | null;
173
+ blockKind: string;
174
+ purpose: string;
175
+ orderIndex: EntrySlotBlockOrderIndex;
176
+ }>;
177
+ export type DraftEntrySlotBlockSnapshot = Readonly<{
178
+ kind: 'draft-block-content';
179
+ blockId: EntrySlotBlockId;
180
+ contentVersionId: EntrySlotContentVersionId | null;
181
+ identifier: string | null;
182
+ blockKind: string;
183
+ purpose: string;
184
+ orderIndex: EntrySlotBlockOrderIndex;
185
+ }>;
186
+ export type MissingEntrySlotBlockSnapshot = Readonly<{
187
+ kind: 'missing-block-content';
188
+ blockId: EntrySlotBlockId;
189
+ identifier: string | null;
190
+ blockKind: string;
191
+ purpose: string;
192
+ orderIndex: EntrySlotBlockOrderIndex;
193
+ reason: MissingEntrySlotBlockContentReason;
194
+ }>;
195
+ export type EntrySlotBlockSnapshot = PublishedEntrySlotBlockSnapshot | DraftEntrySlotBlockSnapshot | MissingEntrySlotBlockSnapshot;
196
+ export type DraftEntrySlotCompositionVersionDataV1 = Readonly<{
197
+ schemaVersion: 1;
198
+ stage: 'draft';
199
+ entrySlotId: EntryBlockSlotId;
200
+ contentEntryId: EntrySlotContentEntryId;
201
+ slotKey: SlotKey;
202
+ blockSequence: readonly EntrySlotBlockSnapshot[];
203
+ }>;
204
+ export type PublishedEntrySlotCompositionVersionDataV1 = Readonly<{
205
+ schemaVersion: 1;
206
+ stage: 'published';
207
+ entrySlotId: EntryBlockSlotId;
208
+ contentEntryId: EntrySlotContentEntryId;
209
+ slotKey: SlotKey;
210
+ blockSequence: readonly PublishedEntrySlotBlockSnapshot[];
211
+ }>;
212
+ export type EntrySlotCompositionVersionDataV1 = DraftEntrySlotCompositionVersionDataV1 | PublishedEntrySlotCompositionVersionDataV1;
213
+ export type PublishedEntrySlotCompositionBuildError = Readonly<{
214
+ kind: 'published-composition-contains-unpublished-block';
215
+ blockId: EntrySlotBlockId;
216
+ snapshotKind: Exclude<EntrySlotBlockSnapshot['kind'], 'published-block-content'>;
217
+ }>;
218
+ export declare function buildDraftEntrySlotCompositionVersionData(input: {
219
+ entrySlotId: EntryBlockSlotId;
220
+ contentEntryId: EntrySlotContentEntryId;
221
+ slotKey: SlotKey;
222
+ blockSequence: readonly EntrySlotBlockSnapshot[];
223
+ }): DraftEntrySlotCompositionVersionDataV1;
224
+ export declare function buildPublishedEntrySlotCompositionVersionData(input: {
225
+ entrySlotId: EntryBlockSlotId;
226
+ contentEntryId: EntrySlotContentEntryId;
227
+ slotKey: SlotKey;
228
+ blockSequence: readonly EntrySlotBlockSnapshot[];
229
+ }): EntrySlotResult<PublishedEntrySlotCompositionVersionDataV1, PublishedEntrySlotCompositionBuildError>;
230
+ export type EntrySlotCompositionParseError = Readonly<{
231
+ kind: 'not-object';
232
+ }> | Readonly<{
233
+ kind: 'unsupported-schema-version';
234
+ schemaVersion: unknown;
235
+ }> | Readonly<{
236
+ kind: 'invalid-stage';
237
+ stage: unknown;
238
+ }> | Readonly<{
239
+ kind: 'invalid-entry-slot-id';
240
+ error: BrandedUuidParseError | NonEmptyStringParseError;
241
+ }> | Readonly<{
242
+ kind: 'invalid-content-entry-id';
243
+ error: NonEmptyStringParseError;
244
+ }> | Readonly<{
245
+ kind: 'invalid-slot-key';
246
+ error: SlotKeyParseError;
247
+ }> | Readonly<{
248
+ kind: 'invalid-block-sequence';
249
+ }> | Readonly<{
250
+ kind: 'invalid-block-snapshot';
251
+ index: number;
252
+ }> | Readonly<{
253
+ kind: 'published-composition-contains-unpublished-block';
254
+ index: number;
255
+ }>;
256
+ export declare function parseEntrySlotCompositionVersionData(input: unknown): EntrySlotResult<EntrySlotCompositionVersionDataV1, EntrySlotCompositionParseError>;
257
+ export declare function blockContentVersionIdsForEntrySlotCompositionVersionData(versionData: EntrySlotCompositionVersionDataV1): readonly EntrySlotContentVersionId[];
258
+ export type SlotPublishPlan = Readonly<{
259
+ kind: 'publishable';
260
+ slotKey: SlotKey;
261
+ needsBlockContentPublish: boolean;
262
+ }> | Readonly<{
263
+ kind: 'blocked';
264
+ slotKey: SlotKey;
265
+ reason: 'missing-block-content';
266
+ blockIds: readonly EntrySlotBlockId[];
267
+ }> | Readonly<{
268
+ kind: 'warning-only';
269
+ slotKey: SlotKey;
270
+ warning: 'orphaned-slot-hidden';
271
+ }>;
272
+ export declare function planEntrySlotPublish(input: {
273
+ slot: VisibleEntrySlot;
274
+ draftBlockSequence: readonly EntrySlotBlockSnapshot[];
275
+ }): SlotPublishPlan;
276
+ export type SlotDiscardPlan = Readonly<{
277
+ kind: 'discardable';
278
+ slotKey: SlotKey;
279
+ }> | Readonly<{
280
+ kind: 'skip-hidden-orphan';
281
+ slotKey: SlotKey;
282
+ }>;
283
+ export declare function planEntrySlotDiscard(slot: VisibleEntrySlot): SlotDiscardPlan;
284
+ export type SdkEntryBlocksPatch = Readonly<{
285
+ kind: 'leave-unchanged';
286
+ }> | Readonly<{
287
+ kind: 'patch-slots';
288
+ slots: readonly SdkEntrySlotBlocksPatch[];
289
+ }>;
290
+ export type SdkEntrySlotBlocksPatch = Readonly<{
291
+ kind: 'clear-slot';
292
+ slotKey: SlotKey;
293
+ }> | Readonly<{
294
+ kind: 'replace-slot';
295
+ slotKey: SlotKey;
296
+ blocks: readonly SdkEntrySlotBlockInput[];
297
+ }>;
298
+ export type SdkEntrySlotBlockInput = Readonly<{
299
+ identifier: string | null;
300
+ kind: string;
301
+ content: Record<string, unknown>;
302
+ }>;
303
+ export type SdkEntryBlocksPatchParseError = Readonly<{
304
+ kind: 'invalid-blocks-object';
305
+ }> | Readonly<{
306
+ kind: 'invalid-slot-key';
307
+ key: string;
308
+ error: SlotKeyParseError;
309
+ }> | Readonly<{
310
+ kind: 'invalid-slot-blocks';
311
+ slotKey: SlotKey;
312
+ }> | Readonly<{
313
+ kind: 'invalid-block';
314
+ slotKey: SlotKey;
315
+ blockIndex: number;
316
+ }> | Readonly<{
317
+ kind: 'template-only-block-kind';
318
+ slotKey: SlotKey;
319
+ blockIndex: number;
320
+ blockKind: string;
321
+ }>;
322
+ export declare function parseSdkEntryBlocksPatch(blocks: unknown): EntrySlotResult<SdkEntryBlocksPatch, SdkEntryBlocksPatchParseError>;
323
+ export type ContentVersionOwner = Readonly<{
324
+ kind: 'block';
325
+ blockId: EntrySlotBlockId;
326
+ }> | Readonly<{
327
+ kind: 'entry';
328
+ contentEntryId: EntrySlotContentEntryId;
329
+ }> | Readonly<{
330
+ kind: 'page';
331
+ pageId: EntrySlotPageId;
332
+ }> | Readonly<{
333
+ kind: 'entry-slot';
334
+ entrySlotId: EntryBlockSlotId;
335
+ }>;
336
+ export type EditableBlockOwner = Readonly<{
337
+ kind: 'page';
338
+ pageId: EntrySlotPageId;
339
+ }> | Readonly<{
340
+ kind: 'entry-slot';
341
+ entrySlotId: EntryBlockSlotId;
342
+ }>;
343
+ export type EntryLifecycleRecoveryCheckpoint = 'entry-fields' | 'route-metadata' | 'slot-composition' | 'block-published-refs' | 'cache-revalidation';
344
+ export type EntryLifecycleCommitPlan = Readonly<{
345
+ kind: 'transactional-commit';
346
+ }> | Readonly<{
347
+ kind: 'sequential-commit-with-recovery';
348
+ checkpoints: readonly EntryLifecycleRecoveryCheckpoint[];
349
+ }>;
350
+ export type EntrySlotTemplateLifecycleDecision = Readonly<{
351
+ publicTemplateDefinitions: 'effective-current';
352
+ previewTemplateDefinitions: 'draft-current';
353
+ removedSlotData: 'retained-hidden-until-slot-reintroduced';
354
+ }>;
355
+ export declare const ENTRY_SLOT_TEMPLATE_LIFECYCLE_DECISION: EntrySlotTemplateLifecycleDecision;
356
+ export {};
@@ -19,3 +19,4 @@ export * from './templates/bindingValidation';
19
19
  export * from './templates/manifestAdapter';
20
20
  export * from './templates/auditBindings';
21
21
  export * from './templates/editorState';
22
+ export * from './entry-slots';
@@ -126,6 +126,13 @@ export declare const DEFAULT_TEMPLATE_DEFINITIONS: {
126
126
  readonly blockKind: "block.body-text";
127
127
  readonly scope: "entry";
128
128
  readonly bindings: import("./types").TemplateBindingRecord;
129
+ }, {
130
+ readonly blockKind: "system.entry-slot";
131
+ readonly scope: "template";
132
+ readonly content: {
133
+ readonly slotKey: "main";
134
+ readonly label: "Page content";
135
+ };
129
136
  }, {
130
137
  readonly blockKind: "block.event-registration";
131
138
  readonly scope: "entry";
@@ -251,7 +258,6 @@ export declare const DEFAULT_TEMPLATE_DEFINITIONS: {
251
258
  readonly heading: "";
252
259
  readonly showSummary: true;
253
260
  readonly showBody: true;
254
- readonly showBadges: true;
255
261
  readonly addButtonText: "Add to cart";
256
262
  readonly emptyStateText: "Product unavailable.";
257
263
  };
@@ -1,3 +1,75 @@
1
1
  export declare const EVENT_PRICING_MODES: readonly ["single", "ticket_types"];
2
2
  export type EventPricingMode = (typeof EVENT_PRICING_MODES)[number];
3
+ export type PublicEventPricingType = "free" | "paid";
4
+ export type PublicCoursePriceDisplay = Readonly<{
5
+ kind: "free";
6
+ currency: string;
7
+ }> | Readonly<{
8
+ kind: "exact";
9
+ amount: number;
10
+ currency: string;
11
+ }> | Readonly<{
12
+ kind: "from";
13
+ amount: number;
14
+ currency: string;
15
+ }> | Readonly<{
16
+ kind: "unavailable";
17
+ currency: string;
18
+ }>;
19
+ export type PublicEventFreePriceDisplay = Readonly<{
20
+ kind: "free";
21
+ currency: string;
22
+ }>;
23
+ export type PublicEventExactPriceDisplay = Readonly<{
24
+ kind: "exact";
25
+ amount: number;
26
+ currency: string;
27
+ }>;
28
+ export type PublicEventTicketTypePriceDisplay = PublicEventFreePriceDisplay | PublicEventExactPriceDisplay | Readonly<{
29
+ kind: "from";
30
+ amount: number;
31
+ currency: string;
32
+ }> | Readonly<{
33
+ kind: "mixed";
34
+ paidFromAmount: number;
35
+ currency: string;
36
+ }> | Readonly<{
37
+ kind: "unavailable";
38
+ currency: string;
39
+ }>;
40
+ export type PublicEventPriceDisplay = PublicEventTicketTypePriceDisplay | Readonly<{
41
+ kind: "course";
42
+ display: PublicCoursePriceDisplay;
43
+ }>;
44
+ export type PublicEventPricing<TTicketType = never> = Readonly<{
45
+ kind: "drop_in";
46
+ currency: string;
47
+ display: PublicEventFreePriceDisplay;
48
+ }> | Readonly<{
49
+ kind: "free_registration";
50
+ currency: string;
51
+ display: PublicEventFreePriceDisplay;
52
+ }> | Readonly<{
53
+ kind: "single_paid";
54
+ amount: number;
55
+ currency: string;
56
+ display: PublicEventExactPriceDisplay;
57
+ }> | Readonly<{
58
+ kind: "ticket_types";
59
+ currency: string;
60
+ ticketTypes: readonly TTicketType[];
61
+ display: PublicEventTicketTypePriceDisplay;
62
+ }> | Readonly<{
63
+ kind: "course";
64
+ display: Readonly<{
65
+ kind: "course";
66
+ display: PublicCoursePriceDisplay;
67
+ }>;
68
+ }>;
3
69
  export declare function isEventPricingMode(value: unknown): value is EventPricingMode;
70
+ export declare function publicEventPricingDisplay(pricing: PublicEventPricing<unknown>): PublicEventPriceDisplay;
71
+ export declare function publicEventPricingType(pricing: PublicEventPricing<unknown>): PublicEventPricingType;
72
+ export declare function publicEventPricingCurrency(pricing: PublicEventPricing<unknown>): string | null;
73
+ export declare function publicEventScalarPrice(pricing: PublicEventPricing<unknown>): number | null;
74
+ export declare function publicEventPricingMode(pricing: PublicEventPricing<unknown>): EventPricingMode | undefined;
75
+ export declare function publicEventTicketTypes<TTicketType>(pricing: PublicEventPricing<TTicketType>): readonly TTicketType[];