@riverbankcms/sdk 0.81.0 → 0.82.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 +65 -3
- package/dist/{PreviewEditorSidebar-O4NDX5TP.css → PreviewEditorSidebar-JA4VIPSZ.css} +1 -1
- package/dist/{PreviewEditorSidebar-RDCMEXIJ.mjs → PreviewEditorSidebar-LHGK6RIO.mjs} +40 -499
- package/dist/{SdkPreviewModeRuntime-PBGALTMK.css → PreviewEditorUI-36T7QYV4.css} +1 -1
- package/dist/{PreviewEditorUI-NYGQ6K7B.mjs → PreviewEditorUI-AXZG2SDC.mjs} +4 -6
- package/dist/{PreviewEditorUI-4JVDBZBS.css → SdkPreviewModeRuntime-FXKI6XNL.css} +1 -1
- package/dist/SdkPreviewModeRuntime-RNVRHFFR.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +838 -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/bookingConfig.d.ts +4 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -3
- package/dist/_dts/api/src/courses.d.ts +1 -1
- package/dist/_dts/api/src/event-destination-policy.d.ts +17 -0
- package/dist/_dts/api/src/index.d.ts +4 -0
- 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/siteGeneration.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -6
- package/dist/_dts/api/src/types.d.ts +1 -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/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 +1 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -16
- 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 +592 -592
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +592 -592
- 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 +592 -592
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +54 -54
- 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 +592 -602
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +592 -604
- package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +3 -0
- 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/manifest/schema.d.ts +71 -56
- 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 +12 -24
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +6 -12
- 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/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/utils.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +12 -5
- 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/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 +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +6 -1
- package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +6 -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/templates/defaults.d.ts +0 -1
- package/dist/_dts/core/src/event-pricing.d.ts +72 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +27 -2
- 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/BlockForm.d.ts +2 -1
- 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/types.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-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/previewCustomizeControlPlan.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 +2 -2
- 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 +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +14 -3
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +2 -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 +5 -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 +4 -4
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +24 -5
- 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/cli/commands/pull-dry-run.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +6 -14
- 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/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/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 +2 -2
- 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 +29 -37
- 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/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/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/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +69 -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 +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +7 -7
- package/dist/_dts/theme-core/src/buttons/types.d.ts +17 -17
- package/dist/_dts/theme-core/src/cards/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +201 -192
- 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/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/schema.d.ts +233 -223
- 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/designState.d.ts +14 -14
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +7 -7
- 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/rawStyleFields.d.ts +2 -0
- 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 +1 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +2 -0
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
- 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-2BUMISSH.mjs} +1 -1
- package/dist/{chunk-3PTVPAT4.mjs → chunk-6FWNF3DJ.mjs} +237 -43
- package/dist/{chunk-E3NZYEKF.mjs → chunk-FIREV57T.mjs} +13 -2
- package/dist/{chunk-3QWQ2MUQ.mjs → chunk-G35HOQEN.mjs} +2997 -2255
- package/dist/{chunk-3VT7LZY2.mjs → chunk-HKB6XVIP.mjs} +2 -2
- package/dist/{chunk-WUHKQBB6.mjs → chunk-XQR6THQJ.mjs} +20801 -17561
- package/dist/cli/index.mjs +3274 -2518
- package/dist/cli/init-docs/content/workflow-custom-block.md +5 -0
- package/dist/client/{accordion-SFIIZWNH.mjs → accordion-G34C45TW.mjs} +2 -2
- package/dist/client/{bookingForm-CFKZVWGA.mjs → bookingForm-BLBVKSAQ.mjs} +12 -12
- package/dist/client/bookings.mjs +40 -41
- package/dist/client/{carousel-ELXWSBLA.mjs → carousel-7ZVTBRMD.mjs} +3 -3
- package/dist/client/{cart-6SSCPYY5.mjs → cart-Q6S6LZUO.mjs} +8 -7
- package/dist/client/{checkout-UFQ34HPV.mjs → checkout-5QJLDE4I.mjs} +8 -7
- package/dist/client/{chunk-G56BSZAM.mjs → chunk-5PQH4Y75.mjs} +3 -3
- package/dist/client/{chunk-PA2LJH2M.mjs → chunk-CHAB5ACD.mjs} +5 -4
- package/dist/client/{chunk-IUEDYLFJ.mjs → chunk-CSZGLBYR.mjs} +1 -1
- package/dist/client/{chunk-3PEDD5KJ.mjs → chunk-DVNUDUVT.mjs} +1 -1
- package/dist/client/{chunk-76JUETXQ.mjs → chunk-EQKYMX4N.mjs} +215 -121
- package/dist/client/{chunk-YLMKMCSJ.mjs → chunk-GFSQNTRW.mjs} +1 -3
- package/dist/client/chunk-L4J5Y62O.mjs +18 -0
- package/dist/client/{chunk-NX6X3GRF.mjs → chunk-RJHTCTCZ.mjs} +226 -188
- package/dist/client/{chunk-7BXX7WXH.mjs → chunk-S3MKFGOG.mjs} +59 -1
- package/dist/client/{chunk-RMWMT3ZD.mjs → chunk-SBBSMFFG.mjs} +1 -1
- package/dist/client/{chunk-TCJS3NY5.mjs → chunk-U2EW7RSR.mjs} +1 -1
- package/dist/client/{chunk-NP47RHIX.mjs → chunk-WJFHDTYF.mjs} +17 -34
- package/dist/client/{chunk-V6XI4M2Q.mjs → chunk-ZF4XEWDM.mjs} +1 -1
- package/dist/client/client.mjs +61332 -60062
- package/dist/client/{courseRegistration-HJIISAAG.mjs → courseRegistration-VUG2JJDB.mjs} +13 -12
- package/dist/client/{eventCalendar-F6YVUCZR.mjs → eventCalendar-E7D2LD4N.mjs} +14 -14
- package/dist/client/{eventCombined-B5DSTIOK.mjs → eventCombined-FUZ2Z3CS.mjs} +14 -14
- package/dist/client/{eventDetails-SEJDDHQC.mjs → eventDetails-QRITJAOW.mjs} +9 -9
- package/dist/client/{eventListing-TPMWIIBO.mjs → eventListing-INMQMJZ5.mjs} +14 -14
- package/dist/client/{eventRegistration-QU6W2PV6.mjs → eventRegistration-TOOJD4WU.mjs} +17 -15
- package/dist/client/{form-LVTYNTDE.mjs → form-BOWN7ZNQ.mjs} +3 -3
- package/dist/client/{headerSection-SO3MFC4U.mjs → headerSection-HFQNZOUU.mjs} +4 -4
- package/dist/client/hooks.mjs +26534 -26159
- package/dist/client/{locationMap-5E5FLAKO.mjs → locationMap-VUZGC7Y5.mjs} +2 -2
- package/dist/client/{newsletterForm-GN32JEBQ.mjs → newsletterForm-X2XQTPCB.mjs} +3 -3
- package/dist/client/{productDetail-Q346KSVR.mjs → productDetail-TA7D2G2B.mjs} +8 -7
- package/dist/client/{productList-DTDMQYGZ.mjs → productList-AZOLOZKM.mjs} +8 -7
- package/dist/client/rendering/client.mjs +1534 -1185
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +10674 -9455
- package/dist/client/{shop-OFUW7KPN.mjs → shop-ZDLO7IIG.mjs} +8 -7
- package/dist/client/spam-protection.mjs +3 -5
- package/dist/preview-next/client/runtime.css +1 -1
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/{sdk-runtime-2GIX6I7X.mjs → sdk-runtime-CTWKNBDQ.mjs} +6 -6
- package/dist/{sdk-runtime-EEMNSB7J.css → sdk-runtime-JD4A6SU6.css} +1 -1
- package/dist/server/components.mjs +7129 -6548
- package/dist/server/config-validation.mjs +26217 -25941
- package/dist/server/config.mjs +26217 -25941
- package/dist/server/data.mjs +26514 -26139
- package/dist/server/index.mjs +108 -56
- package/dist/server/next.mjs +30233 -29506
- package/dist/server/page-converter.mjs +2325 -846
- package/dist/server/prebuild.mjs +2 -1
- package/dist/server/rendering/server.mjs +8133 -7457
- package/dist/server/rendering.mjs +12160 -11484
- package/dist/server/routing.mjs +29684 -29263
- package/dist/server/server.mjs +26525 -26099
- package/dist/server/theme-bridge.mjs +142 -79
- package/dist/server/theme.mjs +129 -130
- package/dist/styles/index.css +132 -68
- package/package.json +16 -16
- package/dist/SdkPreviewModeRuntime-AKCSCZEC.mjs +0 -8
|
@@ -7,6 +7,7 @@ import { z } from 'zod';
|
|
|
7
7
|
import type { ContentConfig, ContentTypeConfig } from './content-types';
|
|
8
8
|
import { TEMPLATE_BINDING_META_PATHS } from './content-types';
|
|
9
9
|
import { type BindingTransformName } from '../contracts/bindings';
|
|
10
|
+
import type { NavigationConfigItemInput } from '../../../api/src/navigation';
|
|
10
11
|
export declare const contentTypeConfigSchema: z.ZodType<ContentTypeConfig>;
|
|
11
12
|
type BindingSourceType = {
|
|
12
13
|
source: 'field';
|
|
@@ -90,229 +91,23 @@ export declare const entryConfigSchema: z.ZodObject<{
|
|
|
90
91
|
metaTitle: z.ZodOptional<z.ZodString>;
|
|
91
92
|
metaDescription: z.ZodOptional<z.ZodString>;
|
|
92
93
|
}, z.core.$strip>;
|
|
93
|
-
export declare const navigationItemConfigSchema: z.ZodType<
|
|
94
|
-
label: string;
|
|
95
|
-
link: {
|
|
96
|
-
kind: 'page';
|
|
97
|
-
identifier: string;
|
|
98
|
-
} | {
|
|
99
|
-
kind: 'entry';
|
|
100
|
-
contentType: string;
|
|
101
|
-
identifier: string;
|
|
102
|
-
} | {
|
|
103
|
-
kind: 'external';
|
|
104
|
-
href: string;
|
|
105
|
-
} | {
|
|
106
|
-
kind: 'url';
|
|
107
|
-
href: string;
|
|
108
|
-
} | {
|
|
109
|
-
kind: 'portal';
|
|
110
|
-
path?: string;
|
|
111
|
-
labels?: {
|
|
112
|
-
loggedOut?: string;
|
|
113
|
-
loggedIn?: string;
|
|
114
|
-
};
|
|
115
|
-
} | {
|
|
116
|
-
kind: 'cart';
|
|
117
|
-
badge: 'show-count' | 'hidden';
|
|
118
|
-
label: {
|
|
119
|
-
kind: 'icon-only';
|
|
120
|
-
} | {
|
|
121
|
-
kind: 'icon-with-label';
|
|
122
|
-
label: string;
|
|
123
|
-
};
|
|
124
|
-
} | {
|
|
125
|
-
kind: 'dropdown';
|
|
126
|
-
};
|
|
127
|
-
isCta?: boolean;
|
|
128
|
-
children?: Array<{
|
|
129
|
-
label: string;
|
|
130
|
-
link: {
|
|
131
|
-
kind: 'page';
|
|
132
|
-
identifier: string;
|
|
133
|
-
} | {
|
|
134
|
-
kind: 'entry';
|
|
135
|
-
contentType: string;
|
|
136
|
-
identifier: string;
|
|
137
|
-
} | {
|
|
138
|
-
kind: 'external';
|
|
139
|
-
href: string;
|
|
140
|
-
} | {
|
|
141
|
-
kind: 'url';
|
|
142
|
-
href: string;
|
|
143
|
-
} | {
|
|
144
|
-
kind: 'portal';
|
|
145
|
-
path?: string;
|
|
146
|
-
labels?: {
|
|
147
|
-
loggedOut?: string;
|
|
148
|
-
loggedIn?: string;
|
|
149
|
-
};
|
|
150
|
-
} | {
|
|
151
|
-
kind: 'cart';
|
|
152
|
-
badge: 'show-count' | 'hidden';
|
|
153
|
-
label: {
|
|
154
|
-
kind: 'icon-only';
|
|
155
|
-
} | {
|
|
156
|
-
kind: 'icon-with-label';
|
|
157
|
-
label: string;
|
|
158
|
-
};
|
|
159
|
-
} | {
|
|
160
|
-
kind: 'dropdown';
|
|
161
|
-
};
|
|
162
|
-
isCta?: boolean;
|
|
163
|
-
children?: unknown[];
|
|
164
|
-
}>;
|
|
165
|
-
}>;
|
|
94
|
+
export declare const navigationItemConfigSchema: z.ZodType<NavigationConfigItemInput>;
|
|
166
95
|
export declare const navigationMenuConfigSchema: z.ZodObject<{
|
|
167
96
|
identifier: z.ZodString;
|
|
168
97
|
name: z.ZodString;
|
|
169
98
|
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
170
99
|
isFooter: z.ZodOptional<z.ZodBoolean>;
|
|
171
|
-
items: z.ZodArray<z.ZodType<{
|
|
100
|
+
items: z.ZodArray<z.ZodType<Readonly<{
|
|
172
101
|
label: string;
|
|
173
|
-
link:
|
|
174
|
-
kind: "page";
|
|
175
|
-
identifier: string;
|
|
176
|
-
} | {
|
|
177
|
-
kind: "entry";
|
|
178
|
-
contentType: string;
|
|
179
|
-
identifier: string;
|
|
180
|
-
} | {
|
|
181
|
-
kind: "external";
|
|
182
|
-
href: string;
|
|
183
|
-
} | {
|
|
184
|
-
kind: "url";
|
|
185
|
-
href: string;
|
|
186
|
-
} | {
|
|
187
|
-
kind: "portal";
|
|
188
|
-
path?: string;
|
|
189
|
-
labels?: {
|
|
190
|
-
loggedOut?: string;
|
|
191
|
-
loggedIn?: string;
|
|
192
|
-
};
|
|
193
|
-
} | {
|
|
194
|
-
kind: "cart";
|
|
195
|
-
badge: "show-count" | "hidden";
|
|
196
|
-
label: {
|
|
197
|
-
kind: "icon-only";
|
|
198
|
-
} | {
|
|
199
|
-
kind: "icon-with-label";
|
|
200
|
-
label: string;
|
|
201
|
-
};
|
|
202
|
-
} | {
|
|
203
|
-
kind: "dropdown";
|
|
204
|
-
};
|
|
102
|
+
link: import("../../../api/src/index").NavigationAuthoringLinkInput;
|
|
205
103
|
isCta?: boolean;
|
|
206
|
-
children?:
|
|
207
|
-
|
|
208
|
-
link: {
|
|
209
|
-
kind: "page";
|
|
210
|
-
identifier: string;
|
|
211
|
-
} | {
|
|
212
|
-
kind: "entry";
|
|
213
|
-
contentType: string;
|
|
214
|
-
identifier: string;
|
|
215
|
-
} | {
|
|
216
|
-
kind: "external";
|
|
217
|
-
href: string;
|
|
218
|
-
} | {
|
|
219
|
-
kind: "url";
|
|
220
|
-
href: string;
|
|
221
|
-
} | {
|
|
222
|
-
kind: "portal";
|
|
223
|
-
path?: string;
|
|
224
|
-
labels?: {
|
|
225
|
-
loggedOut?: string;
|
|
226
|
-
loggedIn?: string;
|
|
227
|
-
};
|
|
228
|
-
} | {
|
|
229
|
-
kind: "cart";
|
|
230
|
-
badge: "show-count" | "hidden";
|
|
231
|
-
label: {
|
|
232
|
-
kind: "icon-only";
|
|
233
|
-
} | {
|
|
234
|
-
kind: "icon-with-label";
|
|
235
|
-
label: string;
|
|
236
|
-
};
|
|
237
|
-
} | {
|
|
238
|
-
kind: "dropdown";
|
|
239
|
-
};
|
|
240
|
-
isCta?: boolean;
|
|
241
|
-
children?: unknown[];
|
|
242
|
-
}>;
|
|
243
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
104
|
+
children?: readonly NavigationConfigItemInput[];
|
|
105
|
+
}>, unknown, z.core.$ZodTypeInternals<Readonly<{
|
|
244
106
|
label: string;
|
|
245
|
-
link:
|
|
246
|
-
kind: "page";
|
|
247
|
-
identifier: string;
|
|
248
|
-
} | {
|
|
249
|
-
kind: "entry";
|
|
250
|
-
contentType: string;
|
|
251
|
-
identifier: string;
|
|
252
|
-
} | {
|
|
253
|
-
kind: "external";
|
|
254
|
-
href: string;
|
|
255
|
-
} | {
|
|
256
|
-
kind: "url";
|
|
257
|
-
href: string;
|
|
258
|
-
} | {
|
|
259
|
-
kind: "portal";
|
|
260
|
-
path?: string;
|
|
261
|
-
labels?: {
|
|
262
|
-
loggedOut?: string;
|
|
263
|
-
loggedIn?: string;
|
|
264
|
-
};
|
|
265
|
-
} | {
|
|
266
|
-
kind: "cart";
|
|
267
|
-
badge: "show-count" | "hidden";
|
|
268
|
-
label: {
|
|
269
|
-
kind: "icon-only";
|
|
270
|
-
} | {
|
|
271
|
-
kind: "icon-with-label";
|
|
272
|
-
label: string;
|
|
273
|
-
};
|
|
274
|
-
} | {
|
|
275
|
-
kind: "dropdown";
|
|
276
|
-
};
|
|
107
|
+
link: import("../../../api/src/index").NavigationAuthoringLinkInput;
|
|
277
108
|
isCta?: boolean;
|
|
278
|
-
children?:
|
|
279
|
-
|
|
280
|
-
link: {
|
|
281
|
-
kind: "page";
|
|
282
|
-
identifier: string;
|
|
283
|
-
} | {
|
|
284
|
-
kind: "entry";
|
|
285
|
-
contentType: string;
|
|
286
|
-
identifier: string;
|
|
287
|
-
} | {
|
|
288
|
-
kind: "external";
|
|
289
|
-
href: string;
|
|
290
|
-
} | {
|
|
291
|
-
kind: "url";
|
|
292
|
-
href: string;
|
|
293
|
-
} | {
|
|
294
|
-
kind: "portal";
|
|
295
|
-
path?: string;
|
|
296
|
-
labels?: {
|
|
297
|
-
loggedOut?: string;
|
|
298
|
-
loggedIn?: string;
|
|
299
|
-
};
|
|
300
|
-
} | {
|
|
301
|
-
kind: "cart";
|
|
302
|
-
badge: "show-count" | "hidden";
|
|
303
|
-
label: {
|
|
304
|
-
kind: "icon-only";
|
|
305
|
-
} | {
|
|
306
|
-
kind: "icon-with-label";
|
|
307
|
-
label: string;
|
|
308
|
-
};
|
|
309
|
-
} | {
|
|
310
|
-
kind: "dropdown";
|
|
311
|
-
};
|
|
312
|
-
isCta?: boolean;
|
|
313
|
-
children?: unknown[];
|
|
314
|
-
}>;
|
|
315
|
-
}, unknown>>>;
|
|
109
|
+
children?: readonly NavigationConfigItemInput[];
|
|
110
|
+
}>, unknown>>>;
|
|
316
111
|
}, z.core.$strip>;
|
|
317
112
|
export declare const siteSettingsConfigSchema: z.ZodObject<{
|
|
318
113
|
homepagePath: z.ZodOptional<z.ZodString>;
|
|
@@ -65,6 +65,14 @@ export interface SdkConfigLoader {
|
|
|
65
65
|
mode?: 'server' | 'client';
|
|
66
66
|
when?: LoaderWhenValue;
|
|
67
67
|
}
|
|
68
|
+
export interface PreviewCustomizeManifestCuration {
|
|
69
|
+
/**
|
|
70
|
+
* Field IDs to consider for Preview Customize quick controls, in priority
|
|
71
|
+
* order. When `previewCustomize` is omitted, fields stay in the full
|
|
72
|
+
* Customize panel.
|
|
73
|
+
*/
|
|
74
|
+
quickFieldPriority: string[];
|
|
75
|
+
}
|
|
68
76
|
export interface SdkCustomBlock {
|
|
69
77
|
id: `custom.${string}`;
|
|
70
78
|
title: string;
|
|
@@ -83,6 +91,7 @@ export interface SdkCustomBlock {
|
|
|
83
91
|
description?: string;
|
|
84
92
|
icon?: string;
|
|
85
93
|
}>;
|
|
94
|
+
previewCustomize?: PreviewCustomizeManifestCuration;
|
|
86
95
|
}
|
|
87
96
|
/**
|
|
88
97
|
* Allowed spacing values in section styles.
|
|
@@ -133,17 +133,17 @@ export declare const siteStyleConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
133
133
|
* Derived from SUPPORTED_LOADER_ENDPOINTS - the single source of truth.
|
|
134
134
|
*/
|
|
135
135
|
export declare const sdkLoaderEndpointSchema: z.ZodEnum<{
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
getPublicFormById: "getPublicFormById";
|
|
137
|
+
getPublicBookingServices: "getPublicBookingServices";
|
|
138
138
|
listPublicEvents: "listPublicEvents";
|
|
139
|
-
|
|
139
|
+
listPublicPasses: "listPublicPasses";
|
|
140
140
|
listPublicCourses: "listPublicCourses";
|
|
141
141
|
listPublicTeamMembers: "listPublicTeamMembers";
|
|
142
|
-
listPublicProducts: "listPublicProducts";
|
|
143
|
-
listPublicPasses: "listPublicPasses";
|
|
144
142
|
listPublicMemberships: "listPublicMemberships";
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
listPublicProducts: "listPublicProducts";
|
|
144
|
+
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
145
|
+
listPublishedEntries: "listPublishedEntries";
|
|
146
|
+
getPublicEventDetails: "getPublicEventDetails";
|
|
147
147
|
}>;
|
|
148
148
|
export declare const loaderParamBindingSchema: z.ZodObject<{
|
|
149
149
|
$bind: z.ZodObject<{
|
|
@@ -220,17 +220,17 @@ export declare const loaderWhenValueSchema: z.ZodUnion<readonly [z.ZodBoolean, z
|
|
|
220
220
|
*/
|
|
221
221
|
export declare const sdkConfigLoaderSchema: z.ZodObject<{
|
|
222
222
|
endpoint: z.ZodEnum<{
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
getPublicFormById: "getPublicFormById";
|
|
224
|
+
getPublicBookingServices: "getPublicBookingServices";
|
|
225
225
|
listPublicEvents: "listPublicEvents";
|
|
226
|
-
|
|
226
|
+
listPublicPasses: "listPublicPasses";
|
|
227
227
|
listPublicCourses: "listPublicCourses";
|
|
228
228
|
listPublicTeamMembers: "listPublicTeamMembers";
|
|
229
|
-
listPublicProducts: "listPublicProducts";
|
|
230
|
-
listPublicPasses: "listPublicPasses";
|
|
231
229
|
listPublicMemberships: "listPublicMemberships";
|
|
232
|
-
|
|
233
|
-
|
|
230
|
+
listPublicProducts: "listPublicProducts";
|
|
231
|
+
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
232
|
+
listPublishedEntries: "listPublishedEntries";
|
|
233
|
+
getPublicEventDetails: "getPublicEventDetails";
|
|
234
234
|
}>;
|
|
235
235
|
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
236
236
|
$bind: z.ZodObject<{
|
|
@@ -283,17 +283,17 @@ export declare const sdkConfigLoaderSchema: z.ZodObject<{
|
|
|
283
283
|
*/
|
|
284
284
|
export declare const sdkDataLoadersSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
285
285
|
endpoint: z.ZodEnum<{
|
|
286
|
-
|
|
287
|
-
|
|
286
|
+
getPublicFormById: "getPublicFormById";
|
|
287
|
+
getPublicBookingServices: "getPublicBookingServices";
|
|
288
288
|
listPublicEvents: "listPublicEvents";
|
|
289
|
-
|
|
289
|
+
listPublicPasses: "listPublicPasses";
|
|
290
290
|
listPublicCourses: "listPublicCourses";
|
|
291
291
|
listPublicTeamMembers: "listPublicTeamMembers";
|
|
292
|
-
listPublicProducts: "listPublicProducts";
|
|
293
|
-
listPublicPasses: "listPublicPasses";
|
|
294
292
|
listPublicMemberships: "listPublicMemberships";
|
|
295
|
-
|
|
296
|
-
|
|
293
|
+
listPublicProducts: "listPublicProducts";
|
|
294
|
+
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
295
|
+
listPublishedEntries: "listPublishedEntries";
|
|
296
|
+
getPublicEventDetails: "getPublicEventDetails";
|
|
297
297
|
}>;
|
|
298
298
|
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
299
299
|
$bind: z.ZodObject<{
|
|
@@ -332,10 +332,12 @@ export type OfferingsPreviewGroupOverride = {
|
|
|
332
332
|
ctaHref?: string | null;
|
|
333
333
|
ctaLabel?: string | null;
|
|
334
334
|
};
|
|
335
|
+
export type OfferingsPreviewGroupOrder = readonly OfferingsPreviewSourceKey[];
|
|
335
336
|
export type OfferingsPreviewContent = {
|
|
336
337
|
heading?: string | null;
|
|
337
338
|
description?: unknown;
|
|
338
339
|
itemLimit?: '1' | '2' | '3' | '4' | '5' | '6' | null;
|
|
340
|
+
groupOrder?: OfferingsPreviewGroupOrder | null;
|
|
339
341
|
groupOverrides?: readonly OfferingsPreviewGroupOverride[] | null;
|
|
340
342
|
_cardStyles?: CardStylesContent;
|
|
341
343
|
buttonVariant?: ButtonVariant | null;
|
|
@@ -478,7 +480,6 @@ export type ProductListContent = {
|
|
|
478
480
|
layout?: 'grid' | 'list' | null;
|
|
479
481
|
columns?: '1' | '2' | '3' | '4' | null;
|
|
480
482
|
showSummary?: boolean | null;
|
|
481
|
-
showBadges?: boolean | null;
|
|
482
483
|
showPrices?: boolean | null;
|
|
483
484
|
addButtonText?: string | null;
|
|
484
485
|
emptyStateText?: string | null;
|
|
@@ -489,7 +490,6 @@ export type ProductDetailContent = {
|
|
|
489
490
|
productSlug?: string | null;
|
|
490
491
|
showSummary?: boolean | null;
|
|
491
492
|
showBody?: boolean | null;
|
|
492
|
-
showBadges?: boolean | null;
|
|
493
493
|
addButtonText?: string | null;
|
|
494
494
|
emptyStateText?: string | null;
|
|
495
495
|
_sectionStyles?: SectionStylesContent;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
export { createRiverbankClient, getResilienceStatusFromError, RiverbankApiError, } from './client/index';
|
|
21
21
|
export { SDK_CORRELATION_HEADER_NAMES } from './client/types';
|
|
22
|
-
export type { RiverbankClient, RiverbankClientConfig, SdkCorrelationHeaderName, SdkCorrelationHeaders, SdkAuthConfig, SiteResponse, PageResponse, EntriesResponse, EntriesResponseWithMeta, GetPageParams, GetSiteParams, PaginationMeta, EntryResponse, ResilienceConfig, ResilienceStatus, ResilientData, ResilienceSource, CircuitState, RetryConfig, CircuitBreakerConfig, } from './client/types';
|
|
22
|
+
export type { RiverbankClient, RiverbankClientConfig, SdkCorrelationHeaderName, SdkCorrelationHeaders, SdkAuthConfig, SiteResponse, PageResponse, EntriesResponse, EntriesResponseWithMeta, GetEntriesByIdentifiersParams, GetPageParams, GetSiteParams, PaginationMeta, EntryResponse, ResilienceConfig, ResilienceStatus, ResilientData, ResilienceSource, CircuitState, RetryConfig, CircuitBreakerConfig, } from './client/types';
|
|
23
23
|
export { prebuildCache } from './prebuild/index';
|
|
24
24
|
export type { PrebuildOptions, PrebuildResult, PrebuildProgress, PrebuildManifest, PrebuildContentType, } from './prebuild/types';
|
|
25
25
|
export { PrebuildLoader, createPrebuildLoader, canUsePrebuild, } from './prebuild/loader';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
1
|
+
import React, { type ReactNode } from "react";
|
|
2
2
|
import type { PreviewShellLayoutProps, PreviewShellProps, SdkPreviewModeProps } from "../../../../preview-next/src/client/index";
|
|
3
3
|
export type { SdkPreviewModeContent, SdkPreviewModeProps, PreviewShellProps, PreviewShellLayoutProps, } from '../../../../preview-next/src/client/index';
|
|
4
4
|
type PreviewQueryProviderProps = Readonly<{
|
|
@@ -10,11 +10,11 @@ type PreviewLayoutProviderProps = Readonly<{
|
|
|
10
10
|
footerNode: ReactNode;
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
}>;
|
|
13
|
-
export declare function SdkPreviewMode(props: SdkPreviewModeProps):
|
|
14
|
-
export declare function PreviewQueryProvider({ children }: PreviewQueryProviderProps):
|
|
15
|
-
export declare function PreviewShell(props: PreviewShellProps):
|
|
16
|
-
export declare function PreviewShellLayout(props: PreviewShellLayoutProps):
|
|
17
|
-
export declare function PreviewLayoutProvider({ headerNode, bannerNode, footerNode, children, }: PreviewLayoutProviderProps):
|
|
13
|
+
export declare function SdkPreviewMode(props: SdkPreviewModeProps): React.JSX.Element;
|
|
14
|
+
export declare function PreviewQueryProvider({ children }: PreviewQueryProviderProps): React.JSX.Element;
|
|
15
|
+
export declare function PreviewShell(props: PreviewShellProps): React.JSX.Element;
|
|
16
|
+
export declare function PreviewShellLayout(props: PreviewShellLayoutProps): React.JSX.Element;
|
|
17
|
+
export declare function PreviewLayoutProvider({ headerNode, bannerNode, footerNode, children, }: PreviewLayoutProviderProps): React.JSX.Element;
|
|
18
18
|
export declare function usePreviewLayout(): never;
|
|
19
19
|
export declare function useOptionalPreviewLayout(): never;
|
|
20
20
|
export declare function createPreviewQueryClient(): never;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { PreviewShellLayoutProps, PreviewShellProps, SdkPreviewModeProps } from '../../../../preview-next/src/client/sdk-runtime';
|
|
2
3
|
export { PreviewLayoutProvider, usePreviewLayout, useOptionalPreviewLayout, } from '../../../../preview-next/src/client/layout/PreviewLayoutContext';
|
|
3
4
|
export { PreviewQueryProvider, createPreviewQueryClient, } from '../../../../preview-next/src/client/preview/PreviewQueryProvider';
|
|
4
5
|
export type { PreviewShellProps, PreviewShellLayoutProps, SdkPreviewModeContent, SdkPreviewModeProps, } from '../../../../preview-next/src/client/sdk-runtime';
|
|
5
|
-
export declare function SdkPreviewMode(props: SdkPreviewModeProps):
|
|
6
|
-
export declare function PreviewShell(props: PreviewShellProps):
|
|
7
|
-
export declare function PreviewShellLayout(props: PreviewShellLayoutProps):
|
|
6
|
+
export declare function SdkPreviewMode(props: SdkPreviewModeProps): React.JSX.Element;
|
|
7
|
+
export declare function PreviewShell(props: PreviewShellProps): React.JSX.Element;
|
|
8
|
+
export declare function PreviewShellLayout(props: PreviewShellLayoutProps): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AddressedLocationValue, BusinessAddress, BookingFlexibleBalanceConfig, BookingInstalmentPlanConfig } from "../../../core/src/index";
|
|
1
|
+
import type { AddressedLocationValue, BusinessAddress, BookingFlexibleBalanceConfig, BookingInstalmentPlanConfig, PublicEventPricing } from "../../../core/src/index";
|
|
2
2
|
import type { Media, MediaAssetIndexItem, SiteFooterContent, SiteHeaderContent, Theme } from "../contracts";
|
|
3
3
|
import type { BlockFieldConfig as SdkBlockFieldConfig, BlockFieldOptionsMap as SdkBlockFieldOptionsMap, ContentConfig as SdkContentConfig, ContainerOptionsConfig as SdkContainerOptionsConfig, FieldSelectOption as SdkFieldSelectOption, SdkCustomBlock, SdkThemeConfig, SdkThemePalette, SectionBackground as SdkSectionBackground, SectionOptionsConfig as SdkSectionOptionsConfig, SiteStyleConfig as SdkSiteStyleConfig } from "../config/types";
|
|
4
4
|
export type PublicTeamMemberSummary = {
|
|
@@ -165,7 +165,7 @@ export type NavigationLinkInput = PageLinkPayload | EntryLinkPayload | {
|
|
|
165
165
|
export interface NavigationItemRecord {
|
|
166
166
|
id: string;
|
|
167
167
|
label: string;
|
|
168
|
-
url: unknown
|
|
168
|
+
url: unknown;
|
|
169
169
|
position?: number;
|
|
170
170
|
orderIndex?: number;
|
|
171
171
|
urlType?: string | null;
|
|
@@ -292,7 +292,7 @@ export type SiteResponse = {
|
|
|
292
292
|
created_at: string;
|
|
293
293
|
updated_at: string;
|
|
294
294
|
maintenance_mode_enabled?: boolean;
|
|
295
|
-
maintenance_mode_message?: unknown
|
|
295
|
+
maintenance_mode_message?: unknown;
|
|
296
296
|
deployment_mode?: "managed" | "headless_cms" | "headless_full" | null;
|
|
297
297
|
is_sdk_site?: boolean | null;
|
|
298
298
|
businessAddress?: BusinessAddress | null;
|
|
@@ -502,6 +502,30 @@ export type PublicBookingService = {
|
|
|
502
502
|
export type PublicBookingServicesResponse = {
|
|
503
503
|
services: PublicBookingService[];
|
|
504
504
|
};
|
|
505
|
+
export type PublicEventTicketTypeRecord = {
|
|
506
|
+
id: string;
|
|
507
|
+
siteId: string;
|
|
508
|
+
eventSeriesId: string;
|
|
509
|
+
name: string;
|
|
510
|
+
description: string | null;
|
|
511
|
+
priceAmount: number;
|
|
512
|
+
isActive: boolean;
|
|
513
|
+
sortOrder: number;
|
|
514
|
+
capacityMode: "limited" | "unlimited";
|
|
515
|
+
capacityLimit: number | null;
|
|
516
|
+
saleStartsAt: string | null;
|
|
517
|
+
saleEndsAt: string | null;
|
|
518
|
+
availability: {
|
|
519
|
+
kind: "available";
|
|
520
|
+
remainingCapacity: number | null;
|
|
521
|
+
} | {
|
|
522
|
+
kind: "unavailable";
|
|
523
|
+
reason: "inactive" | "not_on_sale_yet" | "sale_ended" | "sold_out" | "event_sold_out";
|
|
524
|
+
remainingCapacity: number | null;
|
|
525
|
+
};
|
|
526
|
+
createdAt: string;
|
|
527
|
+
updatedAt: string;
|
|
528
|
+
};
|
|
505
529
|
export type PublicEventsResponse = Array<{
|
|
506
530
|
kind?: "event" | "course_session";
|
|
507
531
|
id: string;
|
|
@@ -532,9 +556,6 @@ export type PublicEventsResponse = Array<{
|
|
|
532
556
|
};
|
|
533
557
|
};
|
|
534
558
|
} | null;
|
|
535
|
-
tags?: string[];
|
|
536
|
-
ctaLabel?: string | null;
|
|
537
|
-
badges?: string[];
|
|
538
559
|
};
|
|
539
560
|
slug: string;
|
|
540
561
|
path: string;
|
|
@@ -567,9 +588,7 @@ export type PublicEventsResponse = Array<{
|
|
|
567
588
|
profilePath: string | null;
|
|
568
589
|
}>;
|
|
569
590
|
status?: "active" | "draft" | "archived";
|
|
570
|
-
|
|
571
|
-
price: number | null;
|
|
572
|
-
currency: string;
|
|
591
|
+
pricing: PublicEventPricing<PublicEventTicketTypeRecord>;
|
|
573
592
|
paymentTerms: {
|
|
574
593
|
allowedOptions: Array<{
|
|
575
594
|
kind: "upfront";
|
|
@@ -580,31 +599,6 @@ export type PublicEventsResponse = Array<{
|
|
|
580
599
|
plan: Record<string, unknown>;
|
|
581
600
|
}>;
|
|
582
601
|
};
|
|
583
|
-
pricingMode?: "single" | "ticket_types";
|
|
584
|
-
ticketTypes?: Array<{
|
|
585
|
-
id: string;
|
|
586
|
-
siteId: string;
|
|
587
|
-
eventSeriesId: string;
|
|
588
|
-
name: string;
|
|
589
|
-
description: string | null;
|
|
590
|
-
priceAmount: number;
|
|
591
|
-
isActive: boolean;
|
|
592
|
-
sortOrder: number;
|
|
593
|
-
capacityMode: "limited" | "unlimited";
|
|
594
|
-
capacityLimit: number | null;
|
|
595
|
-
saleStartsAt: string | null;
|
|
596
|
-
saleEndsAt: string | null;
|
|
597
|
-
availability: {
|
|
598
|
-
kind: "available";
|
|
599
|
-
remainingCapacity: number | null;
|
|
600
|
-
} | {
|
|
601
|
-
kind: "unavailable";
|
|
602
|
-
reason: "inactive" | "not_on_sale_yet" | "sale_ended" | "sold_out" | "event_sold_out";
|
|
603
|
-
remainingCapacity: number | null;
|
|
604
|
-
};
|
|
605
|
-
createdAt: string;
|
|
606
|
-
updatedAt: string;
|
|
607
|
-
}>;
|
|
608
602
|
accessRestriction: "none" | "category";
|
|
609
603
|
allowedCategoryIds: string[];
|
|
610
604
|
requireGuestDetails?: boolean;
|
|
@@ -706,9 +700,7 @@ export type PublicProductsResponse = {
|
|
|
706
700
|
slug: string;
|
|
707
701
|
} | null;
|
|
708
702
|
summary: string | null;
|
|
709
|
-
|
|
710
|
-
ctaLabel: string | null;
|
|
711
|
-
body: unknown | null;
|
|
703
|
+
body: unknown;
|
|
712
704
|
gallery: Array<{
|
|
713
705
|
url: string;
|
|
714
706
|
alt: string | null;
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { type BlockProps } from './Block.shared';
|
|
9
9
|
export type { BlockOverrideComponent, BlockProps } from './Block.shared';
|
|
10
|
-
export declare function Block(props: BlockProps): import("react
|
|
10
|
+
export declare function Block(props: BlockProps): import("react").JSX.Element;
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { type BlockProps } from './Block.shared';
|
|
8
8
|
export type { BlockOverrideComponent, BlockProps } from './Block.shared';
|
|
9
|
-
export declare function Block(props: BlockProps): import("react
|
|
9
|
+
export declare function Block(props: BlockProps): import("react").JSX.Element;
|
|
@@ -85,4 +85,4 @@ export type LayoutProps = {
|
|
|
85
85
|
* </Layout>
|
|
86
86
|
* ```
|
|
87
87
|
*/
|
|
88
|
-
export declare function Layout({ siteData: providedSiteData, client, siteId, slug, domain, children, header, footer, headerVariant, hasPortalSession, previewStage, useThemeScope, }: LayoutProps): Promise<import("react
|
|
88
|
+
export declare function Layout({ siteData: providedSiteData, client, siteId, slug, domain, children, header, footer, headerVariant, hasPortalSession, previewStage, useThemeScope, }: LayoutProps): Promise<import("react").JSX.Element>;
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
import type { OccurrenceContextData } from '../../contracts';
|
|
8
8
|
import { type PageProps } from './pageShared';
|
|
9
9
|
export type { OccurrenceContextData, PageProps };
|
|
10
|
-
export declare function Page(props: PageProps): import("react
|
|
10
|
+
export declare function Page(props: PageProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type PageHydrationBootstrapConfig } from './pageShared';
|
|
2
|
-
export declare function PageHydrationBootstrap(props: PageHydrationBootstrapConfig): import("react
|
|
2
|
+
export declare function PageHydrationBootstrap(props: PageHydrationBootstrapConfig): import("react").JSX.Element;
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
* the SDK's public type surface must remain SDK-owned so consumers don't need
|
|
6
6
|
* to install `@riverbankcms/blocks`.
|
|
7
7
|
*/
|
|
8
|
-
import
|
|
8
|
+
import { applyBindings as blocksApplyBindings, applyBindingsToContent as blocksApplyBindingsToContent, normalizeBindingOutput as blocksNormalizeBindingOutput, getPath as blocksGetPath, applyTransform as blocksApplyTransform, extractFirstParagraph as blocksExtractFirstParagraph, isBindingDescriptorLike as blocksIsBindingDescriptorLike, isRecord as blocksIsRecord } from '../../../../blocks/src/bindings/index';
|
|
9
|
+
import type { BindingSource, BindingDescriptor, BindingInput, BindingContext } from '../../contracts';
|
|
9
10
|
export type { BindingSource, BindingDescriptor, BindingInput, BindingMap, BindingContext } from '../../contracts';
|
|
10
11
|
export declare const TRANSFORMS: {
|
|
11
12
|
RICHTEXT_FIRST_PARAGRAPH: "richtext.firstParagraph";
|
|
@@ -13,15 +14,15 @@ export declare const TRANSFORMS: {
|
|
|
13
14
|
DATE_FORMAT_LONG: "date.formatLong";
|
|
14
15
|
};
|
|
15
16
|
export declare const BINDING_SOURCES: BindingSource[];
|
|
16
|
-
export declare const isRecord:
|
|
17
|
+
export declare const isRecord: typeof blocksIsRecord;
|
|
17
18
|
export declare const isBindingDescriptor: (value: unknown) => value is BindingDescriptor;
|
|
18
|
-
export declare const isBindingDescriptorLike:
|
|
19
|
+
export declare const isBindingDescriptorLike: typeof blocksIsBindingDescriptorLike;
|
|
19
20
|
export declare const normalizeBindingInput: (value: BindingInput) => BindingDescriptor | null;
|
|
20
|
-
export declare const normalizeBindingOutput:
|
|
21
|
-
export declare const applyBindings:
|
|
22
|
-
export declare const applyBindingsToContent:
|
|
21
|
+
export declare const normalizeBindingOutput: typeof blocksNormalizeBindingOutput;
|
|
22
|
+
export declare const applyBindings: typeof blocksApplyBindings;
|
|
23
|
+
export declare const applyBindingsToContent: typeof blocksApplyBindingsToContent;
|
|
23
24
|
export declare const resolveBindingValue: (descriptor: BindingDescriptor, context: BindingContext) => unknown;
|
|
24
|
-
export declare const getPath:
|
|
25
|
-
export declare const applyTransform:
|
|
26
|
-
export declare const extractFirstParagraph:
|
|
25
|
+
export declare const getPath: typeof blocksGetPath;
|
|
26
|
+
export declare const applyTransform: typeof blocksApplyTransform;
|
|
27
|
+
export declare const extractFirstParagraph: typeof blocksExtractFirstParagraph;
|
|
27
28
|
export declare const formatDate: (value: unknown, options?: Intl.DateTimeFormatOptions) => string | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { BlockApiConfig } from '../../../../../blocks/src/api';
|
|
2
|
+
export type RouteIslandApiConfigInput = Readonly<{
|
|
3
|
+
apiBaseUrl: string;
|
|
4
|
+
portalToken?: string | null;
|
|
5
|
+
previewToken?: string | null;
|
|
6
|
+
siteId: string;
|
|
7
|
+
stage?: 'preview' | 'published';
|
|
8
|
+
}>;
|
|
9
|
+
export declare function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, }: RouteIslandApiConfigInput): BlockApiConfig;
|