@riverbankcms/sdk 0.138.0 → 0.140.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -16
- package/dist/{PreviewEditorSidebar-BVPur_CU.mjs → PreviewEditorSidebar-CUyTzd5z.mjs} +4 -4
- package/dist/{PreviewEditorUI-DLhWX8oh.mjs → PreviewEditorUI-Agkw4v5i.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BguJY1SW.mjs → PreviewQueryProvider-CN0ewic5.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-Tda6qw4z.mjs → SdkPreviewModeRuntime-DdbeAdS8.mjs} +62 -28
- package/dist/{SiteChromeCustomizeContext-BHFgMjde.mjs → SiteChromeCustomizeContext-CqGOz-Kv.mjs} +8467 -5616
- package/dist/_dts/ai/src/contracts/proposals.d.ts +264 -495
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +221 -242
- package/dist/_dts/api/src/accessAdmin.d.ts +74 -104
- package/dist/_dts/api/src/aiEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/authSubmission.d.ts +46 -0
- package/dist/_dts/api/src/billing.d.ts +18 -7
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +23 -0
- package/dist/_dts/api/src/billingEndpointTypes.d.ts +26 -0
- package/dist/_dts/api/src/blocks.d.ts +2 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -2
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +8 -1
- package/dist/_dts/api/src/communications.d.ts +0 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +16 -4
- package/dist/_dts/api/src/endpoints.d.ts +275 -167
- package/dist/_dts/api/src/event-destination-policy.d.ts +2 -1
- package/dist/_dts/api/src/footerSettings.d.ts +10 -10
- package/dist/_dts/api/src/index.d.ts +11 -10
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/mailchimpIntegration.d.ts +2 -59
- package/dist/_dts/api/src/mailingListIntegration.d.ts +123 -0
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +1 -1
- package/dist/_dts/api/src/navigation/locations.d.ts +1 -0
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/navigation.d.ts +1 -26
- package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +109 -2
- package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +25 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +185 -0
- package/dist/_dts/api/src/privacyPolicy.d.ts +74 -2
- package/dist/_dts/api/src/publicBookingAvailabilityEndpointDefinitions.d.ts +14 -6
- package/dist/_dts/api/src/publicEventEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +11 -3
- package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +2 -4
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +9 -49
- package/dist/_dts/api/src/publicOnboardingAttemptEndpointDefinitions.d.ts +65 -0
- package/dist/_dts/api/src/publicReadEndpointDefinitions.d.ts +73 -0
- package/dist/_dts/api/src/saveOutcome.d.ts +20 -0
- package/dist/_dts/api/src/schemas/site-api-keys.d.ts +1 -1
- package/dist/_dts/api/src/sdkContracts.d.ts +5 -32
- package/dist/_dts/api/src/sdkPushContracts.d.ts +18 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +46 -46
- package/dist/_dts/api/src/settings/permissions.d.ts +12 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +9 -34
- package/dist/_dts/api/src/siteOnboarding.d.ts +84 -228
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +3 -13
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
- package/dist/_dts/api/src/siteSettings.d.ts +38 -6
- package/dist/_dts/api/src/types.d.ts +78 -77
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -37
- package/dist/_dts/billing/src/membership/index.d.ts +17 -7
- package/dist/_dts/billing/src/plans/display.d.ts +15 -0
- package/dist/_dts/billing/src/plans/registry.d.ts +2 -0
- package/dist/_dts/billing/src/plans/standing.d.ts +19 -0
- package/dist/_dts/billing/src/plans/types.d.ts +4 -7
- package/dist/_dts/billing/src/site-arrangements.d.ts +14 -3
- package/dist/_dts/billing/src/subscriptions/evidence.d.ts +12 -0
- package/dist/_dts/billing/src/subscriptions/standingEvidence.d.ts +31 -0
- package/dist/_dts/billing/src/subscriptions/store.d.ts +23 -5
- package/dist/_dts/blocks/src/PageRenderer.d.ts +6 -15
- package/dist/_dts/blocks/src/client.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +48 -20
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +2 -0
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +9 -0
- package/dist/_dts/blocks/src/pageRenderingMode.d.ts +12 -6
- package/dist/_dts/blocks/src/portal/types.d.ts +2 -4
- package/dist/_dts/blocks/src/portal/waitlist-types.d.ts +35 -0
- package/dist/_dts/blocks/src/system/blocks/appointment-services.d.ts +11 -0
- package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +39 -66
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +39 -114
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/catalogue.d.ts +18 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/fields.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +7 -13
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/data/index.d.ts +4 -4
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +2 -1
- package/dist/_dts/blocks/src/system/data/publicLoaderCachePolicy.d.ts +2 -74
- package/dist/_dts/blocks/src/system/data/types.d.ts +9 -0
- package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +33 -100
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +0 -28
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/api/types/newsletter.d.ts +5 -15
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/waitlist-claims.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +78 -30
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +39 -15
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.state.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarToday.d.ts +22 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +94 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/checkoutRecovery.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +56 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +6 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useCheckoutRecovery.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +8 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +12 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventSourceRecovery.d.ts +18 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.client.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +24 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +28 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/bookability.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/duration.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/index.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/location.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/quickDates.d.ts +16 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/AgendaEventCard.d.ts +9 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CalendarDayCell.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CalendarDayHeaders.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DayEventsModal.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventQuickDates.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekAgendaView.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekTimetableView.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/timetableModel.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/useHydrationReady.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.client.state.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +62 -33
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +14 -31
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-catalogue.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-content.d.ts +23 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -6
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/formatting.d.ts +5 -0
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
- package/dist/_dts/commerce/src/purchase/index.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +32 -16
- package/dist/_dts/commerce/src/purchase/stripeCommissionMetadata.d.ts +34 -0
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerEngagementDraft.d.ts +6 -24
- package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +3 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +4 -2
- package/dist/_dts/core/src/branded.d.ts +0 -8
- package/dist/_dts/core/src/footer-engagement.d.ts +2 -6
- package/dist/_dts/core/src/index.d.ts +10 -1
- package/dist/_dts/core/src/mailing-list-identifiers.d.ts +21 -0
- package/dist/_dts/core/src/mailing-list-runtime.d.ts +42 -0
- package/dist/_dts/core/src/mailing-list-setup-parser.d.ts +14 -0
- package/dist/_dts/core/src/mailing-list-setup.d.ts +142 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +224 -0
- package/dist/_dts/core/src/mailing-list-targeting-parser.d.ts +12 -0
- package/dist/_dts/core/src/mailing-list-targeting.d.ts +93 -0
- package/dist/_dts/core/src/navigation-locations.d.ts +28 -0
- package/dist/_dts/core/src/participants.d.ts +2 -29
- package/dist/_dts/core/src/public-experience.d.ts +4 -0
- package/dist/_dts/core/src/public-profile.d.ts +35 -1
- package/dist/_dts/core/src/public-read-cache-contract.d.ts +45 -0
- package/dist/_dts/core/src/site-route-target.d.ts +9 -2
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +797 -954
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListGlobalSettingsSummary.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListTargetingField.d.ts +12 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/context.d.ts +14 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/index.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +7 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/targetingState.d.ts +19 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +1 -0
- package/dist/_dts/sdk/src/client/publicAppointmentReadOperations.d.ts +12 -0
- package/dist/_dts/sdk/src/client/publicEventReadOperations.d.ts +2 -1
- package/dist/_dts/sdk/src/client/publicLoaderCacheAccess.d.ts +11 -4
- package/dist/_dts/sdk/src/config/content-types.d.ts +3 -13
- package/dist/_dts/sdk/src/config/content-validation.d.ts +5 -8
- package/dist/_dts/sdk/src/constants.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +12 -31
- package/dist/_dts/sdk/src/navigation/index.d.ts +11 -29
- package/dist/_dts/sdk/src/next/index.d.ts +4 -4
- package/dist/_dts/sdk/src/prebuild/types.d.ts +1 -5
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +44 -33
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +5 -0
- package/dist/_dts/sdk/src/rendering/client.d.ts +3 -20
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +5 -0
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +4 -0
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +8 -1
- package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/cards/types.d.ts +21 -21
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +8 -2
- package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +2 -2
- package/dist/_dts/theme-core/src/hosted-booking-appearance.d.ts +41 -0
- package/dist/_dts/theme-core/src/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +54 -54
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntime.d.ts +0 -1
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -4
- package/dist/_dts/theme-core/src/schema.d.ts +84 -84
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/surfaces/foregroundInteraction.d.ts +77 -0
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/tokens/tokens.d.ts +7 -0
- package/dist/_dts/theme-core/src/typography/generateTypographyCss.d.ts +2 -2
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/callout.d.ts +1 -1
- package/dist/_dts/ui/src/lib/use-delayed-flag.d.ts +9 -0
- package/dist/_dts/ui/src/pending-button.d.ts +10 -0
- package/dist/client/{BookingConsentAgreement-DQUik1Mx.mjs → BookingConsentAgreement-CuKa82V4.mjs} +4 -4
- package/dist/client/{DiscountCodeDisclosure-CU67Q4vH.mjs → DiscountCodeDisclosure-BbYieKWB.mjs} +1 -1
- package/dist/client/{EventCombined.client-a02TXUgg.mjs → EventCombined.client-LTfR1Aby.mjs} +444 -200
- package/dist/client/{EventListing.client-99qx7jFl.mjs → EventListing.client-DUHpYSuo.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-CWzcq73L.mjs → LeafletStaticMap-CHRupL6m.mjs} +1 -1
- package/dist/client/{accordion-D1nb3-Oj.mjs → accordion-6HiIFxNL.mjs} +1 -1
- package/dist/client/{bookingForm-BGrmLhaO.mjs → bookingForm-Dlmid43H.mjs} +7 -7
- package/dist/client/bookings.mjs +368 -142
- package/dist/client/{carousel-DSmOx3ad.mjs → carousel-DmkZRRq_.mjs} +2 -2
- package/dist/client/{carousel.client-59G_WMr4.mjs → carousel.client-DQTjCVQT.mjs} +1 -1
- package/dist/client/{cart-COWeOIUk.mjs → cart-CIC24330.mjs} +3 -3
- package/dist/client/{checkout-CeysaIJK.mjs → checkout-D1Zw9imo.mjs} +3 -3
- package/dist/client/{checkoutUrls-BuseL0dw.mjs → checkoutUrls-FL6lRkrt.mjs} +1 -1
- package/dist/client/client.mjs +5017 -2258
- package/dist/client/{colorStyles-CrxJrPjJ.mjs → colorStyles-3013aRAY.mjs} +3 -1
- package/dist/client/{context-DBzX85Xc.mjs → context-Cy1OayHx.mjs} +9 -21
- package/dist/client/{dates-DCYhZBlW.mjs → dates-aDcfoLHr.mjs} +21 -3
- package/dist/client/{eventCalendar-BgsN73Ul.mjs → eventCalendar-FQxMPAjf.mjs} +81 -79
- package/dist/client/{eventCombined-DcZQAMQP.mjs → eventCombined-Dr3ac6Hb.mjs} +3 -3
- package/dist/client/{eventDetails-BWwGJ54l.mjs → eventDetails-D-AzUHFQ.mjs} +4 -4
- package/dist/client/{eventListing-DqYqV8vp.mjs → eventListing-B3XxBf3i.mjs} +3 -3
- package/dist/client/{eventRegistration-DQGDgu_e.mjs → eventRegistration-I6EaokFD.mjs} +543 -155
- package/dist/client/{form-ClfpasVT.mjs → form-BbWckVWY.mjs} +3 -3
- package/dist/client/{headerSection-BuOMe98N.mjs → headerSection-C9qU4Y7x.mjs} +2 -2
- package/dist/client/hooks.mjs +1685 -716
- package/dist/client/{locationMap-CEqu_sfa.mjs → locationMap-CLCShvlG.mjs} +3 -3
- package/dist/client/{media-BOHuueS5.mjs → media-DHpfFwd3.mjs} +1 -1
- package/dist/client/newsletterForm-Briukxzi.mjs +444 -0
- package/dist/client/{pricing-xj7MPZlK.mjs → pricing-Copadu-2.mjs} +1 -1
- package/dist/client/{productDetail-vxqTt5Xj.mjs → productDetail-oujlRd-r.mjs} +3 -3
- package/dist/client/{productList-OTdZu8sb.mjs → productList-BRiIRUcd.mjs} +3 -3
- package/dist/client/{propsDecoder-CY9gGEF7.mjs → propsDecoder-CB2KS_ko.mjs} +706 -160
- package/dist/client/rendering/client.mjs +3161 -1226
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +4864 -1914
- package/dist/client/{scrollToBlock--BFV6kl-.mjs → scrollToBlock-B1IS1_ua.mjs} +1 -1
- package/dist/client/{shop-CP4YbDL9.mjs → shop-Vn6yNFED.mjs} +6 -6
- package/dist/client/{shop-commerce-APs4XBXE.mjs → shop-commerce-BVTqipYp.mjs} +7 -7
- package/dist/client/{shop-commerce-store-CAVLxLFr.mjs → shop-commerce-store-BVnJVy7v.mjs} +1 -1
- package/dist/client/{shopShared-BnSRrwXI.mjs → shopShared-COIeK77T.mjs} +4 -4
- package/dist/client/{useEventFilters-1a1by4c8.mjs → useEventFilters-DzIUcS9n.mjs} +58 -11
- package/dist/preview-next/before-render.mjs +357 -175
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +357 -175
- package/dist/preview-next/middleware.mjs +357 -175
- package/dist/{previewAuthStore-BkEgnYPP.mjs → previewAuthStore-Gjb6r6vz.mjs} +357 -175
- package/dist/{sdk-runtime-DwGfsT0S.mjs → sdk-runtime-CnCLvZRv.mjs} +2 -2
- package/dist/{separator-BeqDLneQ.mjs → separator-DKDRJ1oH.mjs} +1 -1
- package/dist/server/components.mjs +3389 -1251
- package/dist/server/config-validation.mjs +2737 -1784
- package/dist/server/config.mjs +2742 -1788
- package/dist/server/data.mjs +1586 -615
- package/dist/server/index.mjs +496 -352
- package/dist/server/navigation.mjs +16 -47
- package/dist/server/next.mjs +3978 -2007
- package/dist/server/page-converter.mjs +1109 -553
- package/dist/server/prebuild.mjs +2 -3
- package/dist/server/rendering/server.mjs +4101 -1951
- package/dist/server/rendering.mjs +3416 -1259
- package/dist/server/routing.mjs +1869 -786
- package/dist/server/server.mjs +3260 -2482
- package/dist/server/theme-bridge.mjs +725 -124
- package/dist/server/theme.mjs +8 -2
- package/dist/styles/index.css +526 -68
- package/package.json +1 -1
- package/dist/_dts/api/src/navigation/identity.d.ts +0 -59
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup-destination.d.ts +0 -291
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionCompactRow.d.ts +0 -29
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionList.d.ts +0 -13
- package/dist/_dts/core/src/newsletter-signup-destination.d.ts +0 -38
- package/dist/client/newsletterForm-IbrHjMxy.mjs +0 -322
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
* Re-exported from `../publicExperienceEndpoints`, which stays the public import site.
|
|
5
5
|
*/
|
|
6
6
|
import type { AutoAppliedDiscountPreview } from '../bookingRecords';
|
|
7
|
+
import type { MailingListSignupSourceRef, MailingListVisitorSelection } from '../../../core/src/index';
|
|
8
|
+
import type { PublicEventLoaderParams } from '../../../blocks/src/system/blocks/events/shared/types';
|
|
9
|
+
export type { MailingListSignupSourceRef } from '../../../core/src/index';
|
|
7
10
|
export declare const PUBLIC_EVENT_TICKET_SELECTION_CONTRACT_VERSION: "public-event-ticket-selection.v2";
|
|
8
11
|
export type EventTicketSelectionRequest = {
|
|
9
12
|
pricingOptionId?: string | null;
|
|
@@ -19,66 +22,23 @@ export type EventTicketLineSummaryResponse = {
|
|
|
19
22
|
currency: string;
|
|
20
23
|
};
|
|
21
24
|
export type { PublicEventPriceDisplay, PublicEventPricing, } from '../../../core/src/index';
|
|
22
|
-
/** Query parameters accepted by the public
|
|
23
|
-
export type PublicEventLoaderParams
|
|
24
|
-
|
|
25
|
-
from?: string;
|
|
26
|
-
to?: string;
|
|
27
|
-
afterStartsAt?: string;
|
|
28
|
-
afterId?: string;
|
|
29
|
-
categoryIds?: string;
|
|
30
|
-
venueId?: string;
|
|
31
|
-
staffMemberId?: string;
|
|
32
|
-
eventSurface?: string;
|
|
33
|
-
eventPresets?: string;
|
|
34
|
-
scheduleScope?: string;
|
|
35
|
-
seriesId?: string;
|
|
36
|
-
seriesIds?: string;
|
|
37
|
-
runSeriesId?: string;
|
|
38
|
-
seriesSlug?: string;
|
|
39
|
-
includeOccurrenceId?: string;
|
|
40
|
-
/**
|
|
41
|
-
* What the read is asking for: `'occurrences'` (default) for a page of dates,
|
|
42
|
-
* or `'runs'` for one row per whole-series run regardless of date.
|
|
43
|
-
*/
|
|
44
|
-
readIntent?: string;
|
|
45
|
-
detailLevel?: string;
|
|
46
|
-
readProfile?: string;
|
|
47
|
-
};
|
|
48
|
-
export type NewsletterSignupPublicDestinationRef = {
|
|
49
|
-
tag: 'block_ref';
|
|
50
|
-
blockId: string;
|
|
51
|
-
} | {
|
|
52
|
-
tag: 'signed_destination_ref';
|
|
53
|
-
token: string;
|
|
54
|
-
};
|
|
55
|
-
export type NewsletterSubscribeTarget = {
|
|
56
|
-
tag: 'legacy_riverbank_list';
|
|
57
|
-
listId: string;
|
|
58
|
-
destinationRef?: NewsletterSignupPublicDestinationRef;
|
|
59
|
-
} | {
|
|
60
|
-
tag: 'published_block_ref';
|
|
61
|
-
destinationRef: NewsletterSignupPublicDestinationRef;
|
|
62
|
-
};
|
|
63
|
-
type NewsletterSubscribeFields = {
|
|
25
|
+
/** Query parameters accepted by the public Event list loaders. */
|
|
26
|
+
export type { PublicEventLoaderParams } from '../../../blocks/src/system/blocks/events/shared/types';
|
|
27
|
+
export type NewsletterSubscribeBody = {
|
|
64
28
|
email: string;
|
|
65
29
|
firstName?: string | null;
|
|
66
30
|
lastName?: string | null;
|
|
67
31
|
name?: string | null;
|
|
68
32
|
company?: string | null;
|
|
69
33
|
phone?: string | null;
|
|
70
|
-
|
|
34
|
+
sourceRef: MailingListSignupSourceRef;
|
|
35
|
+
setupRevision: number;
|
|
36
|
+
visitorSelection?: MailingListVisitorSelection;
|
|
71
37
|
meta?: {
|
|
72
38
|
honeypot?: string;
|
|
73
39
|
altchaSolution?: string | null;
|
|
74
40
|
};
|
|
75
41
|
};
|
|
76
|
-
export type NewsletterSubscribeBody = NewsletterSubscribeFields & ({
|
|
77
|
-
target: NewsletterSubscribeTarget;
|
|
78
|
-
} | {
|
|
79
|
-
listId: string;
|
|
80
|
-
destinationRef?: NewsletterSignupPublicDestinationRef;
|
|
81
|
-
});
|
|
82
42
|
export type PublicEventScheduleScope = 'any' | 'recurring' | 'oneOff';
|
|
83
43
|
export type PublicEventRecurrence = Readonly<{
|
|
84
44
|
kind: 'weekly';
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The anonymous onboarding attempt, addressed by its opaque resume token.
|
|
3
|
+
*
|
|
4
|
+
* Every route here is reached before there is an account, so none of them can
|
|
5
|
+
* be scoped to a site or a user: the token is the whole credential. They are
|
|
6
|
+
* kept together so that stays obvious.
|
|
7
|
+
*/
|
|
8
|
+
export declare const PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS: {
|
|
9
|
+
createPublicOnboardingAttempt: {
|
|
10
|
+
path: "/public/onboarding/attempts";
|
|
11
|
+
method: "POST";
|
|
12
|
+
auth: "public";
|
|
13
|
+
errors: never[];
|
|
14
|
+
responseKind: "json";
|
|
15
|
+
};
|
|
16
|
+
createPublicOnboardingLogoUploadUrl: {
|
|
17
|
+
path: "/public/onboarding/attempts/{attemptToken}/logo-upload-url";
|
|
18
|
+
method: "POST";
|
|
19
|
+
auth: "public";
|
|
20
|
+
errors: never[];
|
|
21
|
+
responseKind: "json";
|
|
22
|
+
};
|
|
23
|
+
uploadPublicOnboardingLogo: {
|
|
24
|
+
path: "/public/onboarding/attempts/{attemptToken}/logo";
|
|
25
|
+
method: "POST";
|
|
26
|
+
auth: "public";
|
|
27
|
+
errors: never[];
|
|
28
|
+
responseKind: "json";
|
|
29
|
+
};
|
|
30
|
+
getPublicOnboardingAttempt: {
|
|
31
|
+
path: "/public/onboarding/attempts/{attemptToken}";
|
|
32
|
+
method: "GET";
|
|
33
|
+
auth: "public";
|
|
34
|
+
errors: never[];
|
|
35
|
+
responseKind: "json";
|
|
36
|
+
};
|
|
37
|
+
getPublicOnboardingAttemptProgress: {
|
|
38
|
+
path: "/public/onboarding/attempts/{attemptToken}/status";
|
|
39
|
+
method: "GET";
|
|
40
|
+
auth: "public";
|
|
41
|
+
errors: never[];
|
|
42
|
+
responseKind: "json";
|
|
43
|
+
};
|
|
44
|
+
updatePublicOnboardingAttempt: {
|
|
45
|
+
path: "/public/onboarding/attempts/{attemptToken}";
|
|
46
|
+
method: "PATCH";
|
|
47
|
+
auth: "public";
|
|
48
|
+
errors: never[];
|
|
49
|
+
responseKind: "json";
|
|
50
|
+
};
|
|
51
|
+
runPublicOnboardingAttempt: {
|
|
52
|
+
path: "/public/onboarding/attempts/{attemptToken}/run";
|
|
53
|
+
method: "POST";
|
|
54
|
+
auth: "public";
|
|
55
|
+
errors: never[];
|
|
56
|
+
responseKind: "json";
|
|
57
|
+
};
|
|
58
|
+
resendPublicOnboardingAttemptConfirmation: {
|
|
59
|
+
path: "/public/onboarding/attempts/{attemptToken}/resend-confirmation";
|
|
60
|
+
method: "POST";
|
|
61
|
+
auth: "public";
|
|
62
|
+
errors: never[];
|
|
63
|
+
responseKind: "json";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Direct public reads governed by the canonical public-read freshness policy.
|
|
3
|
+
* Keeping these definitions together makes the endpoint identity used to
|
|
4
|
+
* derive freshness reviewable beside its route and tags.
|
|
5
|
+
*/
|
|
6
|
+
export declare const PUBLIC_READ_ENDPOINT_DEFINITIONS: {
|
|
7
|
+
getPublishedEntryPreview: {
|
|
8
|
+
path: "/public/content/{siteId}/{type}/{slug}/preview";
|
|
9
|
+
method: "GET";
|
|
10
|
+
revalidate: number;
|
|
11
|
+
tags: "content-{siteId}-{type}-{slug}"[];
|
|
12
|
+
auth: "public";
|
|
13
|
+
responseKind: "json";
|
|
14
|
+
};
|
|
15
|
+
listPublishedEntries: {
|
|
16
|
+
path: "/public/content/{siteId}/{type}/entries";
|
|
17
|
+
method: "GET";
|
|
18
|
+
revalidate: number;
|
|
19
|
+
tags: "content-{siteId}-{type}"[];
|
|
20
|
+
auth: "public";
|
|
21
|
+
responseKind: "json";
|
|
22
|
+
};
|
|
23
|
+
getPublicFormById: {
|
|
24
|
+
path: "/public/forms/{formId}";
|
|
25
|
+
method: "GET";
|
|
26
|
+
revalidate: number;
|
|
27
|
+
tags: "riverbank:form:{formId}"[];
|
|
28
|
+
auth: "public";
|
|
29
|
+
responseKind: "json";
|
|
30
|
+
};
|
|
31
|
+
listPublicEvents: {
|
|
32
|
+
path: "/public/sites/{siteId}/events";
|
|
33
|
+
method: "GET";
|
|
34
|
+
revalidate: number;
|
|
35
|
+
tags: "riverbank:site:{siteId}:public-events"[];
|
|
36
|
+
auth: "public";
|
|
37
|
+
responseKind: "json";
|
|
38
|
+
};
|
|
39
|
+
listPublicTeamMembers: {
|
|
40
|
+
path: "/public/sites/{siteId}/team-members";
|
|
41
|
+
method: "GET";
|
|
42
|
+
revalidate: number;
|
|
43
|
+
tags: "riverbank:site:{siteId}:public-team-members"[];
|
|
44
|
+
errors: never[];
|
|
45
|
+
auth: "public";
|
|
46
|
+
responseKind: "json";
|
|
47
|
+
};
|
|
48
|
+
listPublicPasses: {
|
|
49
|
+
path: "/public/sites/{siteId}/bookings/products/passes";
|
|
50
|
+
method: "GET";
|
|
51
|
+
revalidate: number;
|
|
52
|
+
tags: "riverbank:site:{siteId}:public-passes"[];
|
|
53
|
+
auth: "public";
|
|
54
|
+
responseKind: "json";
|
|
55
|
+
};
|
|
56
|
+
listPublicMemberships: {
|
|
57
|
+
path: "/public/sites/{siteId}/bookings/products/memberships";
|
|
58
|
+
method: "GET";
|
|
59
|
+
revalidate: number;
|
|
60
|
+
tags: "riverbank:site:{siteId}:public-memberships"[];
|
|
61
|
+
auth: "public";
|
|
62
|
+
responseKind: "json";
|
|
63
|
+
};
|
|
64
|
+
listPublicProducts: {
|
|
65
|
+
path: "/public/sites/{siteId}/products";
|
|
66
|
+
method: "GET";
|
|
67
|
+
revalidate: number;
|
|
68
|
+
tags: "riverbank:site:{siteId}:public-products"[];
|
|
69
|
+
errors: never[];
|
|
70
|
+
auth: "public";
|
|
71
|
+
responseKind: "json";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Endpoints whose success status does not mean the write happened.
|
|
3
|
+
*
|
|
4
|
+
* A revision-guarded write answers a lost race with 200 and a response that
|
|
5
|
+
* says so, because the client needs the authoritative document back in order
|
|
6
|
+
* to recover. That is a sound contract, but it means HTTP status is no longer
|
|
7
|
+
* the whole story: save plumbing that reads 2xx as "saved" will tell someone
|
|
8
|
+
* their changes are stored when they were rejected.
|
|
9
|
+
*
|
|
10
|
+
* Listing an endpoint here makes that impossible to overlook. Save helpers
|
|
11
|
+
* require callers of these endpoints to say how to read the outcome, and
|
|
12
|
+
* forbid the question everywhere else, so the answer cannot drift away from
|
|
13
|
+
* the contract.
|
|
14
|
+
*
|
|
15
|
+
* Add an endpoint here in the same change that gives its response a
|
|
16
|
+
* non-writing variant.
|
|
17
|
+
*/
|
|
18
|
+
export type SaveOutcomeBearingEndpoint = 'updatePublicProfile' | 'updateFooterComposition';
|
|
19
|
+
/** Whether a completed request actually wrote what the caller sent. */
|
|
20
|
+
export type SaveOutcome = 'saved' | 'not-saved';
|
|
@@ -53,8 +53,8 @@ export declare const sitePreviewKeyParamsSchema: z.ZodObject<{
|
|
|
53
53
|
export declare const createSiteApiKeyBodySchema: z.ZodObject<{
|
|
54
54
|
name: z.ZodString;
|
|
55
55
|
environment: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
56
|
-
test: "test";
|
|
57
56
|
live: "live";
|
|
57
|
+
test: "test";
|
|
58
58
|
}>>>;
|
|
59
59
|
}, z.core.$strip>;
|
|
60
60
|
/** What a client sends: `environment` may be omitted. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BlockContentSource, BlockContentSourceKind, FieldDefinition, FieldDefinitionInput, SdkCustomBlock, SdkCustomBlockInput, Theme } from '../../blocks/src/index';
|
|
2
2
|
import type { ContentTypeSchema } from '../../content-model/src/index';
|
|
3
|
-
import type { FooterCompositionV1, RichTextDoc } from '../../core/src/index';
|
|
3
|
+
import type { EventPreset, FooterCompositionV1, RichTextDoc } from '../../core/src/index';
|
|
4
4
|
export type { SdkBlockAppearanceChoice, SdkBlockAppearanceOutcome, } from './sdkBlockUpsertContracts';
|
|
5
5
|
import type { LinkPayload } from './navigation/types';
|
|
6
6
|
import type { JsonValue } from './shared-contracts';
|
|
@@ -9,7 +9,6 @@ import type { ManagementMediaAsset } from './sdkMediaContracts';
|
|
|
9
9
|
export type { ManagementMediaAsset, SdkMediaDeleteApplyResponse, SdkMediaDeletePreviewResponse, SdkMediaDownloadResponse, SdkMediaListResponse, } from './sdkMediaContracts';
|
|
10
10
|
import type { SdkPullEventOccurrence } from './sdk-event-schedule';
|
|
11
11
|
import type { SiteCommandApplicationResult } from '@riverbankcms/site-commands';
|
|
12
|
-
import type { EventPreset } from '../../core/src/index';
|
|
13
12
|
import type { SdkThemeWire } from './sdkThemeWire';
|
|
14
13
|
import type { SdkCatalogButtonStyleControl } from './sdkThemeCatalogContracts';
|
|
15
14
|
export type { SdkCatalogButtonRole, SdkCatalogButtonStyleControl, } from './sdkThemeCatalogContracts';
|
|
@@ -201,11 +200,7 @@ export interface RiverbankSiteConfigInput extends Omit<RiverbankSiteConfig, 'cus
|
|
|
201
200
|
customBlocks?: SdkCustomBlockInput[];
|
|
202
201
|
blockFieldExtensions?: SdkBlockFieldExtensionsInputMap;
|
|
203
202
|
}
|
|
204
|
-
export type PushSdkConfigRequest
|
|
205
|
-
config: RiverbankSiteConfigInput;
|
|
206
|
-
forceContentTypes?: boolean;
|
|
207
|
-
mode?: 'apply' | 'preview';
|
|
208
|
-
};
|
|
203
|
+
export type { PushSdkConfigRequest } from './sdkPushContracts';
|
|
209
204
|
export type SyncCollectionResult = {
|
|
210
205
|
created: number;
|
|
211
206
|
updated: number;
|
|
@@ -243,21 +238,7 @@ export type SdkConfigSyncResult = {
|
|
|
243
238
|
footerBlocks: SyncFooterBlocksResult;
|
|
244
239
|
ignoredDocumentSections: IgnoredDocumentSyncSection[];
|
|
245
240
|
};
|
|
246
|
-
export type PushSdkConfigResponse
|
|
247
|
-
success: true;
|
|
248
|
-
mode: 'apply' | 'preview';
|
|
249
|
-
message: string;
|
|
250
|
-
/**
|
|
251
|
-
* Legacy all-content-shaped sync payload retained for published CLIs that
|
|
252
|
-
* still read document sync buckets such as `sync.pages.errors`.
|
|
253
|
-
*/
|
|
254
|
-
sync: SdkContentSyncResult | null;
|
|
255
|
-
/**
|
|
256
|
-
* Schema/config-only push-config result. New clients should prefer this over
|
|
257
|
-
* `sync` so document sections stay unrepresentable in the active contract.
|
|
258
|
-
*/
|
|
259
|
-
configSync: SdkConfigSyncResult | null;
|
|
260
|
-
};
|
|
241
|
+
export type { PushSdkConfigResponse } from './sdkPushContracts';
|
|
261
242
|
export interface SdkBackfillPageResult {
|
|
262
243
|
pagesUpdated: number;
|
|
263
244
|
identifiersAssigned: Record<string, string>;
|
|
@@ -469,11 +450,7 @@ export interface SdkPullNavigationItem {
|
|
|
469
450
|
export interface SdkPullNavigationMenu {
|
|
470
451
|
id: string;
|
|
471
452
|
siteId: string;
|
|
472
|
-
|
|
473
|
-
name: string;
|
|
474
|
-
isPrimary: boolean;
|
|
475
|
-
isFooter: boolean;
|
|
476
|
-
footerRole: 'main' | 'legal-policy' | null;
|
|
453
|
+
location: 'main' | 'footer' | 'legal';
|
|
477
454
|
items: SdkPullNavigationItem[];
|
|
478
455
|
createdAt: string;
|
|
479
456
|
updatedAt: string;
|
|
@@ -1146,11 +1123,7 @@ export interface SdkEventOccurrenceResponse {
|
|
|
1146
1123
|
}
|
|
1147
1124
|
export type SdkUpsertNavigationMenuResponse = SdkCommandApplicationResult<{
|
|
1148
1125
|
id: string;
|
|
1149
|
-
|
|
1150
|
-
name: string;
|
|
1151
|
-
isPrimary: boolean;
|
|
1152
|
-
isFooter: boolean;
|
|
1153
|
-
footerRole: 'main' | 'legal-policy' | null;
|
|
1126
|
+
location: 'main' | 'footer' | 'legal';
|
|
1154
1127
|
items: SdkPullNavigationItem[];
|
|
1155
1128
|
createdAt: string;
|
|
1156
1129
|
updatedAt: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { MailingListProviderScope } from '../../core/src/index';
|
|
2
|
+
import type { RiverbankSiteConfigInput, SdkConfigSyncResult, SdkContentSyncResult } from './sdkContracts';
|
|
3
|
+
export type PushSdkConfigRequest = {
|
|
4
|
+
config: RiverbankSiteConfigInput;
|
|
5
|
+
forceContentTypes?: boolean;
|
|
6
|
+
mode?: 'apply' | 'preview';
|
|
7
|
+
expectedMailingListProviderScope?: MailingListProviderScope;
|
|
8
|
+
};
|
|
9
|
+
export type PushSdkConfigResponse = {
|
|
10
|
+
success: true;
|
|
11
|
+
mode: 'apply' | 'preview';
|
|
12
|
+
message: string;
|
|
13
|
+
/** Legacy document-sync result read by already-published CLI versions. */
|
|
14
|
+
sync: SdkContentSyncResult | null;
|
|
15
|
+
/** Canonical schema/config-only result for current clients. */
|
|
16
|
+
configSync: SdkConfigSyncResult | null;
|
|
17
|
+
mailingListProviderScope: MailingListProviderScope | null;
|
|
18
|
+
};
|