@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
|
@@ -55,6 +55,16 @@ export type MediaUsageLocation = {
|
|
|
55
55
|
siteId: string;
|
|
56
56
|
productId: string;
|
|
57
57
|
productTitle: string;
|
|
58
|
+
} | {
|
|
59
|
+
kind: 'newsletterTemplate';
|
|
60
|
+
siteId: string;
|
|
61
|
+
templateId: string;
|
|
62
|
+
templateName: string;
|
|
63
|
+
} | {
|
|
64
|
+
kind: 'newsletterCampaign';
|
|
65
|
+
siteId: string;
|
|
66
|
+
campaignId: string;
|
|
67
|
+
campaignName: string;
|
|
58
68
|
};
|
|
59
69
|
export type MediaUsageCheckItem = {
|
|
60
70
|
assetId: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { NewsletterAudience } from "../../core/src/index";
|
|
1
2
|
/**
|
|
2
3
|
* Site Infrastructure Contracts
|
|
3
4
|
*
|
|
@@ -422,7 +423,7 @@ export type CreateNewsletterSubscribersImportUploadUrlResponse = {
|
|
|
422
423
|
};
|
|
423
424
|
export type ImportNewsletterSubscribersCsvRequest = {
|
|
424
425
|
storagePath: string;
|
|
425
|
-
|
|
426
|
+
audience: NewsletterAudience;
|
|
426
427
|
};
|
|
427
428
|
export type DeleteBackupUploadRequest = {
|
|
428
429
|
storagePath: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StripeConnectSetupResponse, StripeConnectSetupSaveRequest, StripeConnectSetupSaveResponse, StripeConnectAccountSessionRequest, StripeConnectAccountSessionResponse } from './stripeConnectSetup';
|
|
1
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';
|
|
@@ -515,6 +516,23 @@ export type SitePlatformAPIEndpoints = import('./sdkEventLifecycle').SdkEventLif
|
|
|
515
516
|
adminDeleteSite: APIEndpoint<never, {
|
|
516
517
|
siteId: string;
|
|
517
518
|
}, AdminDeleteSiteResponse>;
|
|
519
|
+
stripeConnectSetupStart: APIEndpoint<import('./stripeConnectSetup').StripeConnectSetupStartRequest, {
|
|
520
|
+
siteId: string;
|
|
521
|
+
}, StripeConnectSetupResponse>;
|
|
522
|
+
stripeConnectSetupDiscard: APIEndpoint<{
|
|
523
|
+
expectedAccountId: string;
|
|
524
|
+
expectedVersion: number;
|
|
525
|
+
}, {
|
|
526
|
+
siteId: string;
|
|
527
|
+
}, {
|
|
528
|
+
discarded: true;
|
|
529
|
+
}>;
|
|
530
|
+
stripeConnectSetupSave: APIEndpoint<StripeConnectSetupSaveRequest, {
|
|
531
|
+
siteId: string;
|
|
532
|
+
}, StripeConnectSetupSaveResponse>;
|
|
533
|
+
stripeConnectAccountSession: APIEndpoint<StripeConnectAccountSessionRequest, {
|
|
534
|
+
siteId: string;
|
|
535
|
+
}, StripeConnectAccountSessionResponse>;
|
|
518
536
|
stripeConnectStart: APIEndpoint<never, {
|
|
519
537
|
siteId: string;
|
|
520
538
|
}, StripeConnectStartResponse>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { FooterPreferences } from '../../theme-core/src/site-styles/index';
|
|
1
2
|
import type { BackgroundOverride, SystemCustomizeFacetSelection, Theme } from '../../blocks/src/index';
|
|
2
3
|
import type { ListMediaAssetsResult, MediaAssetWithLabels } from '@riverbankcms/media-storage-supabase';
|
|
3
4
|
import type { FooterNavigationLayout, MailingListProviderScope } from '../../core/src/index';
|
|
@@ -13,11 +14,12 @@ import type { GetVersionHistoryResponse, ListVersionHistoryResponse, RestoreVers
|
|
|
13
14
|
import type { CreateMediaUploadUrlRequest, CreateMediaUploadUrlResponse, CreateSiteLogoUploadUrlRequest, CreateSiteLogoUploadUrlResponse, MediaUploadFinalizeRequest, UploadSiteLogoRequest } from './siteInfrastructure';
|
|
14
15
|
import type { DevToolsGetSiteRoleDowngradeQuery, DevToolsImpersonationResponse, DevToolsSeedResponse, DevToolsSetSiteRoleDowngradeRequest, SiteRoleDowngradeState } from './siteOperations';
|
|
15
16
|
/**
|
|
16
|
-
*
|
|
17
|
-
* row
|
|
17
|
+
* An authored theme body without chrome. The server compiles both surfaces
|
|
18
|
+
* from their row-owned selections and preference records (#1358 Phase 3).
|
|
18
19
|
*/
|
|
19
|
-
export type
|
|
20
|
+
export type ThemeWithoutChrome = Omit<Theme, 'header' | 'footer'> & Readonly<{
|
|
20
21
|
header?: never;
|
|
22
|
+
footer?: never;
|
|
21
23
|
}>;
|
|
22
24
|
/** Partial persisted selections for the Style configurator and site chrome. */
|
|
23
25
|
export type SiteThemeSelectionsPayload = {
|
|
@@ -71,7 +73,8 @@ export type ApplySiteStyleSelectionResponse = Readonly<{
|
|
|
71
73
|
buttonStyleSelection: ButtonStyleSelection;
|
|
72
74
|
headerLayoutId: HeaderLayoutId;
|
|
73
75
|
headerStyleId: HeaderStyleId;
|
|
74
|
-
|
|
76
|
+
footerPreferences: FooterPreferences;
|
|
77
|
+
footerLookId: FooterLookId;
|
|
75
78
|
}>;
|
|
76
79
|
export type SaveSiteChromeSelectionBody = Readonly<{
|
|
77
80
|
surface: 'header';
|
|
@@ -93,8 +96,8 @@ export type SaveSiteChromeSelectionBody = Readonly<{
|
|
|
93
96
|
baseSelectionUpdatedAt?: string | null;
|
|
94
97
|
}> | Readonly<{
|
|
95
98
|
surface: 'footer';
|
|
96
|
-
lookId: FooterLookId
|
|
97
|
-
|
|
99
|
+
lookId: FooterLookId;
|
|
100
|
+
preferences: Pick<FooterPreferences, 'background'>;
|
|
98
101
|
themeId?: string | null;
|
|
99
102
|
selectionId?: string | null;
|
|
100
103
|
baseSelectionUpdatedAt?: string | null;
|
|
@@ -114,7 +117,8 @@ export type SaveSiteChromeSelectionResponse = Readonly<{
|
|
|
114
117
|
* and this save did not write one — absent, not "the defaults".
|
|
115
118
|
*/
|
|
116
119
|
headerPreferences: HeaderPreferences | null;
|
|
117
|
-
|
|
120
|
+
footerPreferences: FooterPreferences;
|
|
121
|
+
footerLookId: FooterLookId;
|
|
118
122
|
}>;
|
|
119
123
|
export type PageDesignRevisionToken = {
|
|
120
124
|
kind: 'absent';
|
|
@@ -228,15 +232,11 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
228
232
|
}>;
|
|
229
233
|
saveSiteTheme: APIEndpoint<{
|
|
230
234
|
/**
|
|
231
|
-
* The theme minus its header (#
|
|
232
|
-
*
|
|
233
|
-
* `
|
|
234
|
-
* `header_preferences`, so a body cannot carry header bytes at all. This
|
|
235
|
-
* was the last path by which hand-written header fields reached
|
|
236
|
-
* persistence, and leaving it open would have made the single-authority
|
|
237
|
-
* claim untrue. `headerSelection` still names the selection to compile.
|
|
235
|
+
* The theme minus its header and footer (#1358 Phase 3).
|
|
236
|
+
* Both surfaces compile server-side from stored intent; the body cannot
|
|
237
|
+
* carry chrome bytes. `headerSelection` still names the header to compile.
|
|
238
238
|
*/
|
|
239
|
-
theme:
|
|
239
|
+
theme: ThemeWithoutChrome;
|
|
240
240
|
themeId?: string | null;
|
|
241
241
|
selectionId?: string | null;
|
|
242
242
|
overrides?: Record<string, unknown> | null;
|
|
@@ -262,7 +262,8 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
262
262
|
buttonStyleSelection: ButtonStyleSelection | null;
|
|
263
263
|
headerLayoutId: HeaderLayoutId;
|
|
264
264
|
headerStyleId: HeaderStyleId;
|
|
265
|
-
footerLookId: FooterLookId
|
|
265
|
+
footerLookId: FooterLookId;
|
|
266
|
+
footerPreferences: FooterPreferences;
|
|
266
267
|
}>;
|
|
267
268
|
applySiteStyleSelection: APIEndpoint<ApplySiteStyleSelectionBody, {
|
|
268
269
|
siteId: string;
|
|
@@ -35,6 +35,7 @@ export type SiteGeneralSettingsResponse = {
|
|
|
35
35
|
* show it.
|
|
36
36
|
*/
|
|
37
37
|
export type SiteRuntimeBusinessDetails = {
|
|
38
|
+
businessDescription: string | null;
|
|
38
39
|
tagline: string | null;
|
|
39
40
|
contact: PublicContactDetails | null;
|
|
40
41
|
addressVisibility: PublicAddressVisibility;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { StripeConnectLegalForm, StripeConnectPersonRoles, StripeConnectSetupResponse } from '@riverbankcms/billing/stripe/connect-setup-types';
|
|
2
|
+
export type { StripeConnectLegalForm, StripeConnectSection, StripeConnectPersonRoles, StripeConnectPersonReference, StripeConnectOperation, StripeConnectSetupState, StripeConnectIntakeState, StripeConnectPendingIntake, StripeConnectIdleIntake, StripeConnectSetupPrefill, StripeConnectSetupResponse } from '@riverbankcms/billing/stripe/connect-setup-types';
|
|
3
|
+
export { STRIPE_CONNECT_BUSINESS_CATEGORIES } from '@riverbankcms/billing/stripe/connect-setup-types';
|
|
4
|
+
export type StripeConnectSetupStartRequest = Readonly<{
|
|
5
|
+
legalForm?: StripeConnectLegalForm;
|
|
6
|
+
}>;
|
|
7
|
+
export type StripeConnectSetupSaveRequest = Readonly<{
|
|
8
|
+
expectedAccountId: string;
|
|
9
|
+
expectedVersion: number;
|
|
10
|
+
operationId: string;
|
|
11
|
+
mutation: {
|
|
12
|
+
kind: 'guided_business';
|
|
13
|
+
businessProfile: {
|
|
14
|
+
name: string;
|
|
15
|
+
url: string;
|
|
16
|
+
productDescription?: string;
|
|
17
|
+
supportEmail?: string | null;
|
|
18
|
+
supportPhone?: string | null;
|
|
19
|
+
};
|
|
20
|
+
} | {
|
|
21
|
+
kind: 'business';
|
|
22
|
+
businessProfile: {
|
|
23
|
+
name: string;
|
|
24
|
+
url: string;
|
|
25
|
+
productDescription: string;
|
|
26
|
+
mcc: string;
|
|
27
|
+
supportEmail: string | null;
|
|
28
|
+
supportPhone: string | null;
|
|
29
|
+
};
|
|
30
|
+
statementDescriptor: string;
|
|
31
|
+
} | {
|
|
32
|
+
kind: 'company';
|
|
33
|
+
accountToken: string;
|
|
34
|
+
} | {
|
|
35
|
+
kind: 'company_people';
|
|
36
|
+
accountToken: string;
|
|
37
|
+
} | {
|
|
38
|
+
kind: 'representative';
|
|
39
|
+
accountToken: string;
|
|
40
|
+
legalForm: 'individual';
|
|
41
|
+
} | {
|
|
42
|
+
kind: 'representative';
|
|
43
|
+
personToken: string;
|
|
44
|
+
legalForm: 'company';
|
|
45
|
+
roles: StripeConnectPersonRoles;
|
|
46
|
+
} | {
|
|
47
|
+
kind: 'person';
|
|
48
|
+
personToken: string;
|
|
49
|
+
personId: string | null;
|
|
50
|
+
roles: StripeConnectPersonRoles;
|
|
51
|
+
} | {
|
|
52
|
+
kind: 'remove_person';
|
|
53
|
+
personId: string;
|
|
54
|
+
} | {
|
|
55
|
+
kind: 'bank';
|
|
56
|
+
bankToken: string;
|
|
57
|
+
} | {
|
|
58
|
+
kind: 'legal_form';
|
|
59
|
+
accountToken: string;
|
|
60
|
+
legalForm: StripeConnectLegalForm;
|
|
61
|
+
};
|
|
62
|
+
}>;
|
|
63
|
+
export type StripeConnectSetupSaveResponse = Readonly<{
|
|
64
|
+
outcome: 'saved';
|
|
65
|
+
account: StripeConnectSetupResponse;
|
|
66
|
+
}> | Readonly<{
|
|
67
|
+
outcome: 'checking';
|
|
68
|
+
account: StripeConnectSetupResponse;
|
|
69
|
+
}> | Readonly<{
|
|
70
|
+
outcome: 'rejected';
|
|
71
|
+
message: string;
|
|
72
|
+
account: StripeConnectSetupResponse;
|
|
73
|
+
}>;
|
|
74
|
+
export type StripeConnectSessionPurpose = 'onboarding' | 'management' | 'notifications' | 'payouts' | 'payment_details' | 'disputes' | 'tax' | 'documents';
|
|
75
|
+
export type StripeConnectAccountSessionRequest = Readonly<{
|
|
76
|
+
expectedAccountId: string;
|
|
77
|
+
expectedVersion: number;
|
|
78
|
+
}> & (Readonly<{
|
|
79
|
+
purpose: 'payment_details';
|
|
80
|
+
receiptId: string;
|
|
81
|
+
}> | Readonly<{
|
|
82
|
+
purpose: Exclude<StripeConnectSessionPurpose, 'payment_details'>;
|
|
83
|
+
}>);
|
|
84
|
+
export type StripeConnectAccountSessionResponse = Readonly<{
|
|
85
|
+
paymentActionUrl?: string;
|
|
86
|
+
paymentId?: string;
|
|
87
|
+
clientSecret: string;
|
|
88
|
+
stripeAccountId: string;
|
|
89
|
+
version: number;
|
|
90
|
+
}>;
|
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Team member public contracts
|
|
4
|
-
*
|
|
5
|
-
* These types cover the compact staff identity payloads used by public team,
|
|
6
|
-
* event, and course surfaces.
|
|
7
|
-
*
|
|
8
|
-
* Note: Do NOT use these API types as validation schemas. They document wire
|
|
9
|
-
* contracts while the owning services validate and normalize inputs.
|
|
10
|
-
*/
|
|
11
|
-
export type PublicTeamMemberSummary = {
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
roleLabel: string | null;
|
|
15
|
-
summary: string | null;
|
|
16
|
-
profilePath: string | null;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Public avatar image payload for dynamic team-member blocks.
|
|
20
|
-
*/
|
|
21
|
-
export type PublicTeamMemberPhoto = ImageMedia | null;
|
|
22
|
-
export type PublicTeamMemberBlockItem = PublicTeamMemberSummary & {
|
|
23
|
-
_type: "teamMember";
|
|
24
|
-
role: string | null;
|
|
25
|
-
bio: string | null;
|
|
26
|
-
photo: PublicTeamMemberPhoto;
|
|
27
|
-
};
|
|
1
|
+
/** Public team payloads share the block contract used to validate their rendering data. */
|
|
2
|
+
export type { PublicTeamMemberSummary, PublicTeamMemberPhoto, PublicTeamMemberBlockItem, } from '../../blocks/src/contracts/index';
|
|
@@ -60,7 +60,7 @@ export type { HTTPMethod, ApiResponseKind, ApiAuthRequirement };
|
|
|
60
60
|
export type { AdminProfileRole, AdminRoleMutationResponse, RevokeAdminRoleRequest, StartImpersonationRequest, StartImpersonationResponse, StopImpersonationRequest, StopImpersonationResponse, UpsertAdminRoleRequest, } from './admin/types';
|
|
61
61
|
import type { AccountAPIEndpoints } from './accountEndpoints';
|
|
62
62
|
export type * from './accountEndpoints';
|
|
63
|
-
import type { AiAndLaunchReadinessAPIEndpointDefinitions
|
|
63
|
+
import type { AiAndLaunchReadinessAPIEndpointDefinitions } from './aiEndpoints';
|
|
64
64
|
import type { AppointmentServiceCategoryAPIEndpoints } from './appointmentServiceCategoryEndpoints';
|
|
65
65
|
import type { BookingManagementAPIEndpoints } from './bookingManagementEndpoints';
|
|
66
66
|
import type { NewsletterCampaignCommandAPIEndpoints } from './newsletterCampaignCommandEndpoints';
|
|
@@ -77,11 +77,7 @@ import type { SiteRuntimeAPIEndpoints } from './siteRuntimeEndpoints';
|
|
|
77
77
|
import type { ClientErrorReportingAPIEndpoints } from './clientErrorReporting';
|
|
78
78
|
type TableName = keyof DbDatabase['public']['Tables'];
|
|
79
79
|
export type DTOType<K extends TableName> = Partial<CamelizeKeys<DbRow<K>>>;
|
|
80
|
-
type
|
|
81
|
-
type ComposeEndpointMaps<Maps extends readonly object[], Acc extends object = {}> = Maps extends readonly [
|
|
82
|
-
infer Head extends object,
|
|
83
|
-
...infer Tail extends readonly object[]
|
|
84
|
-
] ? [Extract<keyof Acc, keyof Head>] extends [never] ? ComposeEndpointMaps<Tail, Acc & Head> : never : Acc;
|
|
80
|
+
export type APIEndpoints = AiAndLaunchReadinessAPIEndpointDefinitions & AccountAPIEndpoints & SeoEndpointDefinitions & SiteManagementAPIEndpoints & SiteAddressAPIEndpoints & PublicExperienceAPIEndpoints & SiteRuntimeAPIEndpoints & SitePlatformAPIEndpoints & SdkPageDesignAPIEndpoints & BookingManagementAPIEndpoints & NewsletterCampaignCommandAPIEndpoints & AppointmentServiceCategoryAPIEndpoints & CommercePortalAPIEndpoints & MailchimpIntegrationAPIEndpoints & MailingListIntegrationAPIEndpoints & ClientErrorReportingAPIEndpoints;
|
|
85
81
|
type SiteMembersAPIEndpointName = 'listSiteMembers' | 'inviteSiteMember' | 'updateSiteMemberRole' | 'linkCurrentUserPractitioner' | 'unlinkCurrentUserPractitioner' | 'removeSiteMember' | 'revokeSiteInvitation' | 'resendSiteInvitation' | 'transferSiteOwnership' | 'acceptSiteInvitation';
|
|
86
82
|
type SeoAPIEndpointName = 'getSeoOverview' | 'getSeoPages' | 'exportSeoPagesCsv' | 'getSeoQueries' | 'exportSeoQueriesCsv' | 'getPerformanceOverview' | 'applySeoChanges';
|
|
87
83
|
type RedirectsAPIEndpointName = 'checkRedirect' | 'listRedirectRules' | 'createRedirectRule' | 'deleteRedirectRule';
|
|
@@ -89,29 +85,13 @@ type AvailabilityAPIEndpointName = 'listAvailabilityRules' | 'setWeeklyAvailabil
|
|
|
89
85
|
type CalendarAPIEndpointName = 'getCalendarStatus' | 'updateCalendarPreferences' | 'disconnectCalendar';
|
|
90
86
|
type ContentTypesAPIEndpointName = 'listContentTypes' | 'createContentType' | 'updateContentType' | 'deleteContentType' | 'duplicateContentType';
|
|
91
87
|
type MediaAPIEndpointName = 'createMediaAsset' | 'mediaList' | 'mediaProductFileList' | 'mediaGet' | 'mediaUpdate' | 'mediaCanonicalCrop' | 'mediaDelete' | 'mediaBulkDelete' | 'mediaUsageCheck' | 'mediaGetSignedUrl' | 'createMediaUploadUrl' | 'mediaUpload' | 'getMediaLabels' | 'getMediaSettings' | 'updateMediaSettings' | 'mediaSearch' | 'classifyMediaAsset' | 'classifyMediaBatch' | 'enqueueMediaClassifyJob' | 'runMediaClassifyJob' | 'runAllMediaClassifyJobs' | 'mediaJobsStatus';
|
|
92
|
-
type
|
|
93
|
-
export type
|
|
94
|
-
export type
|
|
95
|
-
export type
|
|
96
|
-
export type
|
|
97
|
-
export type
|
|
98
|
-
export type
|
|
99
|
-
export type
|
|
100
|
-
export type AccountAPIEndpointMap = Pick<APIEndpointsMonolith, 'accountGetIdentity' | 'accountListSites' | 'accountCreateSite' | 'accountProvisionProjectCredentials'>;
|
|
101
|
-
type RemainingAPIEndpoints = Omit<APIEndpointsMonolith, ComposedDomainEndpointNames>;
|
|
102
|
-
type DomainAPIEndpointMaps = [
|
|
103
|
-
AccountAPIEndpointMap,
|
|
104
|
-
AiAPIEndpoints,
|
|
105
|
-
LaunchReadinessAPIEndpoints,
|
|
106
|
-
SiteMembersAPIEndpoints,
|
|
107
|
-
SeoAPIEndpoints,
|
|
108
|
-
RedirectsAPIEndpoints,
|
|
109
|
-
AvailabilityAPIEndpoints,
|
|
110
|
-
CalendarAPIEndpoints,
|
|
111
|
-
ContentTypesAPIEndpoints,
|
|
112
|
-
MediaAPIEndpoints,
|
|
113
|
-
Pick<APIEndpointsMonolith, 'listMailchimpAudiences'>
|
|
114
|
-
];
|
|
115
|
-
type ComposedAPIEndpointMaps = [...DomainAPIEndpointMaps, RemainingAPIEndpoints];
|
|
116
|
-
export type APIEndpoints = ComposeEndpointMaps<ComposedAPIEndpointMaps>;
|
|
88
|
+
export type SiteMembersAPIEndpoints = Pick<APIEndpoints, SiteMembersAPIEndpointName>;
|
|
89
|
+
export type SeoAPIEndpoints = Pick<APIEndpoints, SeoAPIEndpointName>;
|
|
90
|
+
export type RedirectsAPIEndpoints = Pick<APIEndpoints, RedirectsAPIEndpointName>;
|
|
91
|
+
export type AvailabilityAPIEndpoints = Pick<APIEndpoints, AvailabilityAPIEndpointName>;
|
|
92
|
+
export type CalendarAPIEndpoints = Pick<APIEndpoints, CalendarAPIEndpointName>;
|
|
93
|
+
export type ContentTypesAPIEndpoints = Pick<APIEndpoints, ContentTypesAPIEndpointName>;
|
|
94
|
+
export type MediaAPIEndpoints = Pick<APIEndpoints, MediaAPIEndpointName>;
|
|
95
|
+
export type AccountAPIEndpointMap = Pick<APIEndpoints, 'accountGetIdentity' | 'accountListSites' | 'accountCreateSite' | 'accountProvisionProjectCredentials'>;
|
|
117
96
|
export type * from './apiCallParams';
|
|
97
|
+
export type * from './stripeConnectSetup';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StaffBookingPersonInput } from './bookingPeople';
|
|
1
2
|
import type { EventLifecycleStatus } from './eventManagementContracts';
|
|
2
3
|
export type { WholeSeriesRunCancellationSettlement } from './eventManagementContracts';
|
|
3
4
|
/**
|
|
@@ -119,10 +120,7 @@ export type WaitlistDashboardActionResponse = {
|
|
|
119
120
|
success: true;
|
|
120
121
|
};
|
|
121
122
|
export type AddEventSeriesRegistrationRequest = {
|
|
122
|
-
|
|
123
|
-
customerName?: string;
|
|
124
|
-
customerEmail?: string;
|
|
125
|
-
customerPhone?: string | null;
|
|
123
|
+
person: StaffBookingPersonInput;
|
|
126
124
|
status: 'enrolled' | 'waitlist';
|
|
127
125
|
settlement?: {
|
|
128
126
|
kind: 'complimentary';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RepeaterGridDropTarget, RepeaterGridPlacement } from '../../../../../blocks/src/index';
|
|
1
|
+
import type { RepeaterGridDropTarget, RepeaterGridPlacement, RepeaterGridMove } from '../../../../../blocks/src/index';
|
|
2
2
|
type Brand<TValue, TBrand extends string> = TValue & {
|
|
3
3
|
readonly __brand: TBrand;
|
|
4
4
|
};
|
|
@@ -9,26 +9,16 @@ export type LayoutGridDragState = {
|
|
|
9
9
|
kind: 'dragging';
|
|
10
10
|
activeId: string;
|
|
11
11
|
};
|
|
12
|
-
export type LayoutGridMoveIntent = {
|
|
13
|
-
kind: 'none';
|
|
14
|
-
reason: 'idle' | 'missing-over' | 'unknown-target' | 'invalid-target' | 'missing-active-placement' | 'same-position';
|
|
15
|
-
} | {
|
|
16
|
-
kind: 'move';
|
|
17
|
-
activeId: string;
|
|
18
|
-
toRow: number;
|
|
19
|
-
toColStart: number;
|
|
20
|
-
swapWithId?: string;
|
|
21
|
-
};
|
|
22
12
|
export declare function toGridColumns(value: number): GridColumns;
|
|
23
13
|
export declare function createIdleLayoutGridDragState(): LayoutGridDragState;
|
|
24
14
|
export declare function createDraggingLayoutGridDragState(activeId: unknown): LayoutGridDragState;
|
|
25
15
|
export declare function getActiveLayoutGridDragId(dragState: LayoutGridDragState): string | null;
|
|
16
|
+
/** Select a complete plan; never reconstruct swap coordinates in the editor. */
|
|
26
17
|
export declare function resolveLayoutGridMoveIntent(input: {
|
|
27
18
|
dragState: LayoutGridDragState;
|
|
28
19
|
overId: string | null;
|
|
29
20
|
dropTargetsById: ReadonlyMap<string, RepeaterGridDropTarget>;
|
|
30
21
|
itemDropTargetsById: ReadonlyMap<string, RepeaterGridDropTarget>;
|
|
31
|
-
|
|
32
|
-
}): LayoutGridMoveIntent;
|
|
22
|
+
}): RepeaterGridMove | null;
|
|
33
23
|
export declare function buildLayoutGridOccupiedCells(placements: readonly RepeaterGridPlacement[], columns: GridColumns): Set<number>;
|
|
34
24
|
export {};
|
|
@@ -2,7 +2,7 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import { buildThemeRuntime as buildThemeRuntimeImpl } from '../../../theme-core/src/runtime/buildThemeRuntime';
|
|
3
3
|
import type { Theme } from '../../../theme-core/src/schema';
|
|
4
4
|
import { renderBlock as renderBlockImpl } from '../system/componentFactory';
|
|
5
|
-
export { buildFooterRuntimeViewModel, withFooterAttribution, type FooterAttribution, type FooterResolvedEngagement, type FooterRuntimeEngagement, type FooterRuntimeModule, type FooterRuntimeViewModel, } from '../system/blocks/site-footer-runtime';
|
|
5
|
+
export { buildFooterRuntimeViewModel, resolveFooterLayoutHints, withFooterAttribution, type FooterAttribution, type FooterResolvedEngagement, type FooterRuntimeEngagement, type FooterRuntimeModule, type FooterRuntimeViewModel, } from '../system/blocks/site-footer-runtime';
|
|
6
6
|
export type SiteChromeThemeConfigOverride = Readonly<{
|
|
7
7
|
header?: Partial<NonNullable<Theme['header']>>;
|
|
8
8
|
footer?: Partial<NonNullable<Theme['footer']>>;
|
|
@@ -11,3 +11,4 @@ export { accordionIslandPropsCodec, carouselIslandPropsCodec, eventDetailsIsland
|
|
|
11
11
|
export { createZodCodec, decodeFailure, decodeSuccess, defineClientOwnedBlockRuntime, defineProgressiveBlockRuntime, defineStaticBlockRuntime, isDecodeSuccess, } from './runtime';
|
|
12
12
|
export { buildInteractiveIslandProps, createInteractiveIslandCodec, defineInteractiveIslandMetaKeys } from './islands';
|
|
13
13
|
export { proofBlockIslandCodecs, runtimeIslandCodecs } from './proof-block-islands';
|
|
14
|
+
export type { PublicTeamMemberSummary, PublicTeamMemberPhoto, PublicTeamMemberBlockItem } from '../system/blocks/shared/teamMembers';
|
|
@@ -240,16 +240,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
240
240
|
render: Readonly<{
|
|
241
241
|
mode: "form";
|
|
242
242
|
} & Readonly<{
|
|
243
|
-
display:
|
|
244
|
-
kind: "form";
|
|
245
|
-
state: "missing" | "ready";
|
|
246
|
-
className: string | null;
|
|
247
|
-
formId: string | null;
|
|
248
|
-
submitLabel: string;
|
|
249
|
-
successMessage: string | null;
|
|
250
|
-
form: import("..").FormRecord | null;
|
|
251
|
-
groups: readonly import("../system/runtime/nodes/form-layout").FormFieldGroup[];
|
|
252
|
-
}>;
|
|
243
|
+
display: FormDisplay;
|
|
253
244
|
hydration: Readonly<{
|
|
254
245
|
spamProtectionEnabled?: boolean;
|
|
255
246
|
}>;
|
|
@@ -263,16 +254,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
263
254
|
render: Readonly<{
|
|
264
255
|
mode: "form";
|
|
265
256
|
} & Readonly<{
|
|
266
|
-
display:
|
|
267
|
-
kind: "form";
|
|
268
|
-
state: "missing" | "ready";
|
|
269
|
-
className: string | null;
|
|
270
|
-
formId: string | null;
|
|
271
|
-
submitLabel: string;
|
|
272
|
-
successMessage: string | null;
|
|
273
|
-
form: import("..").FormRecord | null;
|
|
274
|
-
groups: readonly import("../system/runtime/nodes/form-layout").FormFieldGroup[];
|
|
275
|
-
}>;
|
|
257
|
+
display: FormDisplay;
|
|
276
258
|
hydration: Readonly<{
|
|
277
259
|
spamProtectionEnabled?: boolean;
|
|
278
260
|
}>;
|
|
@@ -410,20 +392,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
410
392
|
render: Readonly<{
|
|
411
393
|
mode: "newsletter-form";
|
|
412
394
|
} & Readonly<{
|
|
413
|
-
display:
|
|
414
|
-
kind: "newsletter-form";
|
|
415
|
-
availability: "ready" | "unavailable";
|
|
416
|
-
className: string | null;
|
|
417
|
-
buttonLabel: string;
|
|
418
|
-
successMessage: string;
|
|
419
|
-
buttonVariant: import("../system/runtime/nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
420
|
-
privacyNote: string | null;
|
|
421
|
-
fields: readonly import("../system/runtime/nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
422
|
-
choices: readonly Readonly<{
|
|
423
|
-
id: string;
|
|
424
|
-
label: string;
|
|
425
|
-
}>[];
|
|
426
|
-
}>;
|
|
395
|
+
display: NewsletterFormDisplay;
|
|
427
396
|
hydration: Readonly<{
|
|
428
397
|
target: import("../system/runtime/nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
429
398
|
setupRevision: number | null;
|
|
@@ -441,20 +410,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
441
410
|
render: Readonly<{
|
|
442
411
|
mode: "newsletter-form";
|
|
443
412
|
} & Readonly<{
|
|
444
|
-
display:
|
|
445
|
-
kind: "newsletter-form";
|
|
446
|
-
availability: "ready" | "unavailable";
|
|
447
|
-
className: string | null;
|
|
448
|
-
buttonLabel: string;
|
|
449
|
-
successMessage: string;
|
|
450
|
-
buttonVariant: import("../system/runtime/nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
451
|
-
privacyNote: string | null;
|
|
452
|
-
fields: readonly import("../system/runtime/nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
453
|
-
choices: readonly Readonly<{
|
|
454
|
-
id: string;
|
|
455
|
-
label: string;
|
|
456
|
-
}>[];
|
|
457
|
-
}>;
|
|
413
|
+
display: NewsletterFormDisplay;
|
|
458
414
|
hydration: Readonly<{
|
|
459
415
|
target: import("../system/runtime/nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
460
416
|
setupRevision: number | null;
|
|
@@ -1194,16 +1150,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1194
1150
|
render: Readonly<{
|
|
1195
1151
|
mode: "form";
|
|
1196
1152
|
} & Readonly<{
|
|
1197
|
-
display:
|
|
1198
|
-
kind: "form";
|
|
1199
|
-
state: "missing" | "ready";
|
|
1200
|
-
className: string | null;
|
|
1201
|
-
formId: string | null;
|
|
1202
|
-
submitLabel: string;
|
|
1203
|
-
successMessage: string | null;
|
|
1204
|
-
form: import("..").FormRecord | null;
|
|
1205
|
-
groups: readonly import("../system/runtime/nodes/form-layout").FormFieldGroup[];
|
|
1206
|
-
}>;
|
|
1153
|
+
display: FormDisplay;
|
|
1207
1154
|
hydration: Readonly<{
|
|
1208
1155
|
spamProtectionEnabled?: boolean;
|
|
1209
1156
|
}>;
|
|
@@ -1217,16 +1164,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1217
1164
|
render: Readonly<{
|
|
1218
1165
|
mode: "form";
|
|
1219
1166
|
} & Readonly<{
|
|
1220
|
-
display:
|
|
1221
|
-
kind: "form";
|
|
1222
|
-
state: "missing" | "ready";
|
|
1223
|
-
className: string | null;
|
|
1224
|
-
formId: string | null;
|
|
1225
|
-
submitLabel: string;
|
|
1226
|
-
successMessage: string | null;
|
|
1227
|
-
form: import("..").FormRecord | null;
|
|
1228
|
-
groups: readonly import("../system/runtime/nodes/form-layout").FormFieldGroup[];
|
|
1229
|
-
}>;
|
|
1167
|
+
display: FormDisplay;
|
|
1230
1168
|
hydration: Readonly<{
|
|
1231
1169
|
spamProtectionEnabled?: boolean;
|
|
1232
1170
|
}>;
|
|
@@ -1364,20 +1302,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1364
1302
|
render: Readonly<{
|
|
1365
1303
|
mode: "newsletter-form";
|
|
1366
1304
|
} & Readonly<{
|
|
1367
|
-
display:
|
|
1368
|
-
kind: "newsletter-form";
|
|
1369
|
-
availability: "ready" | "unavailable";
|
|
1370
|
-
className: string | null;
|
|
1371
|
-
buttonLabel: string;
|
|
1372
|
-
successMessage: string;
|
|
1373
|
-
buttonVariant: import("../system/runtime/nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
1374
|
-
privacyNote: string | null;
|
|
1375
|
-
fields: readonly import("../system/runtime/nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
1376
|
-
choices: readonly Readonly<{
|
|
1377
|
-
id: string;
|
|
1378
|
-
label: string;
|
|
1379
|
-
}>[];
|
|
1380
|
-
}>;
|
|
1305
|
+
display: NewsletterFormDisplay;
|
|
1381
1306
|
hydration: Readonly<{
|
|
1382
1307
|
target: import("../system/runtime/nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
1383
1308
|
setupRevision: number | null;
|
|
@@ -1395,20 +1320,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1395
1320
|
render: Readonly<{
|
|
1396
1321
|
mode: "newsletter-form";
|
|
1397
1322
|
} & Readonly<{
|
|
1398
|
-
display:
|
|
1399
|
-
kind: "newsletter-form";
|
|
1400
|
-
availability: "ready" | "unavailable";
|
|
1401
|
-
className: string | null;
|
|
1402
|
-
buttonLabel: string;
|
|
1403
|
-
successMessage: string;
|
|
1404
|
-
buttonVariant: import("../system/runtime/nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
1405
|
-
privacyNote: string | null;
|
|
1406
|
-
fields: readonly import("../system/runtime/nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
1407
|
-
choices: readonly Readonly<{
|
|
1408
|
-
id: string;
|
|
1409
|
-
label: string;
|
|
1410
|
-
}>[];
|
|
1411
|
-
}>;
|
|
1323
|
+
display: NewsletterFormDisplay;
|
|
1412
1324
|
hydration: Readonly<{
|
|
1413
1325
|
target: import("../system/runtime/nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
1414
1326
|
setupRevision: number | null;
|
|
@@ -92,3 +92,4 @@ export { resolvedItemSurfaceProps } from './system/runtime/lookSurfaces';
|
|
|
92
92
|
export { buildPageRenderPlan } from './pageRenderPlan';
|
|
93
93
|
export { toPresentationPage } from './pageRenderAdmission';
|
|
94
94
|
export { itemRole } from './pageRenderPlan';
|
|
95
|
+
export type { ExternalMedia, AssetMedia, RuntimeMedia, RuntimeMediaOfType } from './lib/media';
|
|
@@ -12,3 +12,4 @@ export type DocumentMedia = MediaOfType<'document'>;
|
|
|
12
12
|
export type SpreadsheetMedia = MediaOfType<'spreadsheet'>;
|
|
13
13
|
export type ArchiveMedia = MediaOfType<'archive'>;
|
|
14
14
|
export type PublicDownloadMedia = MediaOfType<PublicDownloadMediaType>;
|
|
15
|
+
export type { ExternalMedia, AssetMedia, RuntimeMedia, RuntimeMediaOfType } from '../../../media-core/src/index';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ExternalMedia } from '../../../media-core/src/index';
|
|
2
2
|
type PicsumOptions = {
|
|
3
3
|
w?: number;
|
|
4
4
|
h?: number;
|
|
@@ -15,5 +15,5 @@ type PicsumOptions = {
|
|
|
15
15
|
* // => { type: 'image', src: 'https://picsum.photos/seed/hero/1600/900', ... }
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
|
-
export declare function getPicsumImage(opts?: PicsumOptions):
|
|
18
|
+
export declare function getPicsumImage(opts?: PicsumOptions): ExternalMedia;
|
|
19
19
|
export {};
|
|
@@ -72,8 +72,9 @@ export type BlockOverrideProps<TContent = Record<string, unknown>> = {
|
|
|
72
72
|
subject?: import('../../core/src/index').EventPageSurfaceSubjectWire | null;
|
|
73
73
|
/** Supabase project URL (useful for media URL resolution in override components) */
|
|
74
74
|
supabaseUrl?: string;
|
|
75
|
+
/** Authored-link routing context, including preview-stage destinations. */
|
|
76
|
+
linkResolveContext?: import('./system/links/resolve').LinkResolverContext;
|
|
75
77
|
/** Full image-resolution context including canonical media sidecars. */
|
|
76
|
-
linkResolveContext?: Pick<import('./system/transforms/registry/core').TransformContext, 'routes' | 'pagesByIdentifier' | 'entriesByIdentifier' | 'stage'>;
|
|
77
78
|
imageResolveContext?: ResolveImageUrlContext;
|
|
78
79
|
/** Block instance ID (null for unsaved blocks) */
|
|
79
80
|
blockId: string | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { RichTextPrimitiveProps } from "../primitives";
|
|
3
|
-
export default function RichText({ as: Comp, className, doc, path, style, "data-slot": dataSlot, "data-surface": dataSurface, linkTarget, }: RichTextPrimitiveProps): React.JSX.Element;
|
|
3
|
+
export default function RichText({ as: Comp, className, doc, path, style, "data-slot": dataSlot, "data-surface": dataSurface, linkTarget, leadParagraphSlot, lookSlots, }: RichTextPrimitiveProps): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { LookListPresentation } from "../../system/runtime/lookSurfaces";
|
|
1
2
|
import type React from "react";
|
|
2
3
|
import type { PrimitiveProps } from "../types";
|
|
3
4
|
import type { RichTextDoc } from "../../system/manifest/richTextSchema";
|
|
@@ -12,7 +13,7 @@ export type TextProps = PrimitiveProps & {
|
|
|
12
13
|
ariaLabel?: string;
|
|
13
14
|
blockData?: Record<string, unknown> | null;
|
|
14
15
|
};
|
|
15
|
-
export type RichTextPrimitiveProps = PrimitiveProps & {
|
|
16
|
+
export type RichTextPrimitiveProps = PrimitiveProps & Pick<LookListPresentation, "lookSlots"> & {
|
|
16
17
|
path?: string;
|
|
17
18
|
linkedEntryField?: PreviewLinkedEntryFieldBinding;
|
|
18
19
|
doc?: RichTextDoc | null;
|
|
@@ -21,6 +22,8 @@ export type RichTextPrimitiveProps = PrimitiveProps & {
|
|
|
21
22
|
ariaLabel?: string;
|
|
22
23
|
blockData?: Record<string, unknown> | null;
|
|
23
24
|
linkTarget?: "stored" | "new-tab";
|
|
25
|
+
/** Semantic hook for the first top-level paragraph; absent for legacy rendering. */
|
|
26
|
+
leadParagraphSlot?: "lede";
|
|
24
27
|
};
|
|
25
28
|
export type RichTextVariant = "full" | "inline" | "limited" | "media" | "notes";
|
|
26
29
|
export type PrimitiveAPI = {
|