@riverbankcms/sdk 0.136.0 → 0.138.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 +109 -0
- package/README.md +7 -4
- package/dist/{PreviewEditorSidebar-BU5ZlhQR.mjs → PreviewEditorSidebar-BVPur_CU.mjs} +12 -18
- package/dist/{PreviewEditorUI-9XkHL-bC.mjs → PreviewEditorUI-DLhWX8oh.mjs} +3 -3
- package/dist/{PreviewQueryProvider-wbEpXryy.mjs → PreviewQueryProvider-BguJY1SW.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CnWmj-2B.mjs → SdkPreviewModeRuntime-Tda6qw4z.mjs} +1375 -495
- package/dist/{SiteChromeCustomizeContext-B6d5zkog.mjs → SiteChromeCustomizeContext-BHFgMjde.mjs} +35665 -33602
- package/dist/_dts/ai/src/contracts/proposals.d.ts +7226 -3057
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +1223 -811
- package/dist/_dts/ai/src/designer/themePatch.d.ts +5 -10
- package/dist/_dts/api/src/accessAdmin.d.ts +16 -18
- package/dist/_dts/api/src/accountApi.d.ts +49 -2
- package/dist/_dts/api/src/appointmentServiceContracts.d.ts +83 -0
- package/dist/_dts/api/src/appointmentServiceLocation.d.ts +12 -0
- package/dist/_dts/api/src/appointmentServiceVisibility.d.ts +14 -0
- package/dist/_dts/api/src/appointmentSetup.d.ts +8 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +35 -87
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/bookingOperations.d.ts +2 -69
- package/dist/_dts/api/src/bookingRecords.d.ts +2 -2
- package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +2 -2
- package/dist/_dts/api/src/bookingServicePricing.d.ts +47 -0
- package/dist/_dts/api/src/bookings.d.ts +2 -2
- package/dist/_dts/api/src/cache-tags.d.ts +7 -2
- package/dist/_dts/api/src/common/index.d.ts +1 -0
- package/dist/_dts/api/src/common/zodFieldErrors.d.ts +34 -0
- package/dist/_dts/api/src/communications.d.ts +14 -8
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -6
- package/dist/_dts/api/src/domainConnection.d.ts +41 -0
- package/dist/_dts/api/src/endpoints.d.ts +1636 -1637
- package/dist/_dts/api/src/eventAttendanceLabels.d.ts +2 -2
- package/dist/_dts/api/src/eventManagementContracts.d.ts +10 -14
- package/dist/_dts/api/src/index.d.ts +11 -9
- 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/media.d.ts +19 -2
- package/dist/_dts/api/src/occurrenceScheduling.d.ts +1 -1
- package/dist/_dts/api/src/participantMessaging.d.ts +3 -3
- package/dist/_dts/api/src/public/endpoints.d.ts +1 -1
- package/dist/_dts/api/src/publicBookingAvailabilityEndpointDefinitions.d.ts +62 -0
- package/dist/_dts/api/src/publicBookingService.d.ts +109 -2
- package/dist/_dts/api/src/publicEventCheckoutEndpointDefinitions.d.ts +27 -0
- package/dist/_dts/api/src/publicEventEndpointDefinitions.d.ts +7 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +2 -1
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +30 -148
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +8 -26
- package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +5 -13
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +2 -3
- package/dist/_dts/api/src/schemas/admin-allowed-domains.d.ts +76 -0
- package/dist/_dts/api/src/schemas/admin-observability-logs.d.ts +61 -0
- package/dist/_dts/api/src/schemas/admin-users.d.ts +80 -0
- package/dist/_dts/api/src/schemas/newsletter-memberships.d.ts +98 -0
- package/dist/_dts/api/src/schemas/sdk-entries.d.ts +128 -0
- package/dist/_dts/api/src/schemas/site-api-keys.d.ts +112 -0
- package/dist/_dts/api/src/schemas/support.d.ts +35 -0
- package/dist/_dts/api/src/sdk-event-booking-offer.d.ts +14 -0
- package/dist/_dts/api/src/sdk-event-payment-terms.d.ts +4 -16
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +11 -21
- package/dist/_dts/api/src/sdkContracts.d.ts +8 -23
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +37 -0
- package/dist/_dts/api/src/sdkMediaContracts.d.ts +40 -0
- package/dist/_dts/api/src/sdkMediaEndpointDefinitions.d.ts +66 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +157 -146
- package/dist/_dts/api/src/siteInfrastructure.d.ts +37 -37
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +35 -54
- package/dist/_dts/api/src/siteOnboarding.d.ts +3 -3
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +38 -16
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +37 -17
- package/dist/_dts/api/src/types.d.ts +2 -2
- package/dist/_dts/api/src/{wholeSeriesOfferings.d.ts → wholeSeriesRuns.d.ts} +11 -67
- package/dist/_dts/block-form/src/FormRenderer.d.ts +3 -1
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +2 -1
- package/dist/_dts/block-form/src/backend/types.d.ts +2 -0
- package/dist/_dts/block-form/src/context/FormFocusContext.d.ts +7 -0
- package/dist/_dts/block-form/src/index.d.ts +2 -0
- package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +2 -1
- package/dist/_dts/block-form/src/utils/promotedFieldBackend.d.ts +8 -0
- package/dist/_dts/block-form/src/utils/promotedFieldPlan.d.ts +18 -0
- package/dist/_dts/block-form/src/utils/resolvePromotedFields.d.ts +8 -1
- package/dist/_dts/blocks/src/BlockErrorBoundary.d.ts +46 -0
- package/dist/_dts/blocks/src/PageRenderer.d.ts +2 -141
- package/dist/_dts/blocks/src/contracts/index.d.ts +2 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +12 -6
- package/dist/_dts/blocks/src/index.d.ts +1 -0
- package/dist/_dts/blocks/src/pageRenderAudience.d.ts +54 -0
- package/dist/_dts/blocks/src/pageRenderDiagnostics.d.ts +26 -0
- package/dist/_dts/blocks/src/pageRenderPlan.d.ts +116 -0
- package/dist/_dts/blocks/src/pageRenderPreparation.d.ts +109 -0
- package/dist/_dts/blocks/src/pageRendererBoundaries.d.ts +1 -0
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +154 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
- package/dist/_dts/blocks/src/server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +12 -20
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/eventCalendarDataLoaders.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/calendarWindow.d.ts +95 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/runGrouping.d.ts +37 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +1046 -773
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +59 -46
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +161 -161
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +13 -6
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/scheduleSummary.d.ts +10 -4
- package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +2 -2
- package/dist/_dts/blocks/src/system/constants/events.d.ts +4 -0
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +4 -4
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/data/publicLoaderCachePolicy.d.ts +5 -9
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +83 -83
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +12 -3
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +8 -8
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +12 -20
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +32 -37
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +15 -18
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +11 -8
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.state.d.ts +38 -22
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/WholeSeriesPricingDisplay.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +16 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/ErrorStep.d.ts +3 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentSelectionStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +5 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.planning.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationCompletion.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationErrorPresentation.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationErrorRecovery.d.ts +25 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationEventAdapter.d.ts +14 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts +3 -21
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationWizardContext.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/siteCreditPreview.d.ts +0 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/ticketSelectionLines.d.ts +14 -16
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +13 -15
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationStripeReturn.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +9 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +25 -23
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useWaitlistClaimRestoration.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +11 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +8 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +11 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/capacity.d.ts +164 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/cta.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +47 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/index.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/people.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/pricing.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/OfferingTitle.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekAgendaView.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +1080 -560
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventProductEligibility.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/index.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listingLayout.d.ts +23 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +7 -7
- package/dist/_dts/blocks/src/system/transforms/registry/eventCalendar.d.ts +11 -0
- package/dist/_dts/commerce/src/moneyReport.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +57 -0
- package/dist/_dts/commerce/src/purchase/eventOrderOptionSnapshot.d.ts +3 -0
- package/dist/_dts/commerce/src/purchase/index.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +6 -3
- package/dist/_dts/commerce/src/purchase/types.d.ts +3 -2
- package/dist/_dts/commerce/src/waitlists.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +4 -0
- package/dist/_dts/content-editor/src/controller/useBlockedPublishPlan.d.ts +11 -0
- package/dist/_dts/content-editor/src/hooks/applyBlockedPublishPlan.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/blockedPublishPlan.d.ts +13 -5
- package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +5 -1
- package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +34 -2
- package/dist/_dts/content-editor/src/index.d.ts +2 -1
- package/dist/_dts/content-editor/src/ui/blockValidationManifestRegistry.d.ts +2 -0
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +4 -2
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +27 -5
- package/dist/_dts/content-model/src/content-types/schema.d.ts +3 -3
- package/dist/_dts/content-model/src/templates/defaults.d.ts +11 -0
- package/dist/_dts/core/src/branded.d.ts +28 -9
- package/dist/_dts/core/src/event-booking-offer-parser.d.ts +82 -0
- package/dist/_dts/core/src/event-booking-offer.d.ts +89 -0
- package/dist/_dts/core/src/event-page-surface-subject.d.ts +81 -4
- package/dist/_dts/core/src/event-pricing.d.ts +81 -89
- package/dist/_dts/core/src/index.d.ts +3 -0
- package/dist/_dts/core/src/non-empty-array.d.ts +3 -0
- package/dist/_dts/core/src/whole-series-run-schedule.d.ts +92 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +495 -279
- package/dist/_dts/db/src/index.d.ts +1 -0
- package/dist/_dts/db/src/utils/postgrestFilter.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +4 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockValidationManifests.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +22 -7
- package/dist/_dts/editor-blocks/src/block-editor/useSettingsFieldFocus.d.ts +18 -0
- package/dist/_dts/media-core/src/bulkDeletePlanning.d.ts +4 -0
- package/dist/_dts/media-core/src/fileDomain.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/blocks/previewBatchLoaderParams.d.ts +2 -0
- 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 +3 -2
- package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlSaveRequest.d.ts +51 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +24 -2
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +23 -1
- package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +8 -0
- package/dist/_dts/sdk/src/client/{eventSubrouteReadOperations.d.ts → publicEventReadOperations.d.ts} +4 -3
- package/dist/_dts/sdk/src/client/types.d.ts +6 -10
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +5 -0
- package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +2 -3
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +8 -8
- package/dist/_dts/sdk/src/next/tags.d.ts +5 -8
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +2 -26
- package/dist/_dts/sdk/src/rendering/helpers/footerPageOutline.d.ts +9 -1
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +6 -53
- package/dist/_dts/sdk/src/rendering/server.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/styles/recipes/flatInk.d.ts +25 -25
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +25 -25
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +7 -7
- package/dist/_dts/theme-core/src/buttons/types.d.ts +22 -22
- package/dist/_dts/theme-core/src/cards/types.d.ts +49 -49
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/gradients/types.d.ts +5 -0
- package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +26 -3
- package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +195 -195
- package/dist/_dts/theme-core/src/navigation/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/schema.d.ts +258 -257
- 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/site-styles/cardRoleVocabulary.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +43 -3
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +10 -0
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/headerBrandPresentation.d.ts +63 -0
- package/dist/_dts/theme-core/src/site-styles/headerBytesComparison.d.ts +30 -0
- package/dist/_dts/theme-core/src/site-styles/headerInteractionPalette.d.ts +50 -1
- package/dist/_dts/theme-core/src/site-styles/headerLayoutCatalog.d.ts +48 -9
- package/dist/_dts/theme-core/src/site-styles/headerPreferences.d.ts +162 -0
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +73 -0
- package/dist/_dts/theme-core/src/site-styles/headerRecompile.d.ts +118 -0
- package/dist/_dts/theme-core/src/site-styles/headerStyleCompiler.d.ts +10 -1
- package/dist/_dts/theme-core/src/site-styles/headerStyleDefaults.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/headerStyleRecipe.d.ts +7 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +20 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +43 -2
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +2 -2
- package/dist/client/{BookingConsentAgreement-DCch21a6.mjs → BookingConsentAgreement-DQUik1Mx.mjs} +2 -2
- package/dist/client/{DiscountCodeDisclosure-DIj1T59K.mjs → DiscountCodeDisclosure-CU67Q4vH.mjs} +1 -1
- package/dist/client/{EventCombined.client-BWVNlXTx.mjs → EventCombined.client-a02TXUgg.mjs} +233 -348
- package/dist/client/{EventListing.client-DVFCDe3i.mjs → EventListing.client-99qx7jFl.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BY5mIHw9.mjs → LeafletStaticMap-CWzcq73L.mjs} +1 -1
- package/dist/client/{accordion-CK29E8rG.mjs → accordion-D1nb3-Oj.mjs} +1 -1
- package/dist/client/{bookingForm-DFvnet-N.mjs → bookingForm-BGrmLhaO.mjs} +5 -5
- package/dist/client/bookings.mjs +10555 -10475
- package/dist/client/{carousel-BVU5NQlb.mjs → carousel-DSmOx3ad.mjs} +1 -1
- package/dist/client/{cart-BNItcZVa.mjs → cart-COWeOIUk.mjs} +3 -3
- package/dist/client/{checkout-Bu6iCdkP.mjs → checkout-CeysaIJK.mjs} +3 -3
- package/dist/client/client.mjs +58968 -57441
- package/dist/client/{context-BImarOAq.mjs → context-DBzX85Xc.mjs} +46 -18
- package/dist/client/dates-DCYhZBlW.mjs +264 -0
- package/dist/client/{eventCalendar-DS2h-UXD.mjs → eventCalendar-BgsN73Ul.mjs} +21 -44
- package/dist/client/{eventCombined-Drt4Oq9p.mjs → eventCombined-DcZQAMQP.mjs} +3 -3
- package/dist/client/{eventDetails-Bl2vWgTX.mjs → eventDetails-BWwGJ54l.mjs} +131 -51
- package/dist/client/{eventListing-CS7PHY7v.mjs → eventListing-DqYqV8vp.mjs} +3 -3
- package/dist/client/{eventRegistration-D-j8eNy2.mjs → eventRegistration-DQGDgu_e.mjs} +1122 -803
- package/dist/client/{form-RMpoLTyr.mjs → form-ClfpasVT.mjs} +2 -2
- package/dist/client/{headerSection-BYE3Lb3k.mjs → headerSection-BuOMe98N.mjs} +2 -2
- package/dist/client/hooks.mjs +9630 -9526
- package/dist/client/{locationMap-BxSr7Kkh.mjs → locationMap-CEqu_sfa.mjs} +2 -2
- package/dist/client/{newsletterForm-DerbXwFC.mjs → newsletterForm-IbrHjMxy.mjs} +2 -2
- package/dist/client/pricing-xj7MPZlK.mjs +314 -0
- package/dist/client/{productDetail-4SZCLhAf.mjs → productDetail-vxqTt5Xj.mjs} +3 -3
- package/dist/client/{productList-D7AP4GNq.mjs → productList-OTdZu8sb.mjs} +3 -3
- package/dist/client/{propsDecoder-pzBeCh14.mjs → propsDecoder-CY9gGEF7.mjs} +786 -1194
- package/dist/client/rendering/client.mjs +11481 -10469
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +26871 -25232
- package/dist/client/{scrollToBlock-CduAKf8T.mjs → scrollToBlock--BFV6kl-.mjs} +1 -1
- package/dist/client/{shop-Cp5p_kGe.mjs → shop-CP4YbDL9.mjs} +6 -6
- package/dist/client/{shop-commerce-DicXYaYX.mjs → shop-commerce-APs4XBXE.mjs} +5 -5
- package/dist/client/{shop-commerce-store-CGWnpY4K.mjs → shop-commerce-store-CAVLxLFr.mjs} +1 -1
- package/dist/client/{shopShared-BDf9ljkm.mjs → shopShared-BnSRrwXI.mjs} +3 -3
- package/dist/client/{useEventFilters-DeeyGYuk.mjs → useEventFilters-1a1by4c8.mjs} +33 -18
- package/dist/preview-next/before-render.mjs +186 -148
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +186 -148
- package/dist/preview-next/middleware.mjs +186 -148
- package/dist/{previewAuthStore-DbqBol0V.mjs → previewAuthStore-BkEgnYPP.mjs} +186 -148
- package/dist/{sdk-runtime-19MO27F0.mjs → sdk-runtime-DwGfsT0S.mjs} +2 -2
- package/dist/{separator-DaPLtJ1f.mjs → separator-BeqDLneQ.mjs} +1 -1
- package/dist/server/components.mjs +53243 -51879
- package/dist/server/config-validation.mjs +1015 -906
- package/dist/server/config.mjs +1019 -910
- package/dist/server/data.mjs +10304 -10200
- package/dist/server/index.mjs +217 -198
- package/dist/server/next/tags.mjs +18 -4
- package/dist/server/next.mjs +62787 -61617
- package/dist/server/page-converter.mjs +797 -917
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +52557 -51365
- package/dist/server/rendering.mjs +54373 -53054
- package/dist/server/routing.mjs +13274 -13142
- package/dist/server/server.mjs +1076 -1154
- package/dist/server/theme-bridge.mjs +69 -9
- package/dist/server/theme.mjs +27 -8
- package/dist/styles/index.css +32 -1
- package/package.json +1 -1
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +0 -65
- package/dist/_dts/api/src/publicWholeSeriesEndpointDefinitions.d.ts +0 -20
- package/dist/_dts/api/src/sdk-event-pricing.d.ts +0 -61
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/index.d.ts +0 -3
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/pricing.d.ts +0 -50
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/schemas.d.ts +0 -135
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/types.d.ts +0 -87
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCapacity.d.ts +0 -48
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/pricing.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +0 -100
- package/dist/_dts/sdk/src/client/wholeSeriesReadOperations.d.ts +0 -11
- package/dist/_dts/sdk/src/public-api/wholeSeriesContracts.d.ts +0 -2
- /package/dist/_dts/blocks/src/system/runtime/nodes/events/{shared → domain}/destination.d.ts +0 -0
|
@@ -6,3 +6,4 @@ export type { CamelizeKeys, CamelToSnake, DecamelizeKeys, DeepCamelizeKeys, Deep
|
|
|
6
6
|
export { createPatchApplier } from './utils/patch';
|
|
7
7
|
export * from './schemas/forms';
|
|
8
8
|
export * from './schemas/standard-contact';
|
|
9
|
+
export { escapePostgrestFilterValue } from './utils/postgrestFilter';
|
|
@@ -3,7 +3,7 @@ import type { BlockDraftSaveability } from '../../block-form/src/blockDraftSavea
|
|
|
3
3
|
import type { BlockManifest, Theme } from '../../blocks/src/index';
|
|
4
4
|
import { type PageDesignEditorBlock } from '../../theme-core/src/site-styles/index';
|
|
5
5
|
import { type EditorBlockId } from '../../core/src/index';
|
|
6
|
-
import type { ArrayKeysManager, DraftsSlice, UiStore as BlockEditorUiStore } from './block-editor/types';
|
|
6
|
+
import type { ArrayKeysManager, DraftsSlice, BlockFocusRequest, UiStore as BlockEditorUiStore } from './block-editor/types';
|
|
7
7
|
import type { GeneratedIconApplyState } from './block-editor/generatedIconApplyCoordination';
|
|
8
8
|
export type BlockFormUiStoreState = GeneratedIconApplyState & {
|
|
9
9
|
setActivePreviewField: (field: {
|
|
@@ -31,11 +31,7 @@ type BlockItem = {
|
|
|
31
31
|
publishedContent?: Record<string, unknown> | null;
|
|
32
32
|
orderIndex?: number | null;
|
|
33
33
|
};
|
|
34
|
-
type BlockFormFocusSignal =
|
|
35
|
-
requestId: number;
|
|
36
|
-
fieldPath?: string | null;
|
|
37
|
-
itemIndex?: number | null;
|
|
38
|
-
};
|
|
34
|
+
type BlockFormFocusSignal = BlockFocusRequest;
|
|
39
35
|
export declare function BlockForm({ siteId: _siteId, block, manifest, uiStore, hasRecoveryConflict, focusSignal, onFocusHandled, onSaveSuccess, theme, widgetOverrides, hideThemeV2RawStyleFields, pageDesignBlock, }: {
|
|
40
36
|
siteId: string;
|
|
41
37
|
block: BlockItem;
|
|
@@ -13,7 +13,7 @@ import type { ArrayKeysManager, BlockFocusRequest, BlockItem, UiStore, DraftsSli
|
|
|
13
13
|
import type { GeneratedIconApplyState } from './generatedIconApplyCoordination';
|
|
14
14
|
/** Drag listener props from dnd-kit */
|
|
15
15
|
type DragListeners = SyntheticListenerMap | undefined;
|
|
16
|
-
type BlockCardStore = UiStore<Pick<UiSlice, 'activeBlockId' | 'setActiveBlockId' | 'setActivePreviewField'> & {
|
|
16
|
+
type BlockCardStore = UiStore<Pick<UiSlice, 'activeBlockId' | 'setActiveBlockId' | 'setActivePreviewField' | 'focusRequest' | 'clearFocus'> & {
|
|
17
17
|
blockValidation: {
|
|
18
18
|
markPathEdited: (blockId: EditorBlockId, path: string) => void;
|
|
19
19
|
isPathEdited: (blockId: EditorBlockId, path: string) => boolean;
|
|
@@ -3,12 +3,12 @@ import type { FieldWidgetComponent } from '../../../block-form/src/index';
|
|
|
3
3
|
import { type SiteIconStyleGuideVersionId, type SystemBlockDefinition, type Theme } from '../../../blocks/src/index';
|
|
4
4
|
import { type BlockActionPresentation } from './actionPresentation';
|
|
5
5
|
import type { ReorderControlMode } from './reorderControlMode';
|
|
6
|
-
import type { BlockItem, UiStore, DraftsSlice, ArrayKeysManager } from './types';
|
|
6
|
+
import type { BlockItem, UiStore, DraftsSlice, UiSlice, ArrayKeysManager } from './types';
|
|
7
7
|
import { type GeneratedIconSetGenerateInput, type GeneratedIconSetGenerateResult } from './GeneratedIconSetDialog';
|
|
8
8
|
import { type GeneratedIconApplyState } from './generatedIconApplyCoordination';
|
|
9
9
|
/** Drag listener props from dnd-kit */
|
|
10
10
|
type DragListeners = SyntheticListenerMap | undefined;
|
|
11
|
-
type BlockCardHeaderStore = UiStore<GeneratedIconApplyState & {
|
|
11
|
+
type BlockCardHeaderStore = UiStore<GeneratedIconApplyState & Pick<UiSlice, 'focusRequest' | 'clearFocus'> & {
|
|
12
12
|
drafts: Pick<DraftsSlice, 'getBlockSnapshot' | 'getCurrentValues' | 'initNewBlock' | 'updateBlockBaseline' | 'clearError' | 'setAtPath' | 'getAtPath'>;
|
|
13
13
|
arrayKeys: ArrayKeysManager;
|
|
14
14
|
}>;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import { type EditorBlockId } from '../../../core/src/index';
|
|
2
3
|
import type { SystemBlockDefinition, Theme } from '../../../blocks/src/index';
|
|
3
4
|
import { type FieldWidgetComponent } from '../../../block-form/src/index';
|
|
4
|
-
import type { ArrayKeysManager, BlockItem, DraftsSlice, UiStore } from './types';
|
|
5
|
-
type BlockSettingsModalStore = UiStore<{
|
|
5
|
+
import type { ArrayKeysManager, BlockItem, BlockFocusRequest, DraftsSlice, UiSlice, UiStore } from './types';
|
|
6
|
+
type BlockSettingsModalStore = UiStore<Pick<UiSlice, 'focusRequest' | 'clearFocus'> & {
|
|
6
7
|
drafts: Pick<DraftsSlice, 'getBlockSnapshot' | 'getCurrentValues' | 'clearError' | 'setAtPath' | 'getAtPath'>;
|
|
7
8
|
arrayKeys: ArrayKeysManager;
|
|
8
9
|
}>;
|
|
10
|
+
export declare function settingsFocusPath(signal: BlockFocusRequest | null, blockId: EditorBlockId | null): string | null;
|
|
9
11
|
export declare function BlockSettingsModal({ block, manifest, uiStore, widgetOverrides, theme, hideThemeV2RawStyleFields, showSettingsTrigger, open: controlledOpen, onOpenChange, onAvailabilityChange, }: {
|
|
10
12
|
block: BlockItem;
|
|
11
13
|
manifest: SystemBlockDefinition['manifest'];
|
|
@@ -39,11 +39,7 @@ export type UiSlice = {
|
|
|
39
39
|
activeBlockId: EditorBlockId | null;
|
|
40
40
|
setActiveBlockId: (id: EditorBlockId | null) => void;
|
|
41
41
|
focusRequest: BlockFocusRequest | null;
|
|
42
|
-
requestFocus: (payload:
|
|
43
|
-
blockId: EditorBlockId;
|
|
44
|
-
fieldPath?: string | null;
|
|
45
|
-
itemIndex?: number | null;
|
|
46
|
-
}) => void;
|
|
42
|
+
requestFocus: (payload: BlockFocusTarget) => void;
|
|
47
43
|
clearFocus: () => void;
|
|
48
44
|
setActivePreviewField: (field: {
|
|
49
45
|
kind: 'block';
|
|
@@ -70,9 +66,28 @@ export type UiStore<T = {
|
|
|
70
66
|
subscribe: (listener: () => void) => () => void;
|
|
71
67
|
};
|
|
72
68
|
export type BlockFocusTarget = {
|
|
69
|
+
kind: 'block';
|
|
70
|
+
blockId: EditorBlockId;
|
|
71
|
+
} | {
|
|
72
|
+
kind: 'main-field';
|
|
73
|
+
blockId: EditorBlockId;
|
|
74
|
+
fieldPath: string;
|
|
75
|
+
} | {
|
|
76
|
+
kind: 'settings-field';
|
|
77
|
+
blockId: EditorBlockId;
|
|
78
|
+
fieldPath: string;
|
|
79
|
+
settingsTab: 'display' | 'behavior' | 'style';
|
|
80
|
+
} | {
|
|
81
|
+
kind: 'nested-main-field';
|
|
82
|
+
blockId: EditorBlockId;
|
|
83
|
+
fieldPath: string;
|
|
84
|
+
ownerPaths: readonly string[];
|
|
85
|
+
} | {
|
|
86
|
+
kind: 'nested-settings-field';
|
|
73
87
|
blockId: EditorBlockId;
|
|
74
|
-
fieldPath
|
|
75
|
-
|
|
88
|
+
fieldPath: string;
|
|
89
|
+
ownerPaths: readonly string[];
|
|
90
|
+
settingsTab: 'display' | 'behavior' | 'style';
|
|
76
91
|
};
|
|
77
92
|
export type BlockFocusRequest = BlockFocusTarget & {
|
|
78
93
|
requestId: number;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type RefObject } from 'react';
|
|
2
|
+
import type { BlockFocusRequest } from './types';
|
|
3
|
+
import type { EditorBlockId } from '../../../core/src/index';
|
|
4
|
+
type SettingsTabId = 'display' | 'behavior' | 'style';
|
|
5
|
+
type SettingsFieldFocusInput = Readonly<{
|
|
6
|
+
blockId: EditorBlockId | null;
|
|
7
|
+
focusSignal?: BlockFocusRequest | null;
|
|
8
|
+
settingsAvailable: boolean;
|
|
9
|
+
open: boolean;
|
|
10
|
+
setOpen: (open: boolean) => void;
|
|
11
|
+
activeTab: SettingsTabId;
|
|
12
|
+
setActiveTab: (tab: SettingsTabId) => void;
|
|
13
|
+
formRootRef: RefObject<HTMLDivElement | null>;
|
|
14
|
+
onFocusHandled?: (requestId: number) => void;
|
|
15
|
+
onFocusAbandoned?: (requestId: number) => void;
|
|
16
|
+
}>;
|
|
17
|
+
export declare function useSettingsFieldFocus(input: SettingsFieldFocusInput): void;
|
|
18
|
+
export {};
|
|
@@ -7,6 +7,7 @@ export type MediaUsageCheckResponseWithCounts = Readonly<{
|
|
|
7
7
|
export type BulkDeleteResultLike = Readonly<{
|
|
8
8
|
deleted: number;
|
|
9
9
|
failed: number;
|
|
10
|
+
warnings?: readonly unknown[];
|
|
10
11
|
}>;
|
|
11
12
|
export type BulkDeleteOptions = Readonly<{
|
|
12
13
|
deleteObjects?: boolean;
|
|
@@ -16,6 +17,9 @@ export declare const BULK_DELETE_IN_PROGRESS_MESSAGE = "Delete already in progre
|
|
|
16
17
|
export type BulkDeleteCompletionToast = Readonly<{
|
|
17
18
|
kind: 'success';
|
|
18
19
|
message: string;
|
|
20
|
+
}> | Readonly<{
|
|
21
|
+
kind: 'warning';
|
|
22
|
+
message: string;
|
|
19
23
|
}> | Readonly<{
|
|
20
24
|
kind: 'error';
|
|
21
25
|
message: string;
|
|
@@ -426,6 +426,8 @@ export declare const FILE_SIZE_LIMITS: {
|
|
|
426
426
|
readonly instagramZip: PositiveByteCount;
|
|
427
427
|
readonly bookingEvidence: PositiveByteCount;
|
|
428
428
|
};
|
|
429
|
+
/** Shared admission ceiling for SDK-management media uploads before intent-specific finalization. */
|
|
430
|
+
export declare const MAX_MANAGEMENT_MEDIA_UPLOAD_BYTES: PositiveByteCount;
|
|
429
431
|
export declare const DEFAULT_PRIVATE_FILE_SIGNED_URL_EXPIRY_SECONDS: PositiveSeconds;
|
|
430
432
|
export declare const MAX_SAFE_DOWNLOAD_FILENAME_LENGTH = 180;
|
|
431
433
|
export declare function asPositiveByteCount(value: number): Result<PositiveByteCount, 'not-positive-byte-count'>;
|
|
@@ -438,6 +440,7 @@ export declare function asSafeDownloadFilename(value: string): Result<SafeDownlo
|
|
|
438
440
|
export declare const parseSafeDownloadFilename: typeof asSafeDownloadFilename;
|
|
439
441
|
export declare function deriveUploadPolicy(actor: FileActor, intent: UploadIntent): Result<UploadPolicy, UploadPolicyError>;
|
|
440
442
|
export declare function classifyKnownMimeType(mimeType: string | DeclaredMimeType | DetectedMimeType | undefined | null): Result<FileKind, MimeTypeClassificationError>;
|
|
443
|
+
export declare function managementMediaLibraryUploadLimitForMimeType(mimeType: string | DeclaredMimeType | DetectedMimeType | undefined | null): Result<PositiveByteCount, MimeTypeClassificationError>;
|
|
441
444
|
export declare function isMimeTypeAllowedForPolicy(mimeType: string | DeclaredMimeType | DetectedMimeType | undefined | null, policy: UploadPolicy): boolean;
|
|
442
445
|
export declare function isFileKindAllowed(kind: FileKind, policy: UploadPolicy): boolean;
|
|
443
446
|
export declare function isFileUseAllowed(requestedUse: FileUse, allowedUses: NonEmptyArray<FileUse>): boolean;
|
|
@@ -2,5 +2,7 @@ import { type APIEndpoints } from '../../../../api/src/index';
|
|
|
2
2
|
type BatchBody = NonNullable<APIEndpoints['batchBlockLoaders']['body']>;
|
|
3
3
|
type BatchRequest = BatchBody['requests'][number];
|
|
4
4
|
export type PreviewBatchableLoaderEndpoint = BatchRequest['endpoint'];
|
|
5
|
+
export declare function isBatchableEndpoint(endpoint: string): endpoint is PreviewBatchableLoaderEndpoint;
|
|
6
|
+
export declare function buildBatchLoaderRequest(id: string, endpoint: PreviewBatchableLoaderEndpoint, params: BatchRequest['params']): BatchRequest;
|
|
5
7
|
export declare function toPreviewBatchParams(endpoint: PreviewBatchableLoaderEndpoint, params: Record<string, string>): BatchRequest['params'];
|
|
6
8
|
export {};
|
|
@@ -52,6 +52,7 @@ type PreviewShellCommonProps = {
|
|
|
52
52
|
*/
|
|
53
53
|
themeSelectionButtonStyleSelection?: ButtonStyleSelection | null;
|
|
54
54
|
themeSelectionButtonStyleRepairs?: readonly ButtonStyleSelectionRepair[];
|
|
55
|
+
themeSelectionHeaderPreferences?: import('../../../../theme-core/src/site-styles/index').HeaderPreferences | null;
|
|
55
56
|
themeSelectionHeaderSelection?: HeaderLayoutStyleSelection | null;
|
|
56
57
|
themeSelectionFooterLookId?: FooterLookId | null;
|
|
57
58
|
themeSelectionHeaderLogo?: HeaderLogoContext;
|
|
@@ -28,6 +28,7 @@ type PreviewShellLayoutCommonProps = {
|
|
|
28
28
|
themeSelectionUpdatedAt?: string | null;
|
|
29
29
|
themeSelectionButtonStyleSelection?: ButtonStyleSelection | null;
|
|
30
30
|
themeSelectionButtonStyleRepairs?: readonly ButtonStyleSelectionRepair[];
|
|
31
|
+
themeSelectionHeaderPreferences?: import('../../../../theme-core/src/site-styles/index').HeaderPreferences | null;
|
|
31
32
|
themeSelectionHeaderSelection?: HeaderLayoutStyleSelection | null;
|
|
32
33
|
themeSelectionFooterLookId?: FooterLookId | null;
|
|
33
34
|
themeSelectionHeaderLogo?: HeaderLogoContext;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
2
|
import { type ApiClient } from '../../../../api/src/request';
|
|
3
3
|
import type { Theme } from '../../../../blocks/src/index';
|
|
4
|
-
import type { BrandDisplayMode, HeaderNavFontSizePreference, HeaderNavTypographyPreference, HeaderInteractionPalettePreference, HeaderLogoContext, LogoSizePolicy, SiteChromeBackgroundOverride } from '../../../../theme-core/src/site-styles/index';
|
|
4
|
+
import type { BrandDisplayMode, HeaderNavFontSizePreference, HeaderPreferences, HeaderNavTypographyPreference, HeaderInteractionPalettePreference, HeaderLogoContext, LogoSizePolicy, SiteChromeBackgroundOverride } from '../../../../theme-core/src/site-styles/index';
|
|
5
5
|
import { type StyleConfiguratorHistoryEntry } from './StyleConfigurator.state';
|
|
6
6
|
import type { SiteStyleAccess } from './siteStyleAccess';
|
|
7
7
|
import { type StyleConfiguratorInitialSelections } from './styleConfiguratorSnapshot';
|
|
@@ -63,6 +63,7 @@ export type SiteChromeCustomizeProviderProps = Readonly<{
|
|
|
63
63
|
siteId: string;
|
|
64
64
|
apiClient: ApiClient;
|
|
65
65
|
theme?: Theme | null;
|
|
66
|
+
headerPreferences?: HeaderPreferences | null;
|
|
66
67
|
themeId?: string | null;
|
|
67
68
|
selectionId?: string | null;
|
|
68
69
|
selectionVersion?: number | null;
|
|
@@ -72,5 +73,5 @@ export type SiteChromeCustomizeProviderProps = Readonly<{
|
|
|
72
73
|
siteStyleAccess?: SiteStyleAccess;
|
|
73
74
|
canOpenDesignEditor?: boolean;
|
|
74
75
|
}>;
|
|
75
|
-
export declare function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, themeId, selectionId, selectionVersion, selectionUpdatedAt, initialSelections, headerLogoContext, siteStyleAccess, canOpenDesignEditor, }: SiteChromeCustomizeProviderProps): React.JSX.Element;
|
|
76
|
+
export declare function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, headerPreferences, themeId, selectionId, selectionVersion, selectionUpdatedAt, initialSelections, headerLogoContext, siteStyleAccess, canOpenDesignEditor, }: SiteChromeCustomizeProviderProps): React.JSX.Element;
|
|
76
77
|
export declare function useSiteChromeCustomizeOptional(): SiteChromeCustomizeContextValue | null;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Theme } from '../../../../blocks/src/index';
|
|
2
2
|
import type { BrandDisplayMode, HeaderBrandPreferences, HeaderLogoContext, LogoSizePolicy } from '../../../../theme-core/src/site-styles/index';
|
|
3
|
+
export { withHeaderBrandThemePreferences } from '../../../../theme-core/src/site-styles/index';
|
|
3
4
|
export type { HeaderBrandPreferences } from '../../../../theme-core/src/site-styles/index';
|
|
4
5
|
export type HeaderBrandDisplayOption = Readonly<{
|
|
5
6
|
value: BrandDisplayMode;
|
|
@@ -36,6 +37,5 @@ export declare function createHeaderBrandControlStateFromPreferences({ preferenc
|
|
|
36
37
|
}): HeaderBrandControlState;
|
|
37
38
|
export declare function readHeaderBrandPreferences(theme: Theme | null): HeaderBrandPreferences;
|
|
38
39
|
export declare function normalizeHeaderBrandPreferences(preferences: HeaderBrandPreferences, hasLogo: boolean): HeaderBrandPreferences;
|
|
39
|
-
export declare function withHeaderBrandThemePreferences(theme: Theme, preferences: HeaderBrandPreferences): Theme;
|
|
40
40
|
export declare function withHeaderBrandPreferences(context: HeaderLogoContext | undefined, preferences: HeaderBrandPreferences): HeaderLogoContext | undefined;
|
|
41
41
|
export declare function hasLogoInHeaderLogoContext(context: HeaderLogoContext | undefined): boolean;
|
|
@@ -70,6 +70,8 @@ export type SiteChromeQuickControlReplayPlan = Readonly<{
|
|
|
70
70
|
preferences: HeaderNavPreferences;
|
|
71
71
|
}> | Readonly<{
|
|
72
72
|
kind: 'background-preferences';
|
|
73
|
+
/** Which surface's background this replays — the save needs it (#1318 Phase 4d). */
|
|
74
|
+
surface: 'header' | 'footer';
|
|
73
75
|
preferences: SiteChromeBackgroundPreferences;
|
|
74
76
|
}>;
|
|
75
77
|
export type SiteChromeQuickControlHistoryMutation = Readonly<{
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { HeaderNavPreferences, SiteChromeBackgroundPreferences } from '../../../../theme-core/src/site-styles/index';
|
|
2
|
+
import type { SelectionSnapshot } from './StyleConfigurator.state';
|
|
3
|
+
import type { SiteChromeEditableSurfaceKind } from './SiteChromeEditableSurface';
|
|
4
|
+
import type { HeaderBrandPreferences } from './siteChromeBrandPreferences';
|
|
5
|
+
import { type SiteChromeQuickControlBackgroundTarget, type SiteChromeQuickControlBrandTarget, type SiteChromeQuickControlHistoryMutation, type SiteChromeQuickControlNavTarget, type SiteChromeQuickControlReplayPlan, type SiteChromeQuickControlSelectionTarget } from './siteChromeQuickControlHistoryState';
|
|
6
|
+
export type SiteChromeQuickControlPendingMutation = Extract<SiteChromeQuickControlHistoryMutation, {
|
|
7
|
+
kind: 'undoing' | 'redoing';
|
|
8
|
+
}>;
|
|
9
|
+
type ConfirmMutation = Readonly<{
|
|
10
|
+
kind: 'confirm-mutation';
|
|
11
|
+
mutation: SiteChromeQuickControlPendingMutation;
|
|
12
|
+
}>;
|
|
13
|
+
type History<TTarget> = ConfirmMutation | Readonly<{
|
|
14
|
+
kind: 'record';
|
|
15
|
+
target: TTarget;
|
|
16
|
+
}>;
|
|
17
|
+
/**
|
|
18
|
+
* What one quick-control save is asking for.
|
|
19
|
+
*
|
|
20
|
+
* `surface` travels with the requests that can name one. It has to, from
|
|
21
|
+
* #1318 Phase 4d: a header save carries no theme any more, so a footer
|
|
22
|
+
* background change sent under the header surface would have nowhere to be
|
|
23
|
+
* written.
|
|
24
|
+
*/
|
|
25
|
+
export type SiteChromeQuickControlSaveRequest = Readonly<{
|
|
26
|
+
kind: 'selection';
|
|
27
|
+
surface: SiteChromeEditableSurfaceKind;
|
|
28
|
+
selection: SelectionSnapshot;
|
|
29
|
+
history: History<SiteChromeQuickControlSelectionTarget>;
|
|
30
|
+
}> | Readonly<{
|
|
31
|
+
kind: 'brand-preferences';
|
|
32
|
+
preferences: HeaderBrandPreferences;
|
|
33
|
+
history: History<SiteChromeQuickControlBrandTarget>;
|
|
34
|
+
}> | Readonly<{
|
|
35
|
+
kind: 'background-preferences';
|
|
36
|
+
surface: SiteChromeEditableSurfaceKind;
|
|
37
|
+
preferences: SiteChromeBackgroundPreferences;
|
|
38
|
+
history: History<SiteChromeQuickControlBackgroundTarget>;
|
|
39
|
+
}> | Readonly<{
|
|
40
|
+
kind: 'nav-preferences';
|
|
41
|
+
preferences: HeaderNavPreferences;
|
|
42
|
+
history: History<SiteChromeQuickControlNavTarget>;
|
|
43
|
+
}>;
|
|
44
|
+
/**
|
|
45
|
+
* Which surface a save is for. Selection and background changes name their own;
|
|
46
|
+
* the brand and nav controls only ever edit the header.
|
|
47
|
+
*/
|
|
48
|
+
export declare function saveRequestSurface(request: SiteChromeQuickControlSaveRequest): SiteChromeEditableSurfaceKind;
|
|
49
|
+
/** Replaying an undo or redo is the same save, with a confirmation attached. */
|
|
50
|
+
export declare function saveRequestFromQuickControlReplayPlan(plan: SiteChromeQuickControlReplayPlan, mutation: SiteChromeQuickControlPendingMutation): SiteChromeQuickControlSaveRequest;
|
|
51
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { APIEndpoints } from '../../../../api/src/index';
|
|
2
2
|
import type { Theme } from '../../../../blocks/src/index';
|
|
3
|
-
import type { HeaderNavPreferences, HeaderLogoContext, SiteChromeBackgroundPreferences } from '../../../../theme-core/src/site-styles/index';
|
|
3
|
+
import type { HeaderNavPreferences, HeaderLogoContext, HeaderPreferences, SiteChromeBackgroundPreferences } from '../../../../theme-core/src/site-styles/index';
|
|
4
4
|
import type { CuratedSiteStyle } from '../../../../theme-core/src/site-styles/previewCompiler';
|
|
5
5
|
import type { SelectionSnapshot } from './StyleConfigurator.state';
|
|
6
6
|
import { type SiteStylePreviewPlan } from './siteStylePreviewPlanner';
|
|
@@ -25,8 +25,30 @@ export type BuildSiteChromeSavePlanInput = Readonly<{
|
|
|
25
25
|
themeId: string | null;
|
|
26
26
|
selectionId: string | null;
|
|
27
27
|
baseSelectionUpdatedAt: string | null;
|
|
28
|
+
/** Persisted intent, including the structural fields quick controls cannot edit. */
|
|
29
|
+
persistedHeaderPreferences: HeaderPreferences;
|
|
28
30
|
}>;
|
|
29
|
-
export declare function buildSiteChromeSavePlan({ surface, siteStyle, selection, baseTheme, headerLogoContext, headerBrandPreferences, headerNavPreferences, backgroundPreferences, themeId, selectionId, baseSelectionUpdatedAt, }: BuildSiteChromeSavePlanInput): SiteChromeSavePlan;
|
|
31
|
+
export declare function buildSiteChromeSavePlan({ surface, siteStyle, selection, baseTheme, headerLogoContext, headerBrandPreferences, headerNavPreferences, backgroundPreferences, themeId, selectionId, baseSelectionUpdatedAt, persistedHeaderPreferences, }: BuildSiteChromeSavePlanInput): SiteChromeSavePlan;
|
|
32
|
+
/**
|
|
33
|
+
* The nav half of the record the server persisted, read back rather than
|
|
34
|
+
* re-derived from the saved bytes. The theme is compiled output from 4b
|
|
35
|
+
* onward; the record is the intent, so it is the better answer to "what is the
|
|
36
|
+
* control set to". Falls back to the bytes while the column is still absent on
|
|
37
|
+
* a row the Phase 4c backfill has not reached.
|
|
38
|
+
*/
|
|
39
|
+
export declare function headerNavPreferencesFromSiteChromeSaveResponse(saved: SaveSiteChromeSelectionResponse): HeaderNavPreferences;
|
|
40
|
+
/**
|
|
41
|
+
* The header half comes from the persisted record; the footer half has no
|
|
42
|
+
* entry in `HeaderPreferences` and stays derived from the saved theme.
|
|
43
|
+
*/
|
|
44
|
+
export declare function backgroundPreferencesFromSiteChromeSaveResponse(saved: SaveSiteChromeSelectionResponse): SiteChromeBackgroundPreferences;
|
|
45
|
+
/**
|
|
46
|
+
* The brand half of the record the server persisted. Same rule as the nav and
|
|
47
|
+
* background halves: the record is the intent, the saved theme is compiled
|
|
48
|
+
* output, so the controls read the record when there is one and fall back to
|
|
49
|
+
* the bytes while the Phase 4c backfill is outstanding.
|
|
50
|
+
*/
|
|
51
|
+
export declare function headerBrandPreferencesFromSiteChromeSaveResponse(saved: SaveSiteChromeSelectionResponse, headerLogoContext: HeaderLogoContext | undefined): HeaderBrandPreferences;
|
|
30
52
|
export declare function siteChromeSavePlanBodyForBaseRevision(plan: SiteChromeSavePlan, baseSelectionUpdatedAt: string | null): SaveSiteChromeSelectionBody;
|
|
31
53
|
export declare function selectionSnapshotFromSiteChromeSaveResponse({ saved, fallback, savePlan, }: Readonly<{
|
|
32
54
|
saved: SaveSiteChromeSelectionResponse;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Theme } from '../../../../blocks/src/index';
|
|
2
2
|
import { type ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
|
|
3
|
-
import type { FooterLookId, HeaderLayoutId, HeaderLogoContext, HeaderStyleId, SiteChromeSurface } from '../../../../theme-core/src/site-styles/index';
|
|
3
|
+
import type { HeaderBrandPresentationPreference, FooterLookId, HeaderLayoutId, HeaderLogoContext, HeaderStyleId, SiteChromeSurface } from '../../../../theme-core/src/site-styles/index';
|
|
4
4
|
import { type CuratedSiteStyle, type SelectionFallbackWarning, type SiteThemeSelectionsResult, type SiteStyleId } from '../../../../theme-core/src/site-styles/previewCompiler';
|
|
5
5
|
export type SiteStylePreviewSelection = Readonly<{
|
|
6
6
|
siteStyleId: SiteStyleId;
|
|
@@ -20,6 +20,16 @@ type SiteStylePreviewPlanCommonInput = Readonly<{
|
|
|
20
20
|
siteStyle: CuratedSiteStyle;
|
|
21
21
|
selection: SiteStylePreviewSelection;
|
|
22
22
|
headerLogoContext?: HeaderLogoContext;
|
|
23
|
+
/**
|
|
24
|
+
* The row's brand-presentation mode, which the preview must honour or it
|
|
25
|
+
* renders a treatment the save will not persist (#1318 D24).
|
|
26
|
+
*
|
|
27
|
+
* Required, with no default, so a caller that does not hold the record has to
|
|
28
|
+
* say `'recommended'` in its own source rather than inherit it invisibly.
|
|
29
|
+
* That is the difference between a stated assumption and a silent one, and
|
|
30
|
+
* the assumption is wrong for exactly the rows D24 exists for.
|
|
31
|
+
*/
|
|
32
|
+
headerBrandPresentation: HeaderBrandPresentationPreference;
|
|
23
33
|
}>;
|
|
24
34
|
export type SiteStylePreviewPlanInput = SiteStylePreviewPlanCommonInput & (Readonly<{
|
|
25
35
|
compilation: Readonly<{
|
|
@@ -42,4 +52,16 @@ export declare function deriveSiteStylePreviewUpdate(baseTheme: Theme | null | u
|
|
|
42
52
|
kind: 'derive-update';
|
|
43
53
|
}>;
|
|
44
54
|
export declare function planSiteStylePreviewChange(input: SiteStylePreviewPlanInput): SiteStylePreviewPlan;
|
|
55
|
+
/**
|
|
56
|
+
* The configurator's previews, with the one assumption they make written down
|
|
57
|
+
* once instead of four times.
|
|
58
|
+
*
|
|
59
|
+
* `planSiteStylePreviewChange` requires the brand-presentation mode (#1318 D24)
|
|
60
|
+
* so that no caller inherits it invisibly. Nothing hands the site-style
|
|
61
|
+
* configurator the row's persisted record yet, so it states `'recommended'` —
|
|
62
|
+
* correct for every row except a `'plain'` one, where the preview is a round
|
|
63
|
+
* trip behind until the first save teaches it otherwise. The plan's closing
|
|
64
|
+
* checklist has what closing that costs.
|
|
65
|
+
*/
|
|
66
|
+
export declare function planConfiguratorPreview(input: SiteStylePreviewPlanInput extends infer TInput ? TInput extends unknown ? Omit<TInput, 'headerBrandPresentation'> : never : never): SiteStylePreviewPlan;
|
|
45
67
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type RefObject } from 'react';
|
|
2
|
+
import type { Theme } from '../../../../blocks/src/index';
|
|
3
|
+
import { type HeaderLogoContext, type HeaderPreferences } from '../../../../theme-core/src/site-styles/index';
|
|
4
|
+
import type { SelectionSnapshot } from './StyleConfigurator.state';
|
|
5
|
+
import type { SiteChromeCustomizeProviderProps } from './SiteChromeCustomizeContext';
|
|
6
|
+
/** Keep the row-owned intent across optimistic edits and server responses. */
|
|
7
|
+
export declare function usePersistedHeaderPreferences(stored: HeaderPreferences | null, theme: Theme | null | undefined, selection: SelectionSnapshot | null, logo: HeaderLogoContext | undefined): RefObject<HeaderPreferences>;
|
|
8
|
+
export declare function useSiteChromeInitialSnapshot({ theme, initialSelections, selectionVersion, selectionUpdatedAt, headerLogoContext, }: Pick<SiteChromeCustomizeProviderProps, 'theme' | 'initialSelections' | 'selectionVersion' | 'selectionUpdatedAt' | 'headerLogoContext'>): SelectionSnapshot | null;
|
package/dist/_dts/sdk/src/client/{eventSubrouteReadOperations.d.ts → publicEventReadOperations.d.ts}
RENAMED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { ApiClient, ApiResult } from '../../../api/src/public/index';
|
|
2
2
|
import type { RiverbankClient } from './types';
|
|
3
|
-
type
|
|
3
|
+
type PublicEventReadDeps = Readonly<{
|
|
4
4
|
apiClient: ApiClient;
|
|
5
5
|
resilientFetchData: <T>(cacheKey: string, fetcher: (signal: AbortSignal) => Promise<ApiResult<T>>, options: Readonly<{
|
|
6
6
|
signal?: AbortSignal;
|
|
7
|
+
force?: boolean;
|
|
7
8
|
}>) => Promise<T>;
|
|
8
9
|
}>;
|
|
9
|
-
type
|
|
10
|
-
export declare function
|
|
10
|
+
type PublicEventReadOperations = Pick<RiverbankClient, 'resolveEventOccurrence' | 'resolveEventRun' | 'listPublicEventCalendarWindow'>;
|
|
11
|
+
export declare function createPublicEventReadOperations(deps: PublicEventReadDeps): PublicEventReadOperations;
|
|
11
12
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CalendarWindowRequest, CalendarWindowPage } from '../../../blocks/src/contracts/index';
|
|
2
|
+
import type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicWeeklySlotAvailabilityResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicTeamMembersResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, PublicEventsResponse, ResolveEventOccurrenceResponse, ResolveEventRunResponse, RouteDecisionResponse, RouteOutcomeResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, PublicProductCategorySelector } from '../public-api/contracts';
|
|
2
3
|
import type { PublishedRuntimeCacheAdapter, PublishedRuntimeCacheAdapterErrorKind } from './runtimeCachePolicy';
|
|
3
4
|
import type { EventPageSurfaceSubjectRefWire } from '../../../core/src/index';
|
|
4
|
-
export type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicWeeklySlotAvailabilityResponse, PublicEventsResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicTeamMembersResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse,
|
|
5
|
+
export type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicWeeklySlotAvailabilityResponse, PublicEventsResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicTeamMembersResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, ResolveEventOccurrenceResponse, ResolveEventRunResponse, RouteDecisionResponse, RouteOutcomeResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, } from '../public-api/contracts';
|
|
5
6
|
/**
|
|
6
7
|
* Pagination metadata returned when `includeMeta: true`
|
|
7
8
|
*/
|
|
@@ -470,6 +471,9 @@ export interface RiverbankClient {
|
|
|
470
471
|
/**
|
|
471
472
|
* List public events for a site (optionally time-filtered)
|
|
472
473
|
*/
|
|
474
|
+
listPublicEventCalendarWindow(params: {
|
|
475
|
+
siteId: string;
|
|
476
|
+
} & CalendarWindowRequest & SdkMethodOptions): Promise<CalendarWindowPage>;
|
|
473
477
|
listPublicEvents(params: {
|
|
474
478
|
siteId: string;
|
|
475
479
|
limit?: number;
|
|
@@ -513,14 +517,6 @@ export interface RiverbankClient {
|
|
|
513
517
|
seriesId?: string;
|
|
514
518
|
includeOccurrenceId?: string;
|
|
515
519
|
} & SdkMethodOptions): Promise<PublicEventDetailsResponse>;
|
|
516
|
-
/**
|
|
517
|
-
* Fetch one whole-series offering for a registration surface.
|
|
518
|
-
*/
|
|
519
|
-
getPublicWholeSeriesOffering(params: {
|
|
520
|
-
siteId: string;
|
|
521
|
-
eventSeriesId: string;
|
|
522
|
-
stage?: string;
|
|
523
|
-
} & SdkMethodOptions): Promise<PublicWholeSeriesOfferingResponse>;
|
|
524
520
|
/**
|
|
525
521
|
* List public team members for a site (for Team Members block)
|
|
526
522
|
*/
|
|
@@ -45,7 +45,7 @@ export type BlockCategory = 'marketing' | 'content' | 'blog' | 'media' | 'layout
|
|
|
45
45
|
*
|
|
46
46
|
* Re-exported from `@riverbankcms/blocks` (single source of truth).
|
|
47
47
|
*/
|
|
48
|
-
export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "
|
|
48
|
+
export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "listPublicEventCalendarWindow", "listPublicRecurringSchedule", "getPublicEventDetails", "listPublicRouteCandidates", "listPublicTeamMembers", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices", "getPublicWeeklySlotAvailability"];
|
|
49
49
|
export type SdkLoaderEndpoint = (typeof SUPPORTED_LOADER_ENDPOINTS)[number];
|
|
50
50
|
export type LoaderParamBinding = {
|
|
51
51
|
$bind: {
|
|
@@ -136,9 +136,9 @@ export declare const sdkLoaderEndpointSchema: z.ZodEnum<{
|
|
|
136
136
|
listPublishedEntries: "listPublishedEntries";
|
|
137
137
|
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
138
138
|
listPublicEvents: "listPublicEvents";
|
|
139
|
+
listPublicEventCalendarWindow: "listPublicEventCalendarWindow";
|
|
139
140
|
listPublicRecurringSchedule: "listPublicRecurringSchedule";
|
|
140
141
|
getPublicEventDetails: "getPublicEventDetails";
|
|
141
|
-
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
142
142
|
listPublicRouteCandidates: "listPublicRouteCandidates";
|
|
143
143
|
listPublicTeamMembers: "listPublicTeamMembers";
|
|
144
144
|
listPublicProducts: "listPublicProducts";
|
|
@@ -226,9 +226,9 @@ export declare const sdkConfigLoaderSchema: z.ZodObject<{
|
|
|
226
226
|
listPublishedEntries: "listPublishedEntries";
|
|
227
227
|
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
228
228
|
listPublicEvents: "listPublicEvents";
|
|
229
|
+
listPublicEventCalendarWindow: "listPublicEventCalendarWindow";
|
|
229
230
|
listPublicRecurringSchedule: "listPublicRecurringSchedule";
|
|
230
231
|
getPublicEventDetails: "getPublicEventDetails";
|
|
231
|
-
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
232
232
|
listPublicRouteCandidates: "listPublicRouteCandidates";
|
|
233
233
|
listPublicTeamMembers: "listPublicTeamMembers";
|
|
234
234
|
listPublicProducts: "listPublicProducts";
|
|
@@ -293,9 +293,9 @@ export declare const sdkDataLoadersSchema: z.ZodOptional<z.ZodRecord<z.ZodString
|
|
|
293
293
|
listPublishedEntries: "listPublishedEntries";
|
|
294
294
|
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
295
295
|
listPublicEvents: "listPublicEvents";
|
|
296
|
+
listPublicEventCalendarWindow: "listPublicEventCalendarWindow";
|
|
296
297
|
listPublicRecurringSchedule: "listPublicRecurringSchedule";
|
|
297
298
|
getPublicEventDetails: "getPublicEventDetails";
|
|
298
|
-
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
299
299
|
listPublicRouteCandidates: "listPublicRouteCandidates";
|
|
300
300
|
listPublicTeamMembers: "listPublicTeamMembers";
|
|
301
301
|
listPublicProducts: "listPublicProducts";
|
|
@@ -210,6 +210,11 @@ export type EventSpotlightContent = {
|
|
|
210
210
|
emptyMessage?: string | null;
|
|
211
211
|
_sectionStyles?: SectionStylesContent;
|
|
212
212
|
};
|
|
213
|
+
/**
|
|
214
|
+
* Authored (persisted) block values. `'course'` selects whole-series Events;
|
|
215
|
+
* it is stored in published page content, so it stays as the authored value and
|
|
216
|
+
* is normalised to the `wholeSeries` runtime source when the block is parsed.
|
|
217
|
+
*/
|
|
213
218
|
export type OfferingsPreviewSourceKey = 'eventPreset:class' | 'eventPreset:workshop' | 'eventPreset:retreat' | 'eventPreset:performance' | 'course';
|
|
214
219
|
export type OfferingsPreviewCtaMode = 'auto' | 'custom' | 'hidden';
|
|
215
220
|
export type OfferingsPreviewGroupPresentation = 'compact-list' | 'single-card' | 'featured-summary';
|
|
@@ -13,9 +13,8 @@ export type PrefetchContext = {
|
|
|
13
13
|
root?: Record<string, unknown>;
|
|
14
14
|
};
|
|
15
15
|
export type ResolvedBlockData = Record<string, Record<string, unknown>>;
|
|
16
|
-
|
|
17
|
-
export
|
|
18
|
-
export type { SdkSupportedLoaderEndpoint as SupportedLoaderEndpoint };
|
|
16
|
+
export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "listPublicEventCalendarWindow", "listPublicRecurringSchedule", "getPublicEventDetails", "listPublicRouteCandidates", "listPublicTeamMembers", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices", "getPublicWeeklySlotAvailability"];
|
|
17
|
+
export type { SupportedLoaderEndpoint };
|
|
19
18
|
/**
|
|
20
19
|
* Options for SDK block data prefetching.
|
|
21
20
|
*/
|