@riverbankcms/sdk 0.152.0 → 0.154.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/CHANGELOG.md +15 -0
- package/dist/{EventEmbeddedCheckoutStep-DVQXWFm6.mjs → EventEmbeddedCheckoutStep-ba9npQtb.mjs} +1 -1
- package/dist/{PreviewEditorSidebar-Dr4NJi3Q.mjs → PreviewEditorSidebar-C7FiaxlF.mjs} +194 -22
- package/dist/{PreviewEditorUI-DSZXQbyh.mjs → PreviewEditorUI-DFst50q1.mjs} +20 -44
- package/dist/{SdkPreviewModeRuntime-Dl4GyMc3.mjs → SdkPreviewModeRuntime-BUNV_YHZ.mjs} +266 -143
- package/dist/{SiteChromeCustomizeContext-DgBe-FlM.mjs → SiteChromeCustomizeContext-DEj7qppF.mjs} +5340 -4329
- package/dist/{ThemedButton-B8ViBnLK.mjs → ThemedButton-C8kzu0hY.mjs} +610 -116
- package/dist/_dts/ai/src/contracts/proposals.d.ts +416 -182
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +3270 -8214
- package/dist/_dts/api/src/billing.d.ts +2 -0
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +78 -0
- package/dist/_dts/api/src/bookingAdjustments.d.ts +3 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +7 -2
- package/dist/_dts/api/src/bookingPeople.d.ts +19 -0
- package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +4 -106
- package/dist/_dts/api/src/bookings.d.ts +2 -3
- package/dist/_dts/api/src/communications.d.ts +19 -5
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -0
- package/dist/_dts/api/src/endpoints.d.ts +88 -43
- package/dist/_dts/api/src/index.d.ts +4 -2
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/moneyPayments.d.ts +116 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +2 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -2
- package/dist/_dts/api/src/sdkThemeWire.d.ts +348 -1537
- package/dist/_dts/api/src/shared-contracts.d.ts +10 -0
- package/dist/_dts/api/src/siteInfrastructure.d.ts +2 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +18 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +17 -16
- package/dist/_dts/api/src/siteSettings.d.ts +1 -0
- package/dist/_dts/api/src/stripeConnectSetup.d.ts +90 -0
- package/dist/_dts/api/src/teamMembers.d.ts +2 -27
- package/dist/_dts/api/src/types.d.ts +11 -31
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -4
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/layoutGridDomain.d.ts +3 -13
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -96
- package/dist/_dts/blocks/src/index.d.ts +1 -0
- package/dist/_dts/blocks/src/lib/media.d.ts +1 -0
- package/dist/_dts/blocks/src/lib/picsum.d.ts +2 -2
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -1
- package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/fields.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +276 -884
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery/fields.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +6 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +92 -90
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/shared/teamMembers.d.ts +4 -7
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-layout.d.ts +23 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-profile.d.ts +20 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +17 -16
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +2 -2
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +6 -6
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +75 -9
- package/dist/_dts/blocks/src/system/fields/backgroundContent.d.ts +377 -1
- package/dist/_dts/blocks/src/system/helpers/backgroundMedia.d.ts +6 -2
- package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +3 -3
- package/dist/_dts/blocks/src/system/layout/repeaterGrid.d.ts +12 -5
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +3 -3
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +48 -48
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/fragments/responsiveTwoColumn.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/sectionHead.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +18 -198
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -99
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +18 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/ImageResolveContext.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +50 -202
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +28 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +12 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CardListItem.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +289 -885
- package/dist/_dts/blocks/src/system/runtime/nodes/file-download.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +11 -79
- package/dist/_dts/blocks/src/system/runtime/nodes/form.parts.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/form.server.d.ts +2 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +22 -90
- package/dist/_dts/blocks/src/system/runtime/nodes/mediaContext.d.ts +69 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +8 -72
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/footerArrangement.d.ts +6 -0
- package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +0 -11
- package/dist/_dts/blocks/src/system/transforms/registry/links.d.ts +3 -3
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -10
- package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +1 -0
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +5 -2
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +1 -1
- package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +6 -3
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +1 -1
- package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +3 -1
- package/dist/_dts/content-editor/src/footerNavigationLayoutState.d.ts +56 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -4
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +11 -8
- package/dist/_dts/content-model/src/content-types/schema.d.ts +3 -3
- package/dist/_dts/core/src/booking-refunds.d.ts +2 -0
- package/dist/_dts/core/src/date-display.d.ts +85 -0
- package/dist/_dts/core/src/date-time-formatter.d.ts +2 -0
- package/dist/_dts/core/src/footer-arrangement.d.ts +8 -1
- package/dist/_dts/core/src/footer-composition-types.d.ts +6 -1
- package/dist/_dts/core/src/footer-composition.d.ts +1 -1
- package/dist/_dts/core/src/footer-navigation-layout.d.ts +3 -0
- package/dist/_dts/core/src/index.d.ts +2 -0
- package/dist/_dts/core/src/mailing-list-runtime.d.ts +2 -2
- package/dist/_dts/core/src/mailing-list-setup-parser.d.ts +9 -1
- package/dist/_dts/core/src/mailing-list-setup.d.ts +12 -1
- package/dist/_dts/core/src/mailing-list-submission.d.ts +7 -2
- package/dist/_dts/core/src/mailing-list-targeting.d.ts +9 -1
- package/dist/_dts/core/src/public-profile.d.ts +3 -1
- package/dist/_dts/core/src/scheduled-date-time.d.ts +69 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +105 -13
- package/dist/_dts/db/src/schemas/forms.d.ts +16 -16
- package/dist/_dts/editor-blocks/src/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/media/admitEditorMediaField.d.ts +4 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/targetingState.d.ts +2 -2
- package/dist/_dts/media-core/src/assetsInUseSummary.d.ts +6 -0
- package/dist/_dts/media-core/src/contentMediaAudit.d.ts +3 -2
- package/dist/_dts/media-core/src/index.d.ts +4 -0
- package/dist/_dts/media-core/src/media.d.ts +406 -0
- package/dist/_dts/media-core/src/mediaIdentifierSchema.d.ts +3 -0
- package/dist/_dts/media-core/src/mediaKinds.d.ts +2 -0
- package/dist/_dts/media-core/src/mediaUsageProjection.d.ts +13 -1
- package/dist/_dts/media-core/src/mediaWriteNormalizer.d.ts +2 -6
- package/dist/_dts/media-core/src/portableMediaReferences.d.ts +8 -21
- package/dist/_dts/media-core/src/renderableMediaAsset.d.ts +28 -14
- package/dist/_dts/media-core/src/renderableMediaAssetAdmission.d.ts +15 -0
- package/dist/_dts/media-editor/src/CropDialog.d.ts +6 -3
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -1
- package/dist/_dts/media-editor/src/MediaPreview.d.ts +3 -3
- package/dist/_dts/media-editor/src/cropEditorSource.d.ts +5 -7
- package/dist/_dts/media-editor/src/editorMediaState.d.ts +29 -0
- package/dist/_dts/media-editor/src/mediaSelection.d.ts +1 -2
- package/dist/_dts/media-editor/src/runtimeMediaAssetState.d.ts +4 -5
- package/dist/_dts/media-editor/src/types.d.ts +1 -1
- package/dist/_dts/media-editor/src/utils.d.ts +0 -1
- package/dist/_dts/media-react/src/components/cropChangePolicy.d.ts +4 -1
- package/dist/_dts/media-react/src/components/cropGeometry.d.ts +1 -0
- package/dist/_dts/media-react/src/components/useImageCropperController.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/ArrangementBlockToolbar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/BlockBackgroundChooser.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeSelectedMedia.d.ts +11 -12
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +27 -5
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/useConfirmedPreferenceRecord.d.ts +12 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedFooterPreferences.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +40 -2
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/content.d.ts +2 -45
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/rendering.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -46
- package/dist/_dts/sdk/src/date-time/index.d.ts +2 -68
- package/dist/_dts/sdk/src/index.d.ts +1 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/image.d.ts +5 -5
- package/dist/_dts/sdk/src/rendering/index.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/link.d.ts +3 -7
- package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +2 -4
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/boxBackgroundSchema.d.ts +397 -26
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/lanternRecipes.d.ts +60 -0
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +57 -0
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +10 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +378 -66
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +42 -42
- package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +1 -1
- package/dist/_dts/theme-core/src/footer/generateFooterCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/footer/mode.d.ts +2 -11
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/lib/media.d.ts +2 -616
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +495 -2766
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +838 -3369
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +23 -7
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +4 -6
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +121 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +25 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookDefaults.d.ts +45 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookRecipe.d.ts +50 -0
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +9 -35
- package/dist/_dts/theme-core/src/site-styles/footerPreferences.d.ts +29 -0
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +9 -9
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +2 -2
- package/dist/_dts/theme-core/src/styles/skinTokens.d.ts +2 -2
- package/dist/_dts/theme-core/src/typography/schema.d.ts +2 -2
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/client/{BookingMailingListNote-CBuMKN0w.mjs → BookingMailingListNote-CNoSqFtf.mjs} +2 -2
- package/dist/client/{CardListItem-Dc9XTXhB.mjs → CardListItem-BkTkqBkh.mjs} +5 -4
- package/dist/client/{CheckboxChoice-CIqx_o0E.mjs → CheckboxChoice-CHJpsty4.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-D3VQ_kLj.mjs → DemoBookingPortalAccess-C7KQKFNt.mjs} +2 -2
- package/dist/client/{EventCombined.client-BHGEKise.mjs → EventCombined.client-BgeYMjHJ.mjs} +5 -6
- package/dist/client/{EventEmbeddedCheckoutStep-Bo1Cm23R.mjs → EventEmbeddedCheckoutStep-BTc_lTkM.mjs} +2 -2
- package/dist/client/{EventListing.client-D5OQgVPr.mjs → EventListing.client-ChRs9Hl2.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-CLL5cWrr.mjs → LeafletStaticMap-C_dNQgd0.mjs} +1 -1
- package/dist/client/{RichText-BoDmnopf.mjs → RichText-BI9bzbjo.mjs} +106 -60
- package/dist/client/{ThemedButton-Ciltp0IK.mjs → ThemedButton-wl3Z3wkH.mjs} +1 -2
- package/dist/client/{accordion-DOkRS64-.mjs → accordion-6Yz8Wd83.mjs} +1 -1
- package/dist/client/{bookingForm-wlMVwo9h.mjs → bookingForm-i_pKIGiY.mjs} +42 -15
- package/dist/client/bookings.mjs +118357 -22833
- package/dist/client/{carousel-CGWk-Z0u.mjs → carousel-DNqd_PjC.mjs} +2 -2
- package/dist/client/{carousel.client-kX5mN1Eg.mjs → carousel.client-BUgjPbb6.mjs} +1 -1
- package/dist/client/{cart-OBBPlaH4.mjs → cart-D8OBHuF4.mjs} +3 -3
- package/dist/client/{checkout-Bmw2WjQX.mjs → checkout-F3-9IGLU.mjs} +3 -3
- package/dist/client/client.mjs +20785 -19238
- package/dist/client/{context-BI77UFAn.mjs → context-Dg4ZrxDD.mjs} +1 -1
- package/dist/client/{eventCalendar-qkej2Edn.mjs → eventCalendar-BUc7YIBM.mjs} +8 -9
- package/dist/client/{eventCombined-DApKHvat.mjs → eventCombined-BwfShk2a.mjs} +4 -4
- package/dist/client/{eventDetails-BQyUDPH0.mjs → eventDetails-BMOVC3go.mjs} +3 -3
- package/dist/client/{eventListing-CeAnshlZ.mjs → eventListing-BwE9PM-t.mjs} +4 -4
- package/dist/client/{eventRegistration-C3A3NyBO.mjs → eventRegistration-CCWPYDc7.mjs} +10 -10
- package/dist/client/{form-DW8rU7jO.mjs → form-CXFr0Gd5.mjs} +115 -52
- package/dist/client/{headerSection-CkIhsoNm.mjs → headerSection-BX8qw8kH.mjs} +3 -3
- package/dist/client/hooks.mjs +17908 -16797
- package/dist/client/{locationMap-D4O8wbli.mjs → locationMap-B3La71m0.mjs} +3 -4
- package/dist/client/{media-C5K_0xPd.mjs → media-B1Cbv721.mjs} +183 -362
- package/dist/client/mediaContext-CwbbimYB.mjs +135 -0
- package/dist/client/{newsletterForm-B7IxSPuz.mjs → newsletterForm-DnGyR0x7.mjs} +51 -15
- package/dist/client/{productDetail-Bqxpwy5N.mjs → productDetail-BVgTqvkb.mjs} +3 -3
- package/dist/client/{productList-u9Lz8V15.mjs → productList-CcO7kUQw.mjs} +3 -3
- package/dist/client/{propsDecoder-Bf1jucUp.mjs → propsDecoder-B1OeWavE.mjs} +2193 -374
- package/dist/client/renderableMediaAssetAdmission-CHkXYDC_.mjs +143 -0
- package/dist/client/rendering/client.mjs +22424 -21488
- package/dist/client/rendering/islands.mjs +20 -23
- package/dist/client/rendering.mjs +21025 -19413
- package/dist/client/{routeIslandApiConfig-BgP-aPMl.mjs → routeIslandApiConfig-Dl4vglJm.mjs} +1 -1
- package/dist/client/{shop-B_eykR-_.mjs → shop-P72nX5Fs.mjs} +7 -7
- package/dist/client/{shop-commerce-CT0APkFV.mjs → shop-commerce-Bt7uraDx.mjs} +8 -8
- package/dist/client/{shop-commerce-store-DcvZxdEK.mjs → shop-commerce-store-C1-mxSye.mjs} +1 -1
- package/dist/client/{shopShared-BVJOiUiJ.mjs → shopShared-Db-cRGu3.mjs} +5 -5
- package/dist/client/{useDiscountCodeUi-DPmYDunz.mjs → useDiscountCodeUi-jvAiUoUX.mjs} +1 -1
- package/dist/client/{useEventPagination-8-U55vH5.mjs → useEventPagination-BdWpCniq.mjs} +6 -7
- package/dist/preview-next/before-render.mjs +222 -55
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/editor-chrome.css +5 -2
- package/dist/preview-next/keepAlive.mjs +133 -51
- package/dist/preview-next/middleware.mjs +133 -51
- package/dist/{sdk-runtime-C5jPdSrk.mjs → sdk-runtime-DLhjF2Nw.mjs} +1 -1
- package/dist/server/components.mjs +21541 -20118
- package/dist/server/config-validation.mjs +2466 -1403
- package/dist/server/config.mjs +2466 -1403
- package/dist/server/data.mjs +17842 -16759
- package/dist/server/date-time.mjs +258 -116
- package/dist/server/index.mjs +360 -53
- package/dist/server/next.mjs +21913 -20539
- package/dist/server/page-converter.mjs +8121 -7322
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +21196 -19760
- package/dist/server/rendering.mjs +21554 -20123
- package/dist/server/routing.mjs +19806 -18607
- package/dist/server/server.mjs +2907 -1845
- package/dist/server/theme-bridge.mjs +991 -160
- package/dist/server/theme.mjs +501 -100
- package/dist/{spinner-B-ab2rJp.mjs → spinner-MTooKfck.mjs} +1 -1
- package/dist/styles/index.css +254 -1
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +0 -12
- package/dist/client/aspectTransforms-D-TnDdq4.mjs +0 -93
- package/dist/client/colorStyles-ECDNPE_P.mjs +0 -1253
|
@@ -5,11 +5,19 @@ import { type Result } from './result';
|
|
|
5
5
|
export type MailingListDefaultTargeting = Readonly<{
|
|
6
6
|
mode: 'default';
|
|
7
7
|
}>;
|
|
8
|
+
export type NativeMailingListAudience = Readonly<{
|
|
9
|
+
kind: 'general';
|
|
10
|
+
}> | Readonly<{
|
|
11
|
+
kind: 'topics';
|
|
12
|
+
topicIds: ReadonlyNonEmptyArray<NativeMailingListTopicId>;
|
|
13
|
+
}>;
|
|
8
14
|
export declare const DEFAULT_MAILING_LIST_TARGETING: MailingListDefaultTargeting;
|
|
9
15
|
export type NativeMailingListCustomTargeting = Readonly<{
|
|
10
16
|
mode: 'custom';
|
|
11
17
|
provider: 'native';
|
|
12
18
|
selection: Readonly<{
|
|
19
|
+
tag: 'general';
|
|
20
|
+
}> | Readonly<{
|
|
13
21
|
tag: 'fixed';
|
|
14
22
|
topicIds: ReadonlyNonEmptyArray<NativeMailingListTopicId>;
|
|
15
23
|
}> | Readonly<{
|
|
@@ -55,7 +63,7 @@ export type MailingListVisitorSelection = Readonly<{
|
|
|
55
63
|
}>;
|
|
56
64
|
export type ResolvedMailingListTarget = Readonly<{
|
|
57
65
|
provider: 'native';
|
|
58
|
-
|
|
66
|
+
audience: NativeMailingListAudience;
|
|
59
67
|
}> | Readonly<{
|
|
60
68
|
provider: 'brevo';
|
|
61
69
|
listIds: ReadonlyNonEmptyArray<BrevoListId>;
|
|
@@ -75,6 +75,8 @@ export type PublicContactVisibility = Readonly<{
|
|
|
75
75
|
email: PublicAddressVisibility;
|
|
76
76
|
}>;
|
|
77
77
|
export type PublicProfile = Readonly<{
|
|
78
|
+
/** Explicitly public offering description; never inferred from private AI notes. */
|
|
79
|
+
businessDescription: string | null;
|
|
78
80
|
contact: PublicContactDetails | null;
|
|
79
81
|
contactVisibility: PublicContactVisibility;
|
|
80
82
|
openingHours: WeeklyOpeningHours | null;
|
|
@@ -92,7 +94,7 @@ export type PublicProfile = Readonly<{
|
|
|
92
94
|
premises: boolean | null;
|
|
93
95
|
}>;
|
|
94
96
|
export type PublicProfileParseError = Readonly<{
|
|
95
|
-
code: 'invalid_shape' | 'contact_method_required' | 'invalid_email' | 'invalid_phone' | 'invalid_timezone' | 'invalid_weekdays' | 'invalid_time' | 'invalid_interval' | 'overlapping_intervals' | 'invalid_social_link' | 'invalid_address_visibility' | 'invalid_contact_visibility' | 'invalid_premises' | 'duplicate_social_link_id';
|
|
97
|
+
code: 'invalid_business_description' | 'invalid_shape' | 'contact_method_required' | 'invalid_email' | 'invalid_phone' | 'invalid_timezone' | 'invalid_weekdays' | 'invalid_time' | 'invalid_interval' | 'overlapping_intervals' | 'invalid_social_link' | 'invalid_address_visibility' | 'invalid_contact_visibility' | 'invalid_premises' | 'duplicate_social_link_id';
|
|
96
98
|
path: string;
|
|
97
99
|
message: string;
|
|
98
100
|
}>;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export type ScheduledDateTimeInput = Readonly<{
|
|
2
|
+
startsAt: string;
|
|
3
|
+
timeZone: string;
|
|
4
|
+
locale?: string;
|
|
5
|
+
}>;
|
|
6
|
+
export type ScheduledDateTimeRangeInput = Readonly<{
|
|
7
|
+
startsAt: string;
|
|
8
|
+
endsAt: string;
|
|
9
|
+
timeZone: string;
|
|
10
|
+
locale?: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type ScheduledIntlDateTimeFormatOptions = Readonly<Omit<Intl.DateTimeFormatOptions, 'timeZone'>>;
|
|
13
|
+
export type ScheduledDateFormatOptions = Readonly<{
|
|
14
|
+
format?: ScheduledIntlDateTimeFormatOptions;
|
|
15
|
+
}>;
|
|
16
|
+
export type ScheduledCompactTimeFormatOptions = Readonly<{
|
|
17
|
+
timePresentation?: 'compact';
|
|
18
|
+
format?: never;
|
|
19
|
+
}>;
|
|
20
|
+
export type ScheduledStandardTimeFormatOptions = Readonly<{
|
|
21
|
+
timePresentation: 'standard';
|
|
22
|
+
format?: ScheduledIntlDateTimeFormatOptions;
|
|
23
|
+
}>;
|
|
24
|
+
export type ScheduledTimeFormatOptions = ScheduledCompactTimeFormatOptions | ScheduledStandardTimeFormatOptions;
|
|
25
|
+
export type ScheduledDateTimeFormatOptions = Readonly<{
|
|
26
|
+
dateFormat?: ScheduledIntlDateTimeFormatOptions;
|
|
27
|
+
time?: ScheduledTimeFormatOptions;
|
|
28
|
+
}>;
|
|
29
|
+
export type RiverbankDateTimeFormatErrorDetails = Readonly<{
|
|
30
|
+
code: 'invalid_starts_at';
|
|
31
|
+
field: 'startsAt';
|
|
32
|
+
value: string;
|
|
33
|
+
}> | Readonly<{
|
|
34
|
+
code: 'invalid_ends_at';
|
|
35
|
+
field: 'endsAt';
|
|
36
|
+
value: string;
|
|
37
|
+
}> | Readonly<{
|
|
38
|
+
code: 'missing_ends_at';
|
|
39
|
+
field: 'endsAt';
|
|
40
|
+
value: string;
|
|
41
|
+
}> | Readonly<{
|
|
42
|
+
code: 'invalid_time_zone';
|
|
43
|
+
field: 'timeZone';
|
|
44
|
+
value: string;
|
|
45
|
+
}> | Readonly<{
|
|
46
|
+
code: 'invalid_locale';
|
|
47
|
+
field: 'locale';
|
|
48
|
+
value: string;
|
|
49
|
+
}> | Readonly<{
|
|
50
|
+
code: 'end_before_start';
|
|
51
|
+
field: 'endsAt';
|
|
52
|
+
value: string;
|
|
53
|
+
}>;
|
|
54
|
+
export type RiverbankDateTimeFormatErrorCode = RiverbankDateTimeFormatErrorDetails['code'];
|
|
55
|
+
export type RiverbankDateTimeFormatErrorField = RiverbankDateTimeFormatErrorDetails['field'];
|
|
56
|
+
export declare class RiverbankDateTimeFormatError extends Error {
|
|
57
|
+
readonly name = "RiverbankDateTimeFormatError";
|
|
58
|
+
readonly code: RiverbankDateTimeFormatErrorCode;
|
|
59
|
+
readonly field: RiverbankDateTimeFormatErrorField;
|
|
60
|
+
readonly value: string;
|
|
61
|
+
constructor(details: RiverbankDateTimeFormatErrorDetails);
|
|
62
|
+
}
|
|
63
|
+
/** Public contract adapters: admission/options here, all presentation in date-display. */
|
|
64
|
+
export declare function formatScheduledDate(input: ScheduledDateTimeInput, options?: ScheduledDateFormatOptions): string;
|
|
65
|
+
export declare function formatScheduledTime(input: ScheduledDateTimeInput, options?: ScheduledTimeFormatOptions): string;
|
|
66
|
+
export declare function formatScheduledDateTime(input: ScheduledDateTimeInput, options?: ScheduledDateTimeFormatOptions): string;
|
|
67
|
+
export declare function formatScheduledDateRange(input: ScheduledDateTimeRangeInput, options?: ScheduledDateFormatOptions): string;
|
|
68
|
+
export declare function formatScheduledTimeRange(input: ScheduledDateTimeRangeInput, options?: ScheduledTimeFormatOptions): string;
|
|
69
|
+
export declare function formatScheduledDateTimeRange(input: ScheduledDateTimeRangeInput, options?: ScheduledDateTimeFormatOptions): string;
|
|
@@ -11258,7 +11258,7 @@ export type Database = {
|
|
|
11258
11258
|
};
|
|
11259
11259
|
newsletter_campaigns: {
|
|
11260
11260
|
Row: {
|
|
11261
|
-
|
|
11261
|
+
audience_json: Json | null;
|
|
11262
11262
|
audience_tags: string[];
|
|
11263
11263
|
captured_at: string | null;
|
|
11264
11264
|
created_at: string;
|
|
@@ -11282,7 +11282,7 @@ export type Database = {
|
|
|
11282
11282
|
updated_by: string | null;
|
|
11283
11283
|
};
|
|
11284
11284
|
Insert: {
|
|
11285
|
-
|
|
11285
|
+
audience_json?: Json | null;
|
|
11286
11286
|
audience_tags?: string[];
|
|
11287
11287
|
captured_at?: string | null;
|
|
11288
11288
|
created_at?: string;
|
|
@@ -11306,7 +11306,7 @@ export type Database = {
|
|
|
11306
11306
|
updated_by?: string | null;
|
|
11307
11307
|
};
|
|
11308
11308
|
Update: {
|
|
11309
|
-
|
|
11309
|
+
audience_json?: Json | null;
|
|
11310
11310
|
audience_tags?: string[];
|
|
11311
11311
|
captured_at?: string | null;
|
|
11312
11312
|
created_at?: string;
|
|
@@ -11555,6 +11555,8 @@ export type Database = {
|
|
|
11555
11555
|
anonymized_by: string | null;
|
|
11556
11556
|
confirm_token_expires_at: string | null;
|
|
11557
11557
|
confirm_token_hash: string | null;
|
|
11558
|
+
confirmation_consent_json: Json | null;
|
|
11559
|
+
confirmation_general_subscription: boolean;
|
|
11558
11560
|
confirmation_list_ids: string[] | null;
|
|
11559
11561
|
confirmation_revision: number | null;
|
|
11560
11562
|
confirmed_at: string | null;
|
|
@@ -11571,6 +11573,7 @@ export type Database = {
|
|
|
11571
11573
|
email_lower: string | null;
|
|
11572
11574
|
first_name: string | null;
|
|
11573
11575
|
full_name: string | null;
|
|
11576
|
+
general_subscribed_at: string | null;
|
|
11574
11577
|
id: string;
|
|
11575
11578
|
last_name: string | null;
|
|
11576
11579
|
phone: string | null;
|
|
@@ -11590,6 +11593,8 @@ export type Database = {
|
|
|
11590
11593
|
anonymized_by?: string | null;
|
|
11591
11594
|
confirm_token_expires_at?: string | null;
|
|
11592
11595
|
confirm_token_hash?: string | null;
|
|
11596
|
+
confirmation_consent_json?: Json | null;
|
|
11597
|
+
confirmation_general_subscription?: boolean;
|
|
11593
11598
|
confirmation_list_ids?: string[] | null;
|
|
11594
11599
|
confirmation_revision?: number | null;
|
|
11595
11600
|
confirmed_at?: string | null;
|
|
@@ -11606,6 +11611,7 @@ export type Database = {
|
|
|
11606
11611
|
email_lower?: string | null;
|
|
11607
11612
|
first_name?: string | null;
|
|
11608
11613
|
full_name?: string | null;
|
|
11614
|
+
general_subscribed_at?: string | null;
|
|
11609
11615
|
id?: string;
|
|
11610
11616
|
last_name?: string | null;
|
|
11611
11617
|
phone?: string | null;
|
|
@@ -11625,6 +11631,8 @@ export type Database = {
|
|
|
11625
11631
|
anonymized_by?: string | null;
|
|
11626
11632
|
confirm_token_expires_at?: string | null;
|
|
11627
11633
|
confirm_token_hash?: string | null;
|
|
11634
|
+
confirmation_consent_json?: Json | null;
|
|
11635
|
+
confirmation_general_subscription?: boolean;
|
|
11628
11636
|
confirmation_list_ids?: string[] | null;
|
|
11629
11637
|
confirmation_revision?: number | null;
|
|
11630
11638
|
confirmed_at?: string | null;
|
|
@@ -11641,6 +11649,7 @@ export type Database = {
|
|
|
11641
11649
|
email_lower?: string | null;
|
|
11642
11650
|
first_name?: string | null;
|
|
11643
11651
|
full_name?: string | null;
|
|
11652
|
+
general_subscribed_at?: string | null;
|
|
11644
11653
|
id?: string;
|
|
11645
11654
|
last_name?: string | null;
|
|
11646
11655
|
phone?: string | null;
|
|
@@ -15990,9 +15999,11 @@ export type Database = {
|
|
|
15990
15999
|
metadata: Json | null;
|
|
15991
16000
|
onboarding_complete: boolean;
|
|
15992
16001
|
payouts_enabled: boolean;
|
|
16002
|
+
setup_state: Json;
|
|
16003
|
+
setup_version: number;
|
|
15993
16004
|
site_id: string;
|
|
15994
16005
|
stripe_account_email: string | null;
|
|
15995
|
-
stripe_account_id: string;
|
|
16006
|
+
stripe_account_id: string | null;
|
|
15996
16007
|
stripe_webhook_secret: string | null;
|
|
15997
16008
|
updated_at: string;
|
|
15998
16009
|
};
|
|
@@ -16006,9 +16017,11 @@ export type Database = {
|
|
|
16006
16017
|
metadata?: Json | null;
|
|
16007
16018
|
onboarding_complete?: boolean;
|
|
16008
16019
|
payouts_enabled?: boolean;
|
|
16020
|
+
setup_state?: Json;
|
|
16021
|
+
setup_version?: number;
|
|
16009
16022
|
site_id: string;
|
|
16010
16023
|
stripe_account_email?: string | null;
|
|
16011
|
-
stripe_account_id
|
|
16024
|
+
stripe_account_id?: string | null;
|
|
16012
16025
|
stripe_webhook_secret?: string | null;
|
|
16013
16026
|
updated_at?: string;
|
|
16014
16027
|
};
|
|
@@ -16022,9 +16035,11 @@ export type Database = {
|
|
|
16022
16035
|
metadata?: Json | null;
|
|
16023
16036
|
onboarding_complete?: boolean;
|
|
16024
16037
|
payouts_enabled?: boolean;
|
|
16038
|
+
setup_state?: Json;
|
|
16039
|
+
setup_version?: number;
|
|
16025
16040
|
site_id?: string;
|
|
16026
16041
|
stripe_account_email?: string | null;
|
|
16027
|
-
stripe_account_id?: string;
|
|
16042
|
+
stripe_account_id?: string | null;
|
|
16028
16043
|
stripe_webhook_secret?: string | null;
|
|
16029
16044
|
updated_at?: string;
|
|
16030
16045
|
};
|
|
@@ -16096,7 +16111,8 @@ export type Database = {
|
|
|
16096
16111
|
button_style_id: string | null;
|
|
16097
16112
|
button_style_options: Json;
|
|
16098
16113
|
created_at: string;
|
|
16099
|
-
footer_look_id: string
|
|
16114
|
+
footer_look_id: string;
|
|
16115
|
+
footer_preferences: Json;
|
|
16100
16116
|
header_layout_id: string;
|
|
16101
16117
|
header_preferences: Json | null;
|
|
16102
16118
|
header_style_id: string;
|
|
@@ -16113,7 +16129,8 @@ export type Database = {
|
|
|
16113
16129
|
button_style_id?: string | null;
|
|
16114
16130
|
button_style_options?: Json;
|
|
16115
16131
|
created_at?: string;
|
|
16116
|
-
footer_look_id
|
|
16132
|
+
footer_look_id: string;
|
|
16133
|
+
footer_preferences?: Json;
|
|
16117
16134
|
header_layout_id: string;
|
|
16118
16135
|
header_preferences?: Json | null;
|
|
16119
16136
|
header_style_id: string;
|
|
@@ -16130,7 +16147,8 @@ export type Database = {
|
|
|
16130
16147
|
button_style_id?: string | null;
|
|
16131
16148
|
button_style_options?: Json;
|
|
16132
16149
|
created_at?: string;
|
|
16133
|
-
footer_look_id?: string
|
|
16150
|
+
footer_look_id?: string;
|
|
16151
|
+
footer_preferences?: Json;
|
|
16134
16152
|
header_layout_id?: string;
|
|
16135
16153
|
header_preferences?: Json | null;
|
|
16136
16154
|
header_style_id?: string;
|
|
@@ -18492,7 +18510,8 @@ export type Database = {
|
|
|
18492
18510
|
p_base_selection_version: number;
|
|
18493
18511
|
p_button_style_id: string;
|
|
18494
18512
|
p_button_style_options: Json;
|
|
18495
|
-
p_footer_look_id
|
|
18513
|
+
p_footer_look_id: string;
|
|
18514
|
+
p_footer_preferences: Json;
|
|
18496
18515
|
p_header_layout_id: string;
|
|
18497
18516
|
p_header_preferences?: Json;
|
|
18498
18517
|
p_header_style_id: string;
|
|
@@ -20674,6 +20693,40 @@ export type Database = {
|
|
|
20674
20693
|
};
|
|
20675
20694
|
Returns: undefined;
|
|
20676
20695
|
};
|
|
20696
|
+
newsletter_admin_import_atomic: {
|
|
20697
|
+
Args: {
|
|
20698
|
+
p_audience: Json;
|
|
20699
|
+
p_rows: Json;
|
|
20700
|
+
p_site_id: string;
|
|
20701
|
+
};
|
|
20702
|
+
Returns: {
|
|
20703
|
+
created: boolean;
|
|
20704
|
+
error_code: string;
|
|
20705
|
+
row_number: number;
|
|
20706
|
+
subscriber_row: Database["public"]["Tables"]["newsletter_subscribers"]["Row"];
|
|
20707
|
+
}[];
|
|
20708
|
+
};
|
|
20709
|
+
newsletter_admin_subscribe_atomic: {
|
|
20710
|
+
Args: {
|
|
20711
|
+
p_audience: Json;
|
|
20712
|
+
p_consent_source: string;
|
|
20713
|
+
p_email: string;
|
|
20714
|
+
p_profile: Json;
|
|
20715
|
+
p_site_id: string;
|
|
20716
|
+
};
|
|
20717
|
+
Returns: {
|
|
20718
|
+
created: boolean;
|
|
20719
|
+
subscriber_row: Database["public"]["Tables"]["newsletter_subscribers"]["Row"];
|
|
20720
|
+
}[];
|
|
20721
|
+
};
|
|
20722
|
+
newsletter_audience_eligible: {
|
|
20723
|
+
Args: {
|
|
20724
|
+
p_audience: Json;
|
|
20725
|
+
p_site_id: string;
|
|
20726
|
+
p_subscriber: Database["public"]["Tables"]["newsletter_subscribers"]["Row"];
|
|
20727
|
+
};
|
|
20728
|
+
Returns: boolean;
|
|
20729
|
+
};
|
|
20677
20730
|
newsletter_begin_attempt_atomic: {
|
|
20678
20731
|
Args: {
|
|
20679
20732
|
p_claim_token: string;
|
|
@@ -20747,7 +20800,7 @@ export type Database = {
|
|
|
20747
20800
|
};
|
|
20748
20801
|
newsletter_count_recipients: {
|
|
20749
20802
|
Args: {
|
|
20750
|
-
|
|
20803
|
+
p_audience: Json;
|
|
20751
20804
|
p_site_id: string;
|
|
20752
20805
|
p_tags: string[];
|
|
20753
20806
|
};
|
|
@@ -20783,6 +20836,7 @@ export type Database = {
|
|
|
20783
20836
|
newsletter_preferences_atomic: {
|
|
20784
20837
|
Args: {
|
|
20785
20838
|
p_campaign_id?: string;
|
|
20839
|
+
p_general_subscription: boolean;
|
|
20786
20840
|
p_list_ids: string[];
|
|
20787
20841
|
p_nonce: string;
|
|
20788
20842
|
p_site_id: string;
|
|
@@ -20818,6 +20872,7 @@ export type Database = {
|
|
|
20818
20872
|
p_consent: Json;
|
|
20819
20873
|
p_double_opt_in: boolean;
|
|
20820
20874
|
p_email: string;
|
|
20875
|
+
p_general_subscription: boolean;
|
|
20821
20876
|
p_list_ids: string[];
|
|
20822
20877
|
p_profile: Json;
|
|
20823
20878
|
p_site_id: string;
|
|
@@ -20845,6 +20900,12 @@ export type Database = {
|
|
|
20845
20900
|
removed_count: number;
|
|
20846
20901
|
}[];
|
|
20847
20902
|
};
|
|
20903
|
+
newsletter_valid_audience: {
|
|
20904
|
+
Args: {
|
|
20905
|
+
p_audience: Json;
|
|
20906
|
+
};
|
|
20907
|
+
Returns: boolean;
|
|
20908
|
+
};
|
|
20848
20909
|
next_order_number: {
|
|
20849
20910
|
Args: {
|
|
20850
20911
|
p_site_id: string;
|
|
@@ -21117,7 +21178,8 @@ export type Database = {
|
|
|
21117
21178
|
Args: {
|
|
21118
21179
|
p_button_style_id: string;
|
|
21119
21180
|
p_button_style_options: Json;
|
|
21120
|
-
p_footer_look_id
|
|
21181
|
+
p_footer_look_id: string;
|
|
21182
|
+
p_footer_preferences: Json;
|
|
21121
21183
|
p_header_layout_id: string;
|
|
21122
21184
|
p_header_preferences?: Json;
|
|
21123
21185
|
p_header_style_id: string;
|
|
@@ -21677,6 +21739,22 @@ export type Database = {
|
|
|
21677
21739
|
};
|
|
21678
21740
|
Returns: string;
|
|
21679
21741
|
};
|
|
21742
|
+
resolve_staff_booking_person_atomic: {
|
|
21743
|
+
Args: {
|
|
21744
|
+
p_email?: string;
|
|
21745
|
+
p_kind: string;
|
|
21746
|
+
p_name?: string;
|
|
21747
|
+
p_person_id?: string;
|
|
21748
|
+
p_phone?: string;
|
|
21749
|
+
p_site_id: string;
|
|
21750
|
+
};
|
|
21751
|
+
Returns: {
|
|
21752
|
+
customer_id: string;
|
|
21753
|
+
outcome: string;
|
|
21754
|
+
person_id: string;
|
|
21755
|
+
provenance: string;
|
|
21756
|
+
}[];
|
|
21757
|
+
};
|
|
21680
21758
|
resource_can_provide_service: {
|
|
21681
21759
|
Args: {
|
|
21682
21760
|
p_resource_id: string;
|
|
@@ -21813,7 +21891,8 @@ export type Database = {
|
|
|
21813
21891
|
p_button_style_id: string;
|
|
21814
21892
|
p_button_style_options: Json;
|
|
21815
21893
|
p_expected_selection_version: number;
|
|
21816
|
-
p_footer_look_id
|
|
21894
|
+
p_footer_look_id: string;
|
|
21895
|
+
p_footer_preferences: Json;
|
|
21817
21896
|
p_header_layout_id: string;
|
|
21818
21897
|
p_header_preferences?: Json;
|
|
21819
21898
|
p_header_style_id: string;
|
|
@@ -22310,6 +22389,19 @@ export type Database = {
|
|
|
22310
22389
|
};
|
|
22311
22390
|
Returns: Json;
|
|
22312
22391
|
};
|
|
22392
|
+
transition_site_stripe_setup: {
|
|
22393
|
+
Args: {
|
|
22394
|
+
p_action: string;
|
|
22395
|
+
p_actor_id: string;
|
|
22396
|
+
p_expected_account_id?: string;
|
|
22397
|
+
p_expected_version: number;
|
|
22398
|
+
p_new_account_id?: string;
|
|
22399
|
+
p_next_state?: Json;
|
|
22400
|
+
p_operation_id?: string;
|
|
22401
|
+
p_site_id: string;
|
|
22402
|
+
};
|
|
22403
|
+
Returns: string;
|
|
22404
|
+
};
|
|
22313
22405
|
try_acquire_email_rate_gate: {
|
|
22314
22406
|
Args: {
|
|
22315
22407
|
p_interval_ms: number;
|
|
@@ -416,8 +416,8 @@ export declare const formFieldSchema: z.ZodObject<{
|
|
|
416
416
|
number: "number";
|
|
417
417
|
date: "date";
|
|
418
418
|
time: "time";
|
|
419
|
-
text: "text";
|
|
420
419
|
email: "email";
|
|
420
|
+
text: "text";
|
|
421
421
|
url: "url";
|
|
422
422
|
textarea: "textarea";
|
|
423
423
|
select: "select";
|
|
@@ -477,8 +477,8 @@ declare const bookingQuestionScalarFieldSchema: z.ZodObject<{
|
|
|
477
477
|
number: "number";
|
|
478
478
|
date: "date";
|
|
479
479
|
time: "time";
|
|
480
|
-
text: "text";
|
|
481
480
|
email: "email";
|
|
481
|
+
text: "text";
|
|
482
482
|
url: "url";
|
|
483
483
|
textarea: "textarea";
|
|
484
484
|
select: "select";
|
|
@@ -534,8 +534,8 @@ export declare const bookingQuestionDraftFieldSchema: z.ZodDiscriminatedUnion<[z
|
|
|
534
534
|
number: "number";
|
|
535
535
|
date: "date";
|
|
536
536
|
time: "time";
|
|
537
|
-
text: "text";
|
|
538
537
|
email: "email";
|
|
538
|
+
text: "text";
|
|
539
539
|
url: "url";
|
|
540
540
|
textarea: "textarea";
|
|
541
541
|
select: "select";
|
|
@@ -590,8 +590,8 @@ export declare const bookingQuestionFieldSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
590
590
|
number: "number";
|
|
591
591
|
date: "date";
|
|
592
592
|
time: "time";
|
|
593
|
-
text: "text";
|
|
594
593
|
email: "email";
|
|
594
|
+
text: "text";
|
|
595
595
|
url: "url";
|
|
596
596
|
textarea: "textarea";
|
|
597
597
|
select: "select";
|
|
@@ -649,8 +649,8 @@ export declare const bookingQuestionsSectionSchema: z.ZodObject<{
|
|
|
649
649
|
number: "number";
|
|
650
650
|
date: "date";
|
|
651
651
|
time: "time";
|
|
652
|
-
text: "text";
|
|
653
652
|
email: "email";
|
|
653
|
+
text: "text";
|
|
654
654
|
url: "url";
|
|
655
655
|
textarea: "textarea";
|
|
656
656
|
select: "select";
|
|
@@ -711,8 +711,8 @@ export declare const bookingQuestionsDetailedSchemaSchema: z.ZodObject<{
|
|
|
711
711
|
number: "number";
|
|
712
712
|
date: "date";
|
|
713
713
|
time: "time";
|
|
714
|
-
text: "text";
|
|
715
714
|
email: "email";
|
|
715
|
+
text: "text";
|
|
716
716
|
url: "url";
|
|
717
717
|
textarea: "textarea";
|
|
718
718
|
select: "select";
|
|
@@ -755,8 +755,8 @@ export declare const formSchemaSchema: z.ZodObject<{
|
|
|
755
755
|
number: "number";
|
|
756
756
|
date: "date";
|
|
757
757
|
time: "time";
|
|
758
|
-
text: "text";
|
|
759
758
|
email: "email";
|
|
759
|
+
text: "text";
|
|
760
760
|
url: "url";
|
|
761
761
|
textarea: "textarea";
|
|
762
762
|
select: "select";
|
|
@@ -814,8 +814,8 @@ export declare const bookingQuestionsFlatSchemaSchema: z.ZodObject<{
|
|
|
814
814
|
number: "number";
|
|
815
815
|
date: "date";
|
|
816
816
|
time: "time";
|
|
817
|
-
text: "text";
|
|
818
817
|
email: "email";
|
|
818
|
+
text: "text";
|
|
819
819
|
url: "url";
|
|
820
820
|
textarea: "textarea";
|
|
821
821
|
select: "select";
|
|
@@ -872,8 +872,8 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
872
872
|
number: "number";
|
|
873
873
|
date: "date";
|
|
874
874
|
time: "time";
|
|
875
|
-
text: "text";
|
|
876
875
|
email: "email";
|
|
876
|
+
text: "text";
|
|
877
877
|
url: "url";
|
|
878
878
|
textarea: "textarea";
|
|
879
879
|
select: "select";
|
|
@@ -933,8 +933,8 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
933
933
|
number: "number";
|
|
934
934
|
date: "date";
|
|
935
935
|
time: "time";
|
|
936
|
-
text: "text";
|
|
937
936
|
email: "email";
|
|
937
|
+
text: "text";
|
|
938
938
|
url: "url";
|
|
939
939
|
textarea: "textarea";
|
|
940
940
|
select: "select";
|
|
@@ -1016,8 +1016,8 @@ export declare const formPayloadFieldsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1016
1016
|
number: "number";
|
|
1017
1017
|
date: "date";
|
|
1018
1018
|
time: "time";
|
|
1019
|
-
text: "text";
|
|
1020
1019
|
email: "email";
|
|
1020
|
+
text: "text";
|
|
1021
1021
|
url: "url";
|
|
1022
1022
|
textarea: "textarea";
|
|
1023
1023
|
select: "select";
|
|
@@ -1074,8 +1074,8 @@ export declare const formPayloadFieldsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1074
1074
|
number: "number";
|
|
1075
1075
|
date: "date";
|
|
1076
1076
|
time: "time";
|
|
1077
|
-
text: "text";
|
|
1078
1077
|
email: "email";
|
|
1078
|
+
text: "text";
|
|
1079
1079
|
url: "url";
|
|
1080
1080
|
textarea: "textarea";
|
|
1081
1081
|
select: "select";
|
|
@@ -1135,8 +1135,8 @@ export declare const formPayloadFieldsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1135
1135
|
number: "number";
|
|
1136
1136
|
date: "date";
|
|
1137
1137
|
time: "time";
|
|
1138
|
-
text: "text";
|
|
1139
1138
|
email: "email";
|
|
1139
|
+
text: "text";
|
|
1140
1140
|
url: "url";
|
|
1141
1141
|
textarea: "textarea";
|
|
1142
1142
|
select: "select";
|
|
@@ -1178,8 +1178,8 @@ export declare const createFormPayloadSchema: z.ZodObject<{
|
|
|
1178
1178
|
number: "number";
|
|
1179
1179
|
date: "date";
|
|
1180
1180
|
time: "time";
|
|
1181
|
-
text: "text";
|
|
1182
1181
|
email: "email";
|
|
1182
|
+
text: "text";
|
|
1183
1183
|
url: "url";
|
|
1184
1184
|
textarea: "textarea";
|
|
1185
1185
|
select: "select";
|
|
@@ -1236,8 +1236,8 @@ export declare const createFormPayloadSchema: z.ZodObject<{
|
|
|
1236
1236
|
number: "number";
|
|
1237
1237
|
date: "date";
|
|
1238
1238
|
time: "time";
|
|
1239
|
-
text: "text";
|
|
1240
1239
|
email: "email";
|
|
1240
|
+
text: "text";
|
|
1241
1241
|
url: "url";
|
|
1242
1242
|
textarea: "textarea";
|
|
1243
1243
|
select: "select";
|
|
@@ -1297,8 +1297,8 @@ export declare const createFormPayloadSchema: z.ZodObject<{
|
|
|
1297
1297
|
number: "number";
|
|
1298
1298
|
date: "date";
|
|
1299
1299
|
time: "time";
|
|
1300
|
-
text: "text";
|
|
1301
1300
|
email: "email";
|
|
1301
|
+
text: "text";
|
|
1302
1302
|
url: "url";
|
|
1303
1303
|
textarea: "textarea";
|
|
1304
1304
|
select: "select";
|
|
@@ -28,3 +28,4 @@ export * from './widgets/index';
|
|
|
28
28
|
export { createBlockFormLogger, setBlockFormLoggerFactory, setBlockFormAppLogger, } from './block-form/debug';
|
|
29
29
|
export type { BlockFormLogger } from './block-form/debug';
|
|
30
30
|
export { ColourFieldOptionsProvider } from './block-editor/ColourFieldOptionsProvider';
|
|
31
|
+
export { admitEditorMediaField } from './media/admitEditorMediaField';
|
|
@@ -7,5 +7,5 @@ import type { VideoPrepIntentResolver } from '../../../media-react/src/index';
|
|
|
7
7
|
export declare function uploadIntentForFileField(): UploadIntentContract;
|
|
8
8
|
export declare function videoPrepIntentForMediaField(fieldPath: string, mediaKinds: readonly NonNullable<MediaFieldConfig['mediaKinds']>[number][] | undefined): VideoPrepIntentResolver | undefined;
|
|
9
9
|
export declare function videoSelectionIntentForMediaField(fieldPath: string, mediaKinds: readonly NonNullable<MediaFieldConfig['mediaKinds']>[number][] | undefined): VideoPrepIntent | undefined;
|
|
10
|
-
export declare function MediaField(
|
|
11
|
-
export declare function FileField(
|
|
10
|
+
export declare function MediaField(props: FieldWidgetProps<MediaValue | undefined, MediaFieldConfig>): import("react").JSX.Element;
|
|
11
|
+
export declare function FileField(props: FieldWidgetProps<MediaValue | undefined, FileFieldConfig>): import("react").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type Media, type RenderableMediaAssetIndex } from '../../../media-core/src/index';
|
|
2
|
+
import type { MediaFieldValidationPlan } from '../../../blocks/src/system/manifest/fieldValidation/index';
|
|
3
|
+
/** The field descriptor supplies the omitted stored kind at the editor boundary. */
|
|
4
|
+
export declare function admitEditorMediaField(value: unknown, plan: MediaFieldValidationPlan, index: RenderableMediaAssetIndex | undefined): Media | undefined;
|
|
@@ -16,9 +16,9 @@ export type TargetingTransition = Readonly<{
|
|
|
16
16
|
targeting: CustomTargeting;
|
|
17
17
|
}> | Readonly<{
|
|
18
18
|
tag: 'refused';
|
|
19
|
-
reason: 'last_choice' | 'invalid_choice' | 'no_interests' | 'audience_missing';
|
|
19
|
+
reason: 'last_choice' | 'invalid_choice' | 'no_interests' | 'audience_missing' | 'no_topics';
|
|
20
20
|
}>;
|
|
21
21
|
type EditableTargeting = MailingListResolvedCustomTargeting | MailingListMissingAudienceTargeting;
|
|
22
|
-
export declare function changeSelectionMode(matched: EditableTargeting, mode: 'fixed' | 'visitor_choice'): TargetingTransition;
|
|
22
|
+
export declare function changeSelectionMode(matched: EditableTargeting, mode: 'general' | 'fixed' | 'visitor_choice'): TargetingTransition;
|
|
23
23
|
export declare function toggleTargetingChoice(targeting: CustomTargeting, rawId: string): TargetingTransition;
|
|
24
24
|
export {};
|
|
@@ -30,6 +30,12 @@ export type AssetsInUseLocationLike = Readonly<{
|
|
|
30
30
|
}> | Readonly<{
|
|
31
31
|
kind: 'productFileDownload';
|
|
32
32
|
productTitle: string;
|
|
33
|
+
}> | Readonly<{
|
|
34
|
+
kind: 'newsletterTemplate';
|
|
35
|
+
templateName: string;
|
|
36
|
+
}> | Readonly<{
|
|
37
|
+
kind: 'newsletterCampaign';
|
|
38
|
+
campaignName: string;
|
|
33
39
|
}>;
|
|
34
40
|
export type AssetsInUseItemLike = Readonly<{
|
|
35
41
|
usedCount: number;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { SiteId } from '../../core/src/index';
|
|
2
|
-
import type
|
|
2
|
+
import { type MediaIdentifier } from './identifiers';
|
|
3
|
+
import { type MediaTypeDiscriminant } from './media';
|
|
3
4
|
export type ContentFieldPathSegment = string | number;
|
|
4
5
|
export type ContentFieldPath = readonly ContentFieldPathSegment[];
|
|
5
|
-
export type ContentMediaType =
|
|
6
|
+
export type ContentMediaType = MediaTypeDiscriminant;
|
|
6
7
|
export type AllowedContentMediaTypes = readonly [
|
|
7
8
|
ContentMediaType,
|
|
8
9
|
...ContentMediaType[]
|
|
@@ -29,6 +29,9 @@ export * from './classifyAllPlanning';
|
|
|
29
29
|
export * from './mediaSettingsState';
|
|
30
30
|
export * from './videoSlotPolicy';
|
|
31
31
|
export * from './identifiers';
|
|
32
|
+
export * from './mediaIdentifierSchema';
|
|
33
|
+
export * from './mediaKinds';
|
|
34
|
+
export * from './media';
|
|
32
35
|
export { getImageUrl, getDirectImageUrl, getDirectImageUrlForRelativePath, getDirectImageUrlForSiteScopedPath, getDirectImageUrlForBucketPath, getDirectImageUrlForMediaAsset, isSiteScopedDirectImageStoragePath, type DirectImageMediaAsset, type DirectImageUrlOptions, type DirectImageUrlPathTarget, type ImageProxyFit, type ImageProxyParams, } from './url';
|
|
33
36
|
export { isSameTransformRect, isSameHotspot, type HotspotLike } from './compare';
|
|
34
37
|
export { asRecord, isRecord } from './typeGuards';
|
|
@@ -46,6 +49,7 @@ export * from './richTextImageWriteNormalizer';
|
|
|
46
49
|
export * from './mediaUsageProjection';
|
|
47
50
|
export * from './portableMediaReferences';
|
|
48
51
|
export * from './renderableMediaAsset';
|
|
52
|
+
export * from './renderableMediaAssetAdmission';
|
|
49
53
|
export * from './contentMediaAudit';
|
|
50
54
|
export * from './contentMediaAuditFieldAdapter';
|
|
51
55
|
export * from './contentMediaSnapshotAudit';
|