@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
|
@@ -4348,6 +4348,11 @@ const gradientConfigSchema = z.object({
|
|
|
4348
4348
|
position: z.string().optional(),
|
|
4349
4349
|
stops: z.array(gradientStopSchema).min(2)
|
|
4350
4350
|
});
|
|
4351
|
+
const gradientsSchema = z.object({
|
|
4352
|
+
button: z.string().min(1).nullable().optional(),
|
|
4353
|
+
hero: z.string().min(1).nullable().optional(),
|
|
4354
|
+
background: z.string().min(1).nullable().optional()
|
|
4355
|
+
});
|
|
4351
4356
|
//#endregion
|
|
4352
4357
|
//#region ../theme-core/src/interactive/baseSchema.ts
|
|
4353
4358
|
/**
|
|
@@ -5059,11 +5064,30 @@ const headerContainerSchema = z.object({
|
|
|
5059
5064
|
tint: z.string().nullable().optional(),
|
|
5060
5065
|
opacity: z.number().min(0).max(1).default(.12)
|
|
5061
5066
|
}).optional();
|
|
5062
|
-
|
|
5067
|
+
//#endregion
|
|
5068
|
+
//#region ../theme-core/src/header/interactionPalette.ts
|
|
5069
|
+
/**
|
|
5070
|
+
* The palettes that fill the nav link with a colour on hover and focus. Each
|
|
5071
|
+
* one names a background/foreground token pair.
|
|
5072
|
+
*/
|
|
5073
|
+
const headerInteractionPillPaletteValues = [
|
|
5063
5074
|
"primary",
|
|
5064
5075
|
"secondary",
|
|
5065
5076
|
"accent"
|
|
5066
|
-
]
|
|
5077
|
+
];
|
|
5078
|
+
/**
|
|
5079
|
+
* "No pill": the nav link keeps whatever hover treatment its recipe compiled,
|
|
5080
|
+
* and the palette step writes nothing at all (#1318 Phase 4c decision 2).
|
|
5081
|
+
*
|
|
5082
|
+
* It exists because "a colour change on hover, no filled background" was not
|
|
5083
|
+
* expressible in the vocabulary, and it is what
|
|
5084
|
+
* `anna-raven-therapy-and-yoga` and `kirtan-lucy` have rendered since before
|
|
5085
|
+
* the palette existed. Without it those two rows can only be classified as a
|
|
5086
|
+
* conscious visual change.
|
|
5087
|
+
*/
|
|
5088
|
+
const headerInteractionQuietPalette = "quiet";
|
|
5089
|
+
const headerInteractionPaletteValues = [...headerInteractionPillPaletteValues, headerInteractionQuietPalette];
|
|
5090
|
+
const headerInteractionPaletteSchema = z.enum(headerInteractionPaletteValues);
|
|
5067
5091
|
//#endregion
|
|
5068
5092
|
//#region ../theme-core/src/boxBackgroundSchema.ts
|
|
5069
5093
|
const boxBackgroundOverlaySchema = z.preprocess(normalizeAuthoringOpacity, z.discriminatedUnion("type", [
|
|
@@ -5584,7 +5608,7 @@ const headerSchema = z.object({
|
|
|
5584
5608
|
variant: headerVariantWithLegacyAliasSchema,
|
|
5585
5609
|
positioning: headerPositioning,
|
|
5586
5610
|
shrinkOnScroll: z.boolean(),
|
|
5587
|
-
maxWidth: headerMaxWidth,
|
|
5611
|
+
maxWidth: headerMaxWidth.default("container"),
|
|
5588
5612
|
scrollTreatment: headerScrollTreatmentSchema,
|
|
5589
5613
|
background: headerBackgroundSchema.default({
|
|
5590
5614
|
type: "color",
|
|
@@ -5783,11 +5807,6 @@ const bodyTextSchema = z.object({ intro: z.object({
|
|
|
5783
5807
|
paragraphSize: bodyTextIntroTypographySizeSchema.optional(),
|
|
5784
5808
|
headingSize: bodyTextIntroTypographySizeSchema.optional()
|
|
5785
5809
|
}).optional() }).optional();
|
|
5786
|
-
const gradientsSchema = z.object({
|
|
5787
|
-
button: z.string().min(1).nullable().optional(),
|
|
5788
|
-
hero: z.string().min(1).nullable().optional(),
|
|
5789
|
-
background: z.string().min(1).nullable().optional()
|
|
5790
|
-
});
|
|
5791
5810
|
/**
|
|
5792
5811
|
* Testimonial quote-mark treatment, owned by the site style (analogous to the
|
|
5793
5812
|
* accordion icon). `style` is the coarse selector; the optional fields fine-tune
|
|
@@ -8115,6 +8134,12 @@ const overlayLogoAccommodations = [
|
|
|
8115
8134
|
inlineMarkWithTitleLogoAccommodation,
|
|
8116
8135
|
unbackedOverlayLogoAccommodation
|
|
8117
8136
|
];
|
|
8137
|
+
const allCuratedLogoAccommodations = [
|
|
8138
|
+
...inlineClassicLogoAccommodations,
|
|
8139
|
+
...centeredLogoAccommodations,
|
|
8140
|
+
...overlayLogoAccommodations
|
|
8141
|
+
];
|
|
8142
|
+
new Set(allCuratedLogoAccommodations.filter((option) => option.providesBacking === true).map((option) => option.pattern));
|
|
8118
8143
|
const headerLayoutCatalog = defineExactCatalog()([
|
|
8119
8144
|
{
|
|
8120
8145
|
id: asHeaderLayoutId("classic"),
|
|
@@ -8275,6 +8300,10 @@ defineLookOptionGroup({
|
|
|
8275
8300
|
{
|
|
8276
8301
|
id: "secondary",
|
|
8277
8302
|
label: "Secondary"
|
|
8303
|
+
},
|
|
8304
|
+
{
|
|
8305
|
+
id: headerInteractionQuietPalette,
|
|
8306
|
+
label: "Text only"
|
|
8278
8307
|
}
|
|
8279
8308
|
]
|
|
8280
8309
|
});
|
|
@@ -20469,6 +20498,21 @@ const containerResponsiveThemeCss = `/*
|
|
|
20469
20498
|
outline-offset: 2px;
|
|
20470
20499
|
}
|
|
20471
20500
|
|
|
20501
|
+
/* Event titles always link to the event page, so a card or row whose CTA is
|
|
20502
|
+
hidden (sold out, closed) is never a dead end (issue 1372). The link inherits
|
|
20503
|
+
the heading's colour and only reveals itself on hover or keyboard focus.
|
|
20504
|
+
Shared by EventCard, EventCompactRow and the offerings-preview course cards via \`.event-title-link\`. */
|
|
20505
|
+
:where(.theme-scope) .event-title-link {
|
|
20506
|
+
color: inherit;
|
|
20507
|
+
text-decoration: none;
|
|
20508
|
+
}
|
|
20509
|
+
|
|
20510
|
+
:where(.theme-scope) .event-title-link:hover,
|
|
20511
|
+
:where(.theme-scope) .event-title-link:focus-visible {
|
|
20512
|
+
text-decoration: underline;
|
|
20513
|
+
text-underline-offset: 0.12em;
|
|
20514
|
+
}
|
|
20515
|
+
|
|
20472
20516
|
/* =============================================================================
|
|
20473
20517
|
* Block: Carousel Navigation (Phase 3 client component migration)
|
|
20474
20518
|
* =============================================================================
|
|
@@ -22130,7 +22174,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
22130
22174
|
* Used by:
|
|
22131
22175
|
* - Event Registration: occurrence selection cards
|
|
22132
22176
|
* - Event Details: "Other dates"
|
|
22133
|
-
* -
|
|
22177
|
+
* - Event Details: whole-series session schedule
|
|
22134
22178
|
*/
|
|
22135
22179
|
|
|
22136
22180
|
:where(.theme-scope) :where(.rb-tile, .er-event-card) {
|
|
@@ -22209,6 +22253,22 @@ const containerResponsiveThemeCss = `/*
|
|
|
22209
22253
|
cursor: not-allowed;
|
|
22210
22254
|
}
|
|
22211
22255
|
|
|
22256
|
+
/*
|
|
22257
|
+
* A cancelled session stays on the run's schedule rather than disappearing from
|
|
22258
|
+
* it, so a visitor can see the week is accounted for. It reads as retired: a
|
|
22259
|
+
* dashed edge, quietened like supporting text, and the date itself struck
|
|
22260
|
+
* through. The "Cancelled" caption beside it keeps its own weight, which is why
|
|
22261
|
+
* only the date carries the line.
|
|
22262
|
+
*/
|
|
22263
|
+
:where(.theme-scope) .rb-tile--cancelled {
|
|
22264
|
+
border-style: dashed;
|
|
22265
|
+
opacity: var(--rb-tile-cancelled-opacity, 0.65);
|
|
22266
|
+
}
|
|
22267
|
+
|
|
22268
|
+
:where(.theme-scope) .rb-tile--cancelled :where(strong) {
|
|
22269
|
+
text-decoration: line-through;
|
|
22270
|
+
}
|
|
22271
|
+
|
|
22212
22272
|
/* =============================================================================
|
|
22213
22273
|
* Block: Newsletter Signup
|
|
22214
22274
|
* =============================================================================
|
package/dist/server/theme.mjs
CHANGED
|
@@ -4192,6 +4192,11 @@ const gradientConfigSchema = z.object({
|
|
|
4192
4192
|
position: z.string().optional(),
|
|
4193
4193
|
stops: z.array(gradientStopSchema).min(2)
|
|
4194
4194
|
});
|
|
4195
|
+
const gradientsSchema = z.object({
|
|
4196
|
+
button: z.string().min(1).nullable().optional(),
|
|
4197
|
+
hero: z.string().min(1).nullable().optional(),
|
|
4198
|
+
background: z.string().min(1).nullable().optional()
|
|
4199
|
+
});
|
|
4195
4200
|
//#endregion
|
|
4196
4201
|
//#region ../theme-core/src/interactive/baseSchema.ts
|
|
4197
4202
|
/**
|
|
@@ -4849,11 +4854,30 @@ const headerContainerSchema = z.object({
|
|
|
4849
4854
|
tint: z.string().nullable().optional(),
|
|
4850
4855
|
opacity: z.number().min(0).max(1).default(.12)
|
|
4851
4856
|
}).optional();
|
|
4852
|
-
|
|
4857
|
+
//#endregion
|
|
4858
|
+
//#region ../theme-core/src/header/interactionPalette.ts
|
|
4859
|
+
/**
|
|
4860
|
+
* The palettes that fill the nav link with a colour on hover and focus. Each
|
|
4861
|
+
* one names a background/foreground token pair.
|
|
4862
|
+
*/
|
|
4863
|
+
const headerInteractionPillPaletteValues = [
|
|
4853
4864
|
"primary",
|
|
4854
4865
|
"secondary",
|
|
4855
4866
|
"accent"
|
|
4856
|
-
]
|
|
4867
|
+
];
|
|
4868
|
+
/**
|
|
4869
|
+
* "No pill": the nav link keeps whatever hover treatment its recipe compiled,
|
|
4870
|
+
* and the palette step writes nothing at all (#1318 Phase 4c decision 2).
|
|
4871
|
+
*
|
|
4872
|
+
* It exists because "a colour change on hover, no filled background" was not
|
|
4873
|
+
* expressible in the vocabulary, and it is what
|
|
4874
|
+
* `anna-raven-therapy-and-yoga` and `kirtan-lucy` have rendered since before
|
|
4875
|
+
* the palette existed. Without it those two rows can only be classified as a
|
|
4876
|
+
* conscious visual change.
|
|
4877
|
+
*/
|
|
4878
|
+
const headerInteractionQuietPalette = "quiet";
|
|
4879
|
+
const headerInteractionPaletteValues = [...headerInteractionPillPaletteValues, headerInteractionQuietPalette];
|
|
4880
|
+
const headerInteractionPaletteSchema = z.enum(headerInteractionPaletteValues);
|
|
4857
4881
|
//#endregion
|
|
4858
4882
|
//#region ../theme-core/src/boxBackgroundSchema.ts
|
|
4859
4883
|
const boxBackgroundOverlaySchema = z.preprocess(normalizeAuthoringOpacity, z.discriminatedUnion("type", [
|
|
@@ -5374,7 +5398,7 @@ const headerSchema = z.object({
|
|
|
5374
5398
|
variant: headerVariantWithLegacyAliasSchema,
|
|
5375
5399
|
positioning: headerPositioning,
|
|
5376
5400
|
shrinkOnScroll: z.boolean(),
|
|
5377
|
-
maxWidth: headerMaxWidth,
|
|
5401
|
+
maxWidth: headerMaxWidth.default("container"),
|
|
5378
5402
|
scrollTreatment: headerScrollTreatmentSchema,
|
|
5379
5403
|
background: headerBackgroundSchema.default({
|
|
5380
5404
|
type: "color",
|
|
@@ -5573,11 +5597,6 @@ const bodyTextSchema = z.object({ intro: z.object({
|
|
|
5573
5597
|
paragraphSize: bodyTextIntroTypographySizeSchema.optional(),
|
|
5574
5598
|
headingSize: bodyTextIntroTypographySizeSchema.optional()
|
|
5575
5599
|
}).optional() }).optional();
|
|
5576
|
-
const gradientsSchema = z.object({
|
|
5577
|
-
button: z.string().min(1).nullable().optional(),
|
|
5578
|
-
hero: z.string().min(1).nullable().optional(),
|
|
5579
|
-
background: z.string().min(1).nullable().optional()
|
|
5580
|
-
});
|
|
5581
5600
|
/**
|
|
5582
5601
|
* Testimonial quote-mark treatment, owned by the site style (analogous to the
|
|
5583
5602
|
* accordion icon). `style` is the coarse selector; the optional fields fine-tune
|
package/dist/styles/index.css
CHANGED
|
@@ -8864,6 +8864,21 @@
|
|
|
8864
8864
|
outline-offset: 2px;
|
|
8865
8865
|
}
|
|
8866
8866
|
|
|
8867
|
+
/* Event titles always link to the event page, so a card or row whose CTA is
|
|
8868
|
+
hidden (sold out, closed) is never a dead end (issue 1372). The link inherits
|
|
8869
|
+
the heading's colour and only reveals itself on hover or keyboard focus.
|
|
8870
|
+
Shared by EventCard, EventCompactRow and the offerings-preview course cards via `.event-title-link`. */
|
|
8871
|
+
:where(.theme-scope) .event-title-link {
|
|
8872
|
+
color: inherit;
|
|
8873
|
+
text-decoration: none;
|
|
8874
|
+
}
|
|
8875
|
+
|
|
8876
|
+
:where(.theme-scope) .event-title-link:hover,
|
|
8877
|
+
:where(.theme-scope) .event-title-link:focus-visible {
|
|
8878
|
+
text-decoration: underline;
|
|
8879
|
+
text-underline-offset: 0.12em;
|
|
8880
|
+
}
|
|
8881
|
+
|
|
8867
8882
|
|
|
8868
8883
|
|
|
8869
8884
|
/* =============================================================================
|
|
@@ -10523,7 +10538,7 @@
|
|
|
10523
10538
|
* Used by:
|
|
10524
10539
|
* - Event Registration: occurrence selection cards
|
|
10525
10540
|
* - Event Details: "Other dates"
|
|
10526
|
-
* -
|
|
10541
|
+
* - Event Details: whole-series session schedule
|
|
10527
10542
|
*/
|
|
10528
10543
|
|
|
10529
10544
|
:where(.theme-scope) :where(.rb-tile, .er-event-card) {
|
|
@@ -10600,6 +10615,22 @@
|
|
|
10600
10615
|
cursor: not-allowed;
|
|
10601
10616
|
}
|
|
10602
10617
|
|
|
10618
|
+
/*
|
|
10619
|
+
* A cancelled session stays on the run's schedule rather than disappearing from
|
|
10620
|
+
* it, so a visitor can see the week is accounted for. It reads as retired: a
|
|
10621
|
+
* dashed edge, quietened like supporting text, and the date itself struck
|
|
10622
|
+
* through. The "Cancelled" caption beside it keeps its own weight, which is why
|
|
10623
|
+
* only the date carries the line.
|
|
10624
|
+
*/
|
|
10625
|
+
:where(.theme-scope) .rb-tile--cancelled {
|
|
10626
|
+
border-style: dashed;
|
|
10627
|
+
opacity: var(--rb-tile-cancelled-opacity, 0.65);
|
|
10628
|
+
}
|
|
10629
|
+
|
|
10630
|
+
:where(.theme-scope) .rb-tile--cancelled :where(strong) {
|
|
10631
|
+
text-decoration: line-through;
|
|
10632
|
+
}
|
|
10633
|
+
|
|
10603
10634
|
|
|
10604
10635
|
/* =============================================================================
|
|
10605
10636
|
* Block: Newsletter Signup
|
package/package.json
CHANGED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Public whole-series listing, registration, eligibility and checkout endpoints.
|
|
3
|
-
*
|
|
4
|
-
* Merged into `PublicExperienceAPIEndpoints` by `../publicExperienceEndpoints`.
|
|
5
|
-
*/
|
|
6
|
-
import type { APIEndpoint } from '../apiEndpointTypes';
|
|
7
|
-
import type { PublicWaitlistClaimResponse } from '../../../commerce/src/index';
|
|
8
|
-
import type { BookingConsent } from '../../../core/src/index';
|
|
9
|
-
import type { BookingPaymentTermsConfig, BookingPricing } from '../bookingConfig';
|
|
10
|
-
import type { PublicWholeSeriesOfferingDetails } from '../wholeSeriesOfferings';
|
|
11
|
-
import type { PublicTeamMemberSummary } from '../teamMembers';
|
|
12
|
-
export type PublicWholeSeriesAPIEndpoints = {
|
|
13
|
-
listPublicWholeSeriesOfferings: APIEndpoint<never, {
|
|
14
|
-
siteId: string;
|
|
15
|
-
limit?: string;
|
|
16
|
-
eventSeriesIds?: string;
|
|
17
|
-
stage?: string;
|
|
18
|
-
}, Array<{
|
|
19
|
-
eventSeriesId: string;
|
|
20
|
-
eventOfferingId: string;
|
|
21
|
-
title: string;
|
|
22
|
-
slug: string;
|
|
23
|
-
description: unknown;
|
|
24
|
-
deliveryMode: 'in_person' | 'online' | 'hybrid';
|
|
25
|
-
waitlistEnabled: boolean;
|
|
26
|
-
requireGuestDetails: boolean;
|
|
27
|
-
teamMembers?: PublicTeamMemberSummary[];
|
|
28
|
-
enrollmentOpen: boolean;
|
|
29
|
-
pricing: BookingPricing;
|
|
30
|
-
currency: string;
|
|
31
|
-
paymentTerms: BookingPaymentTermsConfig;
|
|
32
|
-
consent: BookingConsent | null;
|
|
33
|
-
enrollmentCapacity: number | null;
|
|
34
|
-
acceptsMemberships: boolean;
|
|
35
|
-
status: string;
|
|
36
|
-
sessionsCount: number;
|
|
37
|
-
enrolledCount: number;
|
|
38
|
-
availableSpots: number | null;
|
|
39
|
-
sessions: Array<{
|
|
40
|
-
id: string;
|
|
41
|
-
startsAt: string;
|
|
42
|
-
endsAt: string;
|
|
43
|
-
timeZone: string;
|
|
44
|
-
capacityOverride?: number | null;
|
|
45
|
-
overrides?: Record<string, unknown> | null;
|
|
46
|
-
}>;
|
|
47
|
-
venue: {
|
|
48
|
-
id: string;
|
|
49
|
-
name: string;
|
|
50
|
-
address: string | null;
|
|
51
|
-
} | null;
|
|
52
|
-
}>>;
|
|
53
|
-
getPublicWholeSeriesOffering: APIEndpoint<never, {
|
|
54
|
-
siteId: string;
|
|
55
|
-
eventSeriesId: string;
|
|
56
|
-
stage?: string;
|
|
57
|
-
}, {
|
|
58
|
-
offering: PublicWholeSeriesOfferingDetails;
|
|
59
|
-
}>;
|
|
60
|
-
resolveWaitlistClaim: APIEndpoint<{
|
|
61
|
-
claimToken: string;
|
|
62
|
-
}, {
|
|
63
|
-
siteId: string;
|
|
64
|
-
}, PublicWaitlistClaimResponse>;
|
|
65
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const PUBLIC_WHOLE_SERIES_ENDPOINT_DEFINITIONS: {
|
|
2
|
-
listPublicWholeSeriesOfferings: {
|
|
3
|
-
path: "/public/sites/{siteId}/dated-offerings/whole-series";
|
|
4
|
-
method: "GET";
|
|
5
|
-
revalidate: 60;
|
|
6
|
-
tags: "riverbank:site:{siteId}:public-whole-series-offerings"[];
|
|
7
|
-
errors: "server:internal_error"[];
|
|
8
|
-
auth: "public";
|
|
9
|
-
responseKind: "json";
|
|
10
|
-
};
|
|
11
|
-
getPublicWholeSeriesOffering: {
|
|
12
|
-
path: "/public/sites/{siteId}/dated-offerings/whole-series/{eventSeriesId}";
|
|
13
|
-
method: "GET";
|
|
14
|
-
revalidate: 60;
|
|
15
|
-
tags: "riverbank:site:{siteId}:public-whole-series-offerings"[];
|
|
16
|
-
errors: ("resource:not_found" | "server:internal_error")[];
|
|
17
|
-
auth: "public";
|
|
18
|
-
responseKind: "json";
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export type SdkEventPricingIssue = Readonly<{
|
|
2
|
-
path: readonly string[];
|
|
3
|
-
message: string;
|
|
4
|
-
}>;
|
|
5
|
-
export type SdkEventTicketTypeInput = Readonly<{
|
|
6
|
-
identifier: string;
|
|
7
|
-
cmsTicketTypeId?: string | null;
|
|
8
|
-
name: string;
|
|
9
|
-
description?: string | null;
|
|
10
|
-
priceAmount: number;
|
|
11
|
-
isActive?: boolean;
|
|
12
|
-
sortOrder?: number;
|
|
13
|
-
capacityLimit?: number | null;
|
|
14
|
-
attendanceScope?: 'in_person' | 'online' | 'both';
|
|
15
|
-
saleStartsAt?: string | null;
|
|
16
|
-
saleEndsAt?: string | null;
|
|
17
|
-
}>;
|
|
18
|
-
export type SdkEventFreePricing = Readonly<{
|
|
19
|
-
kind: 'free';
|
|
20
|
-
priceDisplay?: string | null;
|
|
21
|
-
acceptsPasses?: boolean;
|
|
22
|
-
acceptsMemberships?: boolean;
|
|
23
|
-
}>;
|
|
24
|
-
export type SdkEventFixedPricePricing = Readonly<{
|
|
25
|
-
kind: 'fixed_price';
|
|
26
|
-
priceAmount: number;
|
|
27
|
-
priceCurrency: string;
|
|
28
|
-
priceDisplay?: string | null;
|
|
29
|
-
acceptsPasses?: boolean;
|
|
30
|
-
acceptsMemberships?: boolean;
|
|
31
|
-
}>;
|
|
32
|
-
export type SdkEventTicketTypesPricing = Readonly<{
|
|
33
|
-
kind: 'ticket_types';
|
|
34
|
-
priceCurrency: string;
|
|
35
|
-
priceDisplay?: string | null;
|
|
36
|
-
acceptsPasses?: boolean;
|
|
37
|
-
acceptsMemberships?: boolean;
|
|
38
|
-
ticketTypes: readonly SdkEventTicketTypeInput[];
|
|
39
|
-
}>;
|
|
40
|
-
export type SdkEventPricing = SdkEventFreePricing | SdkEventFixedPricePricing | SdkEventTicketTypesPricing;
|
|
41
|
-
export type SdkEventLegacyPricingInput = Readonly<{
|
|
42
|
-
pricingMode?: 'free' | 'fixed_price' | 'ticket_types' | 'single' | null;
|
|
43
|
-
requiresPayment?: boolean | null;
|
|
44
|
-
priceAmount?: number | null;
|
|
45
|
-
priceCurrency?: string | null;
|
|
46
|
-
priceDisplay?: string | null;
|
|
47
|
-
acceptsPasses?: boolean | null;
|
|
48
|
-
acceptsMemberships?: boolean | null;
|
|
49
|
-
ticketTypes?: readonly SdkEventTicketTypeInput[] | null;
|
|
50
|
-
}>;
|
|
51
|
-
export type SdkEventPricingInput = SdkEventPricing | SdkEventLegacyPricingInput;
|
|
52
|
-
export type SdkEventPricingClassification = Readonly<{
|
|
53
|
-
ok: true;
|
|
54
|
-
pricing: SdkEventPricing;
|
|
55
|
-
}> | Readonly<{
|
|
56
|
-
ok: false;
|
|
57
|
-
issues: readonly SdkEventPricingIssue[];
|
|
58
|
-
}>;
|
|
59
|
-
export declare function sortSdkEventTicketTypes(ticketTypes: readonly SdkEventTicketTypeInput[]): SdkEventTicketTypeInput[];
|
|
60
|
-
export declare function suggestSdkEventTicketIdentifier(name: string, usedIdentifiers: ReadonlySet<string>): string;
|
|
61
|
-
export declare function classifySdkEventPricing(rawInput: unknown): SdkEventPricingClassification;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { type PlanningDateInput } from '../../../../../../core/src/index';
|
|
2
|
-
import type { WholeSeriesPricingOption, PublicWholeSeriesOffering } from './types';
|
|
3
|
-
export type WholeSeriesPriceDisplay = Readonly<{
|
|
4
|
-
kind: 'free';
|
|
5
|
-
currency: string;
|
|
6
|
-
}> | Readonly<{
|
|
7
|
-
kind: 'exact';
|
|
8
|
-
amount: number;
|
|
9
|
-
currency: string;
|
|
10
|
-
}> | Readonly<{
|
|
11
|
-
kind: 'from';
|
|
12
|
-
amount: number;
|
|
13
|
-
currency: string;
|
|
14
|
-
}> | Readonly<{
|
|
15
|
-
kind: 'range';
|
|
16
|
-
minAmount: number;
|
|
17
|
-
maxAmount: number;
|
|
18
|
-
currency: string;
|
|
19
|
-
}> | Readonly<{
|
|
20
|
-
kind: 'unavailable';
|
|
21
|
-
currency: string;
|
|
22
|
-
}>;
|
|
23
|
-
export type ResolvedWholeSeriesPricingState = Readonly<{
|
|
24
|
-
currency: string;
|
|
25
|
-
display: WholeSeriesPriceDisplay;
|
|
26
|
-
selectableOptions: readonly WholeSeriesPricingOption[];
|
|
27
|
-
requiresSelection: boolean;
|
|
28
|
-
selectedOption: WholeSeriesPricingOption | null;
|
|
29
|
-
slidingScale: Readonly<{
|
|
30
|
-
minAmount: number;
|
|
31
|
-
maxAmount: number;
|
|
32
|
-
suggestedAmount: number | null;
|
|
33
|
-
}> | null;
|
|
34
|
-
selectedSlidingAmount: number | null;
|
|
35
|
-
selectedPriceAmount: number | null;
|
|
36
|
-
selectedRequiresPayment: boolean;
|
|
37
|
-
hasPaidSelection: boolean;
|
|
38
|
-
hasFreeSelection: boolean;
|
|
39
|
-
}>;
|
|
40
|
-
type WholeSeriesCurrencyFormatOptions = Readonly<{
|
|
41
|
-
locale?: string;
|
|
42
|
-
minimumFractionDigits?: number;
|
|
43
|
-
maximumFractionDigits?: number;
|
|
44
|
-
}>;
|
|
45
|
-
export declare function getSelectableWholeSeriesPricingOptions(offering: Pick<PublicWholeSeriesOffering, 'pricing'>, nowInput?: PlanningDateInput): readonly WholeSeriesPricingOption[];
|
|
46
|
-
export declare function resolveWholeSeriesPricingState(offering: Pick<PublicWholeSeriesOffering, 'pricing' | 'currency'>, selectedPricingOptionId?: string | null, selectedSlidingAmountOrNowInput?: number | null | PlanningDateInput, nowInput?: PlanningDateInput): ResolvedWholeSeriesPricingState;
|
|
47
|
-
export declare function formatWholeSeriesPriceDisplay(display: WholeSeriesPriceDisplay, locale?: string): string;
|
|
48
|
-
export declare function formatWholeSeriesCurrencyAmount(amount: number, currency: string, options?: WholeSeriesCurrencyFormatOptions): string;
|
|
49
|
-
export declare function formatWholeSeriesPriceAmount(amount: number, currency: string, locale?: string): string;
|
|
50
|
-
export {};
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import type { PublicWholeSeriesOffering } from './types';
|
|
3
|
-
export declare const wholeSeriesVenueSchema: z.ZodObject<{
|
|
4
|
-
id: z.ZodString;
|
|
5
|
-
name: z.ZodString;
|
|
6
|
-
address: z.ZodNullable<z.ZodString>;
|
|
7
|
-
}, z.core.$strip>;
|
|
8
|
-
export declare const wholeSeriesSessionSchema: z.ZodObject<{
|
|
9
|
-
id: z.ZodString;
|
|
10
|
-
startsAt: z.ZodString;
|
|
11
|
-
endsAt: z.ZodString;
|
|
12
|
-
timeZone: z.ZodString;
|
|
13
|
-
capacityOverride: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
-
overrides: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
-
}, z.core.$strip>;
|
|
16
|
-
export declare const wholeSeriesTeamMemberSummarySchema: z.ZodObject<{
|
|
17
|
-
id: z.ZodString;
|
|
18
|
-
name: z.ZodString;
|
|
19
|
-
roleLabel: z.ZodNullable<z.ZodString>;
|
|
20
|
-
summary: z.ZodNullable<z.ZodString>;
|
|
21
|
-
profilePath: z.ZodNullable<z.ZodString>;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
export declare const wholeSeriesPricingOptionSchema: z.ZodObject<{
|
|
24
|
-
id: z.ZodString;
|
|
25
|
-
name: z.ZodString;
|
|
26
|
-
description: z.ZodNullable<z.ZodString>;
|
|
27
|
-
priceAmount: z.ZodNumber;
|
|
28
|
-
isActive: z.ZodBoolean;
|
|
29
|
-
sortOrder: z.ZodNumber;
|
|
30
|
-
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
31
|
-
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
32
|
-
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
33
|
-
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
34
|
-
both: "both";
|
|
35
|
-
online: "online";
|
|
36
|
-
in_person: "in_person";
|
|
37
|
-
}>>>;
|
|
38
|
-
}, z.core.$strip>;
|
|
39
|
-
export declare const wholeSeriesPricingSchema: z.ZodObject<{
|
|
40
|
-
bookingRequirement: z.ZodEnum<{
|
|
41
|
-
none: "none";
|
|
42
|
-
required: "required";
|
|
43
|
-
}>;
|
|
44
|
-
pricingStrategy: z.ZodEnum<{
|
|
45
|
-
single: "single";
|
|
46
|
-
sliding_scale: "sliding_scale";
|
|
47
|
-
free: "free";
|
|
48
|
-
tiered: "tiered";
|
|
49
|
-
}>;
|
|
50
|
-
currency: z.ZodString;
|
|
51
|
-
singlePriceAmount: z.ZodNullable<z.ZodNumber>;
|
|
52
|
-
slidingMinAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
|
-
slidingMaxAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
54
|
-
slidingSuggestedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
55
|
-
paymentTerms: z.ZodObject<{
|
|
56
|
-
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
57
|
-
kind: z.ZodLiteral<"upfront">;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
-
kind: z.ZodLiteral<"deferred_manual">;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
kind: z.ZodLiteral<"instalment_plan">;
|
|
62
|
-
plan: z.ZodUnion<readonly [z.ZodObject<{
|
|
63
|
-
kind: z.ZodLiteral<"deposit_plus_one_remainder">;
|
|
64
|
-
depositAmountCents: z.ZodNumber;
|
|
65
|
-
depositRefundability: z.ZodEnum<{
|
|
66
|
-
refundable: "refundable";
|
|
67
|
-
non_refundable: "non_refundable";
|
|
68
|
-
}>;
|
|
69
|
-
remainderDueCount: z.ZodNumber;
|
|
70
|
-
intervalUnit: z.ZodEnum<{
|
|
71
|
-
day: "day";
|
|
72
|
-
week: "week";
|
|
73
|
-
month: "month";
|
|
74
|
-
}>;
|
|
75
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
76
|
-
kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
|
|
77
|
-
depositAmountCents: z.ZodNumber;
|
|
78
|
-
depositRefundability: z.ZodEnum<{
|
|
79
|
-
refundable: "refundable";
|
|
80
|
-
non_refundable: "non_refundable";
|
|
81
|
-
}>;
|
|
82
|
-
instalmentCount: z.ZodNumber;
|
|
83
|
-
intervalCount: z.ZodNumber;
|
|
84
|
-
intervalUnit: z.ZodEnum<{
|
|
85
|
-
day: "day";
|
|
86
|
-
week: "week";
|
|
87
|
-
month: "month";
|
|
88
|
-
}>;
|
|
89
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
90
|
-
kind: z.ZodLiteral<"equal_scheduled_instalments">;
|
|
91
|
-
instalmentCount: z.ZodNumber;
|
|
92
|
-
intervalCount: z.ZodNumber;
|
|
93
|
-
intervalUnit: z.ZodEnum<{
|
|
94
|
-
day: "day";
|
|
95
|
-
week: "week";
|
|
96
|
-
month: "month";
|
|
97
|
-
}>;
|
|
98
|
-
}, z.core.$strip>]>;
|
|
99
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
100
|
-
kind: z.ZodLiteral<"flexible_balance">;
|
|
101
|
-
config: z.ZodObject<{
|
|
102
|
-
upfrontAmountCents: z.ZodNumber;
|
|
103
|
-
dueDateRule: z.ZodUnion<readonly [z.ZodObject<{
|
|
104
|
-
kind: z.ZodLiteral<"relative_to_start_date">;
|
|
105
|
-
daysBeforeStart: z.ZodNumber;
|
|
106
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
107
|
-
kind: z.ZodLiteral<"fixed_calendar_date">;
|
|
108
|
-
dueAt: z.ZodString;
|
|
109
|
-
}, z.core.$strip>]>;
|
|
110
|
-
depositRefundability: z.ZodEnum<{
|
|
111
|
-
refundable: "refundable";
|
|
112
|
-
non_refundable: "non_refundable";
|
|
113
|
-
}>;
|
|
114
|
-
}, z.core.$strip>;
|
|
115
|
-
}, z.core.$strip>]>>;
|
|
116
|
-
}, z.core.$strip>;
|
|
117
|
-
options: z.ZodArray<z.ZodObject<{
|
|
118
|
-
id: z.ZodString;
|
|
119
|
-
name: z.ZodString;
|
|
120
|
-
description: z.ZodNullable<z.ZodString>;
|
|
121
|
-
priceAmount: z.ZodNumber;
|
|
122
|
-
isActive: z.ZodBoolean;
|
|
123
|
-
sortOrder: z.ZodNumber;
|
|
124
|
-
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
125
|
-
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
126
|
-
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
127
|
-
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
128
|
-
both: "both";
|
|
129
|
-
online: "online";
|
|
130
|
-
in_person: "in_person";
|
|
131
|
-
}>>>;
|
|
132
|
-
}, z.core.$strip>>;
|
|
133
|
-
}, z.core.$strip>;
|
|
134
|
-
export declare const publicWholeSeriesOfferingSchema: z.ZodType<PublicWholeSeriesOffering>;
|
|
135
|
-
export declare const publicWholeSeriesOfferingsArraySchema: z.ZodArray<z.ZodType<PublicWholeSeriesOffering, unknown, z.core.$ZodTypeInternals<PublicWholeSeriesOffering, unknown>>>;
|