@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
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { SdkPullEventSeries, SdkEventUpsertPricingInput, SdkEventUpsertScheduleInput } from './sdkContracts';
|
|
2
|
+
import { type SdkEventPricing, type SdkEventPricingIssue } from './sdk-event-pricing';
|
|
3
|
+
import { type ClassifySdkEventScheduleOptions, type SdkEventCanonicalSchedule, type SdkEventScheduleInput, type SdkEventScheduleIssue } from './sdk-event-schedule';
|
|
4
|
+
export type SdkEventUpsertBody = Readonly<{
|
|
5
|
+
identifier: string;
|
|
6
|
+
title: string;
|
|
7
|
+
slug: string;
|
|
8
|
+
status?: SdkPullEventSeries['status'];
|
|
9
|
+
visibility?: SdkPullEventSeries['visibility'];
|
|
10
|
+
schedule: SdkEventUpsertScheduleInput;
|
|
11
|
+
capacity?: number | null;
|
|
12
|
+
pricing?: SdkEventUpsertPricingInput;
|
|
13
|
+
venueRef?: string | null;
|
|
14
|
+
categoryRef?: string | null;
|
|
15
|
+
content?: SdkPullEventSeries['content'];
|
|
16
|
+
formRef?: string | null;
|
|
17
|
+
settings?: Record<string, unknown>;
|
|
18
|
+
presentation?: Record<string, unknown> | null;
|
|
19
|
+
tags?: string[];
|
|
20
|
+
}>;
|
|
21
|
+
export type ValidatedSdkEventUpsertInput = Omit<SdkEventUpsertBody, 'schedule' | 'pricing'> & Readonly<{
|
|
22
|
+
schedule: SdkEventCanonicalSchedule;
|
|
23
|
+
pricing?: SdkEventPricing;
|
|
24
|
+
}>;
|
|
25
|
+
export type SdkEventUpsertParseInput = Omit<SdkEventUpsertBody, 'schedule' | 'pricing'> & Readonly<{
|
|
26
|
+
schedule: SdkEventScheduleInput;
|
|
27
|
+
pricing?: unknown;
|
|
28
|
+
}>;
|
|
29
|
+
export type SdkEventUpsertValidationIssue = Readonly<{
|
|
30
|
+
source: 'schedule';
|
|
31
|
+
path: readonly string[];
|
|
32
|
+
message: string;
|
|
33
|
+
issue: SdkEventScheduleIssue;
|
|
34
|
+
}> | Readonly<{
|
|
35
|
+
source: 'pricing';
|
|
36
|
+
path: readonly string[];
|
|
37
|
+
message: string;
|
|
38
|
+
issue: SdkEventPricingIssue;
|
|
39
|
+
}>;
|
|
40
|
+
export type SdkEventUpsertValidationResult = Readonly<{
|
|
41
|
+
ok: true;
|
|
42
|
+
value: ValidatedSdkEventUpsertInput;
|
|
43
|
+
}> | Readonly<{
|
|
44
|
+
ok: false;
|
|
45
|
+
issues: readonly SdkEventUpsertValidationIssue[];
|
|
46
|
+
}>;
|
|
47
|
+
export type ParseSdkEventUpsertInputOptions = Readonly<{
|
|
48
|
+
schedule?: ClassifySdkEventScheduleOptions;
|
|
49
|
+
}>;
|
|
50
|
+
export declare function parseSdkEventUpsertInput(input: SdkEventUpsertParseInput, options?: ParseSdkEventUpsertInputOptions): SdkEventUpsertValidationResult;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { FieldDefinition, FieldDefinitionInput, SdkCustomBlock, SdkCustomBlockInput, SiteFooterContent, Theme } from
|
|
2
|
-
import type { LinkPayload } from
|
|
1
|
+
import type { FieldDefinition, FieldDefinitionInput, SdkCustomBlock, SdkCustomBlockInput, SiteFooterContent, Theme } from '../../blocks/src/index';
|
|
2
|
+
import type { LinkPayload } from './navigation/types';
|
|
3
|
+
import type { SdkEventPricing, SdkEventPricingInput } from './sdk-event-pricing';
|
|
3
4
|
/**
|
|
4
5
|
* SDK Site Configuration Types
|
|
5
6
|
*
|
|
@@ -26,12 +27,12 @@ export interface SdkSectionOptionsConfig {
|
|
|
26
27
|
backgroundColor?: boolean;
|
|
27
28
|
backgroundImage?: boolean;
|
|
28
29
|
backgroundGradient?: boolean;
|
|
29
|
-
spacing?: (
|
|
30
|
+
spacing?: ('compact' | 'default' | 'spacious')[] | boolean;
|
|
30
31
|
textColor?: boolean;
|
|
31
32
|
}
|
|
32
33
|
export interface SdkContainerOptionsConfig {
|
|
33
|
-
maxWidth?: (
|
|
34
|
-
alignment?: (
|
|
34
|
+
maxWidth?: ('narrow' | 'default' | 'wide' | 'full')[] | boolean;
|
|
35
|
+
alignment?: ('left' | 'center' | 'right')[] | boolean;
|
|
35
36
|
}
|
|
36
37
|
export interface SdkSiteStyleConfig {
|
|
37
38
|
sectionBackgrounds?: SdkSectionBackground[];
|
|
@@ -76,7 +77,7 @@ export interface SdkContentTypeConfig {
|
|
|
76
77
|
key: string;
|
|
77
78
|
fields: unknown[];
|
|
78
79
|
ordering?: {
|
|
79
|
-
mode?:
|
|
80
|
+
mode?: 'default' | 'manual';
|
|
80
81
|
};
|
|
81
82
|
template?: SdkContentTypeTemplateConfig | null;
|
|
82
83
|
}
|
|
@@ -88,7 +89,7 @@ export interface SdkContentConfig {
|
|
|
88
89
|
settings?: unknown;
|
|
89
90
|
}
|
|
90
91
|
export type SdkWorkflowManualTrigger = {
|
|
91
|
-
type:
|
|
92
|
+
type: 'manual';
|
|
92
93
|
};
|
|
93
94
|
export type SdkWorkflowEntryDraftUpdatedCondition = Readonly<{
|
|
94
95
|
field: string;
|
|
@@ -98,7 +99,7 @@ export type SdkWorkflowEntryDraftUpdatedCondition = Readonly<{
|
|
|
98
99
|
isEmpty: boolean;
|
|
99
100
|
}>;
|
|
100
101
|
export type SdkWorkflowEntryDraftUpdatedTrigger = {
|
|
101
|
-
type:
|
|
102
|
+
type: 'entry.draft.updated';
|
|
102
103
|
when: SdkWorkflowEntryDraftUpdatedCondition[];
|
|
103
104
|
};
|
|
104
105
|
export type SdkWorkflowTrigger = SdkWorkflowManualTrigger | SdkWorkflowEntryDraftUpdatedTrigger;
|
|
@@ -115,9 +116,9 @@ export interface SdkWorkflowConfig {
|
|
|
115
116
|
triggers: SdkWorkflowTrigger[];
|
|
116
117
|
confirmation?: SdkWorkflowConfirmation;
|
|
117
118
|
}
|
|
118
|
-
export type DashboardSiteRole =
|
|
119
|
+
export type DashboardSiteRole = 'administrator' | 'editor' | 'team_member';
|
|
119
120
|
export interface DashboardNavVisibilityConfig {
|
|
120
|
-
mode?:
|
|
121
|
+
mode?: 'augment' | 'restrict';
|
|
121
122
|
allowIds?: string[];
|
|
122
123
|
denyIds?: string[];
|
|
123
124
|
}
|
|
@@ -160,13 +161,13 @@ export interface RiverbankSiteConfig {
|
|
|
160
161
|
content?: SdkContentConfig;
|
|
161
162
|
contentDir?: string;
|
|
162
163
|
sync?: {
|
|
163
|
-
existingEntries?:
|
|
164
|
+
existingEntries?: 'skip' | 'update';
|
|
164
165
|
};
|
|
165
166
|
deploy?: {
|
|
166
167
|
verifyCommand?: string;
|
|
167
168
|
prebuildOutput?: string;
|
|
168
169
|
};
|
|
169
|
-
themeSource?:
|
|
170
|
+
themeSource?: 'local' | 'cms';
|
|
170
171
|
activeTheme?: string;
|
|
171
172
|
enablePortal?: boolean;
|
|
172
173
|
dashboard?: DashboardConfig;
|
|
@@ -177,7 +178,7 @@ export interface RiverbankSiteConfig {
|
|
|
177
178
|
* This is looser than RiverbankSiteConfig (which represents stored/returned config),
|
|
178
179
|
* allowing field defaults to be omitted in custom block manifests.
|
|
179
180
|
*/
|
|
180
|
-
export interface RiverbankSiteConfigInput extends Omit<RiverbankSiteConfig,
|
|
181
|
+
export interface RiverbankSiteConfigInput extends Omit<RiverbankSiteConfig, 'customBlocks' | 'blockFieldExtensions'> {
|
|
181
182
|
customBlocks?: SdkCustomBlockInput[];
|
|
182
183
|
blockFieldExtensions?: SdkBlockFieldExtensionsInputMap;
|
|
183
184
|
}
|
|
@@ -283,7 +284,7 @@ export interface SdkMediaUploadUrlResponse {
|
|
|
283
284
|
}
|
|
284
285
|
export interface SdkMediaFinalizeUploadResponse {
|
|
285
286
|
storagePath: string;
|
|
286
|
-
status:
|
|
287
|
+
status: 'created' | 'exists';
|
|
287
288
|
assetId: string;
|
|
288
289
|
identifier: string | null;
|
|
289
290
|
}
|
|
@@ -321,7 +322,7 @@ export interface SdkPullPage {
|
|
|
321
322
|
identifier: string;
|
|
322
323
|
title: string;
|
|
323
324
|
path: string;
|
|
324
|
-
status:
|
|
325
|
+
status: 'draft' | 'published';
|
|
325
326
|
hasUnpublishedChanges: boolean;
|
|
326
327
|
updatedAt: string;
|
|
327
328
|
createdAt: string;
|
|
@@ -476,13 +477,13 @@ export interface SdkPullEventSeries {
|
|
|
476
477
|
*
|
|
477
478
|
* IMPORTANT: This must be roundtrip-safe for SDK pull -> push workflows.
|
|
478
479
|
*/
|
|
479
|
-
status:
|
|
480
|
+
status: 'draft' | 'active' | 'archived' | 'cancelled' | 'completed';
|
|
480
481
|
/**
|
|
481
482
|
* Mirrors `event_series.visibility` from the bookings system.
|
|
482
483
|
*
|
|
483
484
|
* IMPORTANT: This must be roundtrip-safe for SDK pull -> push workflows.
|
|
484
485
|
*/
|
|
485
|
-
visibility:
|
|
486
|
+
visibility: 'private' | 'public' | 'unlisted';
|
|
486
487
|
schedule: {
|
|
487
488
|
recurrenceRule: string | null;
|
|
488
489
|
/** Date used for the first occurrence; required for one-off SDK-managed events. */
|
|
@@ -491,14 +492,7 @@ export interface SdkPullEventSeries {
|
|
|
491
492
|
durationMinutes: number;
|
|
492
493
|
};
|
|
493
494
|
capacity: number | null;
|
|
494
|
-
pricing:
|
|
495
|
-
requiresPayment: boolean;
|
|
496
|
-
priceAmount: number | null;
|
|
497
|
-
priceCurrency: string | null;
|
|
498
|
-
priceDisplay: string | null;
|
|
499
|
-
acceptsPasses: boolean;
|
|
500
|
-
acceptsMemberships: boolean;
|
|
501
|
-
};
|
|
495
|
+
pricing: SdkEventPricing;
|
|
502
496
|
venueRef: string | null;
|
|
503
497
|
categoryRef: string | null;
|
|
504
498
|
content: {
|
|
@@ -515,6 +509,33 @@ export interface SdkPullEventSeries {
|
|
|
515
509
|
createdAt: string;
|
|
516
510
|
contentUpdatedAt: string | null;
|
|
517
511
|
}
|
|
512
|
+
export type SdkEventCanonicalScheduleInput = {
|
|
513
|
+
recurrenceRule: string | null;
|
|
514
|
+
/** Date used for the first occurrence; required for one-off SDK-managed events. */
|
|
515
|
+
startDate?: string | null;
|
|
516
|
+
defaultStartTime: string;
|
|
517
|
+
durationMinutes: number;
|
|
518
|
+
};
|
|
519
|
+
export type SdkEventStartEndScheduleInput = {
|
|
520
|
+
/** Start/end schedules are currently supported for one-off SDK-managed events only. */
|
|
521
|
+
recurrenceRule?: null;
|
|
522
|
+
/** ISO datetime. Local datetime strings are treated as event-local wall time. */
|
|
523
|
+
startsAt: string;
|
|
524
|
+
/** ISO datetime. Must be after startsAt and no more than the shared event duration maximum. */
|
|
525
|
+
endsAt: string;
|
|
526
|
+
durationMinutes?: never;
|
|
527
|
+
};
|
|
528
|
+
export type SdkEventStartDurationScheduleInput = {
|
|
529
|
+
/** Start/duration schedules are currently supported for one-off SDK-managed events only. */
|
|
530
|
+
recurrenceRule?: null;
|
|
531
|
+
/** ISO datetime. Local datetime strings are treated as event-local wall time. */
|
|
532
|
+
startsAt: string;
|
|
533
|
+
/** Must be no more than the shared event duration maximum. */
|
|
534
|
+
durationMinutes: number;
|
|
535
|
+
endsAt?: never;
|
|
536
|
+
};
|
|
537
|
+
export type SdkEventUpsertScheduleInput = SdkEventCanonicalScheduleInput | SdkEventStartEndScheduleInput | SdkEventStartDurationScheduleInput;
|
|
538
|
+
export type SdkEventUpsertPricingInput = SdkEventPricingInput;
|
|
518
539
|
export interface SdkPullEventsResponse {
|
|
519
540
|
events: SdkPullEventSeries[];
|
|
520
541
|
meta: SdkPullMeta;
|
|
@@ -531,8 +552,8 @@ export interface SdkPullCourseRun {
|
|
|
531
552
|
identifier: string;
|
|
532
553
|
title: string;
|
|
533
554
|
slug: string;
|
|
534
|
-
status:
|
|
535
|
-
visibility:
|
|
555
|
+
status: 'draft' | 'active' | 'archived' | 'cancelled' | 'completed';
|
|
556
|
+
visibility: 'private' | 'public' | 'unlisted';
|
|
536
557
|
venueRef: string | null;
|
|
537
558
|
categoryRef: string | null;
|
|
538
559
|
formRef: string | null;
|
|
@@ -552,7 +573,7 @@ export interface SdkPullCoursesResponse {
|
|
|
552
573
|
meta: SdkPullMeta;
|
|
553
574
|
}
|
|
554
575
|
export interface SdkCourseSessionConflict {
|
|
555
|
-
code:
|
|
576
|
+
code: 'course_sessions_enrolled_conflict';
|
|
556
577
|
identifier: string;
|
|
557
578
|
enrollmentCount: number;
|
|
558
579
|
message: string;
|
|
@@ -561,9 +582,21 @@ export interface SdkPulledEntry {
|
|
|
561
582
|
identifier: string;
|
|
562
583
|
title: string;
|
|
563
584
|
data: Record<string, unknown>;
|
|
564
|
-
status:
|
|
585
|
+
status: 'draft' | 'published';
|
|
565
586
|
hasUnpublishedChanges: boolean;
|
|
566
587
|
slug?: string;
|
|
588
|
+
blocks?: SdkEntrySlotBlocks;
|
|
589
|
+
}
|
|
590
|
+
export interface SdkEntrySlotBlock {
|
|
591
|
+
identifier: string | null;
|
|
592
|
+
kind: string;
|
|
593
|
+
content: Record<string, unknown>;
|
|
594
|
+
}
|
|
595
|
+
export type SdkEntrySlotBlocks = Record<string, SdkEntrySlotBlock[]>;
|
|
596
|
+
export interface SdkEntryUpsertSlotBlock {
|
|
597
|
+
identifier?: string | null;
|
|
598
|
+
kind: string;
|
|
599
|
+
content: Record<string, unknown>;
|
|
567
600
|
}
|
|
568
601
|
export interface SdkPullEntryTimestamps {
|
|
569
602
|
createdAt: string;
|
|
@@ -610,7 +643,7 @@ export interface SdkManagementPage {
|
|
|
610
643
|
identifier: string;
|
|
611
644
|
title: string;
|
|
612
645
|
path: string;
|
|
613
|
-
status:
|
|
646
|
+
status: 'draft' | 'published';
|
|
614
647
|
hasUnpublishedChanges: boolean;
|
|
615
648
|
createdAt: string;
|
|
616
649
|
updatedAt: string;
|
|
@@ -633,12 +666,13 @@ export interface SdkManagementEntry {
|
|
|
633
666
|
title: string;
|
|
634
667
|
data: Record<string, unknown>;
|
|
635
668
|
publishedData?: Record<string, unknown> | null;
|
|
636
|
-
status:
|
|
669
|
+
status: 'draft' | 'published';
|
|
637
670
|
hasUnpublishedChanges: boolean;
|
|
638
671
|
createdAt: string;
|
|
639
672
|
updatedAt: string;
|
|
640
673
|
publishedAt: string | null;
|
|
641
674
|
manualOrder: number;
|
|
675
|
+
blocks?: SdkEntrySlotBlocks;
|
|
642
676
|
}
|
|
643
677
|
export type SdkManagementForm = SdkPullForm & {
|
|
644
678
|
id: string;
|
|
@@ -669,10 +703,10 @@ export interface SdkReorderResponse {
|
|
|
669
703
|
reordered: true;
|
|
670
704
|
}
|
|
671
705
|
export interface SdkUpsertEntryResponse {
|
|
672
|
-
entry: Omit<SdkManagementEntry,
|
|
706
|
+
entry: Omit<SdkManagementEntry, 'publishedData'>;
|
|
673
707
|
}
|
|
674
708
|
export interface SdkPublishOrUnpublishEntryResponse {
|
|
675
|
-
entry: Omit<SdkManagementEntry,
|
|
709
|
+
entry: Omit<SdkManagementEntry, 'publishedData'>;
|
|
676
710
|
}
|
|
677
711
|
export interface SdkListEntriesResponse {
|
|
678
712
|
items: SdkManagementEntry[];
|
|
@@ -18,6 +18,19 @@ export type MediaUsageLocation = {
|
|
|
18
18
|
blockKind: string;
|
|
19
19
|
blockIdentifier: string | null;
|
|
20
20
|
stage: "draft" | "published";
|
|
21
|
+
} | {
|
|
22
|
+
kind: "entrySlotBlock";
|
|
23
|
+
siteId: string;
|
|
24
|
+
entryId: string;
|
|
25
|
+
entryTitle: string;
|
|
26
|
+
typeKey: string;
|
|
27
|
+
routeDraftPath: string | null;
|
|
28
|
+
routePublishedPath: string | null;
|
|
29
|
+
slotKey: string;
|
|
30
|
+
blockId: string;
|
|
31
|
+
blockKind: string;
|
|
32
|
+
blockIdentifier: string | null;
|
|
33
|
+
stage: "draft" | "published";
|
|
21
34
|
} | {
|
|
22
35
|
kind: "contentEntry";
|
|
23
36
|
siteId: string;
|
|
@@ -1,18 +1,25 @@
|
|
|
1
|
-
import type { Theme } from
|
|
2
|
-
import type { APIEndpoint } from
|
|
3
|
-
import type { AdminCreateSiteRequest, AdminCreateSiteResponse, AdminDeletePriceOverrideRequest, AdminDeletePriceOverrideResponse, AdminDeleteSiteResponse, AdminGetPriceOverrideQuery, AdminGetPriceOverrideResponse, AdminUpsertPriceOverrideRequest, AdminUpsertPriceOverrideResponse } from
|
|
4
|
-
import type { MutableCourseStatus } from
|
|
5
|
-
import type { ListCustomBlocksResponse, CreateCustomBlockRequest, CreateCustomBlockResponse, DeleteCustomBlockResponse, GetCustomBlockResponse, SdkWorkflowRunStatusCallbackRequest, SdkWorkflowRunStatusCallbackResponse, UpdateCustomBlockRequest, UpdateCustomBlockResponse } from
|
|
6
|
-
import type { ContentTypeRecord, CreateContentTypeRequest, CreateContentTypeResponse, DeleteContentTypeResponse, DuplicateContentTypeResponse, ListContentTypesResponse, UpdateContentTypeRequest, UpdateContentTypeResponse } from
|
|
7
|
-
import type { CheckRedirectQuery, CheckRedirectResponse, CreateRedirectRuleRequest, CreateRedirectRuleResponse, DeleteRedirectRuleResponse, ListRedirectRulesResponse } from
|
|
8
|
-
import type { CreateManagementKeyRequest, CreateManagementKeyResponse, CreateSiteApiKeyRequest, CreateSiteApiKeyResponse, CreateSitePreviewKeyResponse, CreateWebhookRequest, CreateWebhookResponse, DeleteBackupUploadRequest, DeleteBackupUploadResponse, DeleteWebhookResponse, GetSiteApiKeyAccessLogsResponse, GetSitePreviewKeyResponse, GetWebhookResponse, ImportBackupAsNewSiteRequest, ImportBackupAsNewSiteResponse, ImportSiteBackupRequest, ListManagementKeysResponse, ListSiteApiKeysResponse, ListWebhooksResponse, RevokeManagementKeyRequest, RevokeManagementKeyResponse, RevokeSiteApiKeyResponse, SdkDeploymentHealthResponse, SetupSdkDeploymentRevalidationWebhookRequest, SetupSdkDeploymentRevalidationWebhookResponse, SetupSdkRevalidationWebhookRequest, SetupSdkRevalidationWebhookResponse, UpdateWebhookRequest, UpdateWebhookResponse, BackupImportResponse, BackupPreviewRequest, BackupPreviewResponse, CreateBackupUploadUrlRequest, CreateBackupUploadUrlResponse } from
|
|
9
|
-
import type { GetSiteInspirationAnalysisResponse, ListSiteInspirationAnalysesResponse } from
|
|
10
|
-
import type { ListGscPropertiesAdminResponse, AuthStatusResponse, CronAppointmentRemindersResponse, CronBillingStatusResponse, CronEventFeedbackEmailsResponse, CronEventOccurrencesResponse, CronEventRemindersResponse, CronMediaJobsQuery, CronMediaJobsResponse, CronNewsletterSendResponse, CronPaymentReconciliationResponse, CronSeoIngestResponse, CronWaitlistExpiryResponse } from
|
|
11
|
-
import type { ApplySiteStyleSelectionBody, ApplySiteStyleSelectionResponse } from
|
|
12
|
-
import type { ManagementMediaAsset, MediaResolveResponse, PushSdkConfigRequest, PushSdkConfigResponse, SdkBackfillIdentifiersResult, SdkGetCourseResponse, SdkGetEntryResponse, SdkGetEventCategoryResponse, SdkGetEventResponse, SdkGetFormResponse, SdkGetVenueResponse, SdkListCoursesResponse, SdkListEntriesResponse, SdkListEventCategoriesResponse, SdkListEventsResponse, SdkListFormsResponse, SdkListVenuesResponse, SdkMediaFinalizeUploadResponse, SdkMediaUploadUrlResponse, SdkPageResponse, SdkPublishOrUnpublishEntryResponse, SdkPullContentTypesResponse, SdkPullCourseProgram, SdkPullCourseSession, SdkPullCoursesResponse, SdkPullEntriesAllResponse, SdkPullEntriesByTypeResponse, SdkPullEntriesResponse, SdkPullEventCategoriesResponse, SdkPullEventsResponse,
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
1
|
+
import type { Theme } from '../../blocks/src/index';
|
|
2
|
+
import type { APIEndpoint } from './apiEndpointTypes';
|
|
3
|
+
import type { AdminCreateSiteRequest, AdminCreateSiteResponse, AdminDeletePriceOverrideRequest, AdminDeletePriceOverrideResponse, AdminDeleteSiteResponse, AdminGetPriceOverrideQuery, AdminGetPriceOverrideResponse, AdminUpsertPriceOverrideRequest, AdminUpsertPriceOverrideResponse } from './accessAdmin';
|
|
4
|
+
import type { MutableCourseStatus } from './courses';
|
|
5
|
+
import type { ListCustomBlocksResponse, CreateCustomBlockRequest, CreateCustomBlockResponse, DeleteCustomBlockResponse, GetCustomBlockResponse, SdkWorkflowRunStatusCallbackRequest, SdkWorkflowRunStatusCallbackResponse, UpdateCustomBlockRequest, UpdateCustomBlockResponse } from './contentRuntime';
|
|
6
|
+
import type { ContentTypeRecord, CreateContentTypeRequest, CreateContentTypeResponse, DeleteContentTypeResponse, DuplicateContentTypeResponse, ListContentTypesResponse, UpdateContentTypeRequest, UpdateContentTypeResponse } from './contentTypes';
|
|
7
|
+
import type { CheckRedirectQuery, CheckRedirectResponse, CreateRedirectRuleRequest, CreateRedirectRuleResponse, DeleteRedirectRuleResponse, ListRedirectRulesResponse } from './redirects';
|
|
8
|
+
import type { CreateManagementKeyRequest, CreateManagementKeyResponse, CreateSiteApiKeyRequest, CreateSiteApiKeyResponse, CreateSitePreviewKeyResponse, CreateWebhookRequest, CreateWebhookResponse, DeleteBackupUploadRequest, DeleteBackupUploadResponse, DeleteWebhookResponse, GetSiteApiKeyAccessLogsResponse, GetSitePreviewKeyResponse, GetWebhookResponse, ImportBackupAsNewSiteRequest, ImportBackupAsNewSiteResponse, ImportSiteBackupRequest, ListManagementKeysResponse, ListSiteApiKeysResponse, ListWebhooksResponse, RevokeManagementKeyRequest, RevokeManagementKeyResponse, RevokeSiteApiKeyResponse, SdkDeploymentHealthResponse, SetupSdkDeploymentRevalidationWebhookRequest, SetupSdkDeploymentRevalidationWebhookResponse, SetupSdkRevalidationWebhookRequest, SetupSdkRevalidationWebhookResponse, UpdateWebhookRequest, UpdateWebhookResponse, BackupImportResponse, BackupPreviewRequest, BackupPreviewResponse, CreateBackupUploadUrlRequest, CreateBackupUploadUrlResponse } from './siteInfrastructure';
|
|
9
|
+
import type { GetSiteInspirationAnalysisResponse, ListSiteInspirationAnalysesResponse } from './siteGeneration';
|
|
10
|
+
import type { ListGscPropertiesAdminResponse, AuthStatusResponse, CronAppointmentRemindersResponse, CronBillingStatusResponse, CronEventFeedbackEmailsResponse, CronEventOccurrencesResponse, CronEventRemindersResponse, CronMediaJobsQuery, CronMediaJobsResponse, CronNewsletterSendResponse, CronPaymentReconciliationResponse, CronSeoIngestResponse, CronWaitlistExpiryResponse } from './siteOperations';
|
|
11
|
+
import type { ApplySiteStyleSelectionBody, ApplySiteStyleSelectionResponse } from './siteRuntimeEndpoints';
|
|
12
|
+
import type { ManagementMediaAsset, MediaResolveResponse, PushSdkConfigRequest, PushSdkConfigResponse, SdkBackfillIdentifiersResult, SdkGetCourseResponse, SdkGetEntryResponse, SdkGetEventCategoryResponse, SdkGetEventResponse, SdkGetFormResponse, SdkGetVenueResponse, SdkListCoursesResponse, SdkListEntriesResponse, SdkListEventCategoriesResponse, SdkListEventsResponse, SdkListFormsResponse, SdkListVenuesResponse, SdkMediaFinalizeUploadResponse, SdkMediaUploadUrlResponse, SdkPageResponse, SdkEntryUpsertSlotBlock, SdkPublishOrUnpublishEntryResponse, SdkPullContentTypesResponse, SdkPullCourseProgram, SdkPullCourseSession, SdkPullCoursesResponse, SdkPullEntriesAllResponse, SdkPullEntriesByTypeResponse, SdkPullEntriesResponse, SdkPullEventCategoriesResponse, SdkPullEventsResponse, SdkPullFooterResponse, SdkPullFormSchema, SdkPullFormsResponse, SdkPullFormSettings, SdkPullNavigationResponse, SdkPullPagesResponse, SdkPullSettings, SdkPullSettingsResponse, SdkPullSiteInfoResponse, SdkPullThemeResponse, SdkPullVenue, SdkPullVenuesResponse, SdkUpdateSettingsResponse, SdkUpsertBlockResponse, SdkUpsertCourseResponse, SdkUpsertEntryResponse, SdkUpsertEventCategoryResponse, SdkUpsertEventResponse, SdkUpsertFooterResponse, SdkUpsertFormResponse, SdkUpsertNavigationMenuResponse, SdkUpsertThemeResponse, SdkUpsertVenueResponse } from './sdkContracts';
|
|
13
|
+
import type { SdkEventUpsertBody } from './sdk-event-upsert';
|
|
14
|
+
import type { StripeConnectDisconnectResponse, StripeConnectStartResponse, StripeConnectStatusResponse, UpdateStripeAutomaticTaxRequest } from './billing';
|
|
15
|
+
import type { NavigationLinkInput } from './navigation/types';
|
|
16
|
+
import type { JsonValue } from './shared-contracts';
|
|
17
|
+
export type SdkUpsertNavigationItemInput = Readonly<{
|
|
18
|
+
label: string;
|
|
19
|
+
isCta?: boolean;
|
|
20
|
+
link?: NavigationLinkInput;
|
|
21
|
+
children?: readonly SdkUpsertNavigationItemInput[];
|
|
22
|
+
}>;
|
|
16
23
|
/**
|
|
17
24
|
* Site platform endpoints cover admin/configuration surfaces: redirects, webhooks,
|
|
18
25
|
* keys, SDK management, content-type CRUD, backup flows, and site-level admin tools.
|
|
@@ -268,12 +275,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
268
275
|
name: string;
|
|
269
276
|
isPrimary?: boolean;
|
|
270
277
|
isFooter?: boolean;
|
|
271
|
-
items:
|
|
272
|
-
label: string;
|
|
273
|
-
isCta?: boolean;
|
|
274
|
-
link?: NavigationLinkInput;
|
|
275
|
-
children?: unknown[];
|
|
276
|
-
}>;
|
|
278
|
+
items: readonly SdkUpsertNavigationItemInput[];
|
|
277
279
|
}, {
|
|
278
280
|
siteId: string;
|
|
279
281
|
}, SdkUpsertNavigationMenuResponse>;
|
|
@@ -328,8 +330,8 @@ export type SitePlatformAPIEndpoints = {
|
|
|
328
330
|
description?: string | null;
|
|
329
331
|
timezone?: string | null;
|
|
330
332
|
capacity?: number | null;
|
|
331
|
-
address?: SdkPullVenue[
|
|
332
|
-
location?: SdkPullVenue[
|
|
333
|
+
address?: SdkPullVenue['address'];
|
|
334
|
+
location?: SdkPullVenue['location'];
|
|
333
335
|
mapEmbed?: string | null;
|
|
334
336
|
}, {
|
|
335
337
|
siteId: string;
|
|
@@ -369,23 +371,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
369
371
|
sdkListEvents: APIEndpoint<never, {
|
|
370
372
|
siteId: string;
|
|
371
373
|
}, SdkListEventsResponse>;
|
|
372
|
-
sdkUpsertEvent: APIEndpoint<{
|
|
373
|
-
identifier: string;
|
|
374
|
-
title: string;
|
|
375
|
-
slug: string;
|
|
376
|
-
status?: SdkPullEventSeries["status"];
|
|
377
|
-
visibility?: SdkPullEventSeries["visibility"];
|
|
378
|
-
schedule: SdkPullEventSeries["schedule"];
|
|
379
|
-
capacity?: number | null;
|
|
380
|
-
pricing?: Partial<SdkPullEventSeries["pricing"]>;
|
|
381
|
-
venueRef?: string | null;
|
|
382
|
-
categoryRef?: string | null;
|
|
383
|
-
content?: SdkPullEventSeries["content"];
|
|
384
|
-
formRef?: string | null;
|
|
385
|
-
settings?: Record<string, unknown>;
|
|
386
|
-
presentation?: Record<string, unknown> | null;
|
|
387
|
-
tags?: string[];
|
|
388
|
-
}, {
|
|
374
|
+
sdkUpsertEvent: APIEndpoint<SdkEventUpsertBody, {
|
|
389
375
|
siteId: string;
|
|
390
376
|
}, SdkUpsertEventResponse>;
|
|
391
377
|
sdkGetEvent: APIEndpoint<never, {
|
|
@@ -406,7 +392,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
406
392
|
title: string;
|
|
407
393
|
slug: string;
|
|
408
394
|
status?: MutableCourseStatus;
|
|
409
|
-
visibility?:
|
|
395
|
+
visibility?: 'private' | 'public' | 'unlisted';
|
|
410
396
|
venueRef?: string | null;
|
|
411
397
|
categoryRef?: string | null;
|
|
412
398
|
formRef?: string | null;
|
|
@@ -437,6 +423,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
437
423
|
data: Record<string, unknown>;
|
|
438
424
|
slug?: string;
|
|
439
425
|
manualOrder?: number;
|
|
426
|
+
blocks?: Record<string, SdkEntryUpsertSlotBlock[]>;
|
|
440
427
|
}, {
|
|
441
428
|
siteId: string;
|
|
442
429
|
}, SdkUpsertEntryResponse>;
|
|
@@ -470,7 +457,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
470
457
|
}, SdkPublishOrUnpublishEntryResponse>;
|
|
471
458
|
sdkUpdateSettings: APIEndpoint<{
|
|
472
459
|
homepageId?: string | null;
|
|
473
|
-
seoDefaults?: SdkPullSettings[
|
|
460
|
+
seoDefaults?: SdkPullSettings['seoDefaults'];
|
|
474
461
|
logoIdentifier?: string | null;
|
|
475
462
|
faviconIdentifier?: string | null;
|
|
476
463
|
}, {
|
|
@@ -8,7 +8,7 @@ import type { APIEndpoint } from './apiEndpointTypes';
|
|
|
8
8
|
import type { AnalyticsReportQuery, AnalyticsReportResponse } from './analytics';
|
|
9
9
|
import type { CreateMediaAssetBody, MediaAssetResponse, MediaAssetFileFilterContract, MediaBulkDeleteResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse } from './media';
|
|
10
10
|
import type { MediaUsageCheckResponse } from './shared-contracts';
|
|
11
|
-
import type { BlockWithContentResponse, BlockListItem, ContentEntryListStage, ListPublishedEntriesResponse, PageDraftRecord, PublishedBlockBaseline, PublishedContentEntryPreviewResponse, PublishedPostPreviewResponse, SdkBlockContent, SdkRuntimeContentByPathResponse, SdkTemplate, SiteBySlugResponse, ThemeGenerationTurn, ThemePreferencesRecord, ThemeRow } from './contentRuntime';
|
|
11
|
+
import type { BlockWithContentResponse, BlockListItem, ContentEntryListStage, EntryPageContentSlotsResponse, ListPublishedEntriesResponse, PageDraftRecord, PublishedBlockBaseline, PublishedContentEntryPreviewResponse, PublishedPostPreviewResponse, SdkBlockContent, SdkRuntimeContentByPathResponse, SdkTemplate, SiteBySlugResponse, ThemeGenerationTurn, ThemePreferencesRecord, ThemeRow } from './contentRuntime';
|
|
12
12
|
import type { GetVersionHistoryResponse, ListVersionHistoryResponse, RestoreVersionHistoryRequest, RestoreVersionHistoryResponse, VersionHistoryListQuery } from './contentVersionHistory';
|
|
13
13
|
import type { CreateInstagramZipUploadUrlRequest, CreateInstagramZipUploadUrlResponse, CreateMediaUploadUrlRequest, CreateMediaUploadUrlResponse, CreateSiteLogoUploadUrlRequest, CreateSiteLogoUploadUrlResponse, InstagramUploadZipRequest, MediaUploadFinalizeRequest, UploadSiteLogoRequest } from './siteInfrastructure';
|
|
14
14
|
import type { DevToolsGetSiteRoleDowngradeQuery, DevToolsImpersonationResponse, DevToolsSeedResponse, DevToolsSetSiteRoleDowngradeRequest, SiteRoleDowngradeState } from './siteOperations';
|
|
@@ -438,6 +438,51 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
438
438
|
stage: 'draft' | 'published';
|
|
439
439
|
optimistic_hash?: string | null;
|
|
440
440
|
}>;
|
|
441
|
+
listEntrySlotBlocks: APIEndpoint<never, {
|
|
442
|
+
siteId: string;
|
|
443
|
+
type: string;
|
|
444
|
+
entryId: string;
|
|
445
|
+
slotKey: string;
|
|
446
|
+
}, {
|
|
447
|
+
blocks: BlockListItem[];
|
|
448
|
+
}>;
|
|
449
|
+
listEntryPageContentSlots: APIEndpoint<never, {
|
|
450
|
+
siteId: string;
|
|
451
|
+
type: string;
|
|
452
|
+
entryId: string;
|
|
453
|
+
}, EntryPageContentSlotsResponse>;
|
|
454
|
+
createEntrySlotBlock: APIEndpoint<{
|
|
455
|
+
kind: string;
|
|
456
|
+
position?: number;
|
|
457
|
+
purpose?: string;
|
|
458
|
+
}, {
|
|
459
|
+
siteId: string;
|
|
460
|
+
type: string;
|
|
461
|
+
entryId: string;
|
|
462
|
+
slotKey: string;
|
|
463
|
+
}, {
|
|
464
|
+
ok: boolean;
|
|
465
|
+
block: Record<string, unknown>;
|
|
466
|
+
}>;
|
|
467
|
+
reorderEntrySlotBlocks: APIEndpoint<{
|
|
468
|
+
blockIds: string[];
|
|
469
|
+
}, {
|
|
470
|
+
siteId: string;
|
|
471
|
+
type: string;
|
|
472
|
+
entryId: string;
|
|
473
|
+
slotKey: string;
|
|
474
|
+
}, {
|
|
475
|
+
ok: boolean;
|
|
476
|
+
}>;
|
|
477
|
+
deleteEntrySlotBlock: APIEndpoint<never, {
|
|
478
|
+
siteId: string;
|
|
479
|
+
type: string;
|
|
480
|
+
entryId: string;
|
|
481
|
+
slotKey: string;
|
|
482
|
+
blockId: string;
|
|
483
|
+
}, {
|
|
484
|
+
ok: boolean;
|
|
485
|
+
}>;
|
|
441
486
|
createBlock: APIEndpoint<{
|
|
442
487
|
kind: string;
|
|
443
488
|
position?: number;
|
|
@@ -138,7 +138,7 @@ type EndpointMethod<E extends keyof APIEndpoints> = E extends keyof typeof API_E
|
|
|
138
138
|
type EndpointBody<E extends keyof APIEndpoints> = APIEndpoints[E] extends APIEndpoint<infer TBody, unknown, unknown> ? TBody : never;
|
|
139
139
|
type StrictBodyPart<E extends keyof APIEndpoints> = EndpointMethod<E> extends "GET" ? {
|
|
140
140
|
body?: never;
|
|
141
|
-
} : [EndpointBody<E>] extends [
|
|
141
|
+
} : [EndpointBody<E>] extends [undefined] ? {
|
|
142
142
|
body?: never;
|
|
143
143
|
} : undefined extends EndpointBody<E> ? {
|
|
144
144
|
body?: Exclude<EndpointBody<E>, undefined>;
|
|
@@ -10,6 +10,11 @@ import type { FormBackend } from './adapter';
|
|
|
10
10
|
* Watch a field path and return its current value.
|
|
11
11
|
* The value updates reactively when the field changes.
|
|
12
12
|
*
|
|
13
|
+
* Keep the path shape stable for the lifetime of the component: a call site
|
|
14
|
+
* should not switch between a single string path and an array of paths. If a
|
|
15
|
+
* UI needs to change watch mode, split that branch into separate components so
|
|
16
|
+
* React hook ordering remains stable.
|
|
17
|
+
*
|
|
13
18
|
* Uses backend's unified interface - no branching on backend.type.
|
|
14
19
|
* Detects RHF backend by presence of backend.form property.
|
|
15
20
|
*
|
|
@@ -19,4 +24,4 @@ import type { FormBackend } from './adapter';
|
|
|
19
24
|
* const statusValue = useBackendWatch(backend, 'status')
|
|
20
25
|
* ```
|
|
21
26
|
*/
|
|
22
|
-
export declare function useBackendWatch(backend: FormBackend, path: string): unknown;
|
|
27
|
+
export declare function useBackendWatch(backend: FormBackend, path: string | readonly string[]): unknown;
|
|
@@ -19,7 +19,7 @@ export interface BlockContextProviderProps {
|
|
|
19
19
|
* Provides block information to child widgets.
|
|
20
20
|
* Typically used by FormRenderer when editing a block.
|
|
21
21
|
*/
|
|
22
|
-
export declare function BlockContextProvider({ blockKind, children }: BlockContextProviderProps):
|
|
22
|
+
export declare function BlockContextProvider({ blockKind, children }: BlockContextProviderProps): React.JSX.Element;
|
|
23
23
|
/**
|
|
24
24
|
* useBlockContext
|
|
25
25
|
*
|
|
@@ -25,7 +25,7 @@ export type DisplayLabelResolverMap = Partial<Record<FieldConfig['type'], Displa
|
|
|
25
25
|
export declare function DisplayLabelResolverProvider({ resolvers, children, }: {
|
|
26
26
|
resolvers: DisplayLabelResolverMap;
|
|
27
27
|
children: React.ReactNode;
|
|
28
|
-
}):
|
|
28
|
+
}): React.JSX.Element;
|
|
29
29
|
/**
|
|
30
30
|
* Access the display label resolver map.
|
|
31
31
|
* Returns an empty map when no provider is present (resolvers are optional).
|
|
@@ -12,7 +12,7 @@ export type FieldPreviewResolverCallContext = {
|
|
|
12
12
|
* For repeater thumbnails, resolvers can return media-like objects
|
|
13
13
|
* (e.g. `{ type: 'image', src: '...' }`) for field types that do not store media directly.
|
|
14
14
|
*/
|
|
15
|
-
export type FieldPreviewResolver = (value: unknown, fieldConfig: FieldConfig, context: FieldPreviewResolverCallContext) => Promise<unknown
|
|
15
|
+
export type FieldPreviewResolver = (value: unknown, fieldConfig: FieldConfig, context: FieldPreviewResolverCallContext) => Promise<unknown>;
|
|
16
16
|
/**
|
|
17
17
|
* Map of field type to preview resolver.
|
|
18
18
|
*/
|
|
@@ -23,7 +23,7 @@ export type FieldPreviewResolverMap = Partial<Record<FieldConfig['type'], FieldP
|
|
|
23
23
|
export declare function FieldPreviewResolverProvider({ resolvers, children, }: {
|
|
24
24
|
resolvers: FieldPreviewResolverMap;
|
|
25
25
|
children: React.ReactNode;
|
|
26
|
-
}):
|
|
26
|
+
}): React.JSX.Element;
|
|
27
27
|
/**
|
|
28
28
|
* Access the field preview resolver map.
|
|
29
29
|
*/
|
|
@@ -34,4 +34,4 @@ export interface ManifestFormProps {
|
|
|
34
34
|
* <ManifestForm manifest={blockManifest} backend={backend} />
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
|
-
export declare function ManifestForm({ manifest, className, role, backend, widgetOverrides, blockKind, showSettingsTrigger, }: ManifestFormProps): import("react
|
|
37
|
+
export declare function ManifestForm({ manifest, className, role, backend, widgetOverrides, blockKind, showSettingsTrigger, }: ManifestFormProps): import("react").JSX.Element | null;
|
|
@@ -6,6 +6,6 @@ type PaletteContextValue = {
|
|
|
6
6
|
export declare function PaletteProvider({ tokens, children }: {
|
|
7
7
|
tokens: PaletteTokens | undefined;
|
|
8
8
|
children: React.ReactNode;
|
|
9
|
-
}):
|
|
9
|
+
}): React.JSX.Element;
|
|
10
10
|
export declare function usePalette(): PaletteContextValue;
|
|
11
11
|
export {};
|
|
@@ -105,6 +105,6 @@ export type SdkConfigProviderProps = {
|
|
|
105
105
|
sdkConfig: SdkConfig | null | undefined;
|
|
106
106
|
children: React.ReactNode;
|
|
107
107
|
};
|
|
108
|
-
export declare function SdkConfigProvider({ sdkConfig, children }: SdkConfigProviderProps):
|
|
108
|
+
export declare function SdkConfigProvider({ sdkConfig, children }: SdkConfigProviderProps): React.JSX.Element;
|
|
109
109
|
export declare function useSdkConfig(): SdkConfigContextValue;
|
|
110
110
|
export {};
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* Handles both ui.hidden flag and conditional visibility based on other field values.
|
|
6
6
|
*/
|
|
7
7
|
import type { BaseFieldConfig } from '../fields/types';
|
|
8
|
-
import type
|
|
9
|
-
export type VisibilityValueReader
|
|
8
|
+
import { type VisibilityValueReader } from './visibleWhen';
|
|
9
|
+
export type { VisibilityValueReader } from './visibleWhen';
|
|
10
|
+
export declare function collectVisibleWhenWatchPaths(field: BaseFieldConfig, path: string): readonly string[];
|
|
10
11
|
export declare function evaluateVisibility(field: BaseFieldConfig, backend: VisibilityValueReader, path: string): boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { FieldVisibleWhen, FieldVisibleWhenPredicate } from '../../../blocks/src/system/manifest/schema';
|
|
2
|
+
export type VisibilityValueReader = {
|
|
3
|
+
getValue: (path: string) => unknown;
|
|
4
|
+
};
|
|
5
|
+
export declare function isVisibleWhenPredicate(visibleWhen: FieldVisibleWhen): visibleWhen is FieldVisibleWhenPredicate;
|
|
6
|
+
export declare function getVisibleWhenPredicates(visibleWhen: FieldVisibleWhen): readonly FieldVisibleWhenPredicate[];
|
|
7
|
+
export declare function evaluateVisibleWhenPredicate(condition: FieldVisibleWhenPredicate, watchedValue: unknown): boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ReactNode } from 'react';
|
|
2
3
|
export type BackgroundColorMode = 'limited' | 'full';
|
|
3
4
|
export type BackgroundColorWidgetProps = {
|
|
@@ -20,4 +21,4 @@ export type BackgroundColorWidgetProps = {
|
|
|
20
21
|
* Otherwise supports 'limited' mode (key shades only) or 'full' mode (all shades).
|
|
21
22
|
* Optionally filters to only show legible colors via filterTokens prop.
|
|
22
23
|
*/
|
|
23
|
-
export declare function BackgroundColorWidget(props: BackgroundColorWidgetProps):
|
|
24
|
+
export declare function BackgroundColorWidget(props: BackgroundColorWidgetProps): React.JSX.Element;
|