@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
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* flow that owns each operation.
|
|
10
10
|
*/
|
|
11
11
|
import type { UploadIntentContract } from "./media";
|
|
12
|
+
import type { CreateManagementKeyBodyInput, CreateSiteApiKeyBodyInput, CreateSitePreviewKeyBodyInput, RevokeManagementKeyBodyInput } from "./schemas/site-api-keys";
|
|
12
13
|
export type WebhookEndpointRecord = {
|
|
13
14
|
id: string;
|
|
14
15
|
name: string;
|
|
@@ -230,10 +231,12 @@ export type ListSiteApiKeysResponse = {
|
|
|
230
231
|
previewKeys: readonly PreviewKeyRecord[];
|
|
231
232
|
managementKeys: ApiKeyRecord[];
|
|
232
233
|
};
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
234
|
+
/**
|
|
235
|
+
* Derived from `createSiteApiKeyBodySchema`'s `z.input`, so the wire contract
|
|
236
|
+
* cannot drift from what the route actually accepts. `environment` is optional
|
|
237
|
+
* here and required on the parsed side because the schema defaults it.
|
|
238
|
+
*/
|
|
239
|
+
export type CreateSiteApiKeyRequest = CreateSiteApiKeyBodyInput;
|
|
237
240
|
export type CreateSiteApiKeyResponse = {
|
|
238
241
|
key: string;
|
|
239
242
|
keyId: string;
|
|
@@ -245,6 +248,8 @@ export type RevokeSiteApiKeyResponse = {
|
|
|
245
248
|
export type ListSitePreviewKeysResponse = {
|
|
246
249
|
previewKeys: readonly PreviewKeyRecord[];
|
|
247
250
|
};
|
|
251
|
+
/** Derived from `createSitePreviewKeyBodySchema`'s `z.input`. */
|
|
252
|
+
export type CreateSitePreviewKeyRequest = CreateSitePreviewKeyBodyInput;
|
|
248
253
|
export type CreateSitePreviewKeyResponse = {
|
|
249
254
|
key: string;
|
|
250
255
|
keyId: string;
|
|
@@ -266,13 +271,15 @@ export type ManagementKeyRecord = {
|
|
|
266
271
|
export type ListManagementKeysResponse = {
|
|
267
272
|
managementKeys: ManagementKeyRecord[];
|
|
268
273
|
};
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
274
|
+
/**
|
|
275
|
+
* Derived from `createManagementKeyBodySchema`'s `z.input`.
|
|
276
|
+
*
|
|
277
|
+
* `accessMode` defaults to `'write'` when omitted (preserving the prior
|
|
278
|
+
* all-access behaviour) and an omitted or null `expiresAt` means the key never
|
|
279
|
+
* expires — both are service-side normalisation rather than schema defaults, so
|
|
280
|
+
* the two sides of this schema are the same type.
|
|
281
|
+
*/
|
|
282
|
+
export type CreateManagementKeyRequest = CreateManagementKeyBodyInput;
|
|
276
283
|
export type CreateManagementKeyResponse = {
|
|
277
284
|
key: string;
|
|
278
285
|
keyId: string;
|
|
@@ -282,9 +289,8 @@ export type CreateManagementKeyResponse = {
|
|
|
282
289
|
expiresAt: string | null;
|
|
283
290
|
message: string;
|
|
284
291
|
};
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
};
|
|
292
|
+
/** Derived from `revokeManagementKeyBodySchema`'s `z.input`. */
|
|
293
|
+
export type RevokeManagementKeyRequest = RevokeManagementKeyBodyInput;
|
|
288
294
|
export type RevokeManagementKeyResponse = {
|
|
289
295
|
message: string;
|
|
290
296
|
};
|
|
@@ -320,15 +326,17 @@ export type BackupAccessImportResult = {
|
|
|
320
326
|
}>;
|
|
321
327
|
};
|
|
322
328
|
};
|
|
329
|
+
export type BackupImportTableCounts = {
|
|
330
|
+
created: number;
|
|
331
|
+
updated: number;
|
|
332
|
+
skipped: number;
|
|
333
|
+
failed: number;
|
|
334
|
+
};
|
|
323
335
|
export type BackupImportResponse = {
|
|
324
336
|
ok: boolean;
|
|
325
337
|
siteId?: string;
|
|
326
338
|
dryRun?: boolean;
|
|
327
|
-
counts?: Record<string,
|
|
328
|
-
created: number;
|
|
329
|
-
updated: number;
|
|
330
|
-
failed: number;
|
|
331
|
-
}>;
|
|
339
|
+
counts?: Record<string, BackupImportTableCounts>;
|
|
332
340
|
warnings?: string[];
|
|
333
341
|
errors?: Array<{
|
|
334
342
|
table: string;
|
|
@@ -341,8 +349,8 @@ export type BackupImportResponse = {
|
|
|
341
349
|
details?: unknown;
|
|
342
350
|
};
|
|
343
351
|
export type BackupPreviewResponse = {
|
|
344
|
-
ok:
|
|
345
|
-
manifest
|
|
352
|
+
ok: true;
|
|
353
|
+
manifest: {
|
|
346
354
|
siteId: string;
|
|
347
355
|
siteSlug: string;
|
|
348
356
|
siteTitle: string;
|
|
@@ -357,9 +365,7 @@ export type BackupPreviewResponse = {
|
|
|
357
365
|
mediaCount: number;
|
|
358
366
|
mediaBytes: number;
|
|
359
367
|
};
|
|
360
|
-
storagePath
|
|
361
|
-
error?: string;
|
|
362
|
-
code?: string;
|
|
368
|
+
storagePath: string;
|
|
363
369
|
};
|
|
364
370
|
export type CreateBackupUploadUrlRequest = {
|
|
365
371
|
filename: string;
|
|
@@ -440,22 +446,16 @@ export type ImportBackupAsNewSiteRequest = {
|
|
|
440
446
|
title?: string;
|
|
441
447
|
};
|
|
442
448
|
export type ImportBackupAsNewSiteResponse = {
|
|
443
|
-
ok:
|
|
444
|
-
siteId
|
|
445
|
-
slug
|
|
446
|
-
title
|
|
447
|
-
counts
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
failed: number;
|
|
451
|
-
}>;
|
|
452
|
-
warnings?: string[];
|
|
453
|
-
errors?: Array<{
|
|
449
|
+
ok: true;
|
|
450
|
+
siteId: string;
|
|
451
|
+
slug: string;
|
|
452
|
+
title: string;
|
|
453
|
+
counts: Record<string, BackupImportTableCounts>;
|
|
454
|
+
warnings: string[];
|
|
455
|
+
errors: Array<{
|
|
454
456
|
table: string;
|
|
455
457
|
id: string;
|
|
456
458
|
error: string;
|
|
457
459
|
}>;
|
|
458
|
-
error?: string;
|
|
459
|
-
code?: string;
|
|
460
460
|
};
|
|
461
461
|
export {};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { FooterCompositionV1, PublicProfile, RectificationHistoryPropagationPlan, RectificationIdentityBoundary, RectificationIssueUrl, RectificationSurface } from '../../core/src/index';
|
|
2
2
|
import type { CamelizeKeys, DbRow, DbJson } from '../../db/src/index';
|
|
3
3
|
import type { APIEndpoint } from './apiEndpointTypes';
|
|
4
|
+
import type { CustomDomainConnectionSnapshot, DomainHostingStatus } from './domainConnection';
|
|
5
|
+
import type { AdminListAllowedDomainsQueryOutput } from './schemas/admin-allowed-domains';
|
|
6
|
+
import type { AdminListAxiomLogsQueryOutput, AdminListErrorLogsQueryOutput, AdminListSupabaseLogsQueryOutput, AdminListVercelLogsQueryOutput } from './schemas/admin-observability-logs';
|
|
4
7
|
import type { AcceptAdminInviteRequest, AcceptAdminInviteResponse, AcceptSiteInvitationRequest, AcceptSiteInvitationResponse, AddCustomDomainRequest, AddCustomDomainResponse, AdminChangePlanRequest, AdminChangePlanResponse, AdminDeleteUserResponse, AuthInviteContinueRequest, AuthInviteContinueResponse, AuthInviteRegisterRequest, AuthInviteRegisterResponse, AuthResetCompleteRequest, AuthResetCompleteResponse, AuthSubmissionResult, BulkOperationResult, ChangePlanRequest, ChangePlanResponse, CreateAdminInviteRequest, CreateAdminInviteResponse, CreateAdminUserRequest, CreateAdminUserResponse, CreateAllowedDomainRequest, CreateAllowedDomainResponse, DeleteAllowedDomainResponse, DomainConfigResult, DomainSearchResultResponse, CurrentUserPractitionerLinkResponse, InviteSiteMemberRequest, InviteSiteMemberResponse, LinkCurrentUserPractitionerRequest, ListAdminInvitesResponse, ListAllowedDomainsResponse, ListSiteMembersResponse, LookupSiteDomainRequest, LookupSiteDomainResponse, MfaBackupCodesOverviewResponse, MfaBackupCodesRotateResponse, MfaOverviewResponse, MfaPhoneChallengeRequest, MfaPhoneChallengeResponse, MfaPhoneEnrollRequest, MfaPhoneEnrollResponse, MfaPhoneVerifyRequest, MfaTotpActivateRequest, MfaTotpEnrollResponse, MfaTotpVerifyRequest, MfaTotpVerifyResponse, ReauthSubmissionResult, RegisterDomainRequestPayload, RegisterDomainResponse, RegistrarBooleanMutationRequest, RegistrarLifecycleResponse, RegistrarRenewalPostureResponse, RegisterSiteDomainRequest, RegisterSiteDomainResponse, RemoveSiteMemberResponse, RevokeAdminInviteResponse, RevokeSiteInvitationResponse, ResendSiteInvitationResponse, SetHomepageRequest, SetHomepageResponse, SiteDomainContactPayload, SiteDomainRecord, TransferSiteOwnershipRequest, TransferSiteOwnershipResponse, UpdateSiteMemberRoleRequest, UpdateSiteMemberRoleResponse } from './accessAdmin';
|
|
5
8
|
import type { AdminRoleMutationResponse, RevokeAdminRoleRequest, StartImpersonationRequest, StartImpersonationResponse, StopImpersonationRequest, StopImpersonationResponse, UpsertAdminRoleRequest } from './admin/types';
|
|
6
9
|
import type { AccountRevokeSessionsBody, AccountRevokeSessionsResponse, AccountUpdatePasswordBody, AccountUpdatePasswordResponse, CreateManualSiteRequest, CreateManualSiteResponse } from './siteOperations';
|
|
@@ -431,16 +434,7 @@ export type SiteManagementAPIEndpoints = {
|
|
|
431
434
|
correct: boolean;
|
|
432
435
|
error?: string;
|
|
433
436
|
} | null;
|
|
434
|
-
|
|
435
|
-
verified: boolean;
|
|
436
|
-
verification?: Array<{
|
|
437
|
-
type: string;
|
|
438
|
-
domain: string;
|
|
439
|
-
value: string;
|
|
440
|
-
reason: string;
|
|
441
|
-
}>;
|
|
442
|
-
error?: string;
|
|
443
|
-
};
|
|
437
|
+
hosting: DomainHostingStatus;
|
|
444
438
|
vercelRecords: Array<{
|
|
445
439
|
id: string;
|
|
446
440
|
slug: string;
|
|
@@ -474,10 +468,7 @@ export type SiteManagementAPIEndpoints = {
|
|
|
474
468
|
verifyDomainDns: APIEndpoint<never, {
|
|
475
469
|
domainId: string;
|
|
476
470
|
}, {
|
|
477
|
-
|
|
478
|
-
verified: boolean;
|
|
479
|
-
error?: string;
|
|
480
|
-
};
|
|
471
|
+
hosting: DomainHostingStatus;
|
|
481
472
|
resend?: {
|
|
482
473
|
success: boolean;
|
|
483
474
|
error?: string;
|
|
@@ -507,13 +498,10 @@ export type SiteManagementAPIEndpoints = {
|
|
|
507
498
|
retryDomainVercel: APIEndpoint<never, {
|
|
508
499
|
domainId: string;
|
|
509
500
|
}, {
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
value: string;
|
|
515
|
-
reason: string;
|
|
516
|
-
}>;
|
|
501
|
+
connection: CustomDomainConnectionSnapshot | null;
|
|
502
|
+
registeredOwnership: Extract<DomainHostingStatus, {
|
|
503
|
+
kind: 'registered';
|
|
504
|
+
}> | null;
|
|
517
505
|
}>;
|
|
518
506
|
retryDomainResend: APIEndpoint<never, {
|
|
519
507
|
domainId: string;
|
|
@@ -703,28 +691,20 @@ export type SiteManagementAPIEndpoints = {
|
|
|
703
691
|
inviteId: string;
|
|
704
692
|
}, RevokeAdminInviteResponse>;
|
|
705
693
|
adminCreateUser: APIEndpoint<CreateAdminUserRequest, never, CreateAdminUserResponse>;
|
|
694
|
+
/**
|
|
695
|
+
* `force` is modelled here rather than derived: the schema transforms the
|
|
696
|
+
* four accepted wire spellings into this boolean, so neither `z.input` nor
|
|
697
|
+
* `z.output` is the caller's type. `schemas/admin-users.ts` explains it and
|
|
698
|
+
* `schemas/admin-users.typetest.ts` checks this shape against the schema.
|
|
699
|
+
*/
|
|
706
700
|
adminDeleteUser: APIEndpoint<never, {
|
|
707
701
|
userId: string;
|
|
708
702
|
force?: boolean;
|
|
709
703
|
}, AdminDeleteUserResponse>;
|
|
710
|
-
adminListAxiomLogs: APIEndpoint<never, {
|
|
711
|
-
tail?: number;
|
|
712
|
-
mode?: 'all' | 'errors' | 'warnings';
|
|
713
|
-
since?: string;
|
|
714
|
-
until?: string;
|
|
715
|
-
search?: string;
|
|
716
|
-
dataset?: string;
|
|
717
|
-
}, {
|
|
704
|
+
adminListAxiomLogs: APIEndpoint<never, AdminListAxiomLogsQueryOutput, {
|
|
718
705
|
entries: Record<string, unknown>[];
|
|
719
706
|
}>;
|
|
720
|
-
adminListErrorLogs: APIEndpoint<never, {
|
|
721
|
-
tail?: number;
|
|
722
|
-
mode?: 'errors' | 'warnings';
|
|
723
|
-
since?: string;
|
|
724
|
-
until?: string;
|
|
725
|
-
search?: string;
|
|
726
|
-
source?: string[];
|
|
727
|
-
}, {
|
|
707
|
+
adminListErrorLogs: APIEndpoint<never, AdminListErrorLogsQueryOutput, {
|
|
728
708
|
entries: Record<string, unknown>[];
|
|
729
709
|
}>;
|
|
730
710
|
adminListRetentionJobRuns: APIEndpoint<never, {
|
|
@@ -816,30 +796,31 @@ export type SiteManagementAPIEndpoints = {
|
|
|
816
796
|
failed: number;
|
|
817
797
|
};
|
|
818
798
|
}>;
|
|
819
|
-
adminListSupabaseLogs: APIEndpoint<never, {
|
|
820
|
-
tail?: number;
|
|
821
|
-
mode?: 'all' | 'errors' | 'warnings';
|
|
822
|
-
since?: string;
|
|
823
|
-
until?: string;
|
|
824
|
-
search?: string;
|
|
825
|
-
source?: string;
|
|
826
|
-
}, {
|
|
799
|
+
adminListSupabaseLogs: APIEndpoint<never, AdminListSupabaseLogsQueryOutput, {
|
|
827
800
|
entries: Record<string, unknown>[];
|
|
828
801
|
}>;
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
802
|
+
/**
|
|
803
|
+
* `dataset` is the one field here that is NOT derived from the schema: the
|
|
804
|
+
* route's query schema has no such field, so it is stripped on arrival, and
|
|
805
|
+
* the service reads the Vercel dataset from the environment instead. Removing
|
|
806
|
+
* it would narrow a published optional field, which is a contract decision of
|
|
807
|
+
* its own rather than part of a schema migration, so it stays recorded here
|
|
808
|
+
* and in `schemas/admin-observability-logs.ts`.
|
|
809
|
+
*/
|
|
810
|
+
adminListVercelLogs: APIEndpoint<never, AdminListVercelLogsQueryOutput & {
|
|
835
811
|
dataset?: string;
|
|
836
812
|
}, {
|
|
837
813
|
entries: Record<string, unknown>[];
|
|
838
814
|
}>;
|
|
839
|
-
adminListAllowedDomains: APIEndpoint<never,
|
|
840
|
-
tenantId?: string | null;
|
|
841
|
-
}, ListAllowedDomainsResponse>;
|
|
815
|
+
adminListAllowedDomains: APIEndpoint<never, AdminListAllowedDomainsQueryOutput, ListAllowedDomainsResponse>;
|
|
842
816
|
adminAddAllowedDomain: APIEndpoint<CreateAllowedDomainRequest, never, CreateAllowedDomainResponse>;
|
|
817
|
+
/**
|
|
818
|
+
* `domainId` is a *path* parameter (`/admin/allowed-domains/{domainId}`), not a
|
|
819
|
+
* query one — `apiCallParams`' `PathParams` is what puts it in the client's
|
|
820
|
+
* `params`, and this declaration adds nothing to the encoded shape. It is left
|
|
821
|
+
* in place because removing it is a contract edit rather than part of a schema
|
|
822
|
+
* migration; see `schemas/admin-allowed-domains.ts` and its typetest.
|
|
823
|
+
*/
|
|
843
824
|
adminDeleteAllowedDomain: APIEndpoint<never, {
|
|
844
825
|
domainId: string;
|
|
845
826
|
}, DeleteAllowedDomainResponse>;
|
|
@@ -292,7 +292,7 @@ export type MacadamiaOnboardingFirstOfferingKind = "class" | "course" | "worksho
|
|
|
292
292
|
export type MacadamiaOnboardingFirstOfferingDeliveryMode = "in_person" | "online" | "both";
|
|
293
293
|
export type MacadamiaOnboardingFirstOfferingScheduleMode = "weekly" | "one_off";
|
|
294
294
|
export type MacadamiaOnboardingWeekday = "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
|
|
295
|
-
export type
|
|
295
|
+
export type MacadamiaOnboardingEventSession = {
|
|
296
296
|
clientId: string;
|
|
297
297
|
startDate: string;
|
|
298
298
|
startTime: string;
|
|
@@ -322,7 +322,7 @@ export type MacadamiaOnboardingFirstOffering = {
|
|
|
322
322
|
priceType: "free" | "paid";
|
|
323
323
|
priceAmount: number | null;
|
|
324
324
|
capacity: number | null;
|
|
325
|
-
sessions:
|
|
325
|
+
sessions: MacadamiaOnboardingEventSession[];
|
|
326
326
|
} | {
|
|
327
327
|
kind: "workshop" | "retreat" | "performance";
|
|
328
328
|
title: string;
|
|
@@ -368,7 +368,7 @@ export type MacadamiaOnboardingDraftFirstOffering = {
|
|
|
368
368
|
priceType: "free" | "paid" | null;
|
|
369
369
|
priceAmount: number | null;
|
|
370
370
|
capacity: number | null;
|
|
371
|
-
sessions:
|
|
371
|
+
sessions: MacadamiaOnboardingEventSession[];
|
|
372
372
|
} | {
|
|
373
373
|
kind: "workshop" | "retreat" | "performance";
|
|
374
374
|
title: string;
|
|
@@ -5,13 +5,14 @@ import type { AdminCreateSiteRequest, AdminCreateSiteResponse, AdminDeletePriceO
|
|
|
5
5
|
import type { ListCustomBlocksResponse, CreateCustomBlockRequest, CreateCustomBlockResponse, DeleteCustomBlockResponse, GetCustomBlockResponse, SdkWorkflowRunStatusCallbackRequest, SdkWorkflowRunStatusCallbackResponse, UpdateCustomBlockRequest, UpdateCustomBlockResponse } from './contentRuntime';
|
|
6
6
|
import type { ContentTypeRecord, CreateContentTypeRequest, CreateContentTypeResponse, DeleteContentTypeResponse, DuplicateContentTypeResponse, ListContentTypesResponse, UpdateContentTypeRequest, UpdateContentTypeResponse } from './contentTypes';
|
|
7
7
|
import type { CheckRedirectQuery, CheckRedirectResponse, CreateRedirectRuleRequest, CreateRedirectRuleResponse, DeleteRedirectRuleResponse, ListRedirectRulesResponse } from './redirects';
|
|
8
|
-
import type { CreateManagementKeyRequest, CreateManagementKeyResponse, CreateSiteApiKeyRequest, CreateSiteApiKeyResponse, CreateSitePreviewKeyResponse, CreateWebhookRequest, CreateWebhookResponse, DeleteBackupUploadRequest, DeleteBackupUploadResponse, DeleteWebhookResponse, GetSiteApiKeyAccessLogsResponse, ListSitePreviewKeysResponse, GetWebhookResponse, ImportBackupAsNewSiteRequest, ImportBackupAsNewSiteResponse, ImportSiteBackupRequest, ListManagementKeysResponse, ListSiteApiKeysResponse, ListWebhooksResponse, RevokeManagementKeyRequest, RevokeManagementKeyResponse, RevokeSiteApiKeyResponse, SdkDeploymentHealthResponse, SetupSdkDeploymentRevalidationWebhookRequest, SetupSdkDeploymentRevalidationWebhookResponse, SetupSdkRevalidationWebhookRequest, SetupSdkRevalidationWebhookResponse, UpdateWebhookRequest, UpdateWebhookResponse, BackupImportResponse, BackupPreviewRequest, BackupPreviewResponse, CreateBackupUploadUrlRequest, CreateBackupUploadUrlResponse } from './siteInfrastructure';
|
|
8
|
+
import type { CreateManagementKeyRequest, CreateManagementKeyResponse, CreateSiteApiKeyRequest, CreateSiteApiKeyResponse, CreateSitePreviewKeyRequest, CreateSitePreviewKeyResponse, CreateWebhookRequest, CreateWebhookResponse, DeleteBackupUploadRequest, DeleteBackupUploadResponse, DeleteWebhookResponse, GetSiteApiKeyAccessLogsResponse, ListSitePreviewKeysResponse, GetWebhookResponse, ImportBackupAsNewSiteRequest, ImportBackupAsNewSiteResponse, ImportSiteBackupRequest, ListManagementKeysResponse, ListSiteApiKeysResponse, ListWebhooksResponse, RevokeManagementKeyRequest, RevokeManagementKeyResponse, RevokeSiteApiKeyResponse, SdkDeploymentHealthResponse, SetupSdkDeploymentRevalidationWebhookRequest, SetupSdkDeploymentRevalidationWebhookResponse, SetupSdkRevalidationWebhookRequest, SetupSdkRevalidationWebhookResponse, UpdateWebhookRequest, UpdateWebhookResponse, BackupImportResponse, BackupPreviewRequest, BackupPreviewResponse, CreateBackupUploadUrlRequest, CreateBackupUploadUrlResponse } from './siteInfrastructure';
|
|
9
9
|
import type { GetSiteInspirationAnalysisResponse, ListSiteInspirationAnalysesResponse } from './siteGeneration';
|
|
10
10
|
import type { ListGscPropertiesAdminResponse, AuthStatusResponse, CronAppointmentRemindersResponse, CronBillingStatusResponse, CronEventFeedbackEmailsResponse, CronEventOccurrencesResponse, CronEventRemindersResponse, CronMediaJobsQuery, CronMediaJobsResponse, CronNewsletterSendResponse, CronPaymentReconciliationResponse, CronSeoIngestResponse, CronWaitlistExpiryResponse } from './siteOperations';
|
|
11
11
|
import type { ApplySiteStyleSelectionBody, ApplySiteStyleSelectionResponse } from './siteRuntimeEndpoints';
|
|
12
|
-
import type { ManagementMediaAsset, MediaResolveResponse, PushSdkConfigRequest, PushSdkConfigResponse, SdkAddEventOccurrenceRequest, SdkBackfillIdentifiersResult, SdkEventOccurrenceResponse, SdkGetEntryResponse, SdkGetEventCategoryResponse, SdkGetEventResponse, SdkGetFormResponse, SdkGetPageBlockResponse, SdkPatchPageBlockBody, SdkPatchPageBlockResponse, SdkGetVenueResponse, SdkListEntriesResponse, SdkListEventCategoriesResponse, SdkListEventOccurrencesResponse, SdkListEventsResponse, SdkListFormsResponse, SdkListVenuesResponse, SdkMediaFinalizeUploadResponse, SdkMediaUploadUrlResponse, SdkPageResponse, SdkEntryUpsertSlotBlock, SdkPublishOrUnpublishEntryResponse, SdkPullContentTypesResponse, SdkCatalogThemeResponse, SdkCatalogBlocksResponse, SdkCatalogContentTypesResponse, SdkCapabilitiesResponse, SdkCommandApplicationResult, SdkConfigureBookingVerticalRequest, SdkConfigureBookingVerticalResponse, SdkDemoContentResponse, SdkDeleteResponse, SdkPullEntriesAllResponse, SdkPullEntriesByTypeResponse, SdkPullEntriesResponse, SdkPullEventCategoriesResponse, SdkPullEventsResponse, SdkPullFooterResponse, SdkPullFormSchema, SdkPullFormsResponse, SdkPullFormSettings, SdkPullDraftsResponse, SdkPullNavigationResponse, SdkPullPagesResponse, SdkPullSettings, SdkPullSettingsResponse, SdkPullSiteInfoResponse, SdkPullThemeResponse, SdkPullVenue, SdkPullVenuesResponse, SdkUpdateSettingsResponse, SdkUpdateEventOccurrenceRequest, SdkUpsertBlockResponse, SdkUpsertEntryResponse, SdkUpsertPageResponse, SdkUpsertEventCategoryResponse, SdkUpsertEventResponse, SdkUpsertFooterResponse, SdkUpsertFormResponse, SdkUpsertNavigationMenuResponse, SdkUpsertThemeResponse, SdkUpsertVenueResponse } from './sdkContracts';
|
|
13
|
-
import type {
|
|
12
|
+
import type { ManagementMediaAsset, MediaResolveResponse, PushSdkConfigRequest, PushSdkConfigResponse, SdkAddEventOccurrenceRequest, SdkBackfillIdentifiersResult, SdkEventOccurrenceResponse, SdkGetEntryResponse, SdkGetEventCategoryResponse, SdkGetEventResponse, SdkGetFormResponse, SdkGetPageBlockResponse, SdkPatchPageBlockBody, SdkPatchPageBlockResponse, SdkGetVenueResponse, SdkListEntriesResponse, SdkListEventCategoriesResponse, SdkListEventOccurrencesResponse, SdkListEventsResponse, SdkListFormsResponse, SdkListVenuesResponse, SdkMediaFinalizeUploadResponse, SdkMediaDeleteApplyResponse, SdkMediaDeletePreviewResponse, SdkMediaDownloadResponse, SdkMediaListResponse, SdkMediaUploadUrlResponse, SdkPageResponse, SdkEntryUpsertSlotBlock, SdkPublishOrUnpublishEntryResponse, SdkPullContentTypesResponse, SdkCatalogThemeResponse, SdkCatalogBlocksResponse, SdkCatalogContentTypesResponse, SdkCapabilitiesResponse, SdkCommandApplicationResult, SdkConfigureBookingVerticalRequest, SdkConfigureBookingVerticalResponse, SdkDemoContentResponse, SdkDeleteResponse, SdkPullEntriesAllResponse, SdkPullEntriesByTypeResponse, SdkPullEntriesResponse, SdkPullEventCategoriesResponse, SdkPullEventsResponse, SdkPullFooterResponse, SdkPullFormSchema, SdkPullFormsResponse, SdkPullFormSettings, SdkPullDraftsResponse, SdkPullNavigationResponse, SdkPullPagesResponse, SdkPullSettings, SdkPullSettingsResponse, SdkPullSiteInfoResponse, SdkPullThemeResponse, SdkPullVenue, SdkPullVenuesResponse, SdkUpdateSettingsResponse, SdkUpdateEventOccurrenceRequest, SdkUpsertBlockResponse, SdkUpsertEntryResponse, SdkUpsertPageResponse, SdkUpsertEventCategoryResponse, SdkUpsertEventResponse, SdkUpsertFooterResponse, SdkUpsertFormResponse, SdkUpsertNavigationMenuResponse, SdkUpsertThemeResponse, SdkUpsertVenueResponse } from './sdkContracts';
|
|
13
|
+
import type { SdkThemeWireWithoutHeader } from './sdkThemeWire';
|
|
14
14
|
import type { SdkEventUpsertBody } from './sdk-event-upsert';
|
|
15
|
+
import type { SdkEntryPaginationQueryInput } from './schemas/sdk-entries';
|
|
15
16
|
import type { StripeConnectDisconnectResponse, StripeConnectStartResponse, StripeConnectStatusResponse, UpdateStripeAutomaticTaxRequest } from './billing';
|
|
16
17
|
import type { NavigationLinkInput } from './navigation/types';
|
|
17
18
|
export type SdkUpsertNavigationItemInput = Readonly<{
|
|
@@ -75,9 +76,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
75
76
|
listSitePreviewKeys: APIEndpoint<never, {
|
|
76
77
|
siteId: string;
|
|
77
78
|
}, ListSitePreviewKeysResponse>;
|
|
78
|
-
createSitePreviewKey: APIEndpoint<{
|
|
79
|
-
name: string;
|
|
80
|
-
}, {
|
|
79
|
+
createSitePreviewKey: APIEndpoint<CreateSitePreviewKeyRequest, {
|
|
81
80
|
siteId: string;
|
|
82
81
|
}, CreateSitePreviewKeyResponse>;
|
|
83
82
|
getSiteApiKeyAccessLogs: APIEndpoint<never, {
|
|
@@ -148,6 +147,24 @@ export type SitePlatformAPIEndpoints = {
|
|
|
148
147
|
}, {
|
|
149
148
|
siteId: string;
|
|
150
149
|
}, MediaResolveResponse>;
|
|
150
|
+
sdkMediaList: APIEndpoint<never, {
|
|
151
|
+
siteId: string;
|
|
152
|
+
search?: string;
|
|
153
|
+
limit?: number;
|
|
154
|
+
offset?: number;
|
|
155
|
+
}, SdkMediaListResponse>;
|
|
156
|
+
sdkMediaDownload: APIEndpoint<never, {
|
|
157
|
+
siteId: string;
|
|
158
|
+
identifier: string;
|
|
159
|
+
}, SdkMediaDownloadResponse>;
|
|
160
|
+
sdkMediaDeletePreview: APIEndpoint<never, {
|
|
161
|
+
siteId: string;
|
|
162
|
+
identifier: string;
|
|
163
|
+
}, SdkMediaDeletePreviewResponse>;
|
|
164
|
+
sdkMediaDeleteApply: APIEndpoint<never, {
|
|
165
|
+
siteId: string;
|
|
166
|
+
identifier: string;
|
|
167
|
+
}, SdkMediaDeleteApplyResponse>;
|
|
151
168
|
sdkMediaUploadUrl: APIEndpoint<{
|
|
152
169
|
filename: string;
|
|
153
170
|
bytes: number;
|
|
@@ -223,17 +240,18 @@ export type SitePlatformAPIEndpoints = {
|
|
|
223
240
|
sdkPullEvents: APIEndpoint<never, {
|
|
224
241
|
siteId: string;
|
|
225
242
|
}, SdkPullEventsResponse>;
|
|
243
|
+
/**
|
|
244
|
+
* `page`/`limit` both coerce and default in `schemas/sdk-entries.ts`, so neither
|
|
245
|
+
* side of that schema is the caller's type; `SdkEntryPaginationQueryInput` is
|
|
246
|
+
* the modelled contract, and `sdk-entries.typetest.ts` holds the schema to it.
|
|
247
|
+
*/
|
|
226
248
|
sdkPullEntries: APIEndpoint<never, {
|
|
227
249
|
siteId: string;
|
|
228
|
-
|
|
229
|
-
limit?: number;
|
|
230
|
-
}, SdkPullEntriesResponse>;
|
|
250
|
+
} & SdkEntryPaginationQueryInput, SdkPullEntriesResponse>;
|
|
231
251
|
sdkPullEntriesByType: APIEndpoint<never, {
|
|
232
252
|
siteId: string;
|
|
233
253
|
type: string;
|
|
234
|
-
|
|
235
|
-
limit?: number;
|
|
236
|
-
}, SdkPullEntriesByTypeResponse>;
|
|
254
|
+
} & SdkEntryPaginationQueryInput, SdkPullEntriesByTypeResponse>;
|
|
237
255
|
sdkPullEntriesAll: APIEndpoint<never, {
|
|
238
256
|
siteId: string;
|
|
239
257
|
}, SdkPullEntriesAllResponse>;
|
|
@@ -317,7 +335,13 @@ export type SitePlatformAPIEndpoints = {
|
|
|
317
335
|
}, SdkDeleteResponse>;
|
|
318
336
|
sdkUpsertTheme: APIEndpoint<Readonly<{
|
|
319
337
|
kind: 'update';
|
|
320
|
-
|
|
338
|
+
/**
|
|
339
|
+
* The theme minus its header (#1318 Phase 4d, D17). The server compiles
|
|
340
|
+
* `theme.header` from the site's stored selection and header
|
|
341
|
+
* preferences and is its only author; a body carrying header bytes is
|
|
342
|
+
* rejected rather than silently stripped.
|
|
343
|
+
*/
|
|
344
|
+
theme: SdkThemeWireWithoutHeader;
|
|
321
345
|
themeId?: string;
|
|
322
346
|
selectionId?: string;
|
|
323
347
|
}> | Readonly<{
|
|
@@ -467,9 +491,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
467
491
|
sdkListEntries: APIEndpoint<never, {
|
|
468
492
|
siteId: string;
|
|
469
493
|
contentType: string;
|
|
470
|
-
|
|
471
|
-
limit?: number;
|
|
472
|
-
}, SdkListEntriesResponse>;
|
|
494
|
+
} & SdkEntryPaginationQueryInput, SdkListEntriesResponse>;
|
|
473
495
|
sdkGetEntry: APIEndpoint<never, {
|
|
474
496
|
siteId: string;
|
|
475
497
|
contentType: string;
|
|
@@ -2,16 +2,23 @@ import type { BackgroundOverride, SystemCustomizeFacetSelection, Theme } from '.
|
|
|
2
2
|
import type { ListMediaAssetsResult, MediaAssetWithLabels } from '@riverbankcms/media-storage-supabase';
|
|
3
3
|
import type { FooterNavigationLayout } from '../../core/src/index';
|
|
4
4
|
import type { DbJson } from '../../db/src/index';
|
|
5
|
-
import type { PageDesignEditorReadModel, PageDesignIntent, AppearancePresetId, BoundaryOptionId, DesignBlockId, FooterLookId, HeaderLayoutId, HeaderLayoutStyleSelection, HeaderStyleId, LayoutVariantKey, SiteStyleId } from '../../theme-core/src/site-styles/index';
|
|
5
|
+
import type { PageDesignEditorReadModel, PageDesignIntent, AppearancePresetId, BoundaryOptionId, DesignBlockId, FooterLookId, HeaderLayoutId, HeaderLayoutStyleSelection, HeaderPreferences, HeaderQuickControlPreferences, HeaderStyleId, LayoutVariantKey, SiteStyleId } from '../../theme-core/src/site-styles/index';
|
|
6
6
|
import type { ButtonStyleSelection } from '../../theme-core/src/buttons/index';
|
|
7
7
|
import type { APIEndpoint } from './apiEndpointTypes';
|
|
8
8
|
import type { AnalyticsReportQuery, AnalyticsReportResponse } from './analytics';
|
|
9
|
-
import type { CreateMediaAssetBody, MediaAssetResponse, MediaAssetFileFilterContract, MediaBulkDeleteResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse } from './media';
|
|
9
|
+
import type { CreateMediaAssetBody, MediaAssetResponse, MediaAssetFileFilterContract, MediaBulkDeleteResponse, MediaDeleteResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse } from './media';
|
|
10
10
|
import type { MediaUsageCheckResponse } from './shared-contracts';
|
|
11
|
-
import type { BlockWithContentResponse, BlockListItem, ContentEntryListStage, EntryPageContentSlotsResponse, PageSurfaceContentSlotsResponse, ListPublishedEntriesResponse, PageDraftRecord, PublishedBlockBaseline, PublishedContentEntryPreviewResponse, PublishedPostPreviewResponse, SdkBlockContent, SdkRuntimeContentByPathResponse, SdkRouteDecisionResponse, SdkRouteOutcomeResponse, SdkTemplate, SiteBySlugResponse,
|
|
11
|
+
import type { BlockWithContentResponse, BlockListItem, ContentEntryListStage, EntryPageContentSlotsResponse, PageSurfaceContentSlotsResponse, ListPublishedEntriesResponse, PageDraftRecord, PublishedBlockBaseline, PublishedContentEntryPreviewResponse, PublishedPostPreviewResponse, SdkBlockContent, SdkRuntimeContentByPathResponse, SdkRouteDecisionResponse, SdkRouteOutcomeResponse, SdkTemplate, SiteBySlugResponse, ThemePreferencesRecord } from './contentRuntime';
|
|
12
12
|
import type { GetVersionHistoryResponse, ListVersionHistoryResponse, RestoreVersionHistoryRequest, RestoreVersionHistoryResponse, VersionHistoryListQuery } from './contentVersionHistory';
|
|
13
13
|
import type { CreateMediaUploadUrlRequest, CreateMediaUploadUrlResponse, CreateSiteLogoUploadUrlRequest, CreateSiteLogoUploadUrlResponse, MediaUploadFinalizeRequest, UploadSiteLogoRequest } from './siteInfrastructure';
|
|
14
14
|
import type { DevToolsGetSiteRoleDowngradeQuery, DevToolsImpersonationResponse, DevToolsSeedResponse, DevToolsSetSiteRoleDowngradeRequest, SiteRoleDowngradeState } from './siteOperations';
|
|
15
|
+
/**
|
|
16
|
+
* A theme body with no header. The server compiles `theme.header` from the
|
|
17
|
+
* row's intent and is its only author (#1318 Phase 4d).
|
|
18
|
+
*/
|
|
19
|
+
export type ThemeWithoutHeader = Omit<Theme, 'header'> & Readonly<{
|
|
20
|
+
header?: never;
|
|
21
|
+
}>;
|
|
15
22
|
/** Partial persisted selections for the Style configurator and site chrome. */
|
|
16
23
|
export type SiteThemeSelectionsPayload = {
|
|
17
24
|
buttonStyleSelection?: ButtonStyleSelection | null;
|
|
@@ -70,7 +77,17 @@ export type SaveSiteChromeSelectionBody = Readonly<{
|
|
|
70
77
|
surface: 'header';
|
|
71
78
|
layoutId: HeaderLayoutId;
|
|
72
79
|
styleId: HeaderStyleId;
|
|
73
|
-
|
|
80
|
+
/**
|
|
81
|
+
* The header intent this save expresses, and the whole of what this
|
|
82
|
+
* surface sends (#1318 Phase 4d).
|
|
83
|
+
*
|
|
84
|
+
* The compiled `theme` that used to ride alongside it is gone. The server
|
|
85
|
+
* compiles the header from `(layoutId, styleId, preferences)` against the
|
|
86
|
+
* persisted row and is its sole author; the rest of the theme is the
|
|
87
|
+
* row's own and is not the client's to restate. The save response returns
|
|
88
|
+
* the theme the server persisted, which is what the client reconciles to.
|
|
89
|
+
*/
|
|
90
|
+
preferences: HeaderQuickControlPreferences;
|
|
74
91
|
themeId?: string | null;
|
|
75
92
|
selectionId?: string | null;
|
|
76
93
|
baseSelectionUpdatedAt?: string | null;
|
|
@@ -92,6 +109,11 @@ export type SaveSiteChromeSelectionResponse = Readonly<{
|
|
|
92
109
|
theme: Theme;
|
|
93
110
|
headerLayoutId: HeaderLayoutId;
|
|
94
111
|
headerStyleId: HeaderStyleId;
|
|
112
|
+
/**
|
|
113
|
+
* The intent as persisted. `null` while the Phase 4c backfill is outstanding
|
|
114
|
+
* and this save did not write one — absent, not "the defaults".
|
|
115
|
+
*/
|
|
116
|
+
headerPreferences: HeaderPreferences | null;
|
|
95
117
|
footerLookId: FooterLookId | null;
|
|
96
118
|
}>;
|
|
97
119
|
export type PageDesignRevisionToken = {
|
|
@@ -191,17 +213,6 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
191
213
|
mode?: 'manual';
|
|
192
214
|
entryIds?: string;
|
|
193
215
|
}, ListPublishedEntriesResponse>;
|
|
194
|
-
createTheme: APIEndpoint<{
|
|
195
|
-
site_id: string;
|
|
196
|
-
}, never, {
|
|
197
|
-
output: ThemeGenerationTurn[];
|
|
198
|
-
text: string[] | null;
|
|
199
|
-
}>;
|
|
200
|
-
generateThemes: APIEndpoint<{
|
|
201
|
-
site_id: string;
|
|
202
|
-
}, never, {
|
|
203
|
-
themes: ThemeRow[];
|
|
204
|
-
}>;
|
|
205
216
|
extractThemeFromInspiration: APIEndpoint<{
|
|
206
217
|
urls: string[];
|
|
207
218
|
}, never, {
|
|
@@ -217,7 +228,16 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
217
228
|
source: 'extracted' | 'fallback';
|
|
218
229
|
}>;
|
|
219
230
|
saveSiteTheme: APIEndpoint<{
|
|
220
|
-
|
|
231
|
+
/**
|
|
232
|
+
* The theme minus its header (#1318 Phase 4d, D17).
|
|
233
|
+
*
|
|
234
|
+
* `header` is compiled server-side from the row's stored selection and
|
|
235
|
+
* `header_preferences`, so a body cannot carry header bytes at all. This
|
|
236
|
+
* was the last path by which hand-written header fields reached
|
|
237
|
+
* persistence, and leaving it open would have made the single-authority
|
|
238
|
+
* claim untrue. `headerSelection` still names the selection to compile.
|
|
239
|
+
*/
|
|
240
|
+
theme: ThemeWithoutHeader;
|
|
221
241
|
themeId?: string | null;
|
|
222
242
|
selectionId?: string | null;
|
|
223
243
|
overrides?: Record<string, unknown> | null;
|
|
@@ -369,7 +389,7 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
369
389
|
cascadeLabels?: boolean;
|
|
370
390
|
}, {
|
|
371
391
|
assetId: string;
|
|
372
|
-
},
|
|
392
|
+
}, MediaDeleteResponse>;
|
|
373
393
|
mediaBulkDelete: APIEndpoint<{
|
|
374
394
|
assetIds: string[];
|
|
375
395
|
deleteObjects?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CamelizeKeys, DbDatabase, DbRow } from "../../db/src/index";
|
|
2
|
-
export type { AccessPolicyContract, AccessPolicyTag, AmbientBackgroundRole, CreateMediaAssetBody, EntitledCustomerAccessScopeContract, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaAssetFileFilterContract, MediaBulkDeleteAssetFailure, MediaBulkDeleteResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, SiteBackgroundAssetUse, StorageClass, UploadIntentContract, UploadIntentTag, } from "./media";
|
|
2
|
+
export type { AccessPolicyContract, AccessPolicyTag, AmbientBackgroundRole, CreateMediaAssetBody, EntitledCustomerAccessScopeContract, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaAssetFileFilterContract, MediaBulkDeleteAssetFailure, MediaBulkDeleteResponse, MediaDeleteResponse, MediaDeleteWarning, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, SiteBackgroundAssetUse, StorageClass, UploadIntentContract, UploadIntentTag, } from "./media";
|
|
3
3
|
export type { AnalyticsPreset, AnalyticsReferrer, AnalyticsReportFilters, AnalyticsReportQuery, AnalyticsReportResponse, AnalyticsSeriesPoint, AnalyticsTopPage, AnalyticsTotals, } from "./analytics";
|
|
4
4
|
export type { AIChatMessage, AiBriefTurn, JsonPrimitive, JsonValue, MediaUsageCheckItem, MediaUsageCheckResponse, MediaUsageLocation, } from "./shared-contracts";
|
|
5
5
|
export type * from "./accessAdmin";
|
|
@@ -19,7 +19,7 @@ export type * from "./commercePortalEndpoints";
|
|
|
19
19
|
export type * from "./communications";
|
|
20
20
|
export type * from "./contentRuntime";
|
|
21
21
|
export type * from "./contentVersionHistory";
|
|
22
|
-
export type * from './
|
|
22
|
+
export type * from './wholeSeriesRuns';
|
|
23
23
|
export type * from "./mailchimpIntegration";
|
|
24
24
|
export type * from "./participantMessaging";
|
|
25
25
|
export type * from "./publicExperienceEndpoints";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { PublicTeamMemberSummary } from './teamMembers';
|
|
1
|
+
import type { BookingPricing, WaitlistOverride } from './bookingConfig';
|
|
3
2
|
export type { WholeSeriesRunCancellationSettlement } from './eventManagementContracts';
|
|
4
3
|
/**
|
|
5
4
|
* Whole-series Event contracts
|
|
@@ -10,9 +9,9 @@ export type { WholeSeriesRunCancellationSettlement } from './eventManagementCont
|
|
|
10
9
|
* Note: Do NOT use these API types as validation schemas. They document wire
|
|
11
10
|
* contracts while the owning services validate and normalize inputs.
|
|
12
11
|
*/
|
|
13
|
-
export type
|
|
14
|
-
export type
|
|
15
|
-
export type
|
|
12
|
+
export type WholeSeriesRunStatus = 'draft' | 'active' | 'cancelled' | 'archived' | 'completed';
|
|
13
|
+
export type WholeSeriesRunMutableStatus = Exclude<WholeSeriesRunStatus, 'completed'>;
|
|
14
|
+
export type WholeSeriesRunSeriesRecord = {
|
|
16
15
|
id: string;
|
|
17
16
|
title: string;
|
|
18
17
|
slug: string;
|
|
@@ -25,7 +24,7 @@ export type WholeSeriesRunRecord = {
|
|
|
25
24
|
mainHostStaffMemberId?: string | null;
|
|
26
25
|
status: string;
|
|
27
26
|
};
|
|
28
|
-
export type
|
|
27
|
+
export type WholeSeriesRunRecord = {
|
|
29
28
|
id: string;
|
|
30
29
|
siteId: string;
|
|
31
30
|
seriesId: string;
|
|
@@ -33,76 +32,21 @@ export type WholeSeriesOfferingRecord = {
|
|
|
33
32
|
enrollmentCapacity: number | null;
|
|
34
33
|
acceptsMemberships: boolean;
|
|
35
34
|
waitlistMode: WaitlistOverride;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
paymentTerms: BookingPaymentTermsConfig;
|
|
39
|
-
status: WholeSeriesOfferingStatus;
|
|
35
|
+
bookingOffer: BookingPricing;
|
|
36
|
+
status: WholeSeriesRunStatus;
|
|
40
37
|
createdAt: string;
|
|
41
38
|
updatedAt: string;
|
|
42
|
-
series:
|
|
39
|
+
series: WholeSeriesRunSeriesRecord;
|
|
43
40
|
sessionsCount: number;
|
|
44
41
|
/** Total registrations for this run (all statuses, including cancelled/waitlist). */
|
|
45
42
|
enrollmentsCount: number;
|
|
46
43
|
/** Seat-holding enrollments (enrolled, pending_payment, completed). */
|
|
47
44
|
enrolledCount: number;
|
|
48
45
|
};
|
|
49
|
-
export type
|
|
50
|
-
|
|
51
|
-
startsAt: string;
|
|
52
|
-
endsAt: string;
|
|
53
|
-
timeZone: string;
|
|
54
|
-
capacityOverride?: number | null;
|
|
55
|
-
overrides?: Record<string, unknown> | null;
|
|
56
|
-
};
|
|
57
|
-
export type PublicWholeSeriesVenue = {
|
|
58
|
-
id: string;
|
|
59
|
-
name: string;
|
|
60
|
-
address: string | null;
|
|
61
|
-
};
|
|
62
|
-
export type PublicWholeSeriesOfferingDetails = {
|
|
63
|
-
eventSeriesId: string;
|
|
64
|
-
eventOfferingId: string;
|
|
65
|
-
title: string;
|
|
66
|
-
slug: string;
|
|
67
|
-
description: unknown;
|
|
68
|
-
deliveryMode: 'in_person' | 'online' | 'hybrid';
|
|
69
|
-
waitlistEnabled: boolean;
|
|
70
|
-
requireGuestDetails: boolean;
|
|
71
|
-
teamMembers?: PublicTeamMemberSummary[];
|
|
72
|
-
enrollmentOpen: boolean;
|
|
73
|
-
pricing: BookingPricing;
|
|
74
|
-
currency: string;
|
|
75
|
-
paymentTerms: BookingPaymentTermsConfig;
|
|
76
|
-
enrollmentCapacity: number | null;
|
|
77
|
-
acceptsMemberships: boolean;
|
|
78
|
-
status: string;
|
|
79
|
-
sessionsCount: number;
|
|
80
|
-
enrolledCount: number;
|
|
81
|
-
availableSpots: number | null;
|
|
82
|
-
sessions: PublicWholeSeriesSession[];
|
|
83
|
-
venue: PublicWholeSeriesVenue | null;
|
|
84
|
-
firstSessionAt: string | null;
|
|
85
|
-
lastSessionAt: string | null;
|
|
86
|
-
};
|
|
87
|
-
export type UpdateWholeSeriesOfferingRequest = {
|
|
88
|
-
enrollmentCapacity?: number | null;
|
|
89
|
-
acceptsMemberships?: boolean;
|
|
90
|
-
waitlistMode?: WaitlistOverride;
|
|
91
|
-
pricing?: BookingPricingInput;
|
|
92
|
-
paymentTerms?: BookingPaymentTermsConfig;
|
|
93
|
-
paymentOptionsSource?: BookingPaymentOptionsSource;
|
|
94
|
-
title?: string;
|
|
95
|
-
venueId?: string | null;
|
|
96
|
-
capacity?: number | null;
|
|
97
|
-
formId?: string | null;
|
|
98
|
-
eventCategoryId?: string | null;
|
|
99
|
-
staffMemberIds?: string[];
|
|
100
|
-
mainHostStaffMemberId?: string | null;
|
|
101
|
-
};
|
|
102
|
-
export type UpdateWholeSeriesOfferingResponse = {
|
|
103
|
-
offering: WholeSeriesOfferingRecord;
|
|
46
|
+
export type UpdateWholeSeriesRunResponse = {
|
|
47
|
+
run: WholeSeriesRunRecord;
|
|
104
48
|
};
|
|
105
|
-
export type
|
|
49
|
+
export type DeleteWholeSeriesRunResponse = {
|
|
106
50
|
message: string;
|
|
107
51
|
};
|
|
108
52
|
export type DeleteEventOfferingResponse = {
|