@riverbankcms/sdk 0.79.0 → 0.81.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/dist/PreviewEditorSidebar-RDCMEXIJ.mjs +3163 -0
- package/dist/{PreviewEditorUI-27KJVEET.mjs → PreviewEditorUI-NYGQ6K7B.mjs} +194 -30
- package/dist/SdkPreviewModeRuntime-AKCSCZEC.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +20 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +12 -0
- package/dist/_dts/api/src/contentTypes.d.ts +6 -0
- package/dist/_dts/api/src/endpoints.d.ts +24 -0
- package/dist/_dts/api/src/index.d.ts +3 -3
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +53 -0
- package/dist/_dts/api/src/siteInfrastructure.d.ts +124 -0
- package/dist/_dts/api/src/siteOnboarding.d.ts +13 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +10 -1
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +3 -1
- package/dist/_dts/block-form/src/backend/types.d.ts +3 -3
- package/dist/_dts/block-form/src/client/index.d.ts +2 -0
- package/dist/_dts/block-form/src/index.d.ts +2 -0
- package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +2 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +3 -0
- package/dist/_dts/blocks/src/client/header.d.ts +1 -1
- package/dist/_dts/blocks/src/client.d.ts +12 -12
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +20 -28
- package/dist/_dts/blocks/src/index.d.ts +7 -5
- package/dist/_dts/blocks/src/primitives/content/components/Text.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +1 -0
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +135 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +9 -1
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +20 -1
- package/dist/_dts/blocks/src/system/blocks/hero.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +19 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +134 -0
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +7 -1
- package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -0
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +34 -15
- package/dist/_dts/blocks/src/system/data/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/data/linkedContentEntries.d.ts +64 -0
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +2 -2
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +10 -3
- package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +5 -0
- package/dist/_dts/blocks/src/system/media/slotContracts.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/fragments/headingDecoration.d.ts +1 -4
- package/dist/_dts/blocks/src/system/node/types.d.ts +8 -1
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +2 -2
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +51 -57
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +24 -27
- package/dist/_dts/blocks/src/system/runtime/header/enhanceHeaderSection.d.ts +10 -2
- package/dist/_dts/blocks/src/system/runtime/headingDecoration.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +45 -14
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +2 -9
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +1 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +21 -16
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +21 -16
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +22 -33
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.server.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventSpotlight.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventPaginatedListView.client.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekAgendaView.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +50 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +29 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +7 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/sectionForegroundStyles.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +7 -2
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +9 -0
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +14 -1
- package/dist/_dts/calendar/src/grid.d.ts +27 -0
- package/dist/_dts/calendar/src/index.d.ts +2 -2
- package/dist/_dts/content-editor/src/controller/useAutosaveTriggers.d.ts +3 -1
- package/dist/_dts/content-editor/src/editorTransactionState.d.ts +1 -0
- package/dist/_dts/content-editor/src/hooks/autosaveScopePlanning.d.ts +26 -0
- package/dist/_dts/content-editor/src/hooks/publishability.d.ts +1 -0
- package/dist/_dts/content-editor/src/hooks/useLinkedEntryAutosave.d.ts +23 -0
- package/dist/_dts/content-editor/src/hooks/useReactiveToolbar.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +2 -2
- package/dist/_dts/content-editor/src/index.d.ts +3 -1
- package/dist/_dts/content-editor/src/lib/json.d.ts +2 -0
- package/dist/_dts/content-editor/src/linkedEntries/domain.d.ts +8 -0
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +58 -0
- package/dist/_dts/content-editor/src/ui/editorTransactionState.d.ts +93 -0
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +60 -3
- package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +2 -0
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +43 -0
- package/dist/_dts/content-model/src/metadataConfig.d.ts +87 -47
- package/dist/_dts/core/src/branded.d.ts +5 -0
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/core/src/stable-json.d.ts +1 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +9 -3
- package/dist/_dts/editor/src/EditorProvider.d.ts +26 -0
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +26 -0
- package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +45 -0
- package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +25 -0
- package/dist/_dts/editor/src/components/EditingToggle.d.ts +9 -0
- package/dist/_dts/editor/src/hooks/useEditableElement.d.ts +18 -0
- package/dist/_dts/editor/src/index.d.ts +29 -0
- package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +1 -0
- package/dist/_dts/editor/src/lib/utils.d.ts +1 -0
- package/dist/_dts/editor/src/primitives/EditorPrimitivesProvider.d.ts +20 -0
- package/dist/_dts/editor/src/primitives/InlineFieldContext.d.ts +11 -0
- package/dist/_dts/editor/src/primitives/SaveContext.d.ts +12 -0
- package/dist/_dts/editor/src/primitives/helpers.d.ts +1 -0
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +26 -0
- package/dist/_dts/editor/src/primitives/rich-text/RichTextToolbar.d.ts +16 -0
- package/dist/_dts/editor/src/primitives/rich-text/config.d.ts +23 -0
- package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextImage.d.ts +2 -0
- package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextLink.d.ts +1 -0
- package/dist/_dts/editor/src/primitives/rich-text/imageActions.d.ts +22 -0
- package/dist/_dts/editor/src/primitives/rich-text/sanitize.d.ts +23 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/BlockTypeDropdown.d.ts +6 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/LinkPopover.d.ts +10 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/ToolbarIconButton.d.ts +11 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/linkPopoverUtils.d.ts +58 -0
- package/dist/_dts/editor/src/primitives/rich-text/useRichTextEditor.d.ts +19 -0
- package/dist/_dts/editor/src/primitives/rich-text/utils.d.ts +20 -0
- package/dist/_dts/editor/src/utils/optimisticTokens.d.ts +27 -0
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +5 -9
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +6 -10
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +6 -4
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +4 -8
- package/dist/_dts/editor-blocks/src/block-editor/actionPresentation.d.ts +15 -0
- package/dist/_dts/editor-blocks/src/block-editor/blockHeaderActionPlan.d.ts +49 -0
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
- 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 +3 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionWidgetProvider.d.ts +14 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/index.d.ts +6 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +51 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/types.d.ts +20 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +5 -0
- package/dist/_dts/media-core/src/index.d.ts +1 -0
- package/dist/_dts/media-core/src/renderableMediaAsset.d.ts +18 -0
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +4 -1
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +2 -1
- package/dist/_dts/media-editor/src/index.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +7 -2
- package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +5 -1
- package/dist/_dts/preview-next/src/client/blocks/blockCustomizePopoverRows.d.ts +25 -0
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +4 -30
- package/dist/_dts/preview-next/src/client/blocks/linkedEntryRenderOverlay.d.ts +11 -0
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +3 -9
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +24 -0
- package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +35 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +0 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/LinkedEntryEditEventBridge.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +5 -6
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignHistoryOrderContext.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +19 -19
- package/dist/_dts/preview-next/src/client/preview/PreviewSidebarSection.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +47 -4
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +14 -1
- package/dist/_dts/preview-next/src/client/preview/linkedEntryEditEvents.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/previewChromePlacement.d.ts +46 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeControls.d.ts +68 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeEditorDraftPatch.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +11 -9
- package/dist/_dts/preview-next/src/client/preview/previewDesignHistoryOrder.d.ts +18 -0
- package/dist/_dts/preview-next/src/client/preview/previewUndoDomains.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +41 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +101 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +29 -0
- package/dist/_dts/preview-next/src/client/preview/siteStyleHistoryState.d.ts +55 -0
- package/dist/_dts/preview-next/src/client/preview/storeTypes.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +6 -3
- package/dist/_dts/preview-next/src/constants.d.ts +0 -1
- package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +44 -0
- package/dist/_dts/sdk/src/cli/config-loader.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +5 -3
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -0
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +56 -0
- package/dist/_dts/sdk/src/client/management/webhooks.d.ts +3 -0
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +34 -5
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +10 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +42 -0
- package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +4 -0
- 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/theme-core/src/accordions/siteStyleDefaults.d.ts +220 -0
- package/dist/_dts/theme-core/src/accordions/types.d.ts +45 -2
- package/dist/_dts/theme-core/src/blockOverrides.d.ts +8 -0
- package/dist/_dts/theme-core/src/blocks/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/blocks/vars/testimonials.d.ts +4 -1
- package/dist/_dts/theme-core/src/buttons/constants.d.ts +26 -1
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +22 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +2 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +9 -0
- package/dist/_dts/theme-core/src/cards/core.d.ts +20 -0
- package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +6 -3
- package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +149 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +177 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/interactive/types.d.ts +10 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +180 -21
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +30 -0
- package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +16 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/variants/warm-dark.d.ts +27 -0
- package/dist/_dts/theme-core/src/schema.d.ts +486 -55
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +4 -1
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +172 -47
- package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +6 -2
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +172 -47
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +140 -2
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +18 -2
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +20 -1
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +10 -2
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +291 -6
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +193 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +3 -23
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +276 -4
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +2 -8
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +43 -10
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +508 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +11 -0
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +10 -10
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/testimonialQuotePresets.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +28 -32
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
- package/dist/{chunk-4HCW7FHJ.mjs → chunk-3PTVPAT4.mjs} +1984 -1142
- package/dist/{PreviewEditorSidebar-56NMJMIK.mjs → chunk-3QWQ2MUQ.mjs} +1050 -2609
- package/dist/{chunk-GP555I66.mjs → chunk-3VT7LZY2.mjs} +413 -157
- package/dist/{chunk-A3HHFKVT.mjs → chunk-4T5JIPWY.mjs} +1 -1
- package/dist/{chunk-K2IIF34C.mjs → chunk-E3NZYEKF.mjs} +25 -7
- package/dist/{chunk-V47ZU33I.mjs → chunk-WUHKQBB6.mjs} +12062 -3211
- package/dist/cli/index.mjs +3395 -817
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +16 -4
- package/dist/client/{accordion-QLA7KBYO.mjs → accordion-SFIIZWNH.mjs} +2 -2
- package/dist/client/{bookingForm-PYZIPA5G.mjs → bookingForm-CFKZVWGA.mjs} +5 -5
- package/dist/client/bookings.mjs +1422 -345
- package/dist/client/{carousel-5EIULWBI.mjs → carousel-ELXWSBLA.mjs} +3 -3
- package/dist/client/{cart-DOP3FNI4.mjs → cart-6SSCPYY5.mjs} +6 -6
- package/dist/client/{checkout-BVMF6FBV.mjs → checkout-UFQ34HPV.mjs} +6 -6
- package/dist/client/{chunk-44K2U3QI.mjs → chunk-76JUETXQ.mjs} +139 -186
- package/dist/client/{chunk-AUJ5DBZJ.mjs → chunk-7BXX7WXH.mjs} +112 -28
- package/dist/client/{chunk-UDS3NTWA.mjs → chunk-G56BSZAM.mjs} +2 -2
- package/dist/client/{chunk-V6M5FCR5.mjs → chunk-IUEDYLFJ.mjs} +1 -1
- package/dist/client/{chunk-YLDYVRZL.mjs → chunk-NP47RHIX.mjs} +5 -5
- package/dist/client/{chunk-R5ESWNKX.mjs → chunk-NX6X3GRF.mjs} +419 -85
- package/dist/client/{chunk-CCNTDRCF.mjs → chunk-PA2LJH2M.mjs} +2 -2
- package/dist/client/{chunk-CE7IBGVW.mjs → chunk-RMWMT3ZD.mjs} +1 -1
- package/dist/client/{chunk-TYONZMST.mjs → chunk-TCJS3NY5.mjs} +1 -1
- package/dist/client/{chunk-GG4M2NP6.mjs → chunk-V6XI4M2Q.mjs} +1 -1
- package/dist/client/client.mjs +9077 -4410
- package/dist/client/{courseRegistration-E6EAA6NL.mjs → courseRegistration-HJIISAAG.mjs} +5 -5
- package/dist/client/{eventCalendar-HBG3HAK6.mjs → eventCalendar-F6YVUCZR.mjs} +7 -7
- package/dist/client/{eventCombined-6K5ZZWAK.mjs → eventCombined-B5DSTIOK.mjs} +7 -7
- package/dist/client/{eventDetails-Q75ICXLT.mjs → eventDetails-SEJDDHQC.mjs} +7 -7
- package/dist/client/{eventListing-27P5F7DZ.mjs → eventListing-TPMWIIBO.mjs} +7 -7
- package/dist/client/{eventRegistration-IQ7AMASR.mjs → eventRegistration-QU6W2PV6.mjs} +7 -7
- package/dist/client/{form-JRTD65FN.mjs → form-LVTYNTDE.mjs} +2 -2
- package/dist/client/{headerSection-7FPSSZHS.mjs → headerSection-SO3MFC4U.mjs} +110 -28
- package/dist/client/hooks.mjs +4695 -2260
- package/dist/client/{locationMap-7NGFNYBH.mjs → locationMap-5E5FLAKO.mjs} +2 -2
- package/dist/client/{newsletterForm-F3BADCI2.mjs → newsletterForm-GN32JEBQ.mjs} +2 -2
- package/dist/client/{productDetail-V3HP7ITJ.mjs → productDetail-Q346KSVR.mjs} +6 -6
- package/dist/client/{productList-L3EGJUF2.mjs → productList-DTDMQYGZ.mjs} +6 -6
- package/dist/client/rendering/client.mjs +5795 -3582
- package/dist/client/rendering/islands.mjs +32 -20
- package/dist/client/rendering.mjs +7988 -3317
- package/dist/client/{shop-DQUB5E2C.mjs → shop-OFUW7KPN.mjs} +6 -6
- package/dist/preview-next/before-render.mjs +24 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/constants.mjs +0 -2
- package/dist/preview-next/index.mjs +0 -2
- package/dist/preview-next/middleware.mjs +24 -0
- package/dist/{sdk-runtime-AF6KXJU4.mjs → sdk-runtime-2GIX6I7X.mjs} +6 -6
- package/dist/server/components.mjs +7384 -3089
- package/dist/server/config-validation.mjs +4747 -2418
- package/dist/server/config.mjs +4747 -2418
- package/dist/server/data.mjs +4695 -2260
- package/dist/server/index.mjs +26 -1
- package/dist/server/next.mjs +7430 -3039
- package/dist/server/page-converter.mjs +3985 -2070
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +7489 -3094
- package/dist/server/rendering.mjs +7491 -3096
- package/dist/server/routing.mjs +4965 -2386
- package/dist/server/server.mjs +4713 -2278
- package/dist/server/theme-bridge.mjs +2181 -383
- package/dist/server/theme.mjs +477 -222
- package/dist/styles/index.css +747 -71
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-H4BSP6E7.mjs +0 -8
- package/dist/_dts/editor-blocks/src/block-editor/actionControlMode.d.ts +0 -2
- package/dist/_dts/preview-next/src/client/preview/previewSurface.d.ts +0 -3
- package/dist/chunk-LCY32PXF.mjs +0 -1175
|
@@ -31,6 +31,54 @@ export type PublicEventLoaderParams = {
|
|
|
31
31
|
export type PublicEventScheduleScope = "any" | "recurring" | "oneOff";
|
|
32
32
|
export type PublicEventSurfaceScope = "all" | "regularClassSchedule" | "specialDatedEvents" | "custom";
|
|
33
33
|
export type PublicEventDetailsLoaderParams = Omit<PublicEventLoaderParams, "detailLevel" | "readProfile">;
|
|
34
|
+
export type PublicRouteCandidate = Readonly<{
|
|
35
|
+
entityId: string;
|
|
36
|
+
path: string;
|
|
37
|
+
title: string;
|
|
38
|
+
kind: "page" | "content";
|
|
39
|
+
contentTypeKey?: string | null;
|
|
40
|
+
}>;
|
|
41
|
+
export type PublicCoursePriceDisplay = Readonly<{
|
|
42
|
+
kind: "free";
|
|
43
|
+
currency: string;
|
|
44
|
+
}> | Readonly<{
|
|
45
|
+
kind: "exact";
|
|
46
|
+
amount: number;
|
|
47
|
+
currency: string;
|
|
48
|
+
}> | Readonly<{
|
|
49
|
+
kind: "from";
|
|
50
|
+
amount: number;
|
|
51
|
+
currency: string;
|
|
52
|
+
}> | Readonly<{
|
|
53
|
+
kind: "unavailable";
|
|
54
|
+
currency: string;
|
|
55
|
+
}>;
|
|
56
|
+
export type PublicEventPriceDisplay = Readonly<{
|
|
57
|
+
kind: "free";
|
|
58
|
+
currency: string;
|
|
59
|
+
}> | Readonly<{
|
|
60
|
+
kind: "exact";
|
|
61
|
+
amount: number;
|
|
62
|
+
currency: string;
|
|
63
|
+
}> | Readonly<{
|
|
64
|
+
kind: "from";
|
|
65
|
+
amount: number;
|
|
66
|
+
currency: string;
|
|
67
|
+
}> | Readonly<{
|
|
68
|
+
kind: "mixed";
|
|
69
|
+
paidFromAmount: number;
|
|
70
|
+
currency: string;
|
|
71
|
+
}> | Readonly<{
|
|
72
|
+
kind: "pass_only";
|
|
73
|
+
}> | Readonly<{
|
|
74
|
+
kind: "membership_only";
|
|
75
|
+
}> | Readonly<{
|
|
76
|
+
kind: "unavailable";
|
|
77
|
+
currency: string;
|
|
78
|
+
}> | Readonly<{
|
|
79
|
+
kind: "course";
|
|
80
|
+
display: PublicCoursePriceDisplay;
|
|
81
|
+
}>;
|
|
34
82
|
type PublicDiscountContext = {
|
|
35
83
|
type: "event";
|
|
36
84
|
eventSeriesId: string;
|
|
@@ -133,6 +181,7 @@ export type PublicExperienceAPIEndpoints = {
|
|
|
133
181
|
pricingType: "free" | "paid" | "pass_only" | "membership_only";
|
|
134
182
|
price: number | null;
|
|
135
183
|
currency: string;
|
|
184
|
+
priceDisplay: PublicEventPriceDisplay;
|
|
136
185
|
paymentTerms: BookingPaymentTermsConfig;
|
|
137
186
|
pricingMode?: EventPricingMode;
|
|
138
187
|
ticketTypes?: PublicEventTicketTypeRecord[];
|
|
@@ -639,6 +688,10 @@ export type PublicExperienceAPIEndpoints = {
|
|
|
639
688
|
siteId?: string;
|
|
640
689
|
stage?: string;
|
|
641
690
|
};
|
|
691
|
+
} | {
|
|
692
|
+
id: string;
|
|
693
|
+
endpoint: "listPublicRouteCandidates";
|
|
694
|
+
params?: never;
|
|
642
695
|
} | {
|
|
643
696
|
id: string;
|
|
644
697
|
endpoint: "listPublicProducts";
|
|
@@ -69,6 +69,129 @@ export type UpdateWebhookResponse = {
|
|
|
69
69
|
export type DeleteWebhookResponse = {
|
|
70
70
|
success: boolean;
|
|
71
71
|
};
|
|
72
|
+
export type SetupSdkRevalidationWebhookRequest = {
|
|
73
|
+
url: string;
|
|
74
|
+
name?: string;
|
|
75
|
+
rotateSecret?: boolean;
|
|
76
|
+
dryRun?: boolean;
|
|
77
|
+
vercel?: boolean;
|
|
78
|
+
};
|
|
79
|
+
export type SdkRevalidationWebhookPlannedEndpoint = {
|
|
80
|
+
name: string;
|
|
81
|
+
url: string;
|
|
82
|
+
events: string[];
|
|
83
|
+
enabled: boolean;
|
|
84
|
+
rotateSecret: boolean;
|
|
85
|
+
};
|
|
86
|
+
type SdkRevalidationWebhookSetupBase = {
|
|
87
|
+
message: string;
|
|
88
|
+
checklist: string[];
|
|
89
|
+
plannedEndpoint: SdkRevalidationWebhookPlannedEndpoint;
|
|
90
|
+
};
|
|
91
|
+
export type SetupSdkRevalidationWebhookDryRunResponse = SdkRevalidationWebhookSetupBase & {
|
|
92
|
+
dryRun: true;
|
|
93
|
+
action: 'would_create' | 'would_update' | 'would_rotate' | 'would_leave_unchanged';
|
|
94
|
+
endpoint: WebhookEndpointRecord | null;
|
|
95
|
+
};
|
|
96
|
+
export type SetupSdkRevalidationWebhookCreatedResponse = SdkRevalidationWebhookSetupBase & {
|
|
97
|
+
dryRun: false;
|
|
98
|
+
action: 'created' | 'rotated';
|
|
99
|
+
endpoint: WebhookEndpointRecord;
|
|
100
|
+
secret: string;
|
|
101
|
+
};
|
|
102
|
+
export type SetupSdkRevalidationWebhookUpdatedResponse = SdkRevalidationWebhookSetupBase & {
|
|
103
|
+
dryRun: false;
|
|
104
|
+
action: 'updated' | 'unchanged';
|
|
105
|
+
endpoint: WebhookEndpointRecord;
|
|
106
|
+
};
|
|
107
|
+
export type SetupSdkRevalidationWebhookResponse = SetupSdkRevalidationWebhookDryRunResponse | SetupSdkRevalidationWebhookCreatedResponse | SetupSdkRevalidationWebhookUpdatedResponse;
|
|
108
|
+
export type SdkDeploymentHealthStatus = 'not_connected' | 'misconfigured' | 'attention_needed' | 'healthy' | 'unknown';
|
|
109
|
+
export type SdkDeploymentHealthIssueCode = 'endpoint_missing' | 'duplicate_sdk_revalidation_endpoints' | 'endpoint_disabled' | 'endpoint_missing_secret' | 'endpoint_missing_events' | 'recent_delivery_failed' | 'failure_count_nonzero' | 'secret_rotated_without_success' | 'no_delivery_evidence';
|
|
110
|
+
export type SdkDeploymentHealthAction = {
|
|
111
|
+
tag: 'create_endpoint';
|
|
112
|
+
label: string;
|
|
113
|
+
adminOnly: true;
|
|
114
|
+
} | {
|
|
115
|
+
tag: 'repair_endpoint';
|
|
116
|
+
label: string;
|
|
117
|
+
adminOnly: true;
|
|
118
|
+
} | {
|
|
119
|
+
tag: 'rotate_secret';
|
|
120
|
+
label: string;
|
|
121
|
+
adminOnly: true;
|
|
122
|
+
} | {
|
|
123
|
+
tag: 'inspect_logs';
|
|
124
|
+
label: string;
|
|
125
|
+
adminOnly: false;
|
|
126
|
+
} | {
|
|
127
|
+
tag: 'none';
|
|
128
|
+
label: string;
|
|
129
|
+
adminOnly: false;
|
|
130
|
+
};
|
|
131
|
+
export type SdkDeploymentSafeDeliveryStatus = 'success' | 'failed' | 'unknown';
|
|
132
|
+
export type SdkDeploymentSafeDeliverySummary = {
|
|
133
|
+
id: string;
|
|
134
|
+
event: string;
|
|
135
|
+
status: SdkDeploymentSafeDeliveryStatus;
|
|
136
|
+
statusCode: number | null;
|
|
137
|
+
responseTimeMs: number | null;
|
|
138
|
+
deliveredAt: string;
|
|
139
|
+
snippet: string | null;
|
|
140
|
+
};
|
|
141
|
+
export type SdkDeploymentHealthState = {
|
|
142
|
+
tag: 'not_connected';
|
|
143
|
+
status: 'not_connected';
|
|
144
|
+
message: string;
|
|
145
|
+
issues: Array<{
|
|
146
|
+
code: Extract<SdkDeploymentHealthIssueCode, 'endpoint_missing'>;
|
|
147
|
+
message: string;
|
|
148
|
+
}>;
|
|
149
|
+
actions: SdkDeploymentHealthAction[];
|
|
150
|
+
} | {
|
|
151
|
+
tag: 'misconfigured';
|
|
152
|
+
status: 'misconfigured';
|
|
153
|
+
message: string;
|
|
154
|
+
issues: Array<{
|
|
155
|
+
code: Extract<SdkDeploymentHealthIssueCode, 'duplicate_sdk_revalidation_endpoints' | 'endpoint_disabled' | 'endpoint_missing_secret' | 'endpoint_missing_events'>;
|
|
156
|
+
message: string;
|
|
157
|
+
}>;
|
|
158
|
+
actions: SdkDeploymentHealthAction[];
|
|
159
|
+
} | {
|
|
160
|
+
tag: 'attention_needed';
|
|
161
|
+
status: 'attention_needed';
|
|
162
|
+
message: string;
|
|
163
|
+
issues: Array<{
|
|
164
|
+
code: Extract<SdkDeploymentHealthIssueCode, 'recent_delivery_failed' | 'failure_count_nonzero' | 'secret_rotated_without_success'>;
|
|
165
|
+
message: string;
|
|
166
|
+
}>;
|
|
167
|
+
actions: SdkDeploymentHealthAction[];
|
|
168
|
+
} | {
|
|
169
|
+
tag: 'healthy';
|
|
170
|
+
status: 'healthy';
|
|
171
|
+
message: string;
|
|
172
|
+
issues: [];
|
|
173
|
+
actions: SdkDeploymentHealthAction[];
|
|
174
|
+
} | {
|
|
175
|
+
tag: 'unknown';
|
|
176
|
+
status: 'unknown';
|
|
177
|
+
message: string;
|
|
178
|
+
issues: Array<{
|
|
179
|
+
code: Extract<SdkDeploymentHealthIssueCode, 'no_delivery_evidence'>;
|
|
180
|
+
message: string;
|
|
181
|
+
}>;
|
|
182
|
+
actions: SdkDeploymentHealthAction[];
|
|
183
|
+
};
|
|
184
|
+
export type SdkDeploymentHealthResponse = {
|
|
185
|
+
visible: boolean;
|
|
186
|
+
canonicalWebhookName: string;
|
|
187
|
+
canonicalEvents: readonly string[];
|
|
188
|
+
endpoint: WebhookEndpointRecord | null;
|
|
189
|
+
duplicateEndpoints: WebhookEndpointRecord[];
|
|
190
|
+
recentDeliveries: SdkDeploymentSafeDeliverySummary[];
|
|
191
|
+
health: SdkDeploymentHealthState;
|
|
192
|
+
};
|
|
193
|
+
export type SetupSdkDeploymentRevalidationWebhookRequest = SetupSdkRevalidationWebhookRequest;
|
|
194
|
+
export type SetupSdkDeploymentRevalidationWebhookResponse = SetupSdkRevalidationWebhookResponse;
|
|
72
195
|
export type ApiKeyType = "content" | "preview" | "management";
|
|
73
196
|
export type ApiKeyRecord = {
|
|
74
197
|
id: string;
|
|
@@ -336,3 +459,4 @@ export type ImportBackupAsNewSiteResponse = {
|
|
|
336
459
|
error?: string;
|
|
337
460
|
code?: string;
|
|
338
461
|
};
|
|
462
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Theme } from "../../blocks/src/index";
|
|
2
|
+
import type { LogoFacts } from "../../theme-core/src/site-styles/index";
|
|
2
3
|
import { z } from "zod";
|
|
3
4
|
import type { AiGenerateSiteEntityType, AiGenerateSitePrimaryCta, AiGenerateSiteRequest } from "./siteGeneration";
|
|
4
5
|
import type { BookingVerticalConfig } from "./bookingConfig";
|
|
@@ -91,11 +92,21 @@ export type MacadamiaOnboardingMappedPalette = {
|
|
|
91
92
|
palette: Record<"primary" | "secondary" | "accent" | "background" | "surface" | "text", string>;
|
|
92
93
|
mode: "light" | "dark";
|
|
93
94
|
};
|
|
95
|
+
export type MacadamiaOnboardingLogoPaletteRecommendation = {
|
|
96
|
+
title: string;
|
|
97
|
+
palette: MacadamiaOnboardingMappedPalette["palette"];
|
|
98
|
+
};
|
|
99
|
+
export type MacadamiaOnboardingLogoAnalysis = {
|
|
100
|
+
logoFacts: LogoFacts;
|
|
101
|
+
recommendedPalettes: MacadamiaOnboardingLogoPaletteRecommendation[];
|
|
102
|
+
ignoredColors: string[];
|
|
103
|
+
};
|
|
94
104
|
export type MacadamiaOnboardingVisualIdentity = {
|
|
95
105
|
logoPath: string | null;
|
|
96
106
|
logoUrl: string | null;
|
|
97
107
|
logoPalette: string[] | null;
|
|
98
108
|
logoMappedPalette: MacadamiaOnboardingMappedPalette | null;
|
|
109
|
+
logoAnalysis: MacadamiaOnboardingLogoAnalysis | null;
|
|
99
110
|
primaryColor: string | null;
|
|
100
111
|
secondaryColors: string[];
|
|
101
112
|
selectedPaletteKey: string | null;
|
|
@@ -412,6 +423,7 @@ export type PublicOnboardingLogoUploadResponse = {
|
|
|
412
423
|
path: string;
|
|
413
424
|
publicUrl: string | null;
|
|
414
425
|
palette: string[];
|
|
426
|
+
logoAnalysis: MacadamiaOnboardingLogoAnalysis | null;
|
|
415
427
|
};
|
|
416
428
|
export type PublicOnboardingAttemptStatus = "draft" | "claimed" | "provisioning" | "provisioned" | "completed" | "cancelled";
|
|
417
429
|
export type PublicOnboardingProvisioningStage = "starting" | "site_setup" | "copy_generation" | "media_generation" | "page_creation" | "surface_setup" | "theme_setup" | "preview_ready";
|
|
@@ -482,6 +494,7 @@ export type SiteWizardResumeSnapshot = {
|
|
|
482
494
|
palette: Record<"primary" | "secondary" | "accent" | "background" | "surface" | "text", string>;
|
|
483
495
|
mode: "light" | "dark";
|
|
484
496
|
} | null;
|
|
497
|
+
logoAnalysis?: MacadamiaOnboardingLogoAnalysis | null;
|
|
485
498
|
goalSuggestions?: AiSiteWizardSuggestGoalsResponse | null;
|
|
486
499
|
goalSuggestionsInputKey?: string | null;
|
|
487
500
|
};
|
|
@@ -5,7 +5,7 @@ import type { MutableCourseStatus } from "./courses";
|
|
|
5
5
|
import type { ListCustomBlocksResponse, CreateCustomBlockRequest, CreateCustomBlockResponse, DeleteCustomBlockResponse, GetCustomBlockResponse, SdkWorkflowRunStatusCallbackRequest, SdkWorkflowRunStatusCallbackResponse, UpdateCustomBlockRequest, UpdateCustomBlockResponse } from "./contentRuntime";
|
|
6
6
|
import type { ContentTypeRecord, CreateContentTypeRequest, CreateContentTypeResponse, DeleteContentTypeResponse, DuplicateContentTypeResponse, ListContentTypesResponse, UpdateContentTypeRequest, UpdateContentTypeResponse } from "./contentTypes";
|
|
7
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, UpdateWebhookRequest, UpdateWebhookResponse, BackupImportResponse, BackupPreviewRequest, BackupPreviewResponse, CreateBackupUploadUrlRequest, CreateBackupUploadUrlResponse } from "./siteInfrastructure";
|
|
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
9
|
import type { GetSiteInspirationAnalysisResponse, ListSiteInspirationAnalysesResponse } from "./siteGeneration";
|
|
10
10
|
import type { ListGscPropertiesAdminResponse, AuthStatusResponse, CronAppointmentRemindersResponse, CronBillingStatusResponse, CronEventFeedbackEmailsResponse, CronEventOccurrencesResponse, CronEventRemindersResponse, CronMediaJobsQuery, CronMediaJobsResponse, CronNewsletterSendResponse, CronPaymentReconciliationResponse, CronSeoIngestResponse, CronWaitlistExpiryResponse } from "./siteOperations";
|
|
11
11
|
import type { ApplySiteStyleSelectionBody, ApplySiteStyleSelectionResponse } from "./siteRuntimeEndpoints";
|
|
@@ -49,6 +49,12 @@ export type SitePlatformAPIEndpoints = {
|
|
|
49
49
|
siteId: string;
|
|
50
50
|
webhookId: string;
|
|
51
51
|
}, DeleteWebhookResponse>;
|
|
52
|
+
getSdkDeploymentHealth: APIEndpoint<never, {
|
|
53
|
+
siteId: string;
|
|
54
|
+
}, SdkDeploymentHealthResponse>;
|
|
55
|
+
setupSdkDeploymentRevalidationWebhook: APIEndpoint<SetupSdkDeploymentRevalidationWebhookRequest, {
|
|
56
|
+
siteId: string;
|
|
57
|
+
}, SetupSdkDeploymentRevalidationWebhookResponse>;
|
|
52
58
|
listSiteApiKeys: APIEndpoint<never, {
|
|
53
59
|
siteId: string;
|
|
54
60
|
}, ListSiteApiKeysResponse>;
|
|
@@ -470,6 +476,9 @@ export type SitePlatformAPIEndpoints = {
|
|
|
470
476
|
}, {
|
|
471
477
|
siteId: string;
|
|
472
478
|
}, SdkUpdateSettingsResponse>;
|
|
479
|
+
sdkSetupRevalidationWebhook: APIEndpoint<SetupSdkRevalidationWebhookRequest, {
|
|
480
|
+
siteId: string;
|
|
481
|
+
}, SetupSdkRevalidationWebhookResponse>;
|
|
473
482
|
listSiteContentTypes: APIEndpoint<never, {
|
|
474
483
|
siteId: string;
|
|
475
484
|
}, ListContentTypesResponse>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Zustand Store backend implementation
|
|
3
3
|
*
|
|
4
4
|
* Integrates with EditorUiStore for autosave-enabled form management.
|
|
5
|
-
* Supports
|
|
5
|
+
* Supports blocks (per-block data), metadata, content, and linkedContent (embedded entry data).
|
|
6
6
|
*/
|
|
7
7
|
import type { EditorBlockId, EditorSyncState } from '../../../core/src/index';
|
|
8
8
|
import type { FormBackend, StoreBackendOptions } from './types';
|
|
@@ -21,6 +21,7 @@ interface BlocksSlice {
|
|
|
21
21
|
updateBlockBaseline?: (blockId: EditorBlockId, data: Record<string, unknown> | null) => void;
|
|
22
22
|
}
|
|
23
23
|
interface RootSlice {
|
|
24
|
+
getSelectedEntryId?: () => string | null;
|
|
24
25
|
getAtPath: (path: string) => unknown;
|
|
25
26
|
setAtPath: (path: string, value: unknown) => void;
|
|
26
27
|
getCurrentValues: () => Record<string, unknown> | null;
|
|
@@ -40,6 +41,7 @@ interface EditorStoreState {
|
|
|
40
41
|
drafts?: BlocksSlice;
|
|
41
42
|
metadata?: RootSlice;
|
|
42
43
|
content?: RootSlice;
|
|
44
|
+
linkedEntries?: RootSlice;
|
|
43
45
|
blockValidation?: {
|
|
44
46
|
markPathEdited: (blockId: EditorBlockId, path: string) => void;
|
|
45
47
|
isPathEdited: (blockId: EditorBlockId, path: string) => boolean;
|
|
@@ -59,7 +59,7 @@ export interface FormBackend {
|
|
|
59
59
|
/** Zustand store instance (Store backend only) */
|
|
60
60
|
store?: ZustandLikeStore;
|
|
61
61
|
/** Store scope (Store backend only) */
|
|
62
|
-
scope?: 'blocks' | 'metadata' | 'content';
|
|
62
|
+
scope?: 'blocks' | 'metadata' | 'content' | 'linkedContent';
|
|
63
63
|
/** Block ID for blocks scope (Store backend only) */
|
|
64
64
|
blockId?: EditorBlockId;
|
|
65
65
|
/** Get value at field path */
|
|
@@ -113,7 +113,7 @@ export interface FormBackend {
|
|
|
113
113
|
* Options for creating a store backend
|
|
114
114
|
*/
|
|
115
115
|
export type StoreBackendOptions<TState = unknown> = {
|
|
116
|
-
scope: 'blocks' | 'metadata' | 'content';
|
|
116
|
+
scope: 'blocks' | 'metadata' | 'content' | 'linkedContent';
|
|
117
117
|
store: ZustandLikeStore<TState>;
|
|
118
118
|
blockId?: EditorBlockId;
|
|
119
119
|
validateFn?: (values: Record<string, unknown>) => ZodIssue[];
|
|
@@ -128,7 +128,7 @@ export declare function isRhfBackend(backend: FormBackend): backend is FormBacke
|
|
|
128
128
|
export declare function isStoreBackend(backend: FormBackend): backend is FormBackend & {
|
|
129
129
|
type: 'store';
|
|
130
130
|
store: ZustandLikeStore;
|
|
131
|
-
scope: 'blocks' | 'metadata' | 'content';
|
|
131
|
+
scope: 'blocks' | 'metadata' | 'content' | 'linkedContent';
|
|
132
132
|
blockId?: EditorBlockId;
|
|
133
133
|
};
|
|
134
134
|
export type { FieldDefinition } from '../../../blocks/src/index';
|
|
@@ -12,6 +12,8 @@ export { formatPublishBlockedMessage, formatRecoveryConflictSummary, formatRecov
|
|
|
12
12
|
export type { BlockDraftSaveability, BlockDraftValidationIssue, BlockManifestResolution, BlockManifestValidationMode, } from './blockDraftSaveability';
|
|
13
13
|
export type { BaseFieldConfig, FieldConfig, TextFieldConfig, NumberFieldConfig, RichTextFieldConfig, MediaFieldConfig, FileFieldConfig, BooleanFieldConfig, DateFieldConfig, TimeFieldConfig, DateTimeFieldConfig, SlugFieldConfig, UrlFieldConfig, LinkFieldConfig, SelectFieldConfig, ReferenceFieldConfig, GroupFieldConfig, RepeaterFieldConfig, ButtonFieldConfig, ContentTypeSelectFieldConfig, EntryPickerFieldConfig, } from '../fields/types';
|
|
14
14
|
export { createManifestFormAdapter } from '../manifest/manifestFormAdapter';
|
|
15
|
+
export { evaluateVisibility } from '../utils/evaluateVisibility';
|
|
16
|
+
export type { VisibilityValueReader } from '../utils/evaluateVisibility';
|
|
15
17
|
export { PaletteProvider, usePalette } from '../palette/PaletteContext';
|
|
16
18
|
export { SdkConfigProvider, useSdkConfig, useBlockFieldOptions } from '../sdk-config';
|
|
17
19
|
export type { SdkConfig, SdkConfigProviderProps, SdkThemePalette, SdkSectionBackground, SdkSectionOptions, SdkSiteStyleConfig, SdkFieldSelectOption, SdkBlockFieldConfig, SdkBlockFieldOptionsMap, SdkBlockFieldExtensionsMap, } from '../sdk-config';
|
|
@@ -21,3 +21,5 @@ export type { FieldSettingsModalProps } from './widgets';
|
|
|
21
21
|
export { SettingsModal } from './widgets';
|
|
22
22
|
export type { SettingsModalProps, SettingsTab, SettingsTabId } from './widgets';
|
|
23
23
|
export * from './utils/fieldHelpers';
|
|
24
|
+
export { evaluateVisibility } from './utils/evaluateVisibility';
|
|
25
|
+
export type { VisibilityValueReader } from './utils/evaluateVisibility';
|
|
@@ -6,4 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { BaseFieldConfig } from '../fields/types';
|
|
8
8
|
import type { FormBackend } from '../backend/types';
|
|
9
|
-
export
|
|
9
|
+
export type VisibilityValueReader = Pick<FormBackend, 'getValue'>;
|
|
10
|
+
export declare function evaluateVisibility(field: BaseFieldConfig, backend: VisibilityValueReader, path: string): boolean;
|
|
@@ -6,6 +6,7 @@ import type { SdkCustomBlock } from './system/manifest/schema';
|
|
|
6
6
|
import type { ThemeTokens } from './system/theme';
|
|
7
7
|
import type { RouteMap } from './system/transforms';
|
|
8
8
|
import { type MediaAssetIndexItem, type ResolveImageUrlContext, type ResolveImageUrlContextInput } from './system/runtime/nodes/media';
|
|
9
|
+
import type { BookingOfferingPresetSummary } from './system/blocks/offerings-preview/model';
|
|
9
10
|
/**
|
|
10
11
|
* Occurrence context for event pages.
|
|
11
12
|
* Passed through to blocks that need occurrence information (e.g., event-registration).
|
|
@@ -54,6 +55,7 @@ type PageRendererDataContext = {
|
|
|
54
55
|
imageResolveContext?: ResolveImageUrlContextInput;
|
|
55
56
|
apiBaseUrl?: string;
|
|
56
57
|
portalToken?: string | null;
|
|
58
|
+
bookingOfferingPresets?: readonly BookingOfferingPresetSummary[];
|
|
57
59
|
};
|
|
58
60
|
/**
|
|
59
61
|
* Props passed to block override components.
|
|
@@ -145,6 +147,7 @@ export type BlockOverrides = Record<string, BlockOverrideComponent>;
|
|
|
145
147
|
export type SdkConfigForRenderer = {
|
|
146
148
|
customBlocks?: SdkCustomBlock[];
|
|
147
149
|
};
|
|
150
|
+
export type PageBlockPosition = 'only' | 'first' | 'middle' | 'last';
|
|
148
151
|
interface PageRendererProps {
|
|
149
152
|
theme: Theme;
|
|
150
153
|
page: PageOutline | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { mountHeaderChromeRuntime, type HeaderChromeRuntimeMountResult, type HeaderChromeRuntimeOptions, } from '../system/runtime/header/enhanceHeaderSection';
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
*
|
|
8
8
|
* For server-safe rendering, use './server'.
|
|
9
9
|
*/
|
|
10
|
-
export { BlockApiProvider, useBlockApi, type BlockApiConfig } from './system/runtime/api';
|
|
10
|
+
export { BlockApiProvider, useBlockApi, type BlockApiConfig, } from './system/runtime/api';
|
|
11
11
|
export { clientComponentRegistry } from './system/runtime/components/registry.client';
|
|
12
12
|
export type { ComponentRegistry } from './system/runtime/resolver';
|
|
13
13
|
export type { BookingPaymentOptionViewModel, BookingPaymentSelectionViewModel, } from './system/runtime/shared/bookingPaymentOptions';
|
|
14
|
-
export {
|
|
14
|
+
export { mountHeaderChromeRuntime, type HeaderChromeRuntimeMountResult, type HeaderChromeRuntimeOptions, } from './system/runtime/header/enhanceHeaderSection';
|
|
15
15
|
export { ClientThemeScope } from '../../theme-core/src/ClientThemeScope';
|
|
16
16
|
export { ImageResolveContextProvider, useImageResolveContextOptional, } from './system/runtime/nodes/ImageResolveContext';
|
|
17
17
|
export { FormNodeClient } from './system/runtime/nodes/form.client';
|
|
@@ -19,23 +19,23 @@ export { BookingFormClient } from './system/runtime/nodes/booking-form.client';
|
|
|
19
19
|
export { HeadlessBookingPaymentSelectionStep, type HeadlessBookingPaymentSelectionStepProps, } from './system/runtime/nodes/booking-form.default-ui';
|
|
20
20
|
export { HeadlessBookingProvider, createBookingBlockApiConfig, useHeadlessBookingFlow, } from './system/runtime/hooks/useHeadlessBookingFlow';
|
|
21
21
|
export { AltchaWidget as HeadlessBookingAltchaWidget } from '../../altcha/src/client';
|
|
22
|
-
export { EventRegistrationClient, EventRegistrationIslandClient } from './system/runtime/nodes/event-registration.client';
|
|
23
|
-
export { EventDetailsClient, EventDetailsIslandClient } from './system/runtime/nodes/event-details.client';
|
|
24
|
-
export { LocationMapClient, LocationMapIslandClient } from './system/runtime/nodes/location-map.client';
|
|
25
|
-
export { CourseRegistrationClient, CourseRegistrationIslandClient } from './system/runtime/nodes/course-registration.client';
|
|
26
|
-
export { EventListingClient, EventCalendarClient, EventCombinedClient, EventCombinedIslandClient } from './system/runtime/nodes/events';
|
|
22
|
+
export { EventRegistrationClient, EventRegistrationIslandClient, } from './system/runtime/nodes/event-registration.client';
|
|
23
|
+
export { EventDetailsClient, EventDetailsIslandClient, } from './system/runtime/nodes/event-details.client';
|
|
24
|
+
export { LocationMapClient, LocationMapIslandClient, } from './system/runtime/nodes/location-map.client';
|
|
25
|
+
export { CourseRegistrationClient, CourseRegistrationIslandClient, } from './system/runtime/nodes/course-registration.client';
|
|
26
|
+
export { EventListingClient, EventCalendarClient, EventCombinedClient, EventCombinedIslandClient, } from './system/runtime/nodes/events';
|
|
27
27
|
export { CarouselNodeClient } from './system/runtime/nodes/carousel.client';
|
|
28
28
|
export { normalizeCarouselProps } from './system/runtime/nodes/carousel.client';
|
|
29
29
|
export type { CarouselNodeClientProps, NormalizedCarouselProps, ResponsiveSlidesToShow, } from './system/runtime/nodes/carousel.client';
|
|
30
|
-
export { MediaNode, type MediaNodeProps } from './system/runtime/nodes/media.client';
|
|
30
|
+
export { MediaNode, type MediaNodeProps, } from './system/runtime/nodes/media.client';
|
|
31
31
|
export type { BookingFormClientProps, FormConfig as BookingFormConfig, Service as BookingService, } from './system/runtime/nodes/booking-form.client';
|
|
32
|
-
export { BOOKING_FORM_DATA_RESERVED_KEY_VALUES
|
|
32
|
+
export { BOOKING_FORM_DATA_RESERVED_KEY_VALUES } from './system/runtime/nodes/booking-form.reserved-fields';
|
|
33
33
|
export type { BookingFormData, BookingSelectedCollectionOptionKind, } from './system/runtime/nodes/booking-form.state';
|
|
34
34
|
export type { BookingAvailabilityModel, BookingAppointmentPackagesModel, BookingDiscountModel, BookingFieldsModel, BookingFlowActions, BookingPaymentModel, BookingResourcesModel, BookingServicesModel, BookingSpamProtectionModel, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingProviderProps, } from './system/runtime/hooks/useHeadlessBookingFlow';
|
|
35
35
|
export type { AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, AppointmentBookingOverridePropsLike, BookingAvailabilityQuery, BookingAppointmentPackagesUnavailableReason, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingFlowView, BookingResourceView, BookingFlowStep, BookingFlowStepId, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, LoadState, } from './system/runtime/hooks/useHeadlessBookingFlow.state';
|
|
36
36
|
export { buildBookingAvailabilityQuery, buildBookingStepPlan, buildBookingSubmitPlan, createEmptyBookingValidationErrors, createFieldBookingValidationErrors, createFormBookingValidationError, describeUnknownError, deriveBookingFlowSteps, deriveBookingFieldViews, getAppointmentBookingOverrideInput, hasBookingValidationErrors, resolveAppointmentPackagesModel, resolveHeadlessBookingStatus, resolveHeadlessBookingView, toBookingFormData, toBookingSlotView, toBookingSlotViews, validateBookingField, validateBookingFields, validateBookingStep, } from './system/runtime/hooks/useHeadlessBookingFlow.state';
|
|
37
|
-
export type { EventDetailsClientProps, EventDetailsIslandClientProps } from './system/runtime/nodes/event-details.client';
|
|
38
|
-
export type { LocationMapClientProps, LocationMapIslandClientProps } from './system/runtime/nodes/location-map.client';
|
|
37
|
+
export type { EventDetailsClientProps, EventDetailsIslandClientProps, } from './system/runtime/nodes/event-details.client';
|
|
38
|
+
export type { LocationMapClientProps, LocationMapIslandClientProps, } from './system/runtime/nodes/location-map.client';
|
|
39
39
|
export type { EventRegistrationClientProps, EventRegistrationIslandClientProps, } from './system/runtime/nodes/event-registration.client';
|
|
40
40
|
export type { CourseRegistrationClientProps, CourseRegistrationIslandClientProps, } from './system/runtime/nodes/course-registration.client';
|
|
41
41
|
export { ShopClient } from './system/runtime/nodes/shop.client';
|
|
@@ -52,4 +52,4 @@ export type { ShopDisplayConfig } from './system/runtime/nodes/shop.types';
|
|
|
52
52
|
export { NewsletterFormClient } from './system/runtime/nodes/newsletter-form.client';
|
|
53
53
|
export type { NewsletterFormProps } from './system/runtime/nodes/newsletter-form.types';
|
|
54
54
|
export { useBookingFormConfig } from './system/runtime/hooks/useBookingFormConfig';
|
|
55
|
-
export type { Service, BookingFormConfig as BookingFormConfigHook } from './system/runtime/hooks/useBookingFormConfig';
|
|
55
|
+
export type { Service, BookingFormConfig as BookingFormConfigHook, } from './system/runtime/hooks/useBookingFormConfig';
|
|
@@ -340,10 +340,8 @@ export declare const proofBlockIslandCodecs: {
|
|
|
340
340
|
hydration: Readonly<{
|
|
341
341
|
siteId: string;
|
|
342
342
|
stage?: "preview" | "published";
|
|
343
|
-
eventsPerPage:
|
|
344
|
-
|
|
345
|
-
seeAllUrl?: string;
|
|
346
|
-
loadMoreText: string;
|
|
343
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
344
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
347
345
|
showFilters: boolean;
|
|
348
346
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
349
347
|
showVenueFilter: boolean;
|
|
@@ -388,10 +386,8 @@ export declare const proofBlockIslandCodecs: {
|
|
|
388
386
|
hydration: Readonly<{
|
|
389
387
|
siteId: string;
|
|
390
388
|
stage?: "preview" | "published";
|
|
391
|
-
eventsPerPage:
|
|
392
|
-
|
|
393
|
-
seeAllUrl?: string;
|
|
394
|
-
loadMoreText: string;
|
|
389
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
390
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
395
391
|
showFilters: boolean;
|
|
396
392
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
397
393
|
showVenueFilter: boolean;
|
|
@@ -425,8 +421,8 @@ export declare const proofBlockIslandCodecs: {
|
|
|
425
421
|
events: readonly import("..").PublicEvent[];
|
|
426
422
|
listLayout: import("..").EventLayout;
|
|
427
423
|
listColumns: import("..").ColumnOption;
|
|
428
|
-
eventsPerPage:
|
|
429
|
-
|
|
424
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
425
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
430
426
|
startOfWeek: import("..").WeekStart;
|
|
431
427
|
calendarTabViews: import("..").CalendarTabViews;
|
|
432
428
|
showFilters: boolean;
|
|
@@ -474,8 +470,8 @@ export declare const proofBlockIslandCodecs: {
|
|
|
474
470
|
events: readonly import("..").PublicEvent[];
|
|
475
471
|
listLayout: import("..").EventLayout;
|
|
476
472
|
listColumns: import("..").ColumnOption;
|
|
477
|
-
eventsPerPage:
|
|
478
|
-
|
|
473
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
474
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
479
475
|
startOfWeek: import("..").WeekStart;
|
|
480
476
|
calendarTabViews: import("..").CalendarTabViews;
|
|
481
477
|
showFilters: boolean;
|
|
@@ -978,8 +974,8 @@ export declare const runtimeIslandCodecs: {
|
|
|
978
974
|
events: readonly import("..").PublicEvent[];
|
|
979
975
|
listLayout: import("..").EventLayout;
|
|
980
976
|
listColumns: import("..").ColumnOption;
|
|
981
|
-
eventsPerPage:
|
|
982
|
-
|
|
977
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
978
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
983
979
|
startOfWeek: import("..").WeekStart;
|
|
984
980
|
calendarTabViews: import("..").CalendarTabViews;
|
|
985
981
|
showFilters: boolean;
|
|
@@ -1026,8 +1022,8 @@ export declare const runtimeIslandCodecs: {
|
|
|
1026
1022
|
events: readonly import("..").PublicEvent[];
|
|
1027
1023
|
listLayout: import("..").EventLayout;
|
|
1028
1024
|
listColumns: import("..").ColumnOption;
|
|
1029
|
-
eventsPerPage:
|
|
1030
|
-
|
|
1025
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
1026
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1031
1027
|
startOfWeek: import("..").WeekStart;
|
|
1032
1028
|
calendarTabViews: import("..").CalendarTabViews;
|
|
1033
1029
|
showFilters: boolean;
|
|
@@ -1390,10 +1386,8 @@ export declare const runtimeIslandCodecs: {
|
|
|
1390
1386
|
hydration: Readonly<{
|
|
1391
1387
|
siteId: string;
|
|
1392
1388
|
stage?: "preview" | "published";
|
|
1393
|
-
eventsPerPage:
|
|
1394
|
-
|
|
1395
|
-
seeAllUrl?: string;
|
|
1396
|
-
loadMoreText: string;
|
|
1389
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
1390
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1397
1391
|
showFilters: boolean;
|
|
1398
1392
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
1399
1393
|
showVenueFilter: boolean;
|
|
@@ -1438,10 +1432,8 @@ export declare const runtimeIslandCodecs: {
|
|
|
1438
1432
|
hydration: Readonly<{
|
|
1439
1433
|
siteId: string;
|
|
1440
1434
|
stage?: "preview" | "published";
|
|
1441
|
-
eventsPerPage:
|
|
1442
|
-
|
|
1443
|
-
seeAllUrl?: string;
|
|
1444
|
-
loadMoreText: string;
|
|
1435
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
1436
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1445
1437
|
showFilters: boolean;
|
|
1446
1438
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
1447
1439
|
showVenueFilter: boolean;
|
|
@@ -1475,8 +1467,8 @@ export declare const runtimeIslandCodecs: {
|
|
|
1475
1467
|
events: readonly import("..").PublicEvent[];
|
|
1476
1468
|
listLayout: import("..").EventLayout;
|
|
1477
1469
|
listColumns: import("..").ColumnOption;
|
|
1478
|
-
eventsPerPage:
|
|
1479
|
-
|
|
1470
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
1471
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1480
1472
|
startOfWeek: import("..").WeekStart;
|
|
1481
1473
|
calendarTabViews: import("..").CalendarTabViews;
|
|
1482
1474
|
showFilters: boolean;
|
|
@@ -1524,8 +1516,8 @@ export declare const runtimeIslandCodecs: {
|
|
|
1524
1516
|
events: readonly import("..").PublicEvent[];
|
|
1525
1517
|
listLayout: import("..").EventLayout;
|
|
1526
1518
|
listColumns: import("..").ColumnOption;
|
|
1527
|
-
eventsPerPage:
|
|
1528
|
-
|
|
1519
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
1520
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1529
1521
|
startOfWeek: import("..").WeekStart;
|
|
1530
1522
|
calendarTabViews: import("..").CalendarTabViews;
|
|
1531
1523
|
showFilters: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as PageRenderer } from './PageRenderer';
|
|
2
2
|
export { createCustomBlockRegistry, mergeBlockDescriptorsWithRegistry, planCustomBlockRegistryResolution, transformToBlockDescriptor, } from './customBlockRegistry';
|
|
3
3
|
export type { CustomBlockConflictReason, CustomBlockManifestSource, CustomBlockRegistry, CustomBlockRegistryConflict, CustomBlockRegistryEntry, CustomBlockRegistryResolutionPlan, CustomBlockSourcePolicy, ResolvedCustomBlockManifest, SdkConfigForBlockPicker, } from './customBlockRegistry';
|
|
4
|
-
export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, SdkConfigForRenderer, } from './PageRenderer';
|
|
4
|
+
export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, PageBlockPosition, SdkConfigForRenderer, } from './PageRenderer';
|
|
5
5
|
export * from './subroutes';
|
|
6
6
|
export * from './primitives/content/components/Button';
|
|
7
7
|
export * from './structure/schema';
|
|
@@ -14,7 +14,7 @@ export * from '../../theme-core/src/site-styles/index';
|
|
|
14
14
|
export * from '../../theme-core/src/styles/buttons';
|
|
15
15
|
export * from '../../theme-core/src/styles/buttonsLibrary';
|
|
16
16
|
export { type ButtonBackground, type ButtonBorder, type ButtonGlobalSettings, type ButtonSystem, type ButtonVariant, type CornerStyle, type EffectApplication, type FontWeight, type GradientSharpness, type GradientStyle, type HoverColor, type HoverTransform, type ShadowSize, type TextTransform, buttonBackgroundSchema, buttonBorderSchema, buttonGlobalSettingsSchema, buttonSystemSchema, buttonVariantSchema, cornerStyleSchema, effectApplicationSchema, fontWeightSchema, gradientSharpnessSchema, gradientStyleSchema, hoverColorSchema, hoverTransformSchema, shadowSizeSchema, textTransformSchema, generateButtonCss, generateDefaultButtonSystem, buttonPresets, type ButtonPreset, EFFECT_PRESETS, getEffectPreset, getEffectPresetsByCategory, getAllEffectPresets, type EffectCategory, type EffectPreset, type EffectContext, type StateGroup, generateButtonCoreCss, getDefaultButtonVariants, type ButtonVariantCore, type ButtonCoreSettings, type ButtonBackgroundType, type GradientDirection, } from '../../theme-core/src/buttons/index';
|
|
17
|
-
export { type CardBackground, type CardBorder, type CardSpacing, type CardSystem, type CardVariant, cardBackgroundSchema, cardBorderSchema, cardSpacingSchema, cardSystemSchema, cardVariantSchema, generateCardCss, generateDefaultCardSystem, generateCardCoreCss, getDefaultCardVariants, type CardVariantCore, type CardCoreSettings, type CardBackgroundType, type CardSpacingCore, } from '../../theme-core/src/cards/index';
|
|
17
|
+
export { type CardBackground, type CardBorder, type CardSpacing, type CardSystem, type CardVariant, type CardVariantRole, type BoxStylesCardVariant, cardBackgroundSchema, cardBorderSchema, cardSpacingSchema, cardSystemSchema, cardVariantSchema, cardVariantRoleSchema, boxStylesCardVariantSchema, normalizeCardVariantRole, normalizeBoxStylesCardVariant, generateCardCss, generateDefaultCardSystem, generateCardCoreCss, getDefaultCardVariants, type CardVariantCore, type CardCoreSettings, type CardBackgroundType, type CardSpacingCore, } from '../../theme-core/src/cards/index';
|
|
18
18
|
export { generateInputCoreCss, getDefaultInputSettings, type InputCoreSettings, } from '../../theme-core/src/inputs/core';
|
|
19
19
|
export * from '../../theme-core/src/tokens/index';
|
|
20
20
|
export * from '../../theme-core/src/styles/gradients';
|
|
@@ -47,17 +47,19 @@ export { createManifestValidator } from './system/manifest/validation';
|
|
|
47
47
|
export { singleButtonManifest } from './system/blocks/single-button';
|
|
48
48
|
export { Text, RichText } from './primitives/content/primitives';
|
|
49
49
|
export type { PrimitiveAPI, RichTextPrimitiveProps, RichTextVariant, TextProps, } from './primitives/content/primitives';
|
|
50
|
-
export { resolveImageUrl, ImagePresets, buildMediaAssetIndex, buildResolveImageUrlContext, setContextSupabaseUrl, setContextSiteId, setContextMediaAssetIndex, setContextResolveImageUrlContext, setContextMediaAssets, getSiteId, runWithMediaContext, computeMediaTransformStyle, resolveImageSourceSetWithContext, resolveImageUrlWithContext, resolveMediaStorageUrl, resolveMediaWithContext, resolveTargetAspectRatio, } from './system/runtime/nodes/media';
|
|
51
|
-
export type { ImageOptions, MediaAssetIndex, MediaAssetIndexItem, ResolveImageSourceSetOptions, ResolveImageUrlContext, ResolveImageUrlContextInput, ResolvedImageSourceSet, } from './system/runtime/nodes/media';
|
|
50
|
+
export { resolveImageUrl, ImagePresets, buildMediaAssetIndex, buildResolveImageUrlContext, setContextSupabaseUrl, setContextSiteId, setContextMediaAssetIndex, setContextResolveImageUrlContext, setContextMediaAssets, getSiteId, runWithMediaContext, computeMediaTransformStyle, resolveImageSourceSetWithContext, resolveImageUrlResult, resolveImageUrlWithContext, resolveImageUrlWithContextResult, resolveMediaStorageUrl, resolveMediaStorageUrlResult, resolveMediaWithContext, resolveTargetAspectRatio, } from './system/runtime/nodes/media';
|
|
51
|
+
export type { ImageOptions, MediaAssetIndex, MediaAssetIndexItem, MediaUrlResolution, ResolveImageSourceSetOptions, ResolveImageUrlContext, ResolveImageUrlContextInput, ResolvedImageSourceSet, } from './system/runtime/nodes/media';
|
|
52
52
|
export type { AudioMedia, ArchiveMedia, DocumentMedia, ImageMedia, Media, MediaOfType, MediaTypeDiscriminant, PublicDownloadMediaType, PublicDownloadMedia, SpreadsheetMedia, VideoMedia, } from './lib/media';
|
|
53
53
|
export { MEDIA_TYPE_DISCRIMINANTS, PUBLIC_DOWNLOAD_MEDIA_TYPES, isMediaTypeDiscriminant, mediaSchema, mediaTypeDiscriminantFromMimeType, } from './lib/media';
|
|
54
|
-
export { resolveMediaSlotContract } from './system/media/slotContracts';
|
|
54
|
+
export { SECTION_BACKGROUND_MIN_SOURCE_HEIGHT, SECTION_BACKGROUND_MIN_SOURCE_WIDTH, resolveMediaSlotContract, } from './system/media/slotContracts';
|
|
55
55
|
export { collectConstrainedVideoMediaValues } from './system/media/constrainedVideoMedia';
|
|
56
56
|
export type { ConstrainedVideoMediaValue } from './system/media/constrainedVideoMedia';
|
|
57
57
|
export type { MediaDeliveryStrategyId, MediaSlotContract, MediaSlotCropMode, MediaSlotDeliveryContract, MediaSlotEditContract, } from '../../media-core/src/index';
|
|
58
58
|
export { getPicsumImage } from './lib/picsum';
|
|
59
59
|
export { asRecord, isObjectRecord, isRecord, type UnknownRecord, } from './lib/typeGuards';
|
|
60
60
|
export type { PublicEvent, EventLayout, ColumnOption, CalendarView, WeekStart, EventVenue, } from './system/blocks/events/shared/types';
|
|
61
|
+
export { offeringsPreviewManifest } from './system/blocks/offerings-preview';
|
|
62
|
+
export type { OfferingsPreviewContent } from './system/blocks/offerings-preview';
|
|
61
63
|
export type { FormRecord, FormFieldDef, } from './system/runtime/nodes/form.types';
|
|
62
64
|
export { APPOINTMENT_BOOKING_BLOCK_ID, BOOKING_FORM_DATA_RESERVED_KEYS, BOOKING_FORM_DATA_RESERVED_KEY_VALUES, collectBookingReservedFieldCollisions, findBookingFormDataReservedFieldCollisions, formatBookingReservedFieldCollisionMessages, formatBookingFormDataReservedFieldMessage, isBookingFormDataReservedKey, type BookingFormDataReservedKey, type BookingReservedFieldCollision, } from './system/runtime/nodes/booking-form.reserved-fields';
|
|
63
65
|
export type { ShopDisplayConfig } from './system/runtime/nodes/shop.types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { TextProps } from "../primitives";
|
|
2
|
-
export default function Text({ as: Comp, children, className, path }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default function Text({ as: Comp, children, className, path, maxLength: _maxLength, }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,6 +5,7 @@ import TextView from "./components/Text";
|
|
|
5
5
|
import RichTextView from "./components/RichText";
|
|
6
6
|
export type TextProps = PrimitiveProps & {
|
|
7
7
|
path?: string;
|
|
8
|
+
maxLength?: number;
|
|
8
9
|
blockData?: Record<string, unknown> | null;
|
|
9
10
|
};
|
|
10
11
|
export type RichTextPrimitiveProps = {
|