@riverbankcms/sdk 0.129.1 → 0.130.2
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/CHANGELOG.md +85 -0
- package/README.md +33 -11
- package/dist/{PreviewEditorSidebar-DceRseRV.mjs → PreviewEditorSidebar-BY-1QdE2.mjs} +327 -250
- package/dist/{PreviewEditorUI-BNunq3kk.mjs → PreviewEditorUI-BS34jI9_.mjs} +3 -3
- package/dist/{PreviewQueryProvider-B1kbhaJD.mjs → PreviewQueryProvider-BD0kOjtI.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-Bt87-62u.mjs → SdkPreviewModeRuntime-B1pWnhu-.mjs} +235 -211
- package/dist/{SiteChromeCustomizeContext-BLl-OlL4.mjs → SiteChromeCustomizeContext-BhUG_72i.mjs} +12981 -11912
- package/dist/_dts/ai/src/contracts/proposalPrimitives.d.ts +52 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +5256 -29129
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +33429 -0
- package/dist/_dts/api/src/accountApi.d.ts +213 -0
- package/dist/_dts/api/src/accountEndpointDefinitions.d.ts +30 -0
- package/dist/_dts/api/src/accountEndpoints.d.ts +254 -0
- package/dist/_dts/api/src/apiCallParams.d.ts +60 -0
- package/dist/_dts/api/src/appointmentSetup.d.ts +21 -9
- package/dist/_dts/api/src/bookingConfig.d.ts +12 -64
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +17 -16
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +15 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -0
- package/dist/_dts/api/src/bookingSettingsSections.d.ts +9 -0
- package/dist/_dts/api/src/bookingVerticals.d.ts +2 -2
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +2 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -5
- package/dist/_dts/api/src/endpoints.d.ts +1355 -1318
- package/dist/_dts/api/src/event-destination-policy.d.ts +1 -1
- package/dist/_dts/api/src/eventManagementContracts.d.ts +152 -0
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +26 -0
- package/dist/_dts/api/src/eventSeriesPresentationPreset.d.ts +12 -0
- package/dist/_dts/api/src/index.d.ts +12 -3
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -0
- package/dist/_dts/api/src/oauth.d.ts +8 -0
- package/dist/_dts/api/src/preview-auth.d.ts +26 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +22 -47
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +5 -5
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +0 -1
- package/dist/_dts/api/src/sdk-event-schedule.d.ts +5 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +114 -20
- package/dist/_dts/api/src/sdkBlockUpsertContracts.d.ts +48 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +43 -79
- package/dist/_dts/api/src/sdkEventCategoryContracts.d.ts +9 -0
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +35 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +2256 -302
- package/dist/_dts/api/src/settings/permissions.d.ts +2 -2
- package/dist/_dts/api/src/siteApiKeyEndpointDefinitions.d.ts +66 -0
- package/dist/_dts/api/src/siteInfrastructure.d.ts +3 -3
- package/dist/_dts/api/src/siteOperations.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +17 -4
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +23 -37
- package/dist/_dts/api/src/types.d.ts +7 -59
- package/dist/_dts/block-form/src/client/index.d.ts +15 -23
- package/dist/_dts/block-form/src/index.d.ts +23 -22
- package/dist/_dts/blocks/src/contracts/index.d.ts +2 -0
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +6 -8
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +36 -14
- package/dist/_dts/blocks/src/index.d.ts +5 -3
- package/dist/_dts/blocks/src/lib/media.d.ts +9 -539
- package/dist/_dts/blocks/src/primitives/layout/Grid.d.ts +18 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +61 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +24 -22
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +25 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +142 -120
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/shop.shared.d.ts +37 -4
- package/dist/_dts/blocks/src/system/blocks/site-footer-nav-groups-layout.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +4 -63
- package/dist/_dts/blocks/src/system/componentFactory.d.ts +5 -5
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +9 -9
- package/dist/_dts/blocks/src/system/customize/serializeBackgroundOverride.d.ts +3 -0
- package/dist/_dts/blocks/src/system/fields/background.d.ts +2 -20
- package/dist/_dts/blocks/src/system/fields/backgroundContent.d.ts +17 -0
- package/dist/_dts/blocks/src/system/fields/backgroundContentAudit.d.ts +20 -0
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +18 -34
- package/dist/_dts/blocks/src/system/fields/gridLayout.d.ts +20 -0
- package/dist/_dts/blocks/src/system/fragments/builder.d.ts +1 -0
- package/dist/_dts/blocks/src/system/fragments/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/helpers/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +10 -45
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +7 -4
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/writeCanonicalization.d.ts +4 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +123 -55
- package/dist/_dts/blocks/src/system/node/fragments/classNameBinding.d.ts +6 -1
- package/dist/_dts/blocks/src/system/node/fragments/styledCard.d.ts +31 -0
- package/dist/_dts/blocks/src/system/registry.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +2 -37
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +61 -24
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +30 -12
- package/dist/_dts/blocks/src/system/runtime/header/enhanceHeaderSection.d.ts +3 -5
- package/dist/_dts/blocks/src/system/runtime/header/headerScrollRuntime.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/header/runtimeContract.d.ts +22 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +24 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.validationErrors.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +9 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/view.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.planning.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.frame.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.server.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +41 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.pass-contract.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.state.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/shared/components/FeedbackMessage.d.ts +17 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/spacing.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/boxStyleClassNames.d.ts +90 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +7 -1
- package/dist/_dts/blocks/src/system/transforms/registry/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +29 -1
- package/dist/_dts/blocks/src/system/transforms/registry/core.d.ts +4 -1
- package/dist/_dts/blocks/src/system/transforms/registry/headerRuntime.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +4 -40
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +41 -43
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +4 -2
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +2 -17
- package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +5 -0
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +2 -2
- package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +21 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +11 -1
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +26 -0
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +6 -6
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +6 -6
- package/dist/_dts/content-model/src/templates/defaults.d.ts +7 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +2 -2
- package/dist/_dts/core/src/booking-time-zone.d.ts +6 -0
- package/dist/_dts/core/src/branded.d.ts +4 -0
- package/dist/_dts/core/src/event-page-surface-subject.d.ts +25 -4
- package/dist/_dts/core/src/footer-composition-types.d.ts +4 -4
- package/dist/_dts/core/src/footer-navigation-layout.d.ts +4 -0
- package/dist/_dts/core/src/index.d.ts +4 -0
- package/dist/_dts/core/src/public-event-booking-availability.d.ts +8 -0
- package/dist/_dts/core/src/secret.d.ts +44 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +379 -18
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +2 -2
- 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/SortableBlockItem.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockValidationManifests.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/preparedManifest.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/blockPayload.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -2
- 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/index.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/entry-picker/EntryPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/index.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/inline-text/InlineTextField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewGroupOrderField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
- 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/utils.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/FooterSidebarDisclosure.d.ts +8 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +15 -17
- package/dist/_dts/preview-next/src/client/preview/PreviewFooterEditorPanel.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -5
- package/dist/_dts/preview-next/src/client/preview/PreviewSiteFontStorageContext.d.ts +6 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +3 -5
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +6 -7
- package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +7 -7
- package/dist/_dts/preview-next/src/client/preview/siteChromeCustomizeTypes.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +12 -11
- package/dist/_dts/preview-next/src/client/preview/siteChromeSelectionRows.d.ts +53 -0
- package/dist/_dts/preview-next/src/client/preview/siteFontPreview.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/siteStyleAccess.d.ts +1 -6
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +6 -15
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +4 -6
- package/dist/_dts/preview-next/src/client/sdk/contentStorage.d.ts +10 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +1 -1
- package/dist/_dts/preview-next/src/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/keepAlive.d.ts +3 -5
- package/dist/_dts/preview-next/src/refresh-contract.d.ts +1 -0
- package/dist/_dts/preview-next/src/route-contract.d.ts +7 -0
- package/dist/_dts/sdk/src/config/types.d.ts +1 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +2 -0
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +64 -79
- package/dist/_dts/sdk/src/next/catch-all-theme-admission.d.ts +23 -0
- package/dist/_dts/sdk/src/next/index.d.ts +8 -6
- package/dist/_dts/sdk/src/next/resolveTheme.d.ts +1 -2
- package/dist/_dts/sdk/src/next/types.d.ts +10 -0
- package/dist/_dts/sdk/src/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +2 -16
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +4 -3
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +5 -3
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/hooks/useContent.d.ts +4 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +3 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +15 -2
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +11 -0
- package/dist/_dts/sdk/src/theme-bridge/types.d.ts +4 -2
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/blockOverrides.d.ts +1 -1
- package/dist/_dts/theme-core/src/boxBackgroundSchema.d.ts +184 -0
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +96 -0
- package/dist/_dts/theme-core/src/buttons/buttonSurfaceContext.d.ts +78 -0
- package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/parseThemeForPersistence.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +9 -57
- package/dist/_dts/theme-core/src/buttons/resolvedButtonCss.d.ts +6 -3
- package/dist/_dts/theme-core/src/buttons/styles/domain.d.ts +8 -7
- package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/staticRecipes.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +12 -0
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +5 -0
- package/dist/_dts/theme-core/src/buttons/types.d.ts +51 -4
- package/dist/_dts/theme-core/src/cards/core.d.ts +54 -10
- package/dist/_dts/theme-core/src/cards/decorations.d.ts +33 -0
- package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +7 -2
- package/dist/_dts/theme-core/src/cards/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/cards/openCardVariant.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/roles.d.ts +38 -0
- package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +53 -8
- package/dist/_dts/theme-core/src/cards/types.d.ts +489 -21
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +59 -0
- package/dist/_dts/theme-core/src/header/paintTargets.d.ts +2 -2
- package/dist/_dts/theme-core/src/header/scrollTreatment.d.ts +3 -2
- package/dist/_dts/theme-core/src/lib/media.d.ts +583 -10
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +5085 -1524
- package/dist/_dts/theme-core/src/palette/utils/contrast.d.ts +1 -0
- package/dist/_dts/theme-core/src/palette/utils/opaqueSurfaceColor.d.ts +6 -0
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +5300 -2019
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +84 -102
- package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +12 -1
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +9 -4
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +0 -20
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +84 -102
- package/dist/_dts/theme-core/src/site-styles/cardRoleVocabulary.d.ts +48 -0
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +6 -14
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +29 -102
- package/dist/_dts/theme-core/src/site-styles/customizableSurfaces.d.ts +3 -76
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +21 -385
- package/dist/_dts/theme-core/src/site-styles/generatedDesignPipeline.d.ts +3 -7
- package/dist/_dts/theme-core/src/site-styles/generatedDesignPipelineHelpers.d.ts +17 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +10 -18
- package/dist/_dts/theme-core/src/site-styles/headerLayoutCatalog.d.ts +281 -0
- package/dist/_dts/theme-core/src/site-styles/headerLayoutResolution.d.ts +13 -0
- package/dist/_dts/theme-core/src/site-styles/headerLayoutStyles.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/{headerLookTypes.d.ts → headerLayoutTypes.d.ts} +18 -90
- package/dist/_dts/theme-core/src/site-styles/headerNavStyles.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +7 -11
- package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +2 -4
- package/dist/_dts/theme-core/src/site-styles/headerStyleCompiler.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/imageSurfaceBackground.d.ts +14 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +6 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignAppearanceAvailability.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorCapabilities.d.ts +22 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +9 -8
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntentEquality.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +14 -41
- package/dist/_dts/theme-core/src/site-styles/previewRuntimeCapabilities.d.ts +19 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +32 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +9 -68
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +13 -12
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +50 -39
- package/dist/_dts/theme-core/src/siteChromePlanning.d.ts +9 -9
- package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +1 -0
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +39 -0
- package/dist/_dts/ui/src/navigation-tabs.d.ts +3 -2
- package/dist/client/{CourseRegistrationWizard-xRmA7REV.mjs → CourseRegistrationWizard-DGW9F0SQ.mjs} +7 -7
- package/dist/client/{DiscountCodeDisclosure-B9vriL5C.mjs → DiscountCodeDisclosure-BPZ-yfGI.mjs} +1 -1
- package/dist/client/{EventCombined.client-BgVnVTlz.mjs → EventCombined.client-Cjt3kKYR.mjs} +4 -4
- package/dist/client/{EventListing.client-CqdsO7jO.mjs → EventListing.client-DY9dn6Fh.mjs} +2 -2
- package/dist/client/{FeedbackMessage-ByMrs3cr.mjs → FeedbackMessage-CtLvvS_d.mjs} +15 -3
- package/dist/client/{LeafletStaticMap-CKPxot9M.mjs → LeafletStaticMap--2c61XYn.mjs} +1 -1
- package/dist/client/{StepIndicator-DGCYuBJ1.mjs → StepIndicator-CLjQhkDb.mjs} +3 -3
- package/dist/client/{accordion-BfN5Eqd-.mjs → accordion-_boYwHHi.mjs} +1 -1
- package/dist/client/{bookingForm-DOvCpBFP.mjs → bookingForm--AqEfyBX.mjs} +56 -39
- package/dist/client/bookings.mjs +1348 -1157
- package/dist/client/{carousel-DPNmiH0f.mjs → carousel-CVI2dqZr.mjs} +2 -2
- package/dist/client/{carousel.client-CpwTUhIo.mjs → carousel.client-59G_WMr4.mjs} +1 -1
- package/dist/client/{cart--egVXlrR.mjs → cart-DR6IiPz9.mjs} +3 -3
- package/dist/client/{checkout-DywWtMcq.mjs → checkout-CsrGAfQt.mjs} +3 -3
- package/dist/client/client.mjs +20935 -19889
- package/dist/client/{colorStyles-BWpj_h4C.mjs → colorStyles-CrxJrPjJ.mjs} +277 -1
- package/dist/client/{context-CJz1Vlsz.mjs → context-B83PiNzm.mjs} +6 -21
- package/dist/client/{courseRegistration-Dk9qFVwt.mjs → courseRegistration-aNJVaLa3.mjs} +3 -3
- package/dist/client/{eventCalendar-Bkz2HjlS.mjs → eventCalendar-OZ7h59VN.mjs} +6 -6
- package/dist/client/{eventCombined-D4kipYWg.mjs → eventCombined-BbJ6bFKz.mjs} +3 -3
- package/dist/client/{eventDetails-Dz_5ix2Q.mjs → eventDetails-BLyUBiCT.mjs} +3 -3
- package/dist/client/{eventListing-D0vm-zST.mjs → eventListing-DuP1yhBS.mjs} +3 -3
- package/dist/client/{eventRegistration-Cw1E4Q4p.mjs → eventRegistration-BXyECPa-.mjs} +11 -12
- package/dist/client/{form-C2Zf1n3K.mjs → form-BA4t3kKU.mjs} +4 -4
- package/dist/client/{headerSection-CP05gzdc.mjs → headerSection-CpNaJxhW.mjs} +151 -104
- package/dist/client/hooks.mjs +6328 -6104
- package/dist/client/{locationMap-Cl3x9PYJ.mjs → locationMap-3HGMCL7_.mjs} +3 -3
- package/dist/client/{media-CNE1Z-wb.mjs → media-BOHuueS5.mjs} +16 -4
- package/dist/client/{newsletterForm-DyEJoClm.mjs → newsletterForm-C2s6Mw67.mjs} +4 -4
- package/dist/client/{pricing-DGuNR1W4.mjs → pricing-BiqIMgZk.mjs} +1 -1
- package/dist/client/{productDetail-Cq-HrGew.mjs → productDetail-C9joWhdE.mjs} +3 -3
- package/dist/client/{productList-DbB3jwqd.mjs → productList-CjzdU3pB.mjs} +3 -3
- package/dist/client/{propsDecoder-CiTuhUwY.mjs → propsDecoder-CBPGXEYX.mjs} +2480 -2478
- package/dist/client/rendering/client.mjs +5371 -6741
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +18616 -17447
- package/dist/client/{scrollToBlock-CShkRqab.mjs → scrollToBlock-DZ73aEX6.mjs} +1 -1
- package/dist/client/{shop-Cu4Ib-ZA.mjs → shop-CQRai7hj.mjs} +36 -25
- package/dist/client/{shop-commerce-BzpsOdh7.mjs → shop-commerce-hP9UboOx.mjs} +8 -8
- package/dist/client/{shop-commerce-store-DaE7Fhj8.mjs → shop-commerce-store-DiD5a32e.mjs} +1 -1
- package/dist/client/{shopShared-cF0c20vB.mjs → shopShared-DP8DXTkF.mjs} +12 -6
- package/dist/client/{useEventFilters-QZ3HMgaJ.mjs → useEventFilters-pF_OJNQP.mjs} +137 -81
- package/dist/client/{usePolling-BKf0GcE-.mjs → usePolling-Cls91SD2.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +202 -129
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +7406 -29
- package/dist/preview-next/middleware.mjs +196 -128
- package/dist/{previewAuthStore-BesgU5Xu.mjs → previewAuthStore-CX1C_KJ4.mjs} +195 -128
- package/dist/{sdk-runtime-C20CVWbb.mjs → sdk-runtime-5CcPAI14.mjs} +2 -2
- package/dist/{separator-BE3NCquy.mjs → separator-BXlYN_gr.mjs} +1 -1
- package/dist/server/components.mjs +22644 -21375
- package/dist/server/config-validation.mjs +6507 -6309
- package/dist/server/config.mjs +6511 -6313
- package/dist/server/data.mjs +6311 -6104
- package/dist/server/date-time.mjs +22 -13
- package/dist/server/index.mjs +196 -129
- package/dist/server/next.mjs +22782 -21578
- package/dist/server/page-converter.mjs +4769 -6213
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +20525 -20291
- package/dist/server/rendering.mjs +22677 -21389
- package/dist/server/routing.mjs +6651 -5398
- package/dist/server/server.mjs +6389 -6256
- package/dist/server/theme-bridge.mjs +2251 -2465
- package/dist/server/theme.mjs +974 -642
- package/dist/styles/index.css +317 -337
- package/package.json +3 -2
- package/dist/_dts/block-form/src/client/blockDraftSaveability.d.ts +0 -1
- package/dist/_dts/block-form/src/widgets/index.d.ts +0 -20
- package/dist/_dts/blocks/src/system/runtime/api/requestBody.d.ts +0 -7
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +0 -66
- package/dist/_dts/theme-core/src/site-styles/headerLayoutStyleCatalog.d.ts +0 -254
- package/dist/_dts/theme-core/src/site-styles/headerLegacyLooks.d.ts +0 -372
- package/dist/_dts/theme-core/src/site-styles/headerLookBranding.d.ts +0 -106
- package/dist/_dts/theme-core/src/site-styles/headerLookSelection.d.ts +0 -2
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +0 -7
- package/dist/_dts/theme-core/src/site-styles/headerStyleCompilerPrimitives.d.ts +0 -23
- package/dist/client/clsx-DgIEfj3H.mjs +0 -16
|
@@ -236,11 +236,11 @@ export declare const SETTINGS_ACTION_POLICIES: {
|
|
|
236
236
|
};
|
|
237
237
|
readonly "apiKeys.read": {
|
|
238
238
|
readonly kind: "roleAtLeast";
|
|
239
|
-
readonly minimumRole: "
|
|
239
|
+
readonly minimumRole: "administrator";
|
|
240
240
|
};
|
|
241
241
|
readonly "apiKeys.readAccessLogs": {
|
|
242
242
|
readonly kind: "roleAtLeast";
|
|
243
|
-
readonly minimumRole: "
|
|
243
|
+
readonly minimumRole: "administrator";
|
|
244
244
|
};
|
|
245
245
|
readonly "apiKeys.manageContentKeys": {
|
|
246
246
|
readonly kind: "roleAtLeast";
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare const SITE_API_KEY_ENDPOINT_DEFINITIONS: {
|
|
2
|
+
listSiteApiKeys: {
|
|
3
|
+
path: "/sites/{siteId}/api-keys";
|
|
4
|
+
method: "GET";
|
|
5
|
+
auth: "user";
|
|
6
|
+
tags: ("site-{siteId}" | "api-keys")[];
|
|
7
|
+
responseKind: "json";
|
|
8
|
+
};
|
|
9
|
+
createSiteApiKey: {
|
|
10
|
+
path: "/sites/{siteId}/api-keys";
|
|
11
|
+
method: "POST";
|
|
12
|
+
auth: "user";
|
|
13
|
+
tags: ("site-{siteId}" | "api-keys")[];
|
|
14
|
+
responseKind: "json";
|
|
15
|
+
};
|
|
16
|
+
revokeSiteApiKey: {
|
|
17
|
+
path: "/sites/{siteId}/api-keys/{keyId}";
|
|
18
|
+
method: "DELETE";
|
|
19
|
+
auth: "user";
|
|
20
|
+
tags: ("site-{siteId}" | "api-keys")[];
|
|
21
|
+
responseKind: "json";
|
|
22
|
+
};
|
|
23
|
+
listSitePreviewKeys: {
|
|
24
|
+
path: "/sites/{siteId}/api-keys/preview";
|
|
25
|
+
method: "GET";
|
|
26
|
+
auth: "user";
|
|
27
|
+
tags: ("preview-key" | "site-{siteId}" | "api-keys")[];
|
|
28
|
+
errors: never[];
|
|
29
|
+
responseKind: "json";
|
|
30
|
+
};
|
|
31
|
+
createSitePreviewKey: {
|
|
32
|
+
path: "/sites/{siteId}/api-keys/preview";
|
|
33
|
+
method: "POST";
|
|
34
|
+
auth: "user";
|
|
35
|
+
tags: ("preview-key" | "site-{siteId}" | "api-keys")[];
|
|
36
|
+
responseKind: "json";
|
|
37
|
+
};
|
|
38
|
+
getSiteApiKeyAccessLogs: {
|
|
39
|
+
path: "/sites/{siteId}/api-keys/access-logs";
|
|
40
|
+
method: "GET";
|
|
41
|
+
auth: "user";
|
|
42
|
+
tags: ("site-{siteId}" | "api-keys" | "access-logs")[];
|
|
43
|
+
responseKind: "json";
|
|
44
|
+
};
|
|
45
|
+
listManagementKeys: {
|
|
46
|
+
path: "/sites/{siteId}/api-keys/management";
|
|
47
|
+
method: "GET";
|
|
48
|
+
auth: "user";
|
|
49
|
+
tags: ("site-{siteId}" | "api-keys" | "management-keys")[];
|
|
50
|
+
responseKind: "json";
|
|
51
|
+
};
|
|
52
|
+
createManagementKey: {
|
|
53
|
+
path: "/sites/{siteId}/api-keys/management";
|
|
54
|
+
method: "POST";
|
|
55
|
+
auth: "user";
|
|
56
|
+
tags: ("site-{siteId}" | "api-keys" | "management-keys")[];
|
|
57
|
+
responseKind: "json";
|
|
58
|
+
};
|
|
59
|
+
revokeManagementKey: {
|
|
60
|
+
path: "/sites/{siteId}/api-keys/management";
|
|
61
|
+
method: "DELETE";
|
|
62
|
+
auth: "user";
|
|
63
|
+
tags: ("site-{siteId}" | "api-keys" | "management-keys")[];
|
|
64
|
+
responseKind: "json";
|
|
65
|
+
};
|
|
66
|
+
};
|
|
@@ -227,7 +227,7 @@ export type ApiKeyAccessLogRecord = {
|
|
|
227
227
|
};
|
|
228
228
|
export type ListSiteApiKeysResponse = {
|
|
229
229
|
contentKeys: ApiKeyRecord[];
|
|
230
|
-
|
|
230
|
+
previewKeys: readonly PreviewKeyRecord[];
|
|
231
231
|
managementKeys: ApiKeyRecord[];
|
|
232
232
|
};
|
|
233
233
|
export type CreateSiteApiKeyRequest = {
|
|
@@ -242,8 +242,8 @@ export type CreateSiteApiKeyResponse = {
|
|
|
242
242
|
export type RevokeSiteApiKeyResponse = {
|
|
243
243
|
message: string;
|
|
244
244
|
};
|
|
245
|
-
export type
|
|
246
|
-
|
|
245
|
+
export type ListSitePreviewKeysResponse = {
|
|
246
|
+
previewKeys: readonly PreviewKeyRecord[];
|
|
247
247
|
};
|
|
248
248
|
export type CreateSitePreviewKeyResponse = {
|
|
249
249
|
key: string;
|
|
@@ -16,6 +16,7 @@ export type AuthStatusResponse = {
|
|
|
16
16
|
authenticated: true;
|
|
17
17
|
keyType: "content" | "preview" | "management" | (string & {});
|
|
18
18
|
siteId: string;
|
|
19
|
+
keyId: string;
|
|
19
20
|
keyPrefix: string;
|
|
20
21
|
};
|
|
21
22
|
export type PortalAppointmentReschedule = {
|
|
@@ -378,7 +379,6 @@ export type CreateManualSiteRequest = {
|
|
|
378
379
|
scaffoldContact?: boolean;
|
|
379
380
|
scaffoldBlog?: boolean;
|
|
380
381
|
invitees?: SiteInvitee[];
|
|
381
|
-
userId?: string;
|
|
382
382
|
};
|
|
383
383
|
export type CreateManualSiteResponse = {
|
|
384
384
|
siteId: string;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { SiteCommandOf } from '@riverbankcms/site-commands';
|
|
2
|
+
import type { AppearancePresetId } from '../../theme-core/src/site-styles/index';
|
|
2
3
|
import type { APIEndpoint } from './apiEndpointTypes';
|
|
3
4
|
import type { AdminCreateSiteRequest, AdminCreateSiteResponse, AdminDeletePriceOverrideRequest, AdminDeletePriceOverrideResponse, AdminDeleteSiteResponse, AdminGetPriceOverrideQuery, AdminGetPriceOverrideResponse, AdminUpsertPriceOverrideRequest, AdminUpsertPriceOverrideResponse } from './accessAdmin';
|
|
4
5
|
import type { ListCustomBlocksResponse, CreateCustomBlockRequest, CreateCustomBlockResponse, DeleteCustomBlockResponse, GetCustomBlockResponse, SdkWorkflowRunStatusCallbackRequest, SdkWorkflowRunStatusCallbackResponse, UpdateCustomBlockRequest, UpdateCustomBlockResponse } from './contentRuntime';
|
|
5
6
|
import type { ContentTypeRecord, CreateContentTypeRequest, CreateContentTypeResponse, DeleteContentTypeResponse, DuplicateContentTypeResponse, ListContentTypesResponse, UpdateContentTypeRequest, UpdateContentTypeResponse } from './contentTypes';
|
|
6
7
|
import type { CheckRedirectQuery, CheckRedirectResponse, CreateRedirectRuleRequest, CreateRedirectRuleResponse, DeleteRedirectRuleResponse, ListRedirectRulesResponse } from './redirects';
|
|
7
|
-
import type { CreateManagementKeyRequest, CreateManagementKeyResponse, CreateSiteApiKeyRequest, CreateSiteApiKeyResponse, CreateSitePreviewKeyResponse, CreateWebhookRequest, CreateWebhookResponse, DeleteBackupUploadRequest, DeleteBackupUploadResponse, DeleteWebhookResponse, GetSiteApiKeyAccessLogsResponse,
|
|
8
|
+
import type { CreateManagementKeyRequest, CreateManagementKeyResponse, CreateSiteApiKeyRequest, CreateSiteApiKeyResponse, CreateSitePreviewKeyResponse, CreateWebhookRequest, CreateWebhookResponse, DeleteBackupUploadRequest, DeleteBackupUploadResponse, DeleteWebhookResponse, GetSiteApiKeyAccessLogsResponse, ListSitePreviewKeysResponse, GetWebhookResponse, ImportBackupAsNewSiteRequest, ImportBackupAsNewSiteResponse, ImportSiteBackupRequest, ListManagementKeysResponse, ListSiteApiKeysResponse, ListWebhooksResponse, RevokeManagementKeyRequest, RevokeManagementKeyResponse, RevokeSiteApiKeyResponse, SdkDeploymentHealthResponse, SetupSdkDeploymentRevalidationWebhookRequest, SetupSdkDeploymentRevalidationWebhookResponse, SetupSdkRevalidationWebhookRequest, SetupSdkRevalidationWebhookResponse, UpdateWebhookRequest, UpdateWebhookResponse, BackupImportResponse, BackupPreviewRequest, BackupPreviewResponse, CreateBackupUploadUrlRequest, CreateBackupUploadUrlResponse } from './siteInfrastructure';
|
|
8
9
|
import type { GetSiteInspirationAnalysisResponse, ListSiteInspirationAnalysesResponse } from './siteGeneration';
|
|
9
10
|
import type { ListGscPropertiesAdminResponse, AuthStatusResponse, CronAppointmentRemindersResponse, CronBillingStatusResponse, CronEventFeedbackEmailsResponse, CronEventOccurrencesResponse, CronEventRemindersResponse, CronMediaJobsQuery, CronMediaJobsResponse, CronNewsletterSendResponse, CronPaymentReconciliationResponse, CronSeoIngestResponse, CronWaitlistExpiryResponse } from './siteOperations';
|
|
10
11
|
import type { ApplySiteStyleSelectionBody, ApplySiteStyleSelectionResponse } from './siteRuntimeEndpoints';
|
|
@@ -71,10 +72,12 @@ export type SitePlatformAPIEndpoints = {
|
|
|
71
72
|
siteId: string;
|
|
72
73
|
keyId: string;
|
|
73
74
|
}, RevokeSiteApiKeyResponse>;
|
|
74
|
-
|
|
75
|
+
listSitePreviewKeys: APIEndpoint<never, {
|
|
75
76
|
siteId: string;
|
|
76
|
-
},
|
|
77
|
-
createSitePreviewKey: APIEndpoint<
|
|
77
|
+
}, ListSitePreviewKeysResponse>;
|
|
78
|
+
createSitePreviewKey: APIEndpoint<{
|
|
79
|
+
name: string;
|
|
80
|
+
}, {
|
|
78
81
|
siteId: string;
|
|
79
82
|
}, CreateSitePreviewKeyResponse>;
|
|
80
83
|
getSiteApiKeyAccessLogs: APIEndpoint<never, {
|
|
@@ -275,6 +278,11 @@ export type SitePlatformAPIEndpoints = {
|
|
|
275
278
|
* `activeTheme.selectionVersion`); mismatch → 409 tag `STALE_CATALOG`.
|
|
276
279
|
*/
|
|
277
280
|
baseSelectionVersion?: number;
|
|
281
|
+
/**
|
|
282
|
+
* Semantic page-design intent. Omit to preserve the existing choice,
|
|
283
|
+
* provide an id to pin a Look, or provide null to return to automatic.
|
|
284
|
+
*/
|
|
285
|
+
appearancePresetId?: AppearancePresetId | null;
|
|
278
286
|
}, {
|
|
279
287
|
siteId: string;
|
|
280
288
|
identifier: string;
|
|
@@ -416,6 +424,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
416
424
|
sdkListEventOccurrences: APIEndpoint<never, {
|
|
417
425
|
siteId: string;
|
|
418
426
|
identifier: string;
|
|
427
|
+
runIdentifier: string;
|
|
419
428
|
all?: boolean;
|
|
420
429
|
status?: 'scheduled' | 'cancelled' | 'completed';
|
|
421
430
|
cursor?: string;
|
|
@@ -424,20 +433,24 @@ export type SitePlatformAPIEndpoints = {
|
|
|
424
433
|
sdkAddEventOccurrence: APIEndpoint<SdkAddEventOccurrenceRequest, {
|
|
425
434
|
siteId: string;
|
|
426
435
|
identifier: string;
|
|
436
|
+
runIdentifier: string;
|
|
427
437
|
}, SdkEventOccurrenceResponse>;
|
|
428
438
|
sdkUpdateEventOccurrence: APIEndpoint<SdkUpdateEventOccurrenceRequest, {
|
|
429
439
|
siteId: string;
|
|
430
440
|
identifier: string;
|
|
441
|
+
runIdentifier: string;
|
|
431
442
|
occurrenceId: string;
|
|
432
443
|
}, SdkEventOccurrenceResponse>;
|
|
433
444
|
sdkCancelEventOccurrence: APIEndpoint<never, {
|
|
434
445
|
siteId: string;
|
|
435
446
|
identifier: string;
|
|
447
|
+
runIdentifier: string;
|
|
436
448
|
occurrenceId: string;
|
|
437
449
|
}, SdkEventOccurrenceResponse>;
|
|
438
450
|
sdkDeleteEventOccurrence: APIEndpoint<never, {
|
|
439
451
|
siteId: string;
|
|
440
452
|
identifier: string;
|
|
453
|
+
runIdentifier: string;
|
|
441
454
|
occurrenceId: string;
|
|
442
455
|
}, {
|
|
443
456
|
deleted: true;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { BackgroundOverride, SystemCustomizeFacetSelection, Theme } from '../../blocks/src/index';
|
|
2
2
|
import type { ListMediaAssetsResult, MediaAssetWithLabels } from '@riverbankcms/media-storage-supabase';
|
|
3
|
+
import type { FooterNavigationLayout } from '../../core/src/index';
|
|
3
4
|
import type { DbJson } from '../../db/src/index';
|
|
4
|
-
import type { PageDesignEditorReadModel, PageDesignIntent, AppearancePresetId, BoundaryOptionId, DesignBlockId, FooterLookId, HeaderLayoutId,
|
|
5
|
+
import type { PageDesignEditorReadModel, PageDesignIntent, AppearancePresetId, BoundaryOptionId, DesignBlockId, FooterLookId, HeaderLayoutId, HeaderLayoutStyleSelection, HeaderStyleId, LayoutVariantKey, SiteStyleId } from '../../theme-core/src/site-styles/index';
|
|
5
6
|
import type { ButtonStyleSelection } from '../../theme-core/src/buttons/index';
|
|
6
7
|
import type { APIEndpoint } from './apiEndpointTypes';
|
|
7
8
|
import type { AnalyticsReportQuery, AnalyticsReportResponse } from './analytics';
|
|
@@ -11,28 +12,16 @@ import type { BlockWithContentResponse, BlockListItem, ContentEntryListStage, En
|
|
|
11
12
|
import type { GetVersionHistoryResponse, ListVersionHistoryResponse, RestoreVersionHistoryRequest, RestoreVersionHistoryResponse, VersionHistoryListQuery } from './contentVersionHistory';
|
|
12
13
|
import type { CreateMediaUploadUrlRequest, CreateMediaUploadUrlResponse, CreateSiteLogoUploadUrlRequest, CreateSiteLogoUploadUrlResponse, MediaUploadFinalizeRequest, UploadSiteLogoRequest } from './siteInfrastructure';
|
|
13
14
|
import type { DevToolsGetSiteRoleDowngradeQuery, DevToolsImpersonationResponse, DevToolsSeedResponse, DevToolsSetSiteRoleDowngradeRequest, SiteRoleDowngradeState } from './siteOperations';
|
|
14
|
-
/**
|
|
15
|
-
* Round-trip shape for the Style configurator and site-chrome persisted selections on the
|
|
16
|
-
* `saveSiteTheme` endpoint. Each field is optional independently so callers
|
|
17
|
-
* can update one decision at a time; `null` explicitly clears the selection
|
|
18
|
-
* (server falls back to the site style's default), distinct from omission
|
|
19
|
-
* which preserves the existing persisted value.
|
|
20
|
-
*/
|
|
15
|
+
/** Partial persisted selections for the Style configurator and site chrome. */
|
|
21
16
|
export type SiteThemeSelectionsPayload = {
|
|
22
17
|
buttonStyleSelection?: ButtonStyleSelection | null;
|
|
23
|
-
|
|
24
|
-
headerStyleId?: HeaderStyleId | null;
|
|
25
|
-
headerLookId?: HeaderLookId | null;
|
|
18
|
+
headerSelection?: HeaderLayoutStyleSelection;
|
|
26
19
|
footerLookId?: FooterLookId | null;
|
|
27
20
|
};
|
|
28
21
|
export type SiteStyleHeaderSelectionChange = Readonly<{
|
|
29
22
|
kind: 'default';
|
|
30
|
-
}> | Readonly<{
|
|
31
|
-
kind: 'legacy';
|
|
32
|
-
headerLookId: HeaderLookId | null;
|
|
33
23
|
}> | Readonly<{
|
|
34
24
|
kind: 'canonical';
|
|
35
|
-
headerLookId: HeaderLookId | null;
|
|
36
25
|
layoutId: HeaderLayoutId;
|
|
37
26
|
styleId: HeaderStyleId;
|
|
38
27
|
}>;
|
|
@@ -54,12 +43,13 @@ export type SiteStyleSelectionChange = Readonly<{
|
|
|
54
43
|
}> | Readonly<{
|
|
55
44
|
kind: 'set-footer-look';
|
|
56
45
|
footerLookId: FooterLookId | null;
|
|
46
|
+
}> | Readonly<{
|
|
47
|
+
kind: 'set-footer-navigation-layout';
|
|
48
|
+
layout: FooterNavigationLayout;
|
|
57
49
|
}>;
|
|
58
50
|
export type ApplySiteStyleSelectionBody = Readonly<{
|
|
59
51
|
baseSelectionVersion: number;
|
|
60
|
-
/** Omitted or `null` lets the server target the current selection. */
|
|
61
52
|
selectionId?: string | null;
|
|
62
|
-
/** A non-empty, unique-axis batch. Unmentioned axes are preserved. */
|
|
63
53
|
changes: readonly [SiteStyleSelectionChange, ...SiteStyleSelectionChange[]];
|
|
64
54
|
}>;
|
|
65
55
|
export type ApplySiteStyleSelectionResponse = Readonly<{
|
|
@@ -72,16 +62,14 @@ export type ApplySiteStyleSelectionResponse = Readonly<{
|
|
|
72
62
|
theme: Theme;
|
|
73
63
|
siteStyleId: SiteStyleId;
|
|
74
64
|
buttonStyleSelection: ButtonStyleSelection;
|
|
75
|
-
headerLayoutId: HeaderLayoutId
|
|
76
|
-
headerStyleId: HeaderStyleId
|
|
77
|
-
headerLookId: HeaderLookId | null;
|
|
65
|
+
headerLayoutId: HeaderLayoutId;
|
|
66
|
+
headerStyleId: HeaderStyleId;
|
|
78
67
|
footerLookId: FooterLookId | null;
|
|
79
68
|
}>;
|
|
80
|
-
export type
|
|
69
|
+
export type SaveSiteChromeSelectionBody = Readonly<{
|
|
81
70
|
surface: 'header';
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
styleId?: HeaderStyleId | null;
|
|
71
|
+
layoutId: HeaderLayoutId;
|
|
72
|
+
styleId: HeaderStyleId;
|
|
85
73
|
theme: Theme;
|
|
86
74
|
themeId?: string | null;
|
|
87
75
|
selectionId?: string | null;
|
|
@@ -94,7 +82,7 @@ export type SaveSiteChromeLookSelectionBody = Readonly<{
|
|
|
94
82
|
selectionId?: string | null;
|
|
95
83
|
baseSelectionUpdatedAt?: string | null;
|
|
96
84
|
}>;
|
|
97
|
-
export type
|
|
85
|
+
export type SaveSiteChromeSelectionResponse = Readonly<{
|
|
98
86
|
success: boolean;
|
|
99
87
|
themeId: string;
|
|
100
88
|
selectionId: string;
|
|
@@ -102,9 +90,8 @@ export type SaveSiteChromeLookSelectionResponse = Readonly<{
|
|
|
102
90
|
selectionVersion: number;
|
|
103
91
|
savedAt: string;
|
|
104
92
|
theme: Theme;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
headerStyleId: HeaderStyleId | null;
|
|
93
|
+
headerLayoutId: HeaderLayoutId;
|
|
94
|
+
headerStyleId: HeaderStyleId;
|
|
108
95
|
footerLookId: FooterLookId | null;
|
|
109
96
|
}>;
|
|
110
97
|
export type PageDesignRevisionToken = {
|
|
@@ -246,25 +233,24 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
246
233
|
overrides: Record<string, unknown> | null;
|
|
247
234
|
theme: Theme;
|
|
248
235
|
/**
|
|
249
|
-
* Persisted Style configurator selections. The client resolves
|
|
250
|
-
* compatibility locally via `
|
|
251
|
-
*
|
|
252
|
-
*
|
|
236
|
+
* Persisted Style configurator selections. The client normally resolves
|
|
237
|
+
* compatibility locally via `compileReplacementSiteThemeFromSelections`;
|
|
238
|
+
* the service canonicalizes an incompatible header pair before storage as
|
|
239
|
+
* a backstop for API and SDK callers.
|
|
253
240
|
* This response echoes the row's stored state so the caller can refresh
|
|
254
241
|
* local state without a follow-up read.
|
|
255
242
|
*/
|
|
256
243
|
buttonStyleSelection: ButtonStyleSelection | null;
|
|
257
|
-
headerLayoutId: HeaderLayoutId
|
|
258
|
-
headerStyleId: HeaderStyleId
|
|
259
|
-
headerLookId: HeaderLookId | null;
|
|
244
|
+
headerLayoutId: HeaderLayoutId;
|
|
245
|
+
headerStyleId: HeaderStyleId;
|
|
260
246
|
footerLookId: FooterLookId | null;
|
|
261
247
|
}>;
|
|
262
248
|
applySiteStyleSelection: APIEndpoint<ApplySiteStyleSelectionBody, {
|
|
263
249
|
siteId: string;
|
|
264
250
|
}, ApplySiteStyleSelectionResponse>;
|
|
265
|
-
|
|
251
|
+
saveSiteChromeSelection: APIEndpoint<SaveSiteChromeSelectionBody, {
|
|
266
252
|
siteId: string;
|
|
267
|
-
},
|
|
253
|
+
}, SaveSiteChromeSelectionResponse>;
|
|
268
254
|
uploadSiteLogo: APIEndpoint<UploadSiteLogoRequest, never, {
|
|
269
255
|
path: string;
|
|
270
256
|
publicUrl: string | null;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { CamelizeKeys, DbDatabase, DbRow } from "../../db/src/index";
|
|
2
|
-
import type { APIEndpoint } from "./apiEndpointTypes";
|
|
3
2
|
export type { AccessPolicyContract, AccessPolicyTag, AmbientBackgroundRole, CreateMediaAssetBody, EntitledCustomerAccessScopeContract, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaAssetFileFilterContract, MediaBulkDeleteAssetFailure, MediaBulkDeleteResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, SiteBackgroundAssetUse, StorageClass, UploadIntentContract, UploadIntentTag, } from "./media";
|
|
4
3
|
export type { AnalyticsPreset, AnalyticsReferrer, AnalyticsReportFilters, AnalyticsReportQuery, AnalyticsReportResponse, AnalyticsSeriesPoint, AnalyticsTopPage, AnalyticsTotals, } from "./analytics";
|
|
5
4
|
export type { AIChatMessage, AiBriefTurn, JsonPrimitive, JsonValue, MediaUsageCheckItem, MediaUsageCheckResponse, MediaUsageLocation, } from "./shared-contracts";
|
|
@@ -58,7 +57,8 @@ export type { SiteRole } from "./siteMembers";
|
|
|
58
57
|
import type { HTTPMethod, ApiResponseKind, ApiAuthRequirement } from "./common/types";
|
|
59
58
|
export type { HTTPMethod, ApiResponseKind, ApiAuthRequirement };
|
|
60
59
|
export type { AdminProfileRole, AdminRoleMutationResponse, RevokeAdminRoleRequest, StartImpersonationRequest, StartImpersonationResponse, StopImpersonationRequest, StopImpersonationResponse, UpsertAdminRoleRequest, } from "./admin/types";
|
|
61
|
-
import type {
|
|
60
|
+
import type { AccountAPIEndpoints } from './accountEndpoints';
|
|
61
|
+
export type * from './accountEndpoints';
|
|
62
62
|
import type { AiAndLaunchReadinessAPIEndpointDefinitions, AiAPIEndpointName, AiAPIEndpoints, LaunchReadinessAPIEndpointName, LaunchReadinessAPIEndpoints } from "./aiEndpoints";
|
|
63
63
|
import type { BookingManagementAPIEndpoints } from "./bookingManagementEndpoints";
|
|
64
64
|
import type { CommercePortalAPIEndpoints } from "./commercePortalEndpoints";
|
|
@@ -70,7 +70,7 @@ import type { SitePlatformAPIEndpoints } from "./sitePlatformEndpoints";
|
|
|
70
70
|
import type { SiteRuntimeAPIEndpoints } from "./siteRuntimeEndpoints";
|
|
71
71
|
type TableName = keyof DbDatabase["public"]["Tables"];
|
|
72
72
|
export type DTOType<K extends TableName> = Partial<CamelizeKeys<DbRow<K>>>;
|
|
73
|
-
type APIEndpointsMonolith = AiAndLaunchReadinessAPIEndpointDefinitions & SeoEndpointDefinitions & SiteManagementAPIEndpoints & PublicExperienceAPIEndpoints & SiteRuntimeAPIEndpoints & SitePlatformAPIEndpoints & BookingManagementAPIEndpoints & CommercePortalAPIEndpoints & MailchimpIntegrationAPIEndpoints;
|
|
73
|
+
type APIEndpointsMonolith = AiAndLaunchReadinessAPIEndpointDefinitions & AccountAPIEndpoints & SeoEndpointDefinitions & SiteManagementAPIEndpoints & PublicExperienceAPIEndpoints & SiteRuntimeAPIEndpoints & SitePlatformAPIEndpoints & BookingManagementAPIEndpoints & CommercePortalAPIEndpoints & MailchimpIntegrationAPIEndpoints;
|
|
74
74
|
type ComposeEndpointMaps<Maps extends readonly object[], Acc extends object = {}> = Maps extends readonly [
|
|
75
75
|
infer Head extends object,
|
|
76
76
|
...infer Tail extends readonly object[]
|
|
@@ -82,7 +82,7 @@ type AvailabilityAPIEndpointName = "listAvailabilityRules" | "setWeeklyAvailabil
|
|
|
82
82
|
type CalendarAPIEndpointName = "getCalendarStatus" | "updateCalendarPreferences" | "disconnectCalendar";
|
|
83
83
|
type ContentTypesAPIEndpointName = "listContentTypes" | "createContentType" | "updateContentType" | "deleteContentType" | "duplicateContentType";
|
|
84
84
|
type MediaAPIEndpointName = "createMediaAsset" | "mediaList" | "mediaProductFileList" | "mediaGet" | "mediaUpdate" | "mediaCanonicalCrop" | "mediaAssignIdentifier" | "mediaDelete" | "mediaBulkDelete" | "mediaUsageCheck" | "mediaGetSignedUrl" | "createMediaUploadUrl" | "mediaUpload" | "getMediaLabels" | "getMediaSettings" | "updateMediaSettings" | "mediaSearch" | "classifyMediaAsset" | "classifyMediaBatch" | "enqueueMediaClassifyJob" | "runMediaClassifyJob" | "runAllMediaClassifyJobs" | "mediaJobsStatus";
|
|
85
|
-
type ComposedDomainEndpointNames = AiAPIEndpointName | LaunchReadinessAPIEndpointName | SiteMembersAPIEndpointName | SeoAPIEndpointName | RedirectsAPIEndpointName | AvailabilityAPIEndpointName | CalendarAPIEndpointName | ContentTypesAPIEndpointName | MediaAPIEndpointName | "listMailchimpAudiences" | "getMailchimpSignupSyncHealth";
|
|
85
|
+
type ComposedDomainEndpointNames = "accountGetIdentity" | "accountListSites" | "accountCreateSite" | "accountProvisionProjectCredentials" | AiAPIEndpointName | LaunchReadinessAPIEndpointName | SiteMembersAPIEndpointName | SeoAPIEndpointName | RedirectsAPIEndpointName | AvailabilityAPIEndpointName | CalendarAPIEndpointName | ContentTypesAPIEndpointName | MediaAPIEndpointName | "listMailchimpAudiences" | "getMailchimpSignupSyncHealth";
|
|
86
86
|
export type SiteMembersAPIEndpoints = Pick<APIEndpointsMonolith, SiteMembersAPIEndpointName>;
|
|
87
87
|
export type SeoAPIEndpoints = Pick<APIEndpointsMonolith, SeoAPIEndpointName>;
|
|
88
88
|
export type RedirectsAPIEndpoints = Pick<APIEndpointsMonolith, RedirectsAPIEndpointName>;
|
|
@@ -90,8 +90,10 @@ export type AvailabilityAPIEndpoints = Pick<APIEndpointsMonolith, AvailabilityAP
|
|
|
90
90
|
export type CalendarAPIEndpoints = Pick<APIEndpointsMonolith, CalendarAPIEndpointName>;
|
|
91
91
|
export type ContentTypesAPIEndpoints = Pick<APIEndpointsMonolith, ContentTypesAPIEndpointName>;
|
|
92
92
|
export type MediaAPIEndpoints = Pick<APIEndpointsMonolith, MediaAPIEndpointName>;
|
|
93
|
+
export type AccountAPIEndpointMap = Pick<APIEndpointsMonolith, 'accountGetIdentity' | 'accountListSites' | 'accountCreateSite' | 'accountProvisionProjectCredentials'>;
|
|
93
94
|
type RemainingAPIEndpoints = Omit<APIEndpointsMonolith, ComposedDomainEndpointNames>;
|
|
94
95
|
type DomainAPIEndpointMaps = [
|
|
96
|
+
AccountAPIEndpointMap,
|
|
95
97
|
AiAPIEndpoints,
|
|
96
98
|
LaunchReadinessAPIEndpoints,
|
|
97
99
|
SiteMembersAPIEndpoints,
|
|
@@ -105,58 +107,4 @@ type DomainAPIEndpointMaps = [
|
|
|
105
107
|
];
|
|
106
108
|
type ComposedAPIEndpointMaps = [...DomainAPIEndpointMaps, RemainingAPIEndpoints];
|
|
107
109
|
export type APIEndpoints = ComposeEndpointMaps<ComposedAPIEndpointMaps>;
|
|
108
|
-
export type
|
|
109
|
-
export type GetMethodEndpoint<T extends keyof APIEndpoints> = APIEndpoints[T] extends {
|
|
110
|
-
method: "GET";
|
|
111
|
-
} ? APIEndpoints[T] : never;
|
|
112
|
-
export type PostMethodEndpoint<T extends keyof APIEndpoints> = APIEndpoints[T] extends {
|
|
113
|
-
method: "POST";
|
|
114
|
-
} ? APIEndpoints[T] : never;
|
|
115
|
-
export type PutMethodEndpoint<T extends keyof APIEndpoints> = APIEndpoints[T] extends {
|
|
116
|
-
method: "PUT";
|
|
117
|
-
} ? APIEndpoints[T] : never;
|
|
118
|
-
type RequiredKeys<T> = {
|
|
119
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? never : K;
|
|
120
|
-
}[keyof T];
|
|
121
|
-
type HasRequiredKeys<T> = RequiredKeys<T> extends never ? false : true;
|
|
122
|
-
type IsNonEmptyQuery<T> = [T] extends [never] ? false : T extends undefined ? false : keyof T extends never ? false : true;
|
|
123
|
-
type QueryValueToStringParam<T> = Exclude<T, undefined> extends readonly (infer TValue)[] ? QueryValueToStringParam<TValue>[] : Exclude<T, undefined> extends (infer TValue)[] ? QueryValueToStringParam<TValue>[] : string;
|
|
124
|
-
type QueryToStringParams<T> = {
|
|
125
|
-
[K in keyof T]: QueryValueToStringParam<T[K]>;
|
|
126
|
-
};
|
|
127
|
-
type ExtractPathParamNames<TPath extends string> = TPath extends `${string}{${infer Param}}${infer Rest}` ? Param | ExtractPathParamNames<Rest> : never;
|
|
128
|
-
type EndpointPath<E extends keyof APIEndpoints> = E extends keyof typeof API_ENDPOINTS ? (typeof API_ENDPOINTS)[E]["path"] : never;
|
|
129
|
-
type PathParams<E extends keyof APIEndpoints> = ExtractPathParamNames<EndpointPath<E>> extends infer TParam ? [TParam] extends [never] ? {} : {
|
|
130
|
-
[K in Extract<TParam, string>]: string;
|
|
131
|
-
} : {};
|
|
132
|
-
type EndpointQuery<E extends keyof APIEndpoints> = APIEndpoints[E] extends APIEndpoint<unknown, infer TQuery, unknown> ? TQuery : never;
|
|
133
|
-
type QueryParams<E extends keyof APIEndpoints> = IsNonEmptyQuery<EndpointQuery<E>> extends false ? {} : QueryToStringParams<EndpointQuery<E>>;
|
|
134
|
-
type HasPathParams<E extends keyof APIEndpoints> = keyof PathParams<E> extends never ? false : true;
|
|
135
|
-
type ParamsPart<E extends keyof APIEndpoints> = HasPathParams<E> extends true ? {
|
|
136
|
-
params: PathParams<E> & QueryParams<E>;
|
|
137
|
-
} : IsNonEmptyQuery<EndpointQuery<E>> extends false ? {
|
|
138
|
-
params?: Record<string, string>;
|
|
139
|
-
} : HasRequiredKeys<EndpointQuery<E>> extends true ? {
|
|
140
|
-
params: QueryParams<E>;
|
|
141
|
-
} : {
|
|
142
|
-
params?: QueryParams<E>;
|
|
143
|
-
};
|
|
144
|
-
type EndpointMethod<E extends keyof APIEndpoints> = E extends keyof typeof API_ENDPOINTS ? (typeof API_ENDPOINTS)[E]["method"] : HTTPMethod;
|
|
145
|
-
type EndpointBody<E extends keyof APIEndpoints> = APIEndpoints[E] extends APIEndpoint<infer TBody, unknown, unknown> ? TBody : never;
|
|
146
|
-
type StrictBodyPart<E extends keyof APIEndpoints> = EndpointMethod<E> extends "GET" ? {
|
|
147
|
-
body?: never;
|
|
148
|
-
} : [EndpointBody<E>] extends [undefined] ? {
|
|
149
|
-
body?: never;
|
|
150
|
-
} : undefined extends EndpointBody<E> ? {
|
|
151
|
-
body?: Exclude<EndpointBody<E>, undefined>;
|
|
152
|
-
} : {
|
|
153
|
-
body: EndpointBody<E>;
|
|
154
|
-
};
|
|
155
|
-
/**
|
|
156
|
-
* API call parameters derived from endpoint metadata.
|
|
157
|
-
* Enforces whether `body` is required, optional, or forbidden for each endpoint.
|
|
158
|
-
*/
|
|
159
|
-
export type APICallParamsStrict<E extends keyof APIEndpoints> = {
|
|
160
|
-
endpoint: E;
|
|
161
|
-
options?: RequestInit;
|
|
162
|
-
} & ParamsPart<E> & StrictBodyPart<E>;
|
|
110
|
+
export type * from "./apiCallParams";
|
|
@@ -1,32 +1,24 @@
|
|
|
1
1
|
export { FormRenderer } from '../FormRenderer';
|
|
2
|
-
export type { FormRendererProps } from '../FormRenderer';
|
|
3
2
|
export { ManifestForm } from '../manifest/ManifestForm';
|
|
4
|
-
export type { ManifestFormProps } from '../manifest/ManifestForm';
|
|
5
|
-
export type { FieldWidgetComponent, FieldWidgetProps } from '../fields/props';
|
|
6
3
|
export { useField, useArrayField } from '../backend/hooks';
|
|
7
|
-
export { createRHFBackend, createStoreBackend, useBackendWatch } from '../backend/types';
|
|
8
|
-
export type { FormBackend, FieldError, FieldState, SetValueOptions } from '../backend/types';
|
|
9
|
-
export type { ManifestAdapterOptions, ManifestAdapterResult, ManifestFormSource, ManifestSchemaOptions, ManifestValidationResult, } from '../manifest/manifestFormAdapter';
|
|
10
|
-
export { createManifestValidation } from '../manifest/manifestFormAdapter';
|
|
11
|
-
export { formatPublishBlockedMessage, formatRecoveryConflictSummary, formatRecoveryConflictTitle, deriveBlockDraftSaveability, formatUnfinishedBlocksSummary, getResolvedBlockManifest, isResolvedBlockManifest, recoveryConflictCopy, shouldShowBlockFieldValidation, unfinishedBlockCopy, validateBlockManifest, validateBlockManifestIssues, validateBlockManifestValues, } from './blockDraftSaveability';
|
|
12
|
-
export type { BlockDraftSaveability, BlockDraftValidationIssue, BlockManifestResolution, BlockManifestValidationMode, } from './blockDraftSaveability';
|
|
13
|
-
export type { BaseFieldConfig, FieldConfig, TextFieldConfig, InlineTextFieldConfig, NumberFieldConfig, RichTextFieldConfig, MediaFieldConfig, FileFieldConfig, BooleanFieldConfig, DateFieldConfig, TimeFieldConfig, DateTimeFieldConfig, SlugFieldConfig, UrlFieldConfig, LinkFieldConfig, SelectFieldConfig, ReferenceFieldConfig, GroupFieldConfig, RepeaterFieldConfig, ButtonFieldConfig, ContentTypeSelectFieldConfig, EntryPickerFieldConfig, } from '../fields/types';
|
|
14
|
-
export { createManifestFormAdapter } from '../manifest/manifestFormAdapter';
|
|
15
|
-
export { evaluateVisibility } from '../utils/evaluateVisibility';
|
|
16
|
-
export type { VisibilityValueReader } from '../utils/evaluateVisibility';
|
|
4
|
+
export { createRHFBackend, createStoreBackend, useBackendWatch, } from '../backend/types';
|
|
17
5
|
export { PaletteProvider, usePalette } from '../palette/PaletteContext';
|
|
18
|
-
export { SdkConfigProvider, useSdkConfig, useBlockFieldOptions } from '../sdk-config';
|
|
19
|
-
export type { SdkConfig, SdkConfigProviderProps, SdkThemePalette, SdkSectionBackground, SdkSectionOptions, SdkSiteStyleConfig, SdkFieldSelectOption, SdkBlockFieldConfig, SdkBlockFieldOptionsMap, SdkBlockFieldExtensionsMap, } from '../sdk-config';
|
|
6
|
+
export { SdkConfigProvider, useSdkConfig, useBlockFieldOptions, } from '../sdk-config';
|
|
20
7
|
export { BlockContextProvider, useBlockContext } from '../context';
|
|
21
|
-
export
|
|
22
|
-
export {
|
|
23
|
-
export
|
|
24
|
-
export { FieldPreviewResolverProvider, useFieldPreviewResolvers } from '../context';
|
|
25
|
-
export type { FieldPreviewResolver, FieldPreviewResolverMap, FieldPreviewResolverCallContext } from '../context';
|
|
26
|
-
export { ImageResolveContextProvider, useImageResolveContextOptional } from '../context';
|
|
27
|
-
export { mergeManifestWithSdkOptions } from '../manifest/mergeManifestWithSdkOptions';
|
|
8
|
+
export { DisplayLabelResolverProvider, useDisplayLabelResolvers, } from '../context';
|
|
9
|
+
export { FieldPreviewResolverProvider, useFieldPreviewResolvers, } from '../context';
|
|
10
|
+
export { ImageResolveContextProvider, useImageResolveContextOptional, } from '../context';
|
|
28
11
|
export { FieldFrame, FieldFrameMessage } from '../widgets/FieldFrame';
|
|
29
|
-
export
|
|
12
|
+
export { WidgetField, WidgetFieldMessage } from '../widgets/Field';
|
|
30
13
|
export { SelectField } from '../widgets/SelectField';
|
|
14
|
+
export { SelectWidget } from '../widgets/SelectWidget';
|
|
15
|
+
export { ToggleWidget } from '../widgets/ToggleWidget';
|
|
16
|
+
export { TextInputWidget } from '../widgets/TextInputWidget';
|
|
17
|
+
export { BackgroundColorWidget } from '../widgets/BackgroundColorWidget';
|
|
18
|
+
export { BackgroundGradientWidget } from '../widgets/BackgroundGradientWidget';
|
|
19
|
+
export { BoxStyleWidget } from '../widgets/BoxStyleWidget';
|
|
20
|
+
export { DatePickerPopover, parseDateValue, } from '../widgets/DateField';
|
|
21
|
+
export { FieldSettingsModal } from '../widgets/FieldSettingsModal';
|
|
22
|
+
export { SettingsModal } from '../widgets/SettingsModal';
|
|
31
23
|
export { BackgroundColorField } from '../widgets/BackgroundColorWidget';
|
|
32
24
|
export { BackgroundGradientField } from '../widgets/BackgroundGradientWidget';
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
export
|
|
2
|
-
export {
|
|
3
|
-
export
|
|
4
|
-
export { WIDGET_NAMES, type WidgetName } from './widgets';
|
|
5
|
-
export { WidgetField, WidgetFieldMessage } from './widgets';
|
|
6
|
-
export type { WidgetFieldProps, WidgetFieldMessageProps } from './widgets';
|
|
7
|
-
export { SelectWidget } from './widgets';
|
|
8
|
-
export type { SelectWidgetProps, SelectWidgetOption } from './widgets';
|
|
9
|
-
export { ToggleWidget } from './widgets';
|
|
10
|
-
export type { ToggleWidgetProps } from './widgets';
|
|
11
|
-
export { TextInputWidget } from './widgets';
|
|
12
|
-
export type { TextInputWidgetProps } from './widgets';
|
|
13
|
-
export { BackgroundColorWidget } from './widgets';
|
|
14
|
-
export type { BackgroundColorWidgetProps, BackgroundColorMode } from './widgets';
|
|
15
|
-
export { BackgroundGradientWidget } from './widgets';
|
|
16
|
-
export type { BackgroundGradientWidgetProps } from './widgets';
|
|
17
|
-
export { BoxStyleWidget } from './widgets';
|
|
18
|
-
export { DatePickerPopover, parseDateValue, type DateParseResult, type DatePickerPopoverProps, } from './widgets';
|
|
19
|
-
export { FieldSettingsModal } from './widgets';
|
|
20
|
-
export type { FieldSettingsModalProps } from './widgets';
|
|
21
|
-
export { SettingsModal } from './widgets';
|
|
22
|
-
export type { SettingsModalProps, SettingsTab, SettingsTabId } from './widgets';
|
|
1
|
+
export { createManifestFormAdapter, createManifestValidation, } from './manifest/manifestFormAdapter';
|
|
2
|
+
export { mergeManifestWithSdkOptions } from './manifest/mergeManifestWithSdkOptions';
|
|
3
|
+
export { WIDGET_NAMES } from './widgets/constants';
|
|
23
4
|
export * from './utils/fieldHelpers';
|
|
24
5
|
export { evaluateVisibility } from './utils/evaluateVisibility';
|
|
6
|
+
export type { FormRendererProps } from './FormRenderer';
|
|
7
|
+
export type { ManifestFormProps } from './manifest/ManifestForm';
|
|
8
|
+
export type { FieldWidgetComponent, FieldWidgetProps } from './fields/props';
|
|
9
|
+
export type { FormBackend, FieldError, FieldState, SetValueOptions } from './backend/types';
|
|
10
|
+
export type { ManifestAdapterOptions, ManifestAdapterResult, ManifestFormSource, ManifestSchemaOptions, ManifestValidationResult, } from './manifest/manifestFormAdapter';
|
|
11
|
+
export type { BaseFieldConfig, FieldConfig, TextFieldConfig, InlineTextFieldConfig, NumberFieldConfig, RichTextFieldConfig, MediaFieldConfig, FileFieldConfig, BooleanFieldConfig, DateFieldConfig, TimeFieldConfig, DateTimeFieldConfig, SlugFieldConfig, UrlFieldConfig, LinkFieldConfig, SelectFieldConfig, ReferenceFieldConfig, GroupFieldConfig, RepeaterFieldConfig, ButtonFieldConfig, ContentTypeSelectFieldConfig, EntryPickerFieldConfig, } from './fields/types';
|
|
12
|
+
export type { SdkConfig, SdkConfigProviderProps, SdkThemePalette, SdkSectionBackground, SdkSectionOptions, SdkSiteStyleConfig, SdkFieldSelectOption, SdkBlockFieldConfig, SdkBlockFieldOptionsMap, SdkBlockFieldExtensionsMap, } from './sdk-config';
|
|
13
|
+
export type { BlockContextValue, BlockContextProviderProps } from './context';
|
|
14
|
+
export type { DisplayLabelResolver, DisplayLabelResolverMap, ResolverCallContext, FieldPreviewResolver, FieldPreviewResolverMap, FieldPreviewResolverCallContext, } from './context';
|
|
15
|
+
export type { FieldFrameProps, FieldFrameRenderProps, FieldFrameMessageProps, } from './widgets/FieldFrame';
|
|
16
|
+
export type { WidgetName } from './widgets/constants';
|
|
17
|
+
export type { WidgetFieldProps, WidgetFieldMessageProps } from './widgets/Field';
|
|
18
|
+
export type { SelectWidgetProps, SelectWidgetOption } from './widgets/SelectWidget';
|
|
19
|
+
export type { ToggleWidgetProps } from './widgets/ToggleWidget';
|
|
20
|
+
export type { TextInputWidgetProps } from './widgets/TextInputWidget';
|
|
21
|
+
export type { BackgroundColorWidgetProps, BackgroundColorMode, } from './widgets/BackgroundColorWidget';
|
|
22
|
+
export type { BackgroundGradientWidgetProps } from './widgets/BackgroundGradientWidget';
|
|
23
|
+
export type { DateParseResult, DatePickerPopoverProps, } from './widgets/DateField';
|
|
24
|
+
export type { FieldSettingsModalProps } from './widgets/FieldSettingsModal';
|
|
25
|
+
export type { SettingsModalProps, SettingsTab, SettingsTabId, } from './widgets/SettingsModal';
|
|
25
26
|
export type { VisibilityValueReader } from './utils/evaluateVisibility';
|
|
@@ -2,7 +2,9 @@ export type { AnyBlockRuntimeDefinition, BlockRenderKind, BlockRuntimeDefinition
|
|
|
2
2
|
export type { InteractiveIslandProps } from './islands';
|
|
3
3
|
export type { PublicEvent } from '../system/blocks/events/shared/types';
|
|
4
4
|
export type { AccordionIslandProps, CarouselIslandProps, EventDetailsIslandProps, EventDetailsOccurrenceContext, HeaderSectionIslandProps, LocationMapIslandProps, } from './non-block-islands';
|
|
5
|
+
export type { HeaderChromeRuntimeContract, HeaderScrollRuntime, } from '../system/runtime/header/runtimeContract';
|
|
5
6
|
export type { BookingFormConfig, BookingFormDisplay, BookingFormHydration, BookingFormInteractiveIslandProps, BookingFormService, CourseRegistrationDisplay, CourseRegistrationHydration, CourseRegistrationInteractiveIslandProps, CartDisplay, CartHydration, CartInteractiveIslandProps, CartLineDisplay, CheckoutDisplay, CheckoutHydration, CheckoutInteractiveIslandProps, EventCalendarDisplay, EventCalendarHydration, EventCalendarInteractiveIslandProps, EventCombinedDisplay, EventCombinedHydration, EventCombinedInteractiveIslandProps, EventRegistrationDisplay, EventRegistrationHydration, EventRegistrationInteractiveIslandProps, EventListingDisplay, EventListingHydration, EventListingInteractiveIslandProps, FormDisplay, FormHydration, FormInteractiveIslandProps, MembershipCardDisplay, NewsletterFormDisplay, NewsletterFormHydration, NewsletterFormInteractiveIslandProps, PassCardDisplay, PassesMembershipsDisplay, PassesMembershipsHydration, ProductCardDisplay, ProductDetailDisplay, ProductDetailInteractiveIslandProps, ProductDetailHydration, ProductListDisplay, ProductListInteractiveIslandProps, ProductListHydration, ProductVariantOptionDisplay, ShopInteractiveIslandProps, } from './proof-block-islands';
|
|
7
|
+
export type { PublicPassProduct, PurchasablePublicPassProduct, } from '../system/blocks/shop.shared';
|
|
6
8
|
export { accordionIslandPropsCodec, carouselIslandPropsCodec, eventDetailsIslandPropsCodec, headerSectionIslandPropsCodec, locationMapIslandPropsCodec, } from './non-block-islands';
|
|
7
9
|
export { createZodCodec, decodeFailure, decodeSuccess, defineClientOwnedBlockRuntime, defineProgressiveBlockRuntime, defineStaticBlockRuntime, isDecodeSuccess, } from './runtime';
|
|
8
10
|
export { buildInteractiveIslandProps, createInteractiveIslandCodec, defineInteractiveIslandMetaKeys } from './islands';
|
|
@@ -5,14 +5,14 @@ import type { PublicEvent } from '../system/blocks/events/shared/types';
|
|
|
5
5
|
import type { OccurrenceContextLike } from '../system/runtime/nodes/event-details/logic';
|
|
6
6
|
import { type EventRegistrationPageSurfaceSubject } from '../system/runtime/nodes/event-registration/eventScope';
|
|
7
7
|
import type { LocationMapHydrationProps } from '../system/runtime/nodes/location-map.shared';
|
|
8
|
+
import { type HeaderChromeRuntimeContract } from '../system/runtime/header/runtimeContract';
|
|
8
9
|
export type AccordionIslandProps = Readonly<{
|
|
9
10
|
type?: 'single' | 'multiple';
|
|
10
11
|
defaultValue?: string | readonly string[];
|
|
11
12
|
collapsible?: boolean;
|
|
12
13
|
}>;
|
|
13
14
|
export type HeaderSectionIslandProps = Readonly<{
|
|
14
|
-
|
|
15
|
-
scrollEnabled?: boolean;
|
|
15
|
+
runtime: HeaderChromeRuntimeContract;
|
|
16
16
|
}>;
|
|
17
17
|
export type CarouselIslandProps = Readonly<{
|
|
18
18
|
slidesToShow?: number | string | ResponsiveSlidesToShow;
|
|
@@ -57,12 +57,10 @@ export declare const accordionIslandPropsCodec: Readonly<{
|
|
|
57
57
|
}>;
|
|
58
58
|
export declare const headerSectionIslandPropsCodec: Readonly<{
|
|
59
59
|
encode: (value: Readonly<{
|
|
60
|
-
|
|
61
|
-
scrollEnabled?: boolean;
|
|
60
|
+
runtime: HeaderChromeRuntimeContract;
|
|
62
61
|
}>) => unknown;
|
|
63
62
|
decode: (input: unknown) => import("./runtime").DecodeResult<Readonly<{
|
|
64
|
-
|
|
65
|
-
scrollEnabled?: boolean;
|
|
63
|
+
runtime: HeaderChromeRuntimeContract;
|
|
66
64
|
}>>;
|
|
67
65
|
}>;
|
|
68
66
|
export declare const carouselIslandPropsCodec: Readonly<{
|
|
@@ -100,7 +98,7 @@ export declare const eventDetailsIslandPropsCodec: Readonly<{
|
|
|
100
98
|
showAcceptedPasses?: boolean;
|
|
101
99
|
showAcceptedMemberships?: boolean;
|
|
102
100
|
sitePasses?: Readonly<{
|
|
103
|
-
passes: readonly import("
|
|
101
|
+
passes: readonly import(".").PublicPassProduct[];
|
|
104
102
|
}> | null;
|
|
105
103
|
siteMemberships?: Readonly<{
|
|
106
104
|
memberships: readonly import("..").PublicMembershipProduct[];
|
|
@@ -121,7 +119,7 @@ export declare const eventDetailsIslandPropsCodec: Readonly<{
|
|
|
121
119
|
showAcceptedPasses?: boolean;
|
|
122
120
|
showAcceptedMemberships?: boolean;
|
|
123
121
|
sitePasses?: Readonly<{
|
|
124
|
-
passes: readonly import("
|
|
122
|
+
passes: readonly import(".").PublicPassProduct[];
|
|
125
123
|
}> | null;
|
|
126
124
|
siteMemberships?: Readonly<{
|
|
127
125
|
memberships: readonly import("..").PublicMembershipProduct[];
|