@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.
- package/README.md +81 -3
- package/dist/{PreviewEditorSidebar-RDCMEXIJ.mjs → PreviewEditorSidebar-HML67UDA.mjs} +367 -507
- package/dist/{PreviewEditorSidebar-O4NDX5TP.css → PreviewEditorSidebar-JA4VIPSZ.css} +1 -1
- package/dist/{SdkPreviewModeRuntime-PBGALTMK.css → PreviewEditorUI-36T7QYV4.css} +1 -1
- package/dist/{PreviewEditorUI-NYGQ6K7B.mjs → PreviewEditorUI-I4BQUU6K.mjs} +4 -6
- package/dist/{PreviewEditorUI-4JVDBZBS.css → SdkPreviewModeRuntime-FXKI6XNL.css} +1 -1
- package/dist/SdkPreviewModeRuntime-MCKMVDTK.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +1038 -262
- package/dist/_dts/altcha/src/AltchaWidget.d.ts +1 -1
- package/dist/_dts/api/src/analytics.d.ts +1 -1
- package/dist/_dts/api/src/blocks.d.ts +36 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +49 -3
- package/dist/_dts/api/src/courses.d.ts +1 -1
- package/dist/_dts/api/src/endpoints.d.ts +40 -0
- package/dist/_dts/api/src/event-destination-policy.d.ts +17 -0
- package/dist/_dts/api/src/index.d.ts +6 -2
- package/dist/_dts/api/src/navigation/boundaries.d.ts +64 -0
- package/dist/_dts/api/src/navigation.d.ts +2 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +6 -54
- package/dist/_dts/api/src/sdk-event-pricing.d.ts +61 -0
- package/dist/_dts/api/src/sdk-event-schedule.d.ts +52 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +50 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +67 -33
- package/dist/_dts/api/src/shared-contracts.d.ts +13 -0
- package/dist/_dts/api/src/siteGeneration.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +29 -42
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +46 -1
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/block-form/src/backend/useBackendWatch.d.ts +6 -1
- package/dist/_dts/block-form/src/context/BlockContext.d.ts +1 -1
- package/dist/_dts/block-form/src/context/DisplayLabelResolverContext.d.ts +1 -1
- package/dist/_dts/block-form/src/context/FieldPreviewResolverContext.d.ts +2 -2
- package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +1 -1
- package/dist/_dts/block-form/src/palette/PaletteContext.d.ts +1 -1
- package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +1 -1
- package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +3 -2
- package/dist/_dts/block-form/src/utils/visibleWhen.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/BackgroundColorWidget.d.ts +2 -1
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/BooleanField/BooleanField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/Field.d.ts +2 -2
- package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -3
- package/dist/_dts/block-form/src/widgets/NumberField/NumberField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/PresetOrCustomField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SdkSelectField/SdkSelectField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SelectField/SelectField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SelectWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SliderField/SliderField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/TextField/TextField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/TextInputWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/ToggleWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/stringDefaultValue.d.ts +1 -0
- package/dist/_dts/blocks/src/PageRenderer.d.ts +12 -1
- package/dist/_dts/blocks/src/bindings/index.d.ts +1 -1
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/client.d.ts +4 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +24 -20
- package/dist/_dts/blocks/src/index.d.ts +2 -2
- package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +7 -7
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/components/Text.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +3 -0
- package/dist/_dts/blocks/src/primitives/layout/Grid.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/layout/Inline.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/layout/Stack.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +171 -0
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +302 -151
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +6 -20
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/hero.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +4 -10
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +2608 -225
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +4 -2
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +28 -0
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +880 -2618
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +880 -2620
- package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +36 -3
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +3 -0
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +6 -2
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/linkedContentEntries.d.ts +38 -0
- package/dist/_dts/blocks/src/system/defineBlock.d.ts +3 -1
- package/dist/_dts/blocks/src/system/fields/aspectRatio.d.ts +4 -1
- package/dist/_dts/blocks/src/system/fields/imageShape.d.ts +30 -0
- package/dist/_dts/blocks/src/system/fragments/library/heroLayoutControls.d.ts +25 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +106 -217
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +36 -30
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +18 -15
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +33 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/ImageResolveContext.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +1 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/view.d.ts +10 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/BookingModeStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/CourseRegistrationWizard.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/MembershipHero.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PortalAuthSidebar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/SuccessStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/WaitlistStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/components.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/CoursePricingDisplay.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSummaryBar.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardContent.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventSelectionStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/OrderSummary.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PastOccurrenceNotice.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SelectableOptionCard.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.state.d.ts +303 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +20 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +4 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +38 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DateTimeTile.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DayEventsModal.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/pricing.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.shared.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-list.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-list.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-add-feedback.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.server.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/spinner.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/ActionRow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/CheckIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/ClockIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/CrossIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FeedbackMessage.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FieldValidationMessage.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/MembershipHero.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/StateIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/TerminalPanel.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +1 -1
- package/dist/_dts/content-editor/src/components/EditableBlockProvider.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -2
- package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/useInvalidBlockRecovery.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +7 -1
- package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +7 -1
- package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +2 -0
- package/dist/_dts/content-editor/src/primitives/shared/index.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +3 -1
- package/dist/_dts/content-editor/src/primitives/shared/types.d.ts +5 -0
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +7 -2
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -40
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +0 -40
- package/dist/_dts/content-model/src/entry-slots/index.d.ts +1 -0
- package/dist/_dts/content-model/src/entry-slots/types.d.ts +356 -0
- package/dist/_dts/content-model/src/index.d.ts +1 -0
- package/dist/_dts/content-model/src/templates/defaults.d.ts +7 -1
- package/dist/_dts/core/src/event-pricing.d.ts +72 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +127 -7
- package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +1 -1
- package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/EditorPrimitivesProvider.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/InlineFieldContext.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/SaveContext.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextToolbar.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/BlockTypeDropdown.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/LinkPopover.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/ToolbarIconButton.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +6 -1
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/FormProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/AddBlockDivider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockListContext.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockThumbnail.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockTile.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/EmptyState.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/EnhancedBlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/HeaderActions.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +27 -0
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewGroupOrderField.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewWidgetProvider.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/index.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/orderDomain.d.ts +29 -0
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/useImagePicker.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionWidgetProvider.d.ts +1 -1
- package/dist/_dts/media-core/src/assetsInUseSummary.d.ts +8 -0
- package/dist/_dts/media-core/src/mediaUsageProjection.d.ts +37 -3
- package/dist/_dts/media-editor/src/CropDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/CropDialogShell.d.ts +1 -1
- package/dist/_dts/media-editor/src/FileAssetPreview.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaPreview.d.ts +1 -1
- package/dist/_dts/media-editor/src/context.d.ts +1 -1
- package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -1
- package/dist/_dts/media-editor/src/provider.d.ts +1 -1
- package/dist/_dts/media-react/src/components/AuthenticatedImage.d.ts +1 -1
- package/dist/_dts/media-react/src/components/MediaLibrary.d.ts +1 -1
- package/dist/_dts/media-react/src/components/MediaPickerMini.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/PreviewShellSmoke.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +5 -3
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +4 -2
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +4 -2
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +19 -0
- package/dist/_dts/preview-next/src/client/preview/MaintenanceModeBadge.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/OnboardingThemeSwitcher.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewAuthBanner.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewAuthInit.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewConfirmationDialog.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignCoordinatorContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignHistoryOrderContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorGuidanceCard.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewQueryProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewSidebarSection.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewViewportControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewZoomControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeButton.d.ts +10 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +17 -3
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/SubrouteNoticePanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/linkedEntryEditEvents.d.ts +14 -1
- package/dist/_dts/preview-next/src/client/preview/previewChromePlacement.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeControls.d.ts +11 -10
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +10 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +29 -6
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewModeRuntime.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +5 -3
- package/dist/_dts/sdk/src/__mocks__/next-cache.d.ts +4 -3
- package/dist/_dts/sdk/src/bookings/index.d.ts +5 -4
- package/dist/_dts/sdk/src/bookings/types.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +15 -22
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +6 -1
- package/dist/_dts/sdk/src/cli/helpers.d.ts +10 -5
- package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +2 -1
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +31 -0
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/sync/validation.d.ts +7 -7
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +40 -10
- package/dist/_dts/sdk/src/client/types.d.ts +36 -4
- package/dist/_dts/sdk/src/client.d.ts +1 -1
- package/dist/_dts/sdk/src/config/content-types.d.ts +3 -14
- package/dist/_dts/sdk/src/config/content-validation.d.ts +9 -214
- package/dist/_dts/sdk/src/config/field-definitions.d.ts +13 -7
- package/dist/_dts/sdk/src/config/types.d.ts +9 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +21 -21
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +28 -5
- package/dist/_dts/sdk/src/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +6 -6
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +4 -3
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +42 -37
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/Block.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Block.server.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Page.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Page.server.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/PageHydrationBootstrap.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +6 -1
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +10 -9
- package/dist/_dts/sdk/src/rendering/islands/enhancers/routeIslandApiConfig.d.ts +9 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +6 -57
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +6 -1
- package/dist/_dts/sdk/src/rendering/primitives/RichText.d.ts +2 -1
- package/dist/_dts/sdk/src/server.d.ts +1 -1
- package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +1 -1
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +84 -21
- package/dist/_dts/theme-core/src/ClientThemeScope.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +3 -2
- package/dist/_dts/theme-core/src/ThemeScope.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeScopeCore.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/personalities/ornate-ritual.d.ts +16 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +8 -8
- package/dist/_dts/theme-core/src/buttons/types.d.ts +20 -20
- package/dist/_dts/theme-core/src/cards/types.d.ts +20 -20
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +234 -225
- package/dist/_dts/theme-core/src/mock-themes/components/PaletteCard.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/components/swatch.d.ts +1 -1
- package/dist/_dts/theme-core/src/navigation/presets.d.ts +1 -1
- package/dist/_dts/theme-core/src/navigation/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/palette/variants/warm-dark.d.ts +16 -0
- package/dist/_dts/theme-core/src/schema.d.ts +263 -248
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +27 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +141 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +16 -14
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +110 -5
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +11 -9
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +5 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +30 -0
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +3 -1
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
- package/dist/_dts/theme-core/src/siteChromePlanning.d.ts +1 -0
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
- package/dist/_dts/theme-core/src/utils/colorStyles.d.ts +6 -6
- package/dist/_dts/ui/src/async-boundary.d.ts +1 -1
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button-group.d.ts +3 -3
- package/dist/_dts/ui/src/calendar.d.ts +2 -2
- package/dist/_dts/ui/src/card.d.ts +6 -6
- package/dist/_dts/ui/src/combobox.d.ts +1 -1
- package/dist/_dts/ui/src/command-multi-select.d.ts +1 -1
- package/dist/_dts/ui/src/content-spinner.d.ts +1 -1
- package/dist/_dts/ui/src/delayed-spinner.d.ts +1 -1
- package/dist/_dts/ui/src/dev-toolbar.d.ts +1 -1
- package/dist/_dts/ui/src/dialog.d.ts +10 -10
- package/dist/_dts/ui/src/dropdown-menu.d.ts +1 -1
- package/dist/_dts/ui/src/editor-drawer.d.ts +1 -1
- package/dist/_dts/ui/src/empty-state.d.ts +1 -1
- package/dist/_dts/ui/src/filter-button-group.d.ts +1 -1
- package/dist/_dts/ui/src/fixed-bottom-surface.d.ts +1 -1
- package/dist/_dts/ui/src/form.d.ts +7 -7
- package/dist/_dts/ui/src/label.d.ts +1 -1
- package/dist/_dts/ui/src/menubar.d.ts +16 -16
- package/dist/_dts/ui/src/navigation-tabs.d.ts +2 -2
- package/dist/_dts/ui/src/number-input.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorChooserDialog.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorSlotButton.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorSwatchButton.d.ts +1 -1
- package/dist/_dts/ui/src/palette/PaletteTokenEditor.d.ts +1 -1
- package/dist/_dts/ui/src/resizable-split-pane.d.ts +1 -1
- package/dist/_dts/ui/src/select.d.ts +10 -10
- package/dist/_dts/ui/src/separator.d.ts +1 -1
- package/dist/_dts/ui/src/sheet.d.ts +9 -9
- package/dist/_dts/ui/src/spinner.d.ts +1 -1
- package/dist/_dts/ui/src/tooltip.d.ts +4 -4
- package/dist/{chunk-4T5JIPWY.mjs → chunk-3LXFQS7T.mjs} +1 -1
- package/dist/{chunk-3QWQ2MUQ.mjs → chunk-5E33VO6J.mjs} +3128 -2300
- package/dist/{chunk-3VT7LZY2.mjs → chunk-6X2OVO3S.mjs} +2 -2
- package/dist/{chunk-3PTVPAT4.mjs → chunk-HFMGVJCE.mjs} +388 -56
- package/dist/{chunk-E3NZYEKF.mjs → chunk-LBBPD2IW.mjs} +53 -2
- package/dist/{chunk-WUHKQBB6.mjs → chunk-MSHZO4SL.mjs} +23773 -18556
- package/dist/cli/index.mjs +6062 -3246
- package/dist/cli/init-docs/content/getting-started.md +2 -0
- package/dist/cli/init-docs/content/workflow-custom-block.md +5 -0
- package/dist/cli/init-docs/content/workflow-templates.md +93 -2
- package/dist/client/{accordion-SFIIZWNH.mjs → accordion-ESY65T56.mjs} +2 -2
- package/dist/client/{bookingForm-CFKZVWGA.mjs → bookingForm-JRFNZUHD.mjs} +12 -12
- package/dist/client/bookings.mjs +3568 -299
- package/dist/client/{carousel-ELXWSBLA.mjs → carousel-CPR5VWIP.mjs} +3 -3
- package/dist/client/{cart-6SSCPYY5.mjs → cart-ZUX5BA7O.mjs} +8 -7
- package/dist/client/{checkout-UFQ34HPV.mjs → checkout-RULGBADZ.mjs} +8 -7
- package/dist/client/{chunk-PA2LJH2M.mjs → chunk-52I7BGEK.mjs} +5 -4
- package/dist/client/{chunk-IUEDYLFJ.mjs → chunk-5ZEAZ33K.mjs} +1 -1
- package/dist/client/{chunk-V6XI4M2Q.mjs → chunk-BT6AEIKN.mjs} +1 -1
- package/dist/client/{chunk-3PEDD5KJ.mjs → chunk-DVNUDUVT.mjs} +1 -1
- package/dist/client/{chunk-YLMKMCSJ.mjs → chunk-GFSQNTRW.mjs} +1 -3
- package/dist/client/{chunk-NX6X3GRF.mjs → chunk-HXPWP5EN.mjs} +492 -201
- package/dist/client/{chunk-G56BSZAM.mjs → chunk-JWEYB4V6.mjs} +3 -3
- package/dist/client/chunk-L4J5Y62O.mjs +18 -0
- package/dist/client/{chunk-76JUETXQ.mjs → chunk-RDJFCPY3.mjs} +358 -157
- package/dist/client/{chunk-RMWMT3ZD.mjs → chunk-SYIJ5JO2.mjs} +1 -1
- package/dist/client/{chunk-NP47RHIX.mjs → chunk-URQCZD5W.mjs} +17 -34
- package/dist/client/{chunk-TCJS3NY5.mjs → chunk-Z5OBQ5I4.mjs} +1 -1
- package/dist/client/{chunk-7BXX7WXH.mjs → chunk-ZE5G642V.mjs} +60 -2
- package/dist/client/client.mjs +75121 -72133
- package/dist/client/{courseRegistration-HJIISAAG.mjs → courseRegistration-QTUDC35T.mjs} +13 -12
- package/dist/client/{eventCalendar-F6YVUCZR.mjs → eventCalendar-Q7NS4XLD.mjs} +14 -14
- package/dist/client/{eventCombined-B5DSTIOK.mjs → eventCombined-QAO7VUO5.mjs} +14 -14
- package/dist/client/{eventDetails-SEJDDHQC.mjs → eventDetails-WTNNU6Q3.mjs} +9 -9
- package/dist/client/{eventListing-TPMWIIBO.mjs → eventListing-5TA2ELDT.mjs} +14 -14
- package/dist/client/{eventRegistration-QU6W2PV6.mjs → eventRegistration-M6USZGRF.mjs} +17 -15
- package/dist/client/{form-LVTYNTDE.mjs → form-DGVGXLMH.mjs} +3 -3
- package/dist/client/{headerSection-SO3MFC4U.mjs → headerSection-O2AGMPCU.mjs} +4 -4
- package/dist/client/hooks.mjs +7289 -5663
- package/dist/client/{locationMap-5E5FLAKO.mjs → locationMap-EJRNRIKJ.mjs} +2 -2
- package/dist/client/{newsletterForm-GN32JEBQ.mjs → newsletterForm-7NTC2DTR.mjs} +3 -3
- package/dist/client/{productDetail-Q346KSVR.mjs → productDetail-HH4LP53D.mjs} +8 -7
- package/dist/client/{productList-DTDMQYGZ.mjs → productList-YVHYM2AF.mjs} +8 -7
- package/dist/client/rendering/client.mjs +3818 -2234
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +17370 -14360
- package/dist/client/{shop-OFUW7KPN.mjs → shop-UIFX7XRK.mjs} +8 -7
- package/dist/client/spam-protection.mjs +3 -5
- package/dist/preview-next/before-render.mjs +40 -0
- package/dist/preview-next/client/runtime.css +1 -1
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +40 -0
- package/dist/{sdk-runtime-EEMNSB7J.css → sdk-runtime-JD4A6SU6.css} +1 -1
- package/dist/{sdk-runtime-2GIX6I7X.mjs → sdk-runtime-ZENAOYMN.mjs} +6 -6
- package/dist/server/components.mjs +13473 -11321
- package/dist/server/config-validation.mjs +7017 -5489
- package/dist/server/config.mjs +7017 -5489
- package/dist/server/data.mjs +7295 -5669
- package/dist/server/index.mjs +149 -56
- package/dist/server/next.mjs +14431 -12060
- package/dist/server/page-converter.mjs +8062 -5399
- package/dist/server/prebuild.mjs +2 -1
- package/dist/server/rendering/server.mjs +13510 -11263
- package/dist/server/rendering.mjs +13613 -11293
- package/dist/server/routing.mjs +30919 -29206
- package/dist/server/server.mjs +27669 -25919
- package/dist/server/theme-bridge.mjs +1288 -146
- package/dist/server/theme.mjs +221 -131
- package/dist/styles/index.css +416 -96
- package/package.json +16 -16
- 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
|
-
}> |
|
|
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 {};
|
|
@@ -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[];
|