@riverbankcms/sdk 0.147.0 → 0.148.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 +16 -0
- package/dist/{PreviewEditorSidebar-DtpB3_sS.mjs → PreviewEditorSidebar-DvEPG3Z2.mjs} +202 -143
- package/dist/{PreviewEditorUI-DxTLgaHo.mjs → PreviewEditorUI-D6eb6fkx.mjs} +68 -60
- package/dist/{PreviewQueryProvider-Dd4dxOiU.mjs → PreviewQueryProvider-5znTyJuz.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-DMMNCngt.mjs → SdkPreviewModeRuntime-DJ6utQ_R.mjs} +1191 -513
- package/dist/{SiteChromeCustomizeContext-DQXZXiqS.mjs → SiteChromeCustomizeContext-CFJYh6vo.mjs} +201798 -197304
- package/dist/_dts/ai/src/contracts/proposals.d.ts +0 -33
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +0 -3
- package/dist/_dts/api/src/accessAdmin.d.ts +0 -4
- package/dist/_dts/api/src/accountApi.d.ts +1 -1
- package/dist/_dts/api/src/admin.d.ts +22 -22
- package/dist/_dts/api/src/aiPatch.d.ts +2 -2
- package/dist/_dts/api/src/aiPlayground.d.ts +1 -0
- package/dist/_dts/api/src/analytics.d.ts +2 -2
- package/dist/_dts/api/src/apiEndpointTypes.d.ts +2 -0
- package/dist/_dts/api/src/appointmentSetup.d.ts +2 -2
- package/dist/_dts/api/src/auth.d.ts +10 -10
- package/dist/_dts/api/src/availability.d.ts +6 -6
- package/dist/_dts/api/src/billing.d.ts +42 -15
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/billingEndpointTypes.d.ts +15 -6
- package/dist/_dts/api/src/blocks.d.ts +15 -14
- package/dist/_dts/api/src/blocksKeys.d.ts +2 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +0 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +4 -4
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -0
- package/dist/_dts/api/src/bookings.d.ts +7 -7
- package/dist/_dts/api/src/calendar.d.ts +9 -9
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +7 -6
- package/dist/_dts/api/src/common/envelope.d.ts +2 -2
- package/dist/_dts/api/src/content-editor.d.ts +2 -2
- package/dist/_dts/api/src/contentEntries.d.ts +17 -48
- package/dist/_dts/api/src/contentRuntime.d.ts +51 -37
- package/dist/_dts/api/src/contentTypes.d.ts +11 -11
- package/dist/_dts/api/src/contentVersionHistoryClient.d.ts +6 -6
- package/dist/_dts/api/src/documentLifecycle.d.ts +67 -0
- package/dist/_dts/api/src/domains.d.ts +16 -16
- package/dist/_dts/api/src/editLeaseEndpoints.d.ts +72 -0
- package/dist/_dts/api/src/emailSettings.d.ts +4 -4
- package/dist/_dts/api/src/endpoints.d.ts +133 -41
- package/dist/_dts/api/src/eventEmailTemplates.d.ts +2 -2
- package/dist/_dts/api/src/eventManagementContracts.d.ts +25 -0
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +0 -8
- package/dist/_dts/api/src/eventPageWords.d.ts +7 -12
- package/dist/_dts/api/src/footerSettings.d.ts +6 -6
- package/dist/_dts/api/src/index.d.ts +6 -5
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/navigation.d.ts +5 -5
- package/dist/_dts/api/src/pageSurfaceEditorEndpoints.d.ts +55 -0
- package/dist/_dts/api/src/pageSurfaceEndpoints.d.ts +28 -7
- package/dist/_dts/api/src/pages.d.ts +7 -7
- package/dist/_dts/api/src/performance.d.ts +1 -1
- package/dist/_dts/api/src/public/index.d.ts +1 -1
- package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +2 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
- package/dist/_dts/api/src/redirects.d.ts +3 -3
- package/dist/_dts/api/src/request.d.ts +10 -1
- package/dist/_dts/api/src/resources.d.ts +4 -4
- package/dist/_dts/api/src/routes.d.ts +8 -3
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +0 -1
- package/dist/_dts/api/src/sdkBlockUpsertContracts.d.ts +21 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +5 -28
- package/dist/_dts/api/src/sdkEventEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/sdkEventOccurrenceRequestContracts.d.ts +43 -0
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +4 -2
- package/dist/_dts/api/src/sdkPullEventContracts.d.ts +8 -1
- package/dist/_dts/api/src/seo.d.ts +4 -4
- package/dist/_dts/api/src/services.d.ts +4 -4
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +15 -8
- package/dist/_dts/api/src/siteMembers.d.ts +10 -10
- package/dist/_dts/api/src/siteOnboarding.d.ts +14 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -3
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +5 -12
- package/dist/_dts/api/src/siteRuntimeEntry.d.ts +31 -0
- package/dist/_dts/billing/src/checkout/platform.d.ts +77 -0
- package/dist/_dts/billing/src/components/index.d.ts +25 -40
- package/dist/_dts/billing/src/membership/index.d.ts +1 -3
- package/dist/_dts/billing/src/plans/entitlements.d.ts +80 -0
- package/dist/_dts/billing/src/plans/registry.d.ts +16 -16
- package/dist/_dts/billing/src/plans/standing.d.ts +9 -2
- package/dist/_dts/billing/src/plans/types.d.ts +5 -15
- package/dist/_dts/billing/src/site-arrangements.d.ts +2 -2
- package/dist/_dts/billing/src/subscriptions/standingEvidence.d.ts +2 -4
- package/dist/_dts/billing/src/subscriptions/store.d.ts +17 -11
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +6 -7
- package/dist/_dts/block-form/src/backend/types.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -1
- package/dist/_dts/blocks/src/client/events.d.ts +3 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +16 -4
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +4 -13
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +2 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +0 -2
- package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +3 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +6 -1
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/components/booking/SuccessMessage.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +24 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +12 -3
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/usePolling.d.ts +7 -48
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.checkout-return-context.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.completion.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.payment-confirmation.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +15 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-actions.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-handler.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +9 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +37 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.client.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +16 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardPresentations.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +5 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +1 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.state.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/DemoBookingPortalAccess.d.ts +22 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/DemoPortalSignInLink.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/utils/demoBookingPassStorage.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/shared/utils/demoPortalMagicLink.d.ts +29 -0
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +2 -7
- package/dist/_dts/content-editor/src/controller/EditLeaseController.d.ts +39 -0
- package/dist/_dts/content-editor/src/controller/EditorWriteGate.d.ts +38 -0
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +25 -61
- package/dist/_dts/content-editor/src/controller/LinkedEntryLeaseBanner.d.ts +7 -0
- package/dist/_dts/content-editor/src/controller/LinkedEntryLeaseControllers.d.ts +14 -0
- package/dist/_dts/content-editor/src/controller/deriveEditorUnpublishedState.d.ts +6 -0
- package/dist/_dts/content-editor/src/controller/documentValueBaseline.d.ts +25 -0
- package/dist/_dts/content-editor/src/controller/editLeaseLossSignal.d.ts +6 -0
- package/dist/_dts/content-editor/src/controller/editLeaseNotice.d.ts +28 -0
- package/dist/_dts/content-editor/src/controller/editorClientId.d.ts +2 -0
- package/dist/_dts/content-editor/src/controller/editorEditability.d.ts +38 -0
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +34 -0
- package/dist/_dts/content-editor/src/controller/normalizedMetadataBaseline.d.ts +29 -0
- package/dist/_dts/content-editor/src/controller/pageSurfaceDocumentBaselines.d.ts +14 -0
- package/dist/_dts/content-editor/src/controller/pageSurfaceLifecycle.d.ts +11 -0
- package/dist/_dts/content-editor/src/controller/planDocumentBaselineRefresh.d.ts +19 -0
- package/dist/_dts/content-editor/src/controller/readDocumentLeaseBaselines.d.ts +19 -0
- package/dist/_dts/content-editor/src/controller/refreshDocumentLeaseBaseline.d.ts +12 -0
- package/dist/_dts/content-editor/src/controller/refreshLinkedEntry.d.ts +17 -0
- package/dist/_dts/content-editor/src/controller/replayRestoredEditorEffects.d.ts +2 -3
- package/dist/_dts/content-editor/src/controller/routeWrites.d.ts +26 -0
- package/dist/_dts/content-editor/src/controller/useAutosaveTriggers.d.ts +16 -17
- package/dist/_dts/content-editor/src/controller/useBlockedPublishPlan.d.ts +6 -2
- package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +3 -3
- package/dist/_dts/content-editor/src/controller/useEntryValueAutosaves.d.ts +21 -0
- package/dist/_dts/content-editor/src/controller/useInitialEditorUiStore.d.ts +24 -0
- package/dist/_dts/content-editor/src/controller/useServerBaselineReconciliation.d.ts +17 -0
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/applyBlockedPublishPlan.d.ts +5 -1
- package/dist/_dts/content-editor/src/hooks/blockDraftLifecycle.d.ts +8 -47
- package/dist/_dts/content-editor/src/hooks/editLeaseMachine.d.ts +120 -0
- package/dist/_dts/content-editor/src/hooks/publishability.d.ts +6 -10
- package/dist/_dts/content-editor/src/hooks/useAutosaveStatus.d.ts +3 -0
- package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +5 -15
- package/dist/_dts/content-editor/src/hooks/useDebouncedLatestSave.d.ts +7 -5
- package/dist/_dts/content-editor/src/hooks/useEditLease.d.ts +28 -0
- package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +25 -39
- package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +17 -19
- package/dist/_dts/content-editor/src/hooks/useLinkedEntryAutosave.d.ts +5 -8
- package/dist/_dts/content-editor/src/hooks/useValueAutosave.d.ts +64 -0
- package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +0 -7
- package/dist/_dts/content-editor/src/index.d.ts +26 -7
- package/dist/_dts/content-editor/src/linkedEntries/domain.d.ts +12 -0
- package/dist/_dts/content-editor/src/linkedEntries/owner.d.ts +9 -0
- package/dist/_dts/content-editor/src/liveDrafts/draftProjection.d.ts +66 -0
- package/dist/_dts/content-editor/src/liveDrafts/linkedSaveHandovers.d.ts +37 -0
- package/dist/_dts/content-editor/src/liveDrafts/remoteDraftOverlay.d.ts +113 -0
- package/dist/_dts/content-editor/src/liveDrafts/useLiveDrafts.d.ts +32 -0
- package/dist/_dts/content-editor/src/liveDrafts/useRetentionTicks.d.ts +7 -0
- package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +6 -0
- package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +1 -0
- package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +96 -19
- package/dist/_dts/content-editor/src/services/editorApiClient.d.ts +13 -0
- package/dist/_dts/content-editor/src/services/index.d.ts +2 -0
- package/dist/_dts/content-editor/src/services/pageSurfaceEditorServices.d.ts +23 -0
- package/dist/_dts/content-editor/src/sync/flushValues.d.ts +13 -0
- package/dist/_dts/content-editor/src/sync/lifecycleFailure.d.ts +51 -0
- package/dist/_dts/content-editor/src/sync/runLifecycle.d.ts +64 -0
- package/dist/_dts/content-editor/src/sync/schedulerValues.d.ts +27 -0
- package/dist/_dts/content-editor/src/sync/sendPlanning.d.ts +104 -0
- package/dist/_dts/content-editor/src/sync/valueSync.d.ts +114 -0
- package/dist/_dts/content-editor/src/ui/blockCollection.d.ts +8 -0
- package/dist/_dts/content-editor/src/ui/documentLifecycle.d.ts +18 -0
- package/dist/_dts/content-editor/src/ui/editorLeaseUiState.d.ts +7 -0
- package/dist/_dts/content-editor/src/ui/editorRefresh.d.ts +82 -0
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +102 -127
- package/dist/_dts/content-editor/src/ui/editorTransactionState.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +126 -72
- package/dist/_dts/content-editor/src/ui/editorValueSnapshot.d.ts +18 -0
- package/dist/_dts/content-editor/src/ui/serverBlockAdmission.d.ts +26 -0
- package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +16 -27
- package/dist/_dts/content-editor/src/ui/stores/blockVersionsStore.d.ts +24 -0
- package/dist/_dts/content-editor/src/ui/stores/linkedEntryLeaseStore.d.ts +54 -0
- package/dist/_dts/content-editor/src/ui/stores/linkedSaveHandoversStore.d.ts +11 -0
- package/dist/_dts/content-editor/src/ui/stores/remoteDraftsStore.d.ts +10 -0
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +63 -3
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +2 -2
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +1 -1
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +4 -4
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +4 -4
- package/dist/_dts/content-model/src/definitions/shared.d.ts +11 -2
- package/dist/_dts/content-model/src/entry-slots/index.d.ts +1 -0
- package/dist/_dts/content-model/src/entry-slots/serializeAllowedBlocks.d.ts +2 -0
- package/dist/_dts/content-model/src/metadataConfig.d.ts +10 -38
- package/dist/_dts/content-model/src/templates/defaults.d.ts +0 -1
- package/dist/_dts/content-model/src/types.d.ts +0 -1
- package/dist/_dts/core/src/block-content-identity.d.ts +49 -1
- package/dist/_dts/core/src/branded.d.ts +12 -0
- package/dist/_dts/core/src/currency-format.d.ts +8 -2
- package/dist/_dts/core/src/demo-lifecycle-status.d.ts +2 -2
- package/dist/_dts/core/src/demo-warm-pool-target.d.ts +8 -0
- package/dist/_dts/core/src/edit-lease.d.ts +55 -0
- package/dist/_dts/core/src/editor-state.d.ts +38 -13
- package/dist/_dts/core/src/editor-value-sync.d.ts +79 -0
- package/dist/_dts/core/src/html-entities.d.ts +6 -0
- package/dist/_dts/core/src/index.d.ts +4 -0
- package/dist/_dts/core/src/uuid.d.ts +7 -5
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +159 -153
- package/dist/_dts/editor/src/EditorProvider.d.ts +5 -0
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +14 -0
- package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +1 -0
- package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +0 -1
- package/dist/_dts/editor/src/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +10 -9
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardFrame.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/applyExtendedFieldDefaults.d.ts +3 -4
- package/dist/_dts/editor-blocks/src/block-editor/blockDraftBaselineSeed.d.ts +4 -8
- package/dist/_dts/editor-blocks/src/block-editor/editorBlockItem.d.ts +23 -0
- package/dist/_dts/editor-blocks/src/block-editor/generatedIconApplyCoordination.d.ts +2 -7
- package/dist/_dts/editor-blocks/src/block-editor/hooks/applyBlockStructureChange.d.ts +4 -0
- package/dist/_dts/editor-blocks/src/block-editor/hooks/buildInsertBlockHistoryCommand.d.ts +14 -5
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +21 -19
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +2 -10
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +8 -16
- package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +6 -16
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +37 -9
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +3 -2
- package/dist/_dts/media-core/src/fileStorage.d.ts +4 -0
- package/dist/_dts/media-editor/src/context.d.ts +1 -1
- package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -2
- package/dist/_dts/media-editor/src/provider.d.ts +3 -2
- package/dist/_dts/media-react/src/hooks/internal/classification.d.ts +1 -1
- package/dist/_dts/media-react/src/hooks/useApiMediaUploader.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +8 -3
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +6 -3
- package/dist/_dts/preview-next/src/client/blocks/linkedEntryRenderOverlay.d.ts +22 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/entryFieldRebinding.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/index.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +11 -1
- package/dist/_dts/preview-next/src/client/blocks/renderPrecedence.d.ts +17 -0
- package/dist/_dts/preview-next/src/client/blocks/useLinkedSaveHandoverRetention.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewAccessBanners.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +24 -14
- package/dist/_dts/preview-next/src/client/preview/PreviewLeaseEditingMode.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +9 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeAutosave.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +3 -4
- package/dist/_dts/preview-next/src/client/preview/sdkConfig.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/usePreviewCustomizeWorkflowState.d.ts +4 -0
- package/dist/_dts/realtime/src/client.d.ts +3 -0
- package/dist/_dts/realtime/src/draftChannel.d.ts +91 -0
- package/dist/_dts/realtime/src/drafts.d.ts +210 -0
- package/dist/_dts/realtime/src/index.d.ts +3 -0
- package/dist/_dts/realtime/src/leaseChangeSubscriptions.d.ts +8 -0
- package/dist/_dts/realtime/src/types.d.ts +113 -0
- package/dist/_dts/realtime/src/useDraftChannel.d.ts +34 -0
- package/dist/_dts/realtime/src/useSiteRealtimeReload.d.ts +27 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -55
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +2 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/surfaces/src/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
- package/dist/client/{BookingMailingListNote-1n4Ch_u_.mjs → BookingMailingListNote-CzRt2dF_.mjs} +98 -96
- package/dist/client/DemoBookingPortalAccess-mxqwap3f.mjs +344 -0
- package/dist/client/{EventCombined.client-C0pgma9y.mjs → EventCombined.client-CDb11igO.mjs} +6 -6
- package/dist/client/{EventListing.client-4fhLOvHP.mjs → EventListing.client-EgYhzKPa.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-DScC4F3w.mjs → LeafletStaticMap-gtmtaA2b.mjs} +1 -1
- package/dist/client/{TerminalPanel-B5ZUsYhe.mjs → TerminalPanel-DvNUP5ot.mjs} +1 -1
- package/dist/client/{ThemedButton-DoVIV1Ao.mjs → ThemedButton-C7CeUJjW.mjs} +1 -1
- package/dist/client/{accordion-CoT5g7zo.mjs → accordion-kjvt49rA.mjs} +1 -1
- package/dist/client/{bookingForm-BWxB46xD.mjs → bookingForm-pbRZordh.mjs} +212 -62
- package/dist/client/bookings.mjs +616 -225
- package/dist/client/{carousel-DtNYWFd3.mjs → carousel-f4Zbmicv.mjs} +1 -1
- package/dist/client/{cart-z4qZih1Y.mjs → cart-DO20An50.mjs} +3 -3
- package/dist/client/{checkout-DpL7euFH.mjs → checkout-Du5amDR_.mjs} +3 -3
- package/dist/client/{checkoutUrls-BEfR7kVu.mjs → checkoutUrls-CXhko2Rv.mjs} +1 -1
- package/dist/client/client.mjs +1753 -823
- package/dist/client/{context-C8TinPJc.mjs → context-eW97E945.mjs} +4 -3
- package/dist/client/{dates-vwwxTeB0.mjs → dates-jPCirRea.mjs} +56 -11
- package/dist/client/{eventCalendar-DIbHfJXO.mjs → eventCalendar-C2M-iE4j.mjs} +9 -9
- package/dist/client/{eventCombined-DoGMJ6cg.mjs → eventCombined-W6ns3LHg.mjs} +4 -4
- package/dist/client/{eventDetails-BjN9v6a1.mjs → eventDetails-CR-GT0f0.mjs} +4 -4
- package/dist/client/{eventListing-DajjWgOv.mjs → eventListing-BK8AfYZz.mjs} +4 -4
- package/dist/client/{eventRegistration-DMq9gMA-.mjs → eventRegistration-BJSd4KUu.mjs} +369 -242
- package/dist/client/{form-Qf6qTbos.mjs → form-BvpfbQaT.mjs} +3 -3
- package/dist/client/{headerSection-D7qJrqFX.mjs → headerSection-I5sUQ8x-.mjs} +3 -3
- package/dist/client/hooks.mjs +254 -53
- package/dist/client/{locationMap-CCF9-t_0.mjs → locationMap-BLvwf9_f.mjs} +3 -3
- package/dist/client/{media-CwBGetqC.mjs → media-Cl38iOMI.mjs} +10 -3
- package/dist/client/{newsletterForm-DzCLSP4S.mjs → newsletterForm-DrQ2weE8.mjs} +3 -3
- package/dist/client/{pricing-Cgxv2KLC.mjs → pricing-BES87mrR.mjs} +1 -1
- package/dist/client/{productDetail-ru9w5GHx.mjs → productDetail-Url9jcc5.mjs} +3 -3
- package/dist/client/{productList-zaapKSl-.mjs → productList-DE7ngEZJ.mjs} +3 -3
- package/dist/client/{propsDecoder-CwvvNOHx.mjs → propsDecoder-D1OtGXDV.mjs} +89 -17
- package/dist/client/rendering/client.mjs +1445 -658
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +2478 -1515
- package/dist/client/{routeIslandApiConfig-BwVFo0Y4.mjs → routeIslandApiConfig-BG9Y-SHg.mjs} +1 -1
- package/dist/client/{shop-mktkXvbV.mjs → shop-CJkuySJ3.mjs} +126 -79
- package/dist/client/{shop-commerce-De7gEnkA.mjs → shop-commerce-4rKj5n9h.mjs} +25 -13
- package/dist/client/{shop-commerce-store-B3MCxIBW.mjs → shop-commerce-store-Bxm75Pg6.mjs} +1 -1
- package/dist/client/{shopShared-TqExh235.mjs → shopShared-DpoQDWfz.mjs} +4 -4
- package/dist/client/{useEventFilters-n_OjkIjX.mjs → useEventFilters-D8HliSqR.mjs} +32 -17
- package/dist/preview-next/before-render.mjs +192 -83
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +192 -83
- package/dist/preview-next/middleware.mjs +192 -83
- package/dist/{previewAuthStore-C_EHQ5XA.mjs → previewAuthStore-BXXF3hhW.mjs} +194 -83
- package/dist/{sdk-runtime-BIkJg5y1.mjs → sdk-runtime-C2a05WjL.mjs} +2 -2
- package/dist/{separator-C9qDP95Z.mjs → separator-CuNhBAhS.mjs} +1 -1
- package/dist/server/components.mjs +1720 -1392
- package/dist/server/config-validation.mjs +221 -37
- package/dist/server/config.mjs +221 -37
- package/dist/server/data.mjs +221 -37
- package/dist/server/index.mjs +195 -84
- package/dist/server/next.mjs +490 -196
- package/dist/server/page-converter.mjs +53 -14
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1427 -1098
- package/dist/server/rendering.mjs +2693 -2365
- package/dist/server/routing.mjs +291 -55
- package/dist/server/server.mjs +281 -114
- package/package.json +1 -1
- package/dist/_dts/billing/src/plans/display.d.ts +0 -15
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.mailing-list-note.d.ts +0 -3
- package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +0 -4
- package/dist/_dts/content-editor/src/controller/buildPublishSuccessTransition.d.ts +0 -16
- package/dist/_dts/content-editor/src/controller/driver.d.ts +0 -14
- package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +0 -7
- package/dist/_dts/content-editor/src/controller/useEntrySyncHelpers.d.ts +0 -29
- package/dist/_dts/content-editor/src/hooks/autosaveScopePlanning.d.ts +0 -26
- package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +0 -64
- package/dist/_dts/content-editor/src/hooks/useStoreAutosave.d.ts +0 -48
- package/dist/_dts/content-editor/src/types.d.ts +0 -44
- package/dist/client/DiscountCodeDisclosure-CKJtz0mY.mjs +0 -137
|
@@ -1640,7 +1640,6 @@ export type Database = {
|
|
|
1640
1640
|
ends_at: string | null;
|
|
1641
1641
|
id: string;
|
|
1642
1642
|
idempotency_key: string;
|
|
1643
|
-
interval: Database["public"]["Enums"]["plan_price_interval"];
|
|
1644
1643
|
kind: Database["public"]["Enums"]["billing_component_kind"];
|
|
1645
1644
|
last_registrar_error: string | null;
|
|
1646
1645
|
last_sync_error: string | null;
|
|
@@ -1664,7 +1663,6 @@ export type Database = {
|
|
|
1664
1663
|
ends_at?: string | null;
|
|
1665
1664
|
id?: string;
|
|
1666
1665
|
idempotency_key: string;
|
|
1667
|
-
interval: Database["public"]["Enums"]["plan_price_interval"];
|
|
1668
1666
|
kind: Database["public"]["Enums"]["billing_component_kind"];
|
|
1669
1667
|
last_registrar_error?: string | null;
|
|
1670
1668
|
last_sync_error?: string | null;
|
|
@@ -1688,7 +1686,6 @@ export type Database = {
|
|
|
1688
1686
|
ends_at?: string | null;
|
|
1689
1687
|
id?: string;
|
|
1690
1688
|
idempotency_key?: string;
|
|
1691
|
-
interval?: Database["public"]["Enums"]["plan_price_interval"];
|
|
1692
1689
|
kind?: Database["public"]["Enums"]["billing_component_kind"];
|
|
1693
1690
|
last_registrar_error?: string | null;
|
|
1694
1691
|
last_sync_error?: string | null;
|
|
@@ -1792,7 +1789,6 @@ export type Database = {
|
|
|
1792
1789
|
created_by: string | null;
|
|
1793
1790
|
currency: string;
|
|
1794
1791
|
id: string;
|
|
1795
|
-
interval: Database["public"]["Enums"]["plan_price_interval"];
|
|
1796
1792
|
is_active: boolean;
|
|
1797
1793
|
plan_id: string;
|
|
1798
1794
|
reason: string | null;
|
|
@@ -1807,7 +1803,6 @@ export type Database = {
|
|
|
1807
1803
|
created_by?: string | null;
|
|
1808
1804
|
currency?: string;
|
|
1809
1805
|
id?: string;
|
|
1810
|
-
interval: Database["public"]["Enums"]["plan_price_interval"];
|
|
1811
1806
|
is_active?: boolean;
|
|
1812
1807
|
plan_id: string;
|
|
1813
1808
|
reason?: string | null;
|
|
@@ -1822,7 +1817,6 @@ export type Database = {
|
|
|
1822
1817
|
created_by?: string | null;
|
|
1823
1818
|
currency?: string;
|
|
1824
1819
|
id?: string;
|
|
1825
|
-
interval?: Database["public"]["Enums"]["plan_price_interval"];
|
|
1826
1820
|
is_active?: boolean;
|
|
1827
1821
|
plan_id?: string;
|
|
1828
1822
|
reason?: string | null;
|
|
@@ -1863,7 +1857,6 @@ export type Database = {
|
|
|
1863
1857
|
cancel_at_period_end: boolean;
|
|
1864
1858
|
created_at: string;
|
|
1865
1859
|
current_period_end: string | null;
|
|
1866
|
-
interval: Database["public"]["Enums"]["billing_interval"];
|
|
1867
1860
|
plan_id: string;
|
|
1868
1861
|
raw: Json | null;
|
|
1869
1862
|
status: string;
|
|
@@ -1879,7 +1872,6 @@ export type Database = {
|
|
|
1879
1872
|
cancel_at_period_end?: boolean;
|
|
1880
1873
|
created_at?: string;
|
|
1881
1874
|
current_period_end?: string | null;
|
|
1882
|
-
interval?: Database["public"]["Enums"]["billing_interval"];
|
|
1883
1875
|
plan_id: string;
|
|
1884
1876
|
raw?: Json | null;
|
|
1885
1877
|
status: string;
|
|
@@ -1895,7 +1887,6 @@ export type Database = {
|
|
|
1895
1887
|
cancel_at_period_end?: boolean;
|
|
1896
1888
|
created_at?: string;
|
|
1897
1889
|
current_period_end?: string | null;
|
|
1898
|
-
interval?: Database["public"]["Enums"]["billing_interval"];
|
|
1899
1890
|
plan_id?: string;
|
|
1900
1891
|
raw?: Json | null;
|
|
1901
1892
|
status?: string;
|
|
@@ -5836,8 +5827,6 @@ export type Database = {
|
|
|
5836
5827
|
id: string;
|
|
5837
5828
|
metadata: Json;
|
|
5838
5829
|
published_at: string | null;
|
|
5839
|
-
source_recipe_key: string | null;
|
|
5840
|
-
source_site_id: string | null;
|
|
5841
5830
|
version_label: string;
|
|
5842
5831
|
};
|
|
5843
5832
|
Insert: {
|
|
@@ -5850,8 +5839,6 @@ export type Database = {
|
|
|
5850
5839
|
id?: string;
|
|
5851
5840
|
metadata?: Json;
|
|
5852
5841
|
published_at?: string | null;
|
|
5853
|
-
source_recipe_key?: string | null;
|
|
5854
|
-
source_site_id?: string | null;
|
|
5855
5842
|
version_label: string;
|
|
5856
5843
|
};
|
|
5857
5844
|
Update: {
|
|
@@ -5864,8 +5851,6 @@ export type Database = {
|
|
|
5864
5851
|
id?: string;
|
|
5865
5852
|
metadata?: Json;
|
|
5866
5853
|
published_at?: string | null;
|
|
5867
|
-
source_recipe_key?: string | null;
|
|
5868
|
-
source_site_id?: string | null;
|
|
5869
5854
|
version_label?: string;
|
|
5870
5855
|
};
|
|
5871
5856
|
Relationships: [
|
|
@@ -5875,13 +5860,6 @@ export type Database = {
|
|
|
5875
5860
|
isOneToOne: false;
|
|
5876
5861
|
referencedRelation: "demo_blueprints";
|
|
5877
5862
|
referencedColumns: ["id"];
|
|
5878
|
-
},
|
|
5879
|
-
{
|
|
5880
|
-
foreignKeyName: "demo_blueprint_versions_source_site_id_fkey";
|
|
5881
|
-
columns: ["source_site_id"];
|
|
5882
|
-
isOneToOne: false;
|
|
5883
|
-
referencedRelation: "sites";
|
|
5884
|
-
referencedColumns: ["id"];
|
|
5885
5863
|
}
|
|
5886
5864
|
];
|
|
5887
5865
|
};
|
|
@@ -5893,8 +5871,6 @@ export type Database = {
|
|
|
5893
5871
|
metadata: Json;
|
|
5894
5872
|
notes: string | null;
|
|
5895
5873
|
slug: string;
|
|
5896
|
-
source_recipe_key: string | null;
|
|
5897
|
-
source_site_id: string | null;
|
|
5898
5874
|
status: string;
|
|
5899
5875
|
updated_at: string;
|
|
5900
5876
|
};
|
|
@@ -5905,8 +5881,6 @@ export type Database = {
|
|
|
5905
5881
|
metadata?: Json;
|
|
5906
5882
|
notes?: string | null;
|
|
5907
5883
|
slug: string;
|
|
5908
|
-
source_recipe_key?: string | null;
|
|
5909
|
-
source_site_id?: string | null;
|
|
5910
5884
|
status?: string;
|
|
5911
5885
|
updated_at?: string;
|
|
5912
5886
|
};
|
|
@@ -5917,20 +5891,10 @@ export type Database = {
|
|
|
5917
5891
|
metadata?: Json;
|
|
5918
5892
|
notes?: string | null;
|
|
5919
5893
|
slug?: string;
|
|
5920
|
-
source_recipe_key?: string | null;
|
|
5921
|
-
source_site_id?: string | null;
|
|
5922
5894
|
status?: string;
|
|
5923
5895
|
updated_at?: string;
|
|
5924
5896
|
};
|
|
5925
|
-
Relationships: [
|
|
5926
|
-
{
|
|
5927
|
-
foreignKeyName: "demo_blueprints_source_site_id_fkey";
|
|
5928
|
-
columns: ["source_site_id"];
|
|
5929
|
-
isOneToOne: false;
|
|
5930
|
-
referencedRelation: "sites";
|
|
5931
|
-
referencedColumns: ["id"];
|
|
5932
|
-
}
|
|
5933
|
-
];
|
|
5897
|
+
Relationships: [];
|
|
5934
5898
|
};
|
|
5935
5899
|
demo_claims: {
|
|
5936
5900
|
Row: {
|
|
@@ -6046,7 +6010,6 @@ export type Database = {
|
|
|
6046
6010
|
demo_instances: {
|
|
6047
6011
|
Row: {
|
|
6048
6012
|
available_at: string | null;
|
|
6049
|
-
base_domain: string | null;
|
|
6050
6013
|
blueprint_id: string;
|
|
6051
6014
|
blueprint_version_id: string;
|
|
6052
6015
|
claimed_at: string | null;
|
|
@@ -6055,17 +6018,13 @@ export type Database = {
|
|
|
6055
6018
|
failure_context: Json | null;
|
|
6056
6019
|
failure_reason: string | null;
|
|
6057
6020
|
id: string;
|
|
6058
|
-
last_recycled_at: string | null;
|
|
6059
6021
|
metadata: Json;
|
|
6060
|
-
route_path: string | null;
|
|
6061
|
-
routing_kind: string;
|
|
6062
6022
|
site_id: string;
|
|
6063
6023
|
status: string;
|
|
6064
6024
|
updated_at: string;
|
|
6065
6025
|
};
|
|
6066
6026
|
Insert: {
|
|
6067
6027
|
available_at?: string | null;
|
|
6068
|
-
base_domain?: string | null;
|
|
6069
6028
|
blueprint_id: string;
|
|
6070
6029
|
blueprint_version_id: string;
|
|
6071
6030
|
claimed_at?: string | null;
|
|
@@ -6074,17 +6033,13 @@ export type Database = {
|
|
|
6074
6033
|
failure_context?: Json | null;
|
|
6075
6034
|
failure_reason?: string | null;
|
|
6076
6035
|
id?: string;
|
|
6077
|
-
last_recycled_at?: string | null;
|
|
6078
6036
|
metadata?: Json;
|
|
6079
|
-
route_path?: string | null;
|
|
6080
|
-
routing_kind?: string;
|
|
6081
6037
|
site_id: string;
|
|
6082
6038
|
status?: string;
|
|
6083
6039
|
updated_at?: string;
|
|
6084
6040
|
};
|
|
6085
6041
|
Update: {
|
|
6086
6042
|
available_at?: string | null;
|
|
6087
|
-
base_domain?: string | null;
|
|
6088
6043
|
blueprint_id?: string;
|
|
6089
6044
|
blueprint_version_id?: string;
|
|
6090
6045
|
claimed_at?: string | null;
|
|
@@ -6093,10 +6048,7 @@ export type Database = {
|
|
|
6093
6048
|
failure_context?: Json | null;
|
|
6094
6049
|
failure_reason?: string | null;
|
|
6095
6050
|
id?: string;
|
|
6096
|
-
last_recycled_at?: string | null;
|
|
6097
6051
|
metadata?: Json;
|
|
6098
|
-
route_path?: string | null;
|
|
6099
|
-
routing_kind?: string;
|
|
6100
6052
|
site_id?: string;
|
|
6101
6053
|
status?: string;
|
|
6102
6054
|
updated_at?: string;
|
|
@@ -6180,43 +6132,7 @@ export type Database = {
|
|
|
6180
6132
|
source_context?: Json | null;
|
|
6181
6133
|
target_kind?: string;
|
|
6182
6134
|
};
|
|
6183
|
-
Relationships: [
|
|
6184
|
-
{
|
|
6185
|
-
foreignKeyName: "demo_lifecycle_audit_events_blueprint_id_fkey";
|
|
6186
|
-
columns: ["blueprint_id"];
|
|
6187
|
-
isOneToOne: false;
|
|
6188
|
-
referencedRelation: "demo_blueprints";
|
|
6189
|
-
referencedColumns: ["id"];
|
|
6190
|
-
},
|
|
6191
|
-
{
|
|
6192
|
-
foreignKeyName: "demo_lifecycle_audit_events_blueprint_version_id_fkey";
|
|
6193
|
-
columns: ["blueprint_version_id"];
|
|
6194
|
-
isOneToOne: false;
|
|
6195
|
-
referencedRelation: "demo_blueprint_versions";
|
|
6196
|
-
referencedColumns: ["id"];
|
|
6197
|
-
},
|
|
6198
|
-
{
|
|
6199
|
-
foreignKeyName: "demo_lifecycle_audit_events_claim_id_fkey";
|
|
6200
|
-
columns: ["claim_id"];
|
|
6201
|
-
isOneToOne: false;
|
|
6202
|
-
referencedRelation: "demo_claims";
|
|
6203
|
-
referencedColumns: ["id"];
|
|
6204
|
-
},
|
|
6205
|
-
{
|
|
6206
|
-
foreignKeyName: "demo_lifecycle_audit_events_instance_id_fkey";
|
|
6207
|
-
columns: ["instance_id"];
|
|
6208
|
-
isOneToOne: false;
|
|
6209
|
-
referencedRelation: "demo_instances";
|
|
6210
|
-
referencedColumns: ["id"];
|
|
6211
|
-
},
|
|
6212
|
-
{
|
|
6213
|
-
foreignKeyName: "demo_lifecycle_audit_events_site_id_fkey";
|
|
6214
|
-
columns: ["site_id"];
|
|
6215
|
-
isOneToOne: false;
|
|
6216
|
-
referencedRelation: "sites";
|
|
6217
|
-
referencedColumns: ["id"];
|
|
6218
|
-
}
|
|
6219
|
-
];
|
|
6135
|
+
Relationships: [];
|
|
6220
6136
|
};
|
|
6221
6137
|
demo_lifecycle_jobs: {
|
|
6222
6138
|
Row: {
|
|
@@ -7440,6 +7356,50 @@ export type Database = {
|
|
|
7440
7356
|
}
|
|
7441
7357
|
];
|
|
7442
7358
|
};
|
|
7359
|
+
edit_leases: {
|
|
7360
|
+
Row: {
|
|
7361
|
+
created_at: string;
|
|
7362
|
+
expires_at: string;
|
|
7363
|
+
holder_client_id: string;
|
|
7364
|
+
holder_user_id: string;
|
|
7365
|
+
node_id: string;
|
|
7366
|
+
node_type: Database["public"]["Enums"]["route_node_type"];
|
|
7367
|
+
site_id: string;
|
|
7368
|
+
token: string;
|
|
7369
|
+
updated_at: string;
|
|
7370
|
+
};
|
|
7371
|
+
Insert: {
|
|
7372
|
+
created_at?: string;
|
|
7373
|
+
expires_at: string;
|
|
7374
|
+
holder_client_id: string;
|
|
7375
|
+
holder_user_id: string;
|
|
7376
|
+
node_id: string;
|
|
7377
|
+
node_type: Database["public"]["Enums"]["route_node_type"];
|
|
7378
|
+
site_id: string;
|
|
7379
|
+
token?: string;
|
|
7380
|
+
updated_at?: string;
|
|
7381
|
+
};
|
|
7382
|
+
Update: {
|
|
7383
|
+
created_at?: string;
|
|
7384
|
+
expires_at?: string;
|
|
7385
|
+
holder_client_id?: string;
|
|
7386
|
+
holder_user_id?: string;
|
|
7387
|
+
node_id?: string;
|
|
7388
|
+
node_type?: Database["public"]["Enums"]["route_node_type"];
|
|
7389
|
+
site_id?: string;
|
|
7390
|
+
token?: string;
|
|
7391
|
+
updated_at?: string;
|
|
7392
|
+
};
|
|
7393
|
+
Relationships: [
|
|
7394
|
+
{
|
|
7395
|
+
foreignKeyName: "edit_leases_site_id_fkey";
|
|
7396
|
+
columns: ["site_id"];
|
|
7397
|
+
isOneToOne: false;
|
|
7398
|
+
referencedRelation: "sites";
|
|
7399
|
+
referencedColumns: ["id"];
|
|
7400
|
+
}
|
|
7401
|
+
];
|
|
7402
|
+
};
|
|
7443
7403
|
email_events: {
|
|
7444
7404
|
Row: {
|
|
7445
7405
|
created_at: string;
|
|
@@ -13570,36 +13530,6 @@ export type Database = {
|
|
|
13570
13530
|
}
|
|
13571
13531
|
];
|
|
13572
13532
|
};
|
|
13573
|
-
platform_plan_prices: {
|
|
13574
|
-
Row: {
|
|
13575
|
-
amount_cents: number;
|
|
13576
|
-
created_at: string;
|
|
13577
|
-
currency: string;
|
|
13578
|
-
id: string;
|
|
13579
|
-
interval: Database["public"]["Enums"]["plan_price_interval"];
|
|
13580
|
-
plan_id: string;
|
|
13581
|
-
updated_at: string;
|
|
13582
|
-
};
|
|
13583
|
-
Insert: {
|
|
13584
|
-
amount_cents: number;
|
|
13585
|
-
created_at?: string;
|
|
13586
|
-
currency?: string;
|
|
13587
|
-
id?: string;
|
|
13588
|
-
interval: Database["public"]["Enums"]["plan_price_interval"];
|
|
13589
|
-
plan_id: string;
|
|
13590
|
-
updated_at?: string;
|
|
13591
|
-
};
|
|
13592
|
-
Update: {
|
|
13593
|
-
amount_cents?: number;
|
|
13594
|
-
created_at?: string;
|
|
13595
|
-
currency?: string;
|
|
13596
|
-
id?: string;
|
|
13597
|
-
interval?: Database["public"]["Enums"]["plan_price_interval"];
|
|
13598
|
-
plan_id?: string;
|
|
13599
|
-
updated_at?: string;
|
|
13600
|
-
};
|
|
13601
|
-
Relationships: [];
|
|
13602
|
-
};
|
|
13603
13533
|
product_categories: {
|
|
13604
13534
|
Row: {
|
|
13605
13535
|
content_entry_id: string | null;
|
|
@@ -15650,6 +15580,7 @@ export type Database = {
|
|
|
15650
15580
|
node_type: Database["public"]["Enums"]["route_node_type"];
|
|
15651
15581
|
og_image_id: string | null;
|
|
15652
15582
|
published_at: string | null;
|
|
15583
|
+
published_changed_at: string | null;
|
|
15653
15584
|
published_meta_description: string | null;
|
|
15654
15585
|
published_meta_title: string | null;
|
|
15655
15586
|
published_path: string;
|
|
@@ -15684,6 +15615,7 @@ export type Database = {
|
|
|
15684
15615
|
node_type: Database["public"]["Enums"]["route_node_type"];
|
|
15685
15616
|
og_image_id?: string | null;
|
|
15686
15617
|
published_at?: string | null;
|
|
15618
|
+
published_changed_at?: string | null;
|
|
15687
15619
|
published_meta_description?: string | null;
|
|
15688
15620
|
published_meta_title?: string | null;
|
|
15689
15621
|
published_path: string;
|
|
@@ -15718,6 +15650,7 @@ export type Database = {
|
|
|
15718
15650
|
node_type?: Database["public"]["Enums"]["route_node_type"];
|
|
15719
15651
|
og_image_id?: string | null;
|
|
15720
15652
|
published_at?: string | null;
|
|
15653
|
+
published_changed_at?: string | null;
|
|
15721
15654
|
published_meta_description?: string | null;
|
|
15722
15655
|
published_meta_title?: string | null;
|
|
15723
15656
|
published_path?: string;
|
|
@@ -19005,6 +18938,7 @@ export type Database = {
|
|
|
19005
18938
|
};
|
|
19006
18939
|
commit_authoritative_page_surface_draft_version_scoped_v1: {
|
|
19007
18940
|
Args: {
|
|
18941
|
+
p_content_unchanged?: boolean;
|
|
19008
18942
|
p_data: Json;
|
|
19009
18943
|
p_design_state: Json;
|
|
19010
18944
|
p_expected_draft_data: Json;
|
|
@@ -19012,27 +18946,15 @@ export type Database = {
|
|
|
19012
18946
|
p_expected_draft_version_id: string;
|
|
19013
18947
|
p_expected_mailing_list_account_id?: string;
|
|
19014
18948
|
p_expected_mailing_list_provider?: string;
|
|
18949
|
+
p_expected_published_version_id?: string;
|
|
19015
18950
|
p_owner_id: string;
|
|
19016
18951
|
p_owner_kind: Database["public"]["Enums"]["content_owner_kind"];
|
|
18952
|
+
p_save_intent?: string;
|
|
19017
18953
|
p_site_id: string;
|
|
19018
18954
|
p_user_id: string;
|
|
19019
18955
|
p_version: number;
|
|
19020
18956
|
};
|
|
19021
|
-
Returns:
|
|
19022
|
-
block_id: string;
|
|
19023
|
-
content_entry_id: string;
|
|
19024
|
-
data: Json;
|
|
19025
|
-
design_state: Json;
|
|
19026
|
-
entry_slot_id: string;
|
|
19027
|
-
id: string;
|
|
19028
|
-
owner_kind: Database["public"]["Enums"]["content_owner_kind"];
|
|
19029
|
-
page_id: string;
|
|
19030
|
-
page_surface_id: string;
|
|
19031
|
-
stage: Database["public"]["Enums"]["content_stage"];
|
|
19032
|
-
surface_slot_id: string;
|
|
19033
|
-
updated_at: string;
|
|
19034
|
-
version: number;
|
|
19035
|
-
}[];
|
|
18957
|
+
Returns: Json;
|
|
19036
18958
|
};
|
|
19037
18959
|
commit_content_draft_version: {
|
|
19038
18960
|
Args: {
|
|
@@ -19198,6 +19120,19 @@ export type Database = {
|
|
|
19198
19120
|
replayed: boolean;
|
|
19199
19121
|
}[];
|
|
19200
19122
|
};
|
|
19123
|
+
commit_page_publication: {
|
|
19124
|
+
Args: {
|
|
19125
|
+
p_canonical_path: string;
|
|
19126
|
+
p_expected_revision: string;
|
|
19127
|
+
p_media_asset_ids: string[];
|
|
19128
|
+
p_media_identifiers: string[];
|
|
19129
|
+
p_page_id: string;
|
|
19130
|
+
p_prepared_design_state: Json;
|
|
19131
|
+
p_site_id: string;
|
|
19132
|
+
p_user_id: string;
|
|
19133
|
+
};
|
|
19134
|
+
Returns: Json;
|
|
19135
|
+
};
|
|
19201
19136
|
compensate_dated_offering_waitlist_checkout_v2_atomic: {
|
|
19202
19137
|
Args: {
|
|
19203
19138
|
p_event_series_id: string;
|
|
@@ -19503,6 +19438,7 @@ export type Database = {
|
|
|
19503
19438
|
node_type: Database["public"]["Enums"]["route_node_type"];
|
|
19504
19439
|
og_image_id: string | null;
|
|
19505
19440
|
published_at: string | null;
|
|
19441
|
+
published_changed_at: string | null;
|
|
19506
19442
|
published_meta_description: string | null;
|
|
19507
19443
|
published_meta_title: string | null;
|
|
19508
19444
|
published_path: string;
|
|
@@ -19700,15 +19636,15 @@ export type Database = {
|
|
|
19700
19636
|
};
|
|
19701
19637
|
Returns: Json;
|
|
19702
19638
|
};
|
|
19703
|
-
|
|
19639
|
+
discard_authoritative_page_surface_draft: {
|
|
19704
19640
|
Args: {
|
|
19705
|
-
|
|
19706
|
-
|
|
19641
|
+
p_expected_content_draft_updated_at: string;
|
|
19642
|
+
p_expected_content_draft_version_id: string;
|
|
19707
19643
|
p_page_surface_id: string;
|
|
19708
19644
|
p_site_id: string;
|
|
19709
19645
|
p_user_id: string;
|
|
19710
19646
|
};
|
|
19711
|
-
Returns:
|
|
19647
|
+
Returns: Json;
|
|
19712
19648
|
};
|
|
19713
19649
|
dispose_dated_offering_whole_series_waitlist_v2_atomic: {
|
|
19714
19650
|
Args: {
|
|
@@ -19732,6 +19668,76 @@ export type Database = {
|
|
|
19732
19668
|
};
|
|
19733
19669
|
Returns: string;
|
|
19734
19670
|
};
|
|
19671
|
+
edit_lease_acquire: {
|
|
19672
|
+
Args: {
|
|
19673
|
+
p_client_id: string;
|
|
19674
|
+
p_expected_site_id: string;
|
|
19675
|
+
p_node_id: string;
|
|
19676
|
+
p_node_type: Database["public"]["Enums"]["route_node_type"];
|
|
19677
|
+
p_ttl_seconds: number;
|
|
19678
|
+
};
|
|
19679
|
+
Returns: Json;
|
|
19680
|
+
};
|
|
19681
|
+
edit_lease_check: {
|
|
19682
|
+
Args: {
|
|
19683
|
+
p_node_id: string;
|
|
19684
|
+
p_node_type: Database["public"]["Enums"]["route_node_type"];
|
|
19685
|
+
p_token: string;
|
|
19686
|
+
};
|
|
19687
|
+
Returns: boolean;
|
|
19688
|
+
};
|
|
19689
|
+
edit_lease_heartbeat: {
|
|
19690
|
+
Args: {
|
|
19691
|
+
p_expected_site_id: string;
|
|
19692
|
+
p_node_id: string;
|
|
19693
|
+
p_node_type: Database["public"]["Enums"]["route_node_type"];
|
|
19694
|
+
p_token: string;
|
|
19695
|
+
p_ttl_seconds: number;
|
|
19696
|
+
};
|
|
19697
|
+
Returns: Json;
|
|
19698
|
+
};
|
|
19699
|
+
edit_lease_holder: {
|
|
19700
|
+
Args: {
|
|
19701
|
+
p_lease: Database["public"]["Tables"]["edit_leases"]["Row"];
|
|
19702
|
+
};
|
|
19703
|
+
Returns: Json;
|
|
19704
|
+
};
|
|
19705
|
+
edit_lease_read: {
|
|
19706
|
+
Args: {
|
|
19707
|
+
p_client_id: string;
|
|
19708
|
+
p_expected_site_id: string;
|
|
19709
|
+
p_node_id: string;
|
|
19710
|
+
p_node_type: Database["public"]["Enums"]["route_node_type"];
|
|
19711
|
+
};
|
|
19712
|
+
Returns: Json;
|
|
19713
|
+
};
|
|
19714
|
+
edit_lease_release: {
|
|
19715
|
+
Args: {
|
|
19716
|
+
p_expected_site_id: string;
|
|
19717
|
+
p_node_id: string;
|
|
19718
|
+
p_node_type: Database["public"]["Enums"]["route_node_type"];
|
|
19719
|
+
p_token: string;
|
|
19720
|
+
};
|
|
19721
|
+
Returns: boolean;
|
|
19722
|
+
};
|
|
19723
|
+
edit_lease_scope_site_id: {
|
|
19724
|
+
Args: {
|
|
19725
|
+
p_expected_site_id: string;
|
|
19726
|
+
p_node_id: string;
|
|
19727
|
+
p_node_type: Database["public"]["Enums"]["route_node_type"];
|
|
19728
|
+
};
|
|
19729
|
+
Returns: string;
|
|
19730
|
+
};
|
|
19731
|
+
edit_lease_take_over: {
|
|
19732
|
+
Args: {
|
|
19733
|
+
p_client_id: string;
|
|
19734
|
+
p_expected_site_id: string;
|
|
19735
|
+
p_node_id: string;
|
|
19736
|
+
p_node_type: Database["public"]["Enums"]["route_node_type"];
|
|
19737
|
+
p_ttl_seconds: number;
|
|
19738
|
+
};
|
|
19739
|
+
Returns: Json;
|
|
19740
|
+
};
|
|
19735
19741
|
email_apply_webhook_receipt_atomic: {
|
|
19736
19742
|
Args: {
|
|
19737
19743
|
p_receipt_id: string;
|
|
@@ -20235,6 +20241,15 @@ export type Database = {
|
|
|
20235
20241
|
status: string;
|
|
20236
20242
|
}[];
|
|
20237
20243
|
};
|
|
20244
|
+
list_site_route_last_published_at: {
|
|
20245
|
+
Args: {
|
|
20246
|
+
p_site_id: string;
|
|
20247
|
+
};
|
|
20248
|
+
Returns: {
|
|
20249
|
+
last_published_at: string;
|
|
20250
|
+
route_id: string;
|
|
20251
|
+
}[];
|
|
20252
|
+
};
|
|
20238
20253
|
list_visible_appointment_overlap_slots: {
|
|
20239
20254
|
Args: {
|
|
20240
20255
|
p_end_at: string;
|
|
@@ -20767,6 +20782,14 @@ export type Database = {
|
|
|
20767
20782
|
};
|
|
20768
20783
|
Returns: Json;
|
|
20769
20784
|
};
|
|
20785
|
+
read_page_publication_snapshot: {
|
|
20786
|
+
Args: {
|
|
20787
|
+
p_page_id: string;
|
|
20788
|
+
p_site_id: string;
|
|
20789
|
+
p_user_id: string;
|
|
20790
|
+
};
|
|
20791
|
+
Returns: Json;
|
|
20792
|
+
};
|
|
20770
20793
|
read_published_runtime_cache_entry: {
|
|
20771
20794
|
Args: {
|
|
20772
20795
|
p_cache_key: string;
|
|
@@ -21070,7 +21093,6 @@ export type Database = {
|
|
|
21070
21093
|
Args: {
|
|
21071
21094
|
p_booking_settings: Json;
|
|
21072
21095
|
p_payment_options_source: string;
|
|
21073
|
-
p_presentation_json: Json;
|
|
21074
21096
|
p_preset: string;
|
|
21075
21097
|
p_submitted_payment_terms: Json;
|
|
21076
21098
|
};
|
|
@@ -21078,7 +21100,6 @@ export type Database = {
|
|
|
21078
21100
|
};
|
|
21079
21101
|
resolve_event_payment_archetype_v1: {
|
|
21080
21102
|
Args: {
|
|
21081
|
-
p_presentation_json: Json;
|
|
21082
21103
|
p_preset: string;
|
|
21083
21104
|
};
|
|
21084
21105
|
Returns: string;
|
|
@@ -21223,18 +21244,6 @@ export type Database = {
|
|
|
21223
21244
|
theme_id: string;
|
|
21224
21245
|
}[];
|
|
21225
21246
|
};
|
|
21226
|
-
save_event_page_words_v1: {
|
|
21227
|
-
Args: {
|
|
21228
|
-
p_data: Json;
|
|
21229
|
-
p_expected_draft_updated_at: string;
|
|
21230
|
-
p_expected_draft_version_id: string;
|
|
21231
|
-
p_expected_published_version_id: string;
|
|
21232
|
-
p_page_surface_id: string;
|
|
21233
|
-
p_site_id: string;
|
|
21234
|
-
p_user_id: string;
|
|
21235
|
-
};
|
|
21236
|
-
Returns: Json;
|
|
21237
|
-
};
|
|
21238
21247
|
select_dated_offering_run_cancellation_settlement_v1_atomic: {
|
|
21239
21248
|
Args: {
|
|
21240
21249
|
p_enrollment_id: string;
|
|
@@ -21330,6 +21339,7 @@ export type Database = {
|
|
|
21330
21339
|
node_type: Database["public"]["Enums"]["route_node_type"];
|
|
21331
21340
|
og_image_id: string | null;
|
|
21332
21341
|
published_at: string | null;
|
|
21342
|
+
published_changed_at: string | null;
|
|
21333
21343
|
published_meta_description: string | null;
|
|
21334
21344
|
published_meta_title: string | null;
|
|
21335
21345
|
published_path: string;
|
|
@@ -22166,7 +22176,6 @@ export type Database = {
|
|
|
22166
22176
|
billing_component_registrar_attempt_status: "in_flight" | "provider_succeeded" | "provider_failed" | "provider_unknown" | "provider_succeeded_persist_failed";
|
|
22167
22177
|
billing_component_source_entity_type: "site" | "site_domain";
|
|
22168
22178
|
billing_component_status: "pending_acceptance" | "accepted" | "sync_failed" | "registrar_failed" | "registrar_succeeded_persist_failed" | "active" | "ending" | "ended" | "failed";
|
|
22169
|
-
billing_interval: "monthly" | "annual";
|
|
22170
22179
|
cancellation_context_category: "customer_requested" | "schedule_conflict" | "duplicate_or_admin_error" | "non_payment" | "policy_or_eligibility" | "other" | "legacy_client_unspecified";
|
|
22171
22180
|
content_entry_status: "draft" | "scheduled" | "published" | "archived";
|
|
22172
22181
|
content_owner_kind: "block" | "entry" | "page" | "entry_slot" | "surface_slot" | "page_surface";
|
|
@@ -22186,7 +22195,6 @@ export type Database = {
|
|
|
22186
22195
|
newsletter_delivery_state: "pending" | "claimed" | "retry_wait" | "accepted" | "not_sent" | "unresolved";
|
|
22187
22196
|
newsletter_sender_entity_type: "individual" | "company" | "llp" | "charity" | "other";
|
|
22188
22197
|
newsletter_subscriber_status: "pending_confirmation" | "active" | "unsubscribed";
|
|
22189
|
-
plan_price_interval: "month" | "year";
|
|
22190
22198
|
route_node_type: "page" | "content_entry" | "page_surface" | "appointment_service";
|
|
22191
22199
|
route_status: "draft" | "published" | "scheduled" | "archived";
|
|
22192
22200
|
site_deployment_mode: "managed" | "headless_cms" | "headless_full";
|
|
@@ -22837,7 +22845,6 @@ export declare const Constants: {
|
|
|
22837
22845
|
readonly billing_component_registrar_attempt_status: readonly ["in_flight", "provider_succeeded", "provider_failed", "provider_unknown", "provider_succeeded_persist_failed"];
|
|
22838
22846
|
readonly billing_component_source_entity_type: readonly ["site", "site_domain"];
|
|
22839
22847
|
readonly billing_component_status: readonly ["pending_acceptance", "accepted", "sync_failed", "registrar_failed", "registrar_succeeded_persist_failed", "active", "ending", "ended", "failed"];
|
|
22840
|
-
readonly billing_interval: readonly ["monthly", "annual"];
|
|
22841
22848
|
readonly cancellation_context_category: readonly ["customer_requested", "schedule_conflict", "duplicate_or_admin_error", "non_payment", "policy_or_eligibility", "other", "legacy_client_unspecified"];
|
|
22842
22849
|
readonly content_entry_status: readonly ["draft", "scheduled", "published", "archived"];
|
|
22843
22850
|
readonly content_owner_kind: readonly ["block", "entry", "page", "entry_slot", "surface_slot", "page_surface"];
|
|
@@ -22857,7 +22864,6 @@ export declare const Constants: {
|
|
|
22857
22864
|
readonly newsletter_delivery_state: readonly ["pending", "claimed", "retry_wait", "accepted", "not_sent", "unresolved"];
|
|
22858
22865
|
readonly newsletter_sender_entity_type: readonly ["individual", "company", "llp", "charity", "other"];
|
|
22859
22866
|
readonly newsletter_subscriber_status: readonly ["pending_confirmation", "active", "unsubscribed"];
|
|
22860
|
-
readonly plan_price_interval: readonly ["month", "year"];
|
|
22861
22867
|
readonly route_node_type: readonly ["page", "content_entry", "page_surface", "appointment_service"];
|
|
22862
22868
|
readonly route_status: readonly ["draft", "published", "scheduled", "archived"];
|
|
22863
22869
|
readonly site_deployment_mode: readonly ["managed", "headless_cms", "headless_full"];
|
|
@@ -6,9 +6,13 @@ export type DrawerFocusTarget = {
|
|
|
6
6
|
};
|
|
7
7
|
export type DraftSyncState = 'baseline' | 'pending' | 'failed';
|
|
8
8
|
interface EditorContextType {
|
|
9
|
+
/** Requested and allowed: the tab is editing right now. */
|
|
9
10
|
isEditingMode: boolean;
|
|
11
|
+
/** The person asked to edit, whether or not editing is allowed yet (e.g. while the lease is held elsewhere). */
|
|
12
|
+
requestedEditingMode: boolean;
|
|
10
13
|
toggleEditingMode: () => void;
|
|
11
14
|
setEditingMode: (value: boolean) => void;
|
|
15
|
+
setEditingAllowed: (value: boolean) => void;
|
|
12
16
|
editingElement: string | null;
|
|
13
17
|
setEditingElement: (elementId: string | null) => void;
|
|
14
18
|
currentBlockId?: string;
|
|
@@ -21,6 +25,7 @@ export declare const useEditor: () => EditorContextType;
|
|
|
21
25
|
interface EditorProviderProps {
|
|
22
26
|
children: ReactNode;
|
|
23
27
|
initialEditingMode?: boolean;
|
|
28
|
+
initialEditingAllowed?: boolean;
|
|
24
29
|
}
|
|
25
30
|
export declare const EditorProvider: React.FC<EditorProviderProps>;
|
|
26
31
|
export {};
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import { type EditorHistoryBarControls, type EditorStatusBarToolbar, type StatusBarMenuItem } from './EditorStatusBar';
|
|
3
|
+
/**
|
|
4
|
+
* The status bar's toolbar: the caller's overrides, with anything they leave
|
|
5
|
+
* out following whether there is something unpublished.
|
|
6
|
+
*/
|
|
7
|
+
export declare function resolveChromeToolbar(toolbarOverrides: Partial<EditorStatusBarToolbar> | undefined, draftSyncState: 'baseline' | 'pending' | 'failed'): EditorStatusBarToolbar;
|
|
8
|
+
/**
|
|
9
|
+
* The kebab menu: Discard draft when the editor offers it (greyed while there
|
|
10
|
+
* is nothing to go back to), then Leave edit mode.
|
|
11
|
+
*/
|
|
12
|
+
export declare function buildChromeMenuItems(input: Readonly<{
|
|
13
|
+
onDiscard?: () => void | Promise<void>;
|
|
14
|
+
disableDiscard?: boolean;
|
|
15
|
+
leaveEditMode: () => void;
|
|
16
|
+
}>): StatusBarMenuItem[];
|
|
3
17
|
type EditorChromeProps = {
|
|
4
18
|
toolbarOverrides?: Partial<EditorStatusBarToolbar>;
|
|
5
19
|
onPublish?: () => void | Promise<void>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { DraftSyncState } from '../EditorProvider';
|
|
3
3
|
import type { DraftWorkflowStatus, EditorStatusBarProps, EditorStatusBarToolbar, StatusBarMenuItem } from './EditorStatusBar';
|
|
4
|
-
export declare function getLatestSavedAt(values: readonly (string | null)[]): string | null;
|
|
5
4
|
export type EditorStatusBarPresentationInput = Readonly<{
|
|
6
5
|
status: DraftWorkflowStatus;
|
|
7
6
|
lastSavedAt: string | null;
|