@riverbankcms/sdk 0.109.0 → 0.111.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/dist/{PreviewEditorSidebar-DWqwfy3_.mjs → PreviewEditorSidebar-CTR6LUhN.mjs} +178 -117
- package/dist/{PreviewEditorUI-B7OL4sfR.mjs → PreviewEditorUI-DZg15Zip.mjs} +3 -4
- package/dist/{PreviewQueryProvider-D0y2l8JN.mjs → PreviewQueryProvider-kkmjklLG.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-D8Gt9Gbe.mjs → SdkPreviewModeRuntime-DeOTAFvR.mjs} +229 -219
- package/dist/{SiteChromeCustomizeContext-DUpalEdL.mjs → SiteChromeCustomizeContext-DOSDLCiJ.mjs} +1695 -2169
- package/dist/_dts/ai/src/contracts/proposals.d.ts +1716 -76
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +5 -5
- package/dist/_dts/api/src/contentRuntime.d.ts +4 -1
- package/dist/_dts/api/src/courses.d.ts +30 -15
- package/dist/_dts/api/src/endpoints.d.ts +14 -4
- package/dist/_dts/api/src/index.d.ts +2 -2
- package/dist/_dts/api/src/sdkContracts.d.ts +23 -11
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/siteOperations.d.ts +11 -19
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -6
- package/dist/_dts/api/src/webhooks.d.ts +98 -1
- package/dist/_dts/billing/src/site-arrangements.d.ts +3 -0
- package/dist/_dts/blocks/src/client/course-registration.d.ts +4 -1
- package/dist/_dts/blocks/src/client.d.ts +4 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -4
- package/dist/_dts/blocks/src/index.d.ts +3 -1
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +2 -4
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/single-button.d.ts +2 -1
- package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +35 -0
- package/dist/_dts/blocks/src/system/fields/button.d.ts +10 -21
- package/dist/_dts/blocks/src/system/fields/ctas.d.ts +2 -1
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +9 -5
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +18 -18
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/buttonAffordance.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.contract.d.ts +326 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.planning.d.ts +27 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/file-download.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +6 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +7 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +2 -1
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +4 -2
- package/dist/_dts/content-editor/src/index.d.ts +12 -12
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +17 -2
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +221 -53
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/index.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/ButtonStylePicker.d.ts +16 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignOpenRequestContext.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +5 -11
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +5 -6
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +6 -7
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +7 -9
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +4 -11
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +7 -7
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +0 -8
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +1 -11
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +1 -5
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +2 -3
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +3 -4
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +3 -5
- package/dist/_dts/sdk/src/bookings/index.d.ts +5 -4
- package/dist/_dts/sdk/src/bookings/types.d.ts +3 -3
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +3 -2
- package/dist/_dts/sdk/src/client/management/types.d.ts +2 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +12 -15
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/sdk/src/webhooks/index.d.ts +1 -1
- package/dist/_dts/sdk/src/webhooks/verify.d.ts +3 -3
- package/dist/_dts/site-commands/src/commands.d.ts +129 -6
- package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/styles/domain.d.ts +80 -0
- package/dist/_dts/theme-core/src/buttons/styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/defineStaticButtonStyleRecipe.d.ts +49 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +67 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/staticRecipes.d.ts +649 -0
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +753 -0
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +69 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +26 -24
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +19 -153
- package/dist/_dts/theme-core/src/site-styles/headerCtaVariants.d.ts +3 -1
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +8 -9
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +4 -4
- package/dist/_dts/ui/src/palette/hex.d.ts +3 -3
- package/dist/cli/index.mjs +1760 -1914
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +1 -1
- package/dist/client/{DiscountCodeDisclosure-DU1ygxU2.mjs → DiscountCodeDisclosure-C4xvTBux.mjs} +1 -1
- package/dist/client/{EventCombined.client-DB5zagCo.mjs → EventCombined.client-Cr7G131j.mjs} +2 -3
- package/dist/client/{EventListing.client-CTX9JHBL.mjs → EventListing.client-CAjbseNy.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BYImhgiB.mjs → LeafletStaticMap-BMlWfwz3.mjs} +1 -1
- package/dist/client/{MagicLinkForm-CRkw_M3l.mjs → MagicLinkForm-ChdFz96y.mjs} +1 -2
- package/dist/client/{StepIndicator-BnmVBJJh.mjs → StepIndicator-7D3GaBeM.mjs} +2 -2
- package/dist/client/{accordion-CeGreumd.mjs → accordion-D8JTs2Si.mjs} +1 -1
- package/dist/client/{bookingForm-CSzFNrpN.mjs → bookingForm-H3DCRBHs.mjs} +6 -7
- package/dist/client/bookings.mjs +3069 -1447
- package/dist/client/{carousel-B2jDtogf.mjs → carousel-DMr_QWlz.mjs} +1 -1
- package/dist/client/{cart-D-jZ-vaY.mjs → cart-DWMbfBdR.mjs} +3 -3
- package/dist/client/{checkout-Dza-LA7N.mjs → checkout-zmfdkXLx.mjs} +3 -3
- package/dist/client/client.mjs +1732 -1913
- package/dist/client/{colorStyles-CrgzoXsm.mjs → colorStyles-gcTh5yZT.mjs} +2 -12
- package/dist/client/{colorTokenParts-CMugwvX_.mjs → colorTokenParts-FSS3al6l.mjs} +31 -1
- package/dist/client/{courseRegistration-TYkNychb.mjs → courseRegistration-Z_mn18jy.mjs} +100 -37
- package/dist/client/{eventCalendar-BI_90SsT.mjs → eventCalendar-CYp0YJGF.mjs} +4 -5
- package/dist/client/{eventCombined-mNrpryE9.mjs → eventCombined-rKyYZUa9.mjs} +2 -2
- package/dist/client/{eventDetails-D4GVlCIY.mjs → eventDetails-X0ZaUuMj.mjs} +3 -3
- package/dist/client/{eventListing-YhKN018y.mjs → eventListing-W1SuL7EP.mjs} +2 -2
- package/dist/client/{eventRegistration-CdHGtilr.mjs → eventRegistration-ClWricui.mjs} +6 -7
- package/dist/client/{form-AcAL45rA.mjs → form--eKPwAAD.mjs} +1 -2
- package/dist/client/{headerSection-uEC52ueD.mjs → headerSection-BSeGr-FS.mjs} +2 -3
- package/dist/client/hooks.mjs +1554 -1871
- package/dist/client/{locationMap-_wJDSUYe.mjs → locationMap-BpOrtNYn.mjs} +8 -5
- package/dist/client/{media-BK0O3b-U.mjs → media-DoF0dcVx.mjs} +2 -2
- package/dist/client/{newsletterForm-DrArsb2B.mjs → newsletterForm-Bt7it7Dy.mjs} +1 -2
- package/dist/client/{pricing-BSYVghwo.mjs → pricing-BTjSDDr4.mjs} +1 -1
- package/dist/client/{productDetail-Dyk90sMs.mjs → productDetail-ICnVTcCg.mjs} +3 -3
- package/dist/client/{productList-BCKThwAI.mjs → productList-ZHr6D604.mjs} +3 -3
- package/dist/client/{propsDecoder-CkXxkdSR.mjs → propsDecoder-wWN0tBDF.mjs} +2351 -129
- package/dist/client/rendering/client.mjs +1664 -1824
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +1697 -1909
- package/dist/client/{shop-DeltVH10.mjs → shop-C1u_BUn0.mjs} +5 -6
- package/dist/client/{shop-commerce-BD9Jsm2Z.mjs → shop-commerce-CleZdRha.mjs} +5 -6
- package/dist/client/{shop-commerce-store-CmXD6FDS.mjs → shop-commerce-store-ycnoB2Ce.mjs} +1 -1
- package/dist/client/{shopShared-B8v-lH_F.mjs → shopShared-CPhByt2a.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DbWJN8ld.mjs → useDiscountCodeUi-cStSQI6C.mjs} +1 -1
- package/dist/client/{useEventFilters-EJIMUnqT.mjs → useEventFilters-DKPN7hSY.mjs} +26 -27
- package/dist/client/{usePolling-Cmh14fc7.mjs → usePolling-BKAd6pkZ.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +37 -6
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +37 -6
- package/dist/{previewAuthStore-CTO7CRPk.mjs → previewAuthStore-BkT1D06A.mjs} +37 -6
- package/dist/{sdk-runtime-Dou0GAav.mjs → sdk-runtime-hu3wr3ng.mjs} +2 -2
- package/dist/{separator-CI5wZNXT.mjs → separator-Bln8izQ9.mjs} +1 -1
- package/dist/server/components.mjs +1472 -1788
- package/dist/server/config-validation.mjs +1559 -1876
- package/dist/server/config.mjs +1559 -1876
- package/dist/server/data.mjs +1554 -1871
- package/dist/server/index.mjs +38 -7
- package/dist/server/next/revalidate.mjs +53 -1
- package/dist/server/next.mjs +1584 -1869
- package/dist/server/page-converter.mjs +1543 -1860
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1472 -1788
- package/dist/server/rendering.mjs +1472 -1788
- package/dist/server/routing.mjs +1600 -1891
- package/dist/server/server.mjs +1574 -1860
- package/dist/server/theme-bridge.mjs +1436 -1619
- package/dist/server/theme.mjs +1345 -1241
- package/dist/server/webhooks.mjs +54 -2
- package/package.json +1 -1
- package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/earth-pill.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/flat-ink.d.ts +0 -20
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +0 -172
- package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +0 -22
- package/dist/_dts/theme-core/src/buttons/personalities/ornate-ritual.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/two-tone-pill.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +0 -285
- package/dist/client/buttons-DoFV7KDL.mjs +0 -2115
- package/dist/client/foregroundContract-xICPq59x.mjs +0 -31
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
export * from './registry';
|
|
2
2
|
export * from './services';
|
|
3
|
-
export { useDebouncedLatestSave, type DebouncedLatestSaveConfig, type DebouncedLatestSaveHandle } from './hooks/useDebouncedLatestSave';
|
|
3
|
+
export { useDebouncedLatestSave, type DebouncedLatestSaveConfig, type DebouncedLatestSaveHandle, } from './hooks/useDebouncedLatestSave';
|
|
4
4
|
export { useSimpleAutosave, useMultiAutosave } from './hooks/useSimpleAutosave';
|
|
5
|
-
export { useStoreAutosave, type StoreAutosaveConfig, type AutosaveScope } from './hooks/useStoreAutosave';
|
|
6
|
-
export { useBlockAutosave, type BlockAutosaveOptions } from './hooks/useBlockAutosave';
|
|
5
|
+
export { useStoreAutosave, type StoreAutosaveConfig, type AutosaveScope, } from './hooks/useStoreAutosave';
|
|
6
|
+
export { useBlockAutosave, type BlockAutosaveOptions, } from './hooks/useBlockAutosave';
|
|
7
7
|
export { collectPendingLinkedEntrySaves, useLinkedEntryAutosave, type LinkedEntryAutosaveOptions, type LinkedEntrySaveResult, type PendingLinkedEntrySave, } from './hooks/useLinkedEntryAutosave';
|
|
8
8
|
export { unsafeAsLinkedContentEntryId, unsafeAsLinkedContentTypeKey, type LinkedContentEntryId, type LinkedContentTypeKey, } from './linkedEntries/domain';
|
|
9
|
-
export { useEntryActions, type EntryActionsOptions } from './hooks/useEntryActions';
|
|
9
|
+
export { useEntryActions, type EntryActionsOptions, } from './hooks/useEntryActions';
|
|
10
10
|
export { useReactiveToolbar } from './hooks/useReactiveToolbar';
|
|
11
|
-
export { isInvalidSaveability, selectHasInvalidBlocks } from './hooks/invalidBlockSelectors';
|
|
11
|
+
export { isInvalidSaveability, selectHasInvalidBlocks, } from './hooks/invalidBlockSelectors';
|
|
12
12
|
export { useHistoryShortcuts } from './hooks/useHistoryShortcuts';
|
|
13
|
-
export { validateAllBlocks, type BlockValidationError } from './hooks/validateBlocksForPublish';
|
|
13
|
+
export { validateAllBlocks, type BlockValidationError, } from './hooks/validateBlocksForPublish';
|
|
14
14
|
export { EntryControllerProvider, useEntryEditorController, useEntryController, useAutosave, useEntryUiStore, } from './controller/EntryControllerProvider';
|
|
15
15
|
export type { EntryDraftBlockPatch, EntryDraftCompositePatch, EntryDraftsActions, EntryDraftsSlice, } from './controller/EntryControllerProvider';
|
|
16
16
|
export type { EntryEditorDriver } from './controller/driver';
|
|
17
|
-
export { EditableBlockProvider, useBlockData } from './components/EditableBlockProvider';
|
|
18
|
-
export { ContentFieldsForm, type ContentFieldsFormProps } from './components/ContentFieldsForm';
|
|
17
|
+
export { EditableBlockProvider, useBlockData, } from './components/EditableBlockProvider';
|
|
18
|
+
export { ContentFieldsForm, type ContentFieldsFormProps, } from './components/ContentFieldsForm';
|
|
19
19
|
export { useUISelector } from './ui/useUISelector';
|
|
20
|
-
export { EditorUiStoreProvider, useEditorUiStore, useEditorUiStoreInstance, useOptionalEditorUiStoreInstance, createEditorUiStore } from './ui/editorUiStore';
|
|
21
|
-
export type { ActivePreviewField, EditorUiStoreInstance, EditorUiState, EditorPreviewInspectorStore, EditorLinkedEntrySnapshot, PreviewInspection, PreviewSidebarTab, ViewportMode, ViewportWidth, ViewportState, ZoomLevel, } from './ui/editorUiStore';
|
|
20
|
+
export { EditorUiStoreProvider, useEditorUiStore, useEditorUiStoreInstance, useOptionalEditorUiStoreInstance, createEditorUiStore, } from './ui/editorUiStore';
|
|
21
|
+
export type { ActivePreviewField, EditorUiStoreInstance, EditorUiState, EditorPreviewInspectorStore, EditorLinkedEntrySnapshot, PreviewDesignRow, PreviewDesignOpenRequest, PreviewEditorOpenIntent, PreviewInspection, PreviewSidebarTab, ViewportMode, ViewportWidth, ViewportState, ZoomLevel, } from './ui/editorUiStore';
|
|
22
22
|
export { PreviewTextEditor } from './primitives/PreviewTextEditor';
|
|
23
23
|
export { PreviewInlineTextEditor } from './primitives/PreviewInlineTextEditor';
|
|
24
24
|
export { PreviewRichTextEditor } from './primitives/PreviewRichTextEditor';
|
|
@@ -28,12 +28,12 @@ export { FooterComposerPanel } from './FooterComposerPanel';
|
|
|
28
28
|
export { useStoreBinding, parseEditorPath } from './primitives/shared';
|
|
29
29
|
export type { PathInfo } from './primitives/shared';
|
|
30
30
|
export * from './ai/overlayHelpers';
|
|
31
|
-
export { diffPaths, isUnpublishedChangesDebugEnabled } from './debug/unpublishedChangesDebug';
|
|
31
|
+
export { diffPaths, isUnpublishedChangesDebugEnabled, } from './debug/unpublishedChangesDebug';
|
|
32
32
|
export { listManualEntryWorkflows } from './entryWorkflows';
|
|
33
33
|
export { pageWorkflowDraftContent, pageWorkflowPublishedContent, type PageWorkflowDraftSource, type PageWorkflowPublishedSource, } from './pageWorkflowContent';
|
|
34
34
|
export { contentTypeEditorContentReducer, createInitialContentTypeEditorContentState, type ContentTypeEditorContentAction, type ContentTypeEditorContentState, } from './contentTypeEditorContentState';
|
|
35
35
|
export { buildFooterBlocksUpdatePayload, createInitialFooterBlocksEditorState, footerBlocksEditorReducer, selectFooterBlocksPreview, selectFooterBlocksStructuralChanges, type FooterBlocksEditorBlock, type FooterBlocksEditorAction, type FooterBlocksEditorLoadResponse, type FooterBlocksEditorReadyState, type FooterBlocksEditorState, type FooterBlocksPreviewState, } from './footerBlocksEditorState';
|
|
36
36
|
export { asContentEntrySnapshotSource, createContentEntriesDefinitionPlan, createPageSnapshot, createPagesDefinitionPlan, createSnapshotDefaults, getDefaultEntityLabel, mapPageRecordToSnapshot, type ContentEntriesDefinitionPlanOptions, type ContentEntryDefinitionPlan, type DefinitionServices, type PageEntrySnapshot, type PagesDefinitionPlanOptions, type SnapshotDefaults, } from './definitions/factory';
|
|
37
37
|
export { canRedoHistory, canUndoHistory, createHistoryState, unsafeAsEditorBlockId, pushHistoryEntry, redoHistory, replaceHistoryPresent, undoHistory, type HistoryState, type EditorBlockId, } from './ui/editorHistory';
|
|
38
|
-
export { classifyHistoryShortcut, isNativeHistoryTarget, type HistoryShortcutCommand } from './historyShortcuts';
|
|
38
|
+
export { classifyHistoryShortcut, isNativeHistoryTarget, type HistoryShortcutCommand, } from './historyShortcuts';
|
|
39
39
|
export type { ContentEntryControllerOptions, ContentEntryControllerState, DraftWorkflowStatus, MetadataAutosaveConfig, MetadataKindConfig, } from './types';
|
|
@@ -18,6 +18,20 @@ export type { EditorCommand, EditorBlockItem, EditorDraftSnapshot, EditorHistory
|
|
|
18
18
|
export type MetadataSnapshot = EditorValueSnapshot<EditorMetadataValues | null>;
|
|
19
19
|
export type ContentSnapshot = EditorValueSnapshot<EditorContentValues | null>;
|
|
20
20
|
export type PreviewSidebarTab = 'editor' | 'assistant';
|
|
21
|
+
export type PreviewDesignRow = 'header' | 'footer' | 'header-layout' | 'header-style';
|
|
22
|
+
export type PreviewEditorOpenIntent = Readonly<{
|
|
23
|
+
kind: 'design';
|
|
24
|
+
row: PreviewDesignRow;
|
|
25
|
+
}> | Readonly<{
|
|
26
|
+
kind: 'footer';
|
|
27
|
+
target: 'overview' | Readonly<{
|
|
28
|
+
moduleId: FooterModuleId;
|
|
29
|
+
}>;
|
|
30
|
+
}>;
|
|
31
|
+
export type PreviewDesignOpenRequest = Readonly<{
|
|
32
|
+
row: PreviewDesignRow;
|
|
33
|
+
requestId: number;
|
|
34
|
+
}>;
|
|
21
35
|
export type ActivePreviewField = (Readonly<{
|
|
22
36
|
kind: 'block';
|
|
23
37
|
blockId: EditorBlockId;
|
|
@@ -186,15 +200,16 @@ export type EditorUiState = {
|
|
|
186
200
|
drawerOpen: boolean;
|
|
187
201
|
previewSidebarTab: PreviewSidebarTab;
|
|
188
202
|
previewInspection: PreviewInspection;
|
|
203
|
+
previewDesignOpenRequest: PreviewDesignOpenRequest | null;
|
|
189
204
|
activePreviewField: ActivePreviewField;
|
|
190
205
|
focusRequest: FocusRequest;
|
|
191
206
|
activeBlockId: EditorBlockId | null;
|
|
192
207
|
setDrawerOpen: (open: boolean) => void;
|
|
193
208
|
setPreviewSidebarTab: (tab: PreviewSidebarTab) => void;
|
|
209
|
+
openPreviewEditor: (intent: PreviewEditorOpenIntent) => void;
|
|
210
|
+
consumePreviewDesignOpenRequest: (requestId: number) => void;
|
|
194
211
|
inspectBlock: (blockId: EditorBlockId) => void;
|
|
195
212
|
inspectLinkedEntry: (entryId: string) => void;
|
|
196
|
-
inspectFooterModule: (moduleId: FooterModuleId) => void;
|
|
197
|
-
inspectFooter: () => void;
|
|
198
213
|
clearPreviewInspection: () => void;
|
|
199
214
|
setActivePreviewField: (field: ActivePreviewField) => void;
|
|
200
215
|
requestFocus: (payload: Omit<NonNullable<FocusRequest>, 'requestId'>) => void;
|
|
@@ -5695,9 +5695,44 @@ export type Database = {
|
|
|
5695
5695
|
};
|
|
5696
5696
|
Relationships: [];
|
|
5697
5697
|
};
|
|
5698
|
+
dated_offering_engine_site_audit_revisions: {
|
|
5699
|
+
Row: {
|
|
5700
|
+
occurred_at: string;
|
|
5701
|
+
revision: number;
|
|
5702
|
+
site_id: string;
|
|
5703
|
+
transaction_id: number;
|
|
5704
|
+
};
|
|
5705
|
+
Insert: {
|
|
5706
|
+
occurred_at?: string;
|
|
5707
|
+
revision?: number;
|
|
5708
|
+
site_id: string;
|
|
5709
|
+
transaction_id: number;
|
|
5710
|
+
};
|
|
5711
|
+
Update: {
|
|
5712
|
+
occurred_at?: string;
|
|
5713
|
+
revision?: number;
|
|
5714
|
+
site_id?: string;
|
|
5715
|
+
transaction_id?: number;
|
|
5716
|
+
};
|
|
5717
|
+
Relationships: [
|
|
5718
|
+
{
|
|
5719
|
+
foreignKeyName: "dated_offering_engine_site_audit_revisions_site_id_fkey";
|
|
5720
|
+
columns: ["site_id"];
|
|
5721
|
+
isOneToOne: false;
|
|
5722
|
+
referencedRelation: "sites";
|
|
5723
|
+
referencedColumns: ["id"];
|
|
5724
|
+
}
|
|
5725
|
+
];
|
|
5726
|
+
};
|
|
5698
5727
|
dated_offering_engine_site_readiness: {
|
|
5699
5728
|
Row: {
|
|
5729
|
+
activation_artifact_digest: string | null;
|
|
5730
|
+
activation_audit_generated_at: string | null;
|
|
5731
|
+
activation_legacy_enrollment_created_at: string | null;
|
|
5732
|
+
activation_legacy_enrollment_id: string | null;
|
|
5733
|
+
activation_monitor_baseline: Json | null;
|
|
5700
5734
|
activation_scope: string | null;
|
|
5735
|
+
activation_started_at: string | null;
|
|
5701
5736
|
contract_version: string | null;
|
|
5702
5737
|
created_at: string;
|
|
5703
5738
|
readiness_state: string;
|
|
@@ -5706,7 +5741,13 @@ export type Database = {
|
|
|
5706
5741
|
updated_by: string | null;
|
|
5707
5742
|
};
|
|
5708
5743
|
Insert: {
|
|
5744
|
+
activation_artifact_digest?: string | null;
|
|
5745
|
+
activation_audit_generated_at?: string | null;
|
|
5746
|
+
activation_legacy_enrollment_created_at?: string | null;
|
|
5747
|
+
activation_legacy_enrollment_id?: string | null;
|
|
5748
|
+
activation_monitor_baseline?: Json | null;
|
|
5709
5749
|
activation_scope?: string | null;
|
|
5750
|
+
activation_started_at?: string | null;
|
|
5710
5751
|
contract_version?: string | null;
|
|
5711
5752
|
created_at?: string;
|
|
5712
5753
|
readiness_state?: string;
|
|
@@ -5715,7 +5756,13 @@ export type Database = {
|
|
|
5715
5756
|
updated_by?: string | null;
|
|
5716
5757
|
};
|
|
5717
5758
|
Update: {
|
|
5759
|
+
activation_artifact_digest?: string | null;
|
|
5760
|
+
activation_audit_generated_at?: string | null;
|
|
5761
|
+
activation_legacy_enrollment_created_at?: string | null;
|
|
5762
|
+
activation_legacy_enrollment_id?: string | null;
|
|
5763
|
+
activation_monitor_baseline?: Json | null;
|
|
5718
5764
|
activation_scope?: string | null;
|
|
5765
|
+
activation_started_at?: string | null;
|
|
5719
5766
|
contract_version?: string | null;
|
|
5720
5767
|
created_at?: string;
|
|
5721
5768
|
readiness_state?: string;
|
|
@@ -14357,6 +14404,7 @@ export type Database = {
|
|
|
14357
14404
|
};
|
|
14358
14405
|
site_billing_arrangement_changes: {
|
|
14359
14406
|
Row: {
|
|
14407
|
+
change_origin: string;
|
|
14360
14408
|
changed_by: string;
|
|
14361
14409
|
created_at: string;
|
|
14362
14410
|
id: string;
|
|
@@ -14374,6 +14422,7 @@ export type Database = {
|
|
|
14374
14422
|
subscription_action_result: Json;
|
|
14375
14423
|
};
|
|
14376
14424
|
Insert: {
|
|
14425
|
+
change_origin?: string;
|
|
14377
14426
|
changed_by: string;
|
|
14378
14427
|
created_at?: string;
|
|
14379
14428
|
id?: string;
|
|
@@ -14391,6 +14440,7 @@ export type Database = {
|
|
|
14391
14440
|
subscription_action_result?: Json;
|
|
14392
14441
|
};
|
|
14393
14442
|
Update: {
|
|
14443
|
+
change_origin?: string;
|
|
14394
14444
|
changed_by?: string;
|
|
14395
14445
|
created_at?: string;
|
|
14396
14446
|
id?: string;
|
|
@@ -15944,6 +15994,7 @@ export type Database = {
|
|
|
15944
15994
|
active_curated_palette_value_key: string | null;
|
|
15945
15995
|
active_site_palette_id: string | null;
|
|
15946
15996
|
button_personality_id: string | null;
|
|
15997
|
+
button_style_options: Json;
|
|
15947
15998
|
created_at: string;
|
|
15948
15999
|
footer_look_id: string | null;
|
|
15949
16000
|
header_layout_id: string | null;
|
|
@@ -15955,9 +16006,6 @@ export type Database = {
|
|
|
15955
16006
|
site_id: string;
|
|
15956
16007
|
style_selection_version: number;
|
|
15957
16008
|
theme_id: string;
|
|
15958
|
-
typography_body_font_override: string | null;
|
|
15959
|
-
typography_heading_font_override: string | null;
|
|
15960
|
-
typography_preset_id: string | null;
|
|
15961
16009
|
updated_at: string;
|
|
15962
16010
|
user_id: string;
|
|
15963
16011
|
};
|
|
@@ -15965,6 +16013,7 @@ export type Database = {
|
|
|
15965
16013
|
active_curated_palette_value_key?: string | null;
|
|
15966
16014
|
active_site_palette_id?: string | null;
|
|
15967
16015
|
button_personality_id?: string | null;
|
|
16016
|
+
button_style_options?: Json;
|
|
15968
16017
|
created_at?: string;
|
|
15969
16018
|
footer_look_id?: string | null;
|
|
15970
16019
|
header_layout_id?: string | null;
|
|
@@ -15976,9 +16025,6 @@ export type Database = {
|
|
|
15976
16025
|
site_id: string;
|
|
15977
16026
|
style_selection_version?: number;
|
|
15978
16027
|
theme_id: string;
|
|
15979
|
-
typography_body_font_override?: string | null;
|
|
15980
|
-
typography_heading_font_override?: string | null;
|
|
15981
|
-
typography_preset_id?: string | null;
|
|
15982
16028
|
updated_at?: string;
|
|
15983
16029
|
user_id: string;
|
|
15984
16030
|
};
|
|
@@ -15986,6 +16032,7 @@ export type Database = {
|
|
|
15986
16032
|
active_curated_palette_value_key?: string | null;
|
|
15987
16033
|
active_site_palette_id?: string | null;
|
|
15988
16034
|
button_personality_id?: string | null;
|
|
16035
|
+
button_style_options?: Json;
|
|
15989
16036
|
created_at?: string;
|
|
15990
16037
|
footer_look_id?: string | null;
|
|
15991
16038
|
header_layout_id?: string | null;
|
|
@@ -15997,9 +16044,6 @@ export type Database = {
|
|
|
15997
16044
|
site_id?: string;
|
|
15998
16045
|
style_selection_version?: number;
|
|
15999
16046
|
theme_id?: string;
|
|
16000
|
-
typography_body_font_override?: string | null;
|
|
16001
|
-
typography_heading_font_override?: string | null;
|
|
16002
|
-
typography_preset_id?: string | null;
|
|
16003
16047
|
updated_at?: string;
|
|
16004
16048
|
user_id?: string;
|
|
16005
16049
|
};
|
|
@@ -17640,6 +17684,20 @@ export type Database = {
|
|
|
17640
17684
|
locked_until: string;
|
|
17641
17685
|
}[];
|
|
17642
17686
|
};
|
|
17687
|
+
activate_dated_offering_shared_v1_for_site_atomic: {
|
|
17688
|
+
Args: {
|
|
17689
|
+
p_activation_evidence: Json;
|
|
17690
|
+
p_artifact_digest: string;
|
|
17691
|
+
p_audit_generated_at: string;
|
|
17692
|
+
p_site_id: string;
|
|
17693
|
+
};
|
|
17694
|
+
Returns: {
|
|
17695
|
+
blocker: string;
|
|
17696
|
+
legacy_enrollment_created_at: string;
|
|
17697
|
+
legacy_enrollment_id: string;
|
|
17698
|
+
outcome: string;
|
|
17699
|
+
}[];
|
|
17700
|
+
};
|
|
17643
17701
|
adjust_product_inventory: {
|
|
17644
17702
|
Args: {
|
|
17645
17703
|
p_enforce_available?: boolean;
|
|
@@ -17716,6 +17774,23 @@ export type Database = {
|
|
|
17716
17774
|
outcome: string;
|
|
17717
17775
|
}[];
|
|
17718
17776
|
};
|
|
17777
|
+
apply_dated_offering_course_config_backfill_v2_atomic: {
|
|
17778
|
+
Args: {
|
|
17779
|
+
p_actual: Json;
|
|
17780
|
+
p_course_id: string;
|
|
17781
|
+
p_event_series_id: string;
|
|
17782
|
+
p_expected: Json;
|
|
17783
|
+
p_field: string;
|
|
17784
|
+
p_idempotency_key: string;
|
|
17785
|
+
p_now?: string;
|
|
17786
|
+
p_pricing_projection: Json;
|
|
17787
|
+
p_site_id: string;
|
|
17788
|
+
p_source_snapshot: Json;
|
|
17789
|
+
};
|
|
17790
|
+
Returns: {
|
|
17791
|
+
outcome: string;
|
|
17792
|
+
}[];
|
|
17793
|
+
};
|
|
17719
17794
|
apply_dated_offering_course_data_backfill_v1_atomic: {
|
|
17720
17795
|
Args: {
|
|
17721
17796
|
p_attendee_id?: string;
|
|
@@ -17868,9 +17943,6 @@ export type Database = {
|
|
|
17868
17943
|
p_selection_id?: string;
|
|
17869
17944
|
p_site_id: string;
|
|
17870
17945
|
p_theme: Json;
|
|
17871
|
-
p_typography_body_font_override?: string;
|
|
17872
|
-
p_typography_heading_font_override?: string;
|
|
17873
|
-
p_typography_preset_id?: string;
|
|
17874
17946
|
};
|
|
17875
17947
|
Returns: {
|
|
17876
17948
|
active_curated_palette_value_key: string;
|
|
@@ -17882,10 +17954,12 @@ export type Database = {
|
|
|
17882
17954
|
style_selection_version: number;
|
|
17883
17955
|
theme_id: string;
|
|
17884
17956
|
}[];
|
|
17885
|
-
}
|
|
17957
|
+
};
|
|
17958
|
+
apply_site_theme_command_authoritative_atomic_v2: {
|
|
17886
17959
|
Args: {
|
|
17887
17960
|
p_base_selection_version: number;
|
|
17888
17961
|
p_button_personality_id: string;
|
|
17962
|
+
p_button_style_options: Json;
|
|
17889
17963
|
p_footer_look_id: string;
|
|
17890
17964
|
p_header_layout_id?: string;
|
|
17891
17965
|
p_header_look_id: string;
|
|
@@ -18450,6 +18524,37 @@ export type Database = {
|
|
|
18450
18524
|
replayed: boolean;
|
|
18451
18525
|
}[];
|
|
18452
18526
|
};
|
|
18527
|
+
commit_dated_offering_whole_series_waitlist_claim_v1_atomic: {
|
|
18528
|
+
Args: {
|
|
18529
|
+
p_course_id: string;
|
|
18530
|
+
p_customer_display_name?: string;
|
|
18531
|
+
p_customer_email_normalized?: string;
|
|
18532
|
+
p_customer_id: string;
|
|
18533
|
+
p_customer_membership_id?: string;
|
|
18534
|
+
p_customer_phone?: string;
|
|
18535
|
+
p_form_submission_json?: Json;
|
|
18536
|
+
p_idempotency_key: string;
|
|
18537
|
+
p_metadata?: Json;
|
|
18538
|
+
p_now?: string;
|
|
18539
|
+
p_payment_method?: string;
|
|
18540
|
+
p_pricing_option_id?: string;
|
|
18541
|
+
p_site_id: string;
|
|
18542
|
+
p_waitlist_entry_id: string;
|
|
18543
|
+
p_waitlist_hold_id: string;
|
|
18544
|
+
};
|
|
18545
|
+
Returns: {
|
|
18546
|
+
attendance_occurrences_included: number;
|
|
18547
|
+
attendance_rows_created: number;
|
|
18548
|
+
attendance_rows_existing_verified: number;
|
|
18549
|
+
customer_membership_id: string;
|
|
18550
|
+
enrollment_id: string;
|
|
18551
|
+
non_cash_projection_claim_token: string;
|
|
18552
|
+
participant_id: string;
|
|
18553
|
+
participant_participation_id: string;
|
|
18554
|
+
payment_method: string;
|
|
18555
|
+
replayed: boolean;
|
|
18556
|
+
}[];
|
|
18557
|
+
};
|
|
18453
18558
|
compensate_dated_offering_waitlist_checkout_v1_atomic: {
|
|
18454
18559
|
Args: {
|
|
18455
18560
|
p_hold_id: string;
|
|
@@ -18951,6 +19056,12 @@ export type Database = {
|
|
|
18951
19056
|
};
|
|
18952
19057
|
Returns: number;
|
|
18953
19058
|
};
|
|
19059
|
+
get_dated_offering_course_activation_snapshot_v1: {
|
|
19060
|
+
Args: {
|
|
19061
|
+
p_site_id: string;
|
|
19062
|
+
};
|
|
19063
|
+
Returns: string;
|
|
19064
|
+
};
|
|
18954
19065
|
get_event_ticket_type_confirmed_attendee_counts: {
|
|
18955
19066
|
Args: {
|
|
18956
19067
|
ticket_type_ids: string[];
|
|
@@ -19488,9 +19599,6 @@ export type Database = {
|
|
|
19488
19599
|
p_palette_command: Json;
|
|
19489
19600
|
p_site_id: string;
|
|
19490
19601
|
p_theme: Json;
|
|
19491
|
-
p_typography_body_font_override?: string;
|
|
19492
|
-
p_typography_heading_font_override?: string;
|
|
19493
|
-
p_typography_preset_id?: string;
|
|
19494
19602
|
p_user_id: string;
|
|
19495
19603
|
};
|
|
19496
19604
|
Returns: {
|
|
@@ -19501,9 +19609,11 @@ export type Database = {
|
|
|
19501
19609
|
site_palette_version: number;
|
|
19502
19610
|
theme_id: string;
|
|
19503
19611
|
}[];
|
|
19504
|
-
}
|
|
19612
|
+
};
|
|
19613
|
+
provision_initial_site_theme_authoritative_atomic_v2: {
|
|
19505
19614
|
Args: {
|
|
19506
19615
|
p_button_personality_id: string;
|
|
19616
|
+
p_button_style_options: Json;
|
|
19507
19617
|
p_footer_look_id?: string;
|
|
19508
19618
|
p_header_layout_id?: string;
|
|
19509
19619
|
p_header_look_id?: string;
|
|
@@ -19522,6 +19632,38 @@ export type Database = {
|
|
|
19522
19632
|
theme_id: string;
|
|
19523
19633
|
}[];
|
|
19524
19634
|
};
|
|
19635
|
+
publish_authoritative_page_surface_content_guarded: {
|
|
19636
|
+
Args: {
|
|
19637
|
+
p_expected_draft_version_id: string;
|
|
19638
|
+
p_expected_published_version_id: string;
|
|
19639
|
+
p_expected_source_data: Json;
|
|
19640
|
+
p_expected_source_updated_at: string;
|
|
19641
|
+
p_expected_source_version_id: string;
|
|
19642
|
+
p_owner_id: string;
|
|
19643
|
+
p_owner_kind: Database["public"]["Enums"]["content_owner_kind"];
|
|
19644
|
+
p_published_data: Json;
|
|
19645
|
+
p_site_id: string;
|
|
19646
|
+
p_source_kind: string;
|
|
19647
|
+
p_user_id: string;
|
|
19648
|
+
};
|
|
19649
|
+
Returns: Json;
|
|
19650
|
+
};
|
|
19651
|
+
publish_authoritative_surface_slot_snapshot_guarded: {
|
|
19652
|
+
Args: {
|
|
19653
|
+
p_blocks: Json;
|
|
19654
|
+
p_expected_draft_version_id: string;
|
|
19655
|
+
p_expected_published_version_id: string;
|
|
19656
|
+
p_expected_source_data: Json;
|
|
19657
|
+
p_expected_source_updated_at: string;
|
|
19658
|
+
p_expected_source_version_id: string;
|
|
19659
|
+
p_page_surface_id: string;
|
|
19660
|
+
p_site_id: string;
|
|
19661
|
+
p_source_kind: string;
|
|
19662
|
+
p_surface_slot_id: string;
|
|
19663
|
+
p_user_id: string;
|
|
19664
|
+
};
|
|
19665
|
+
Returns: Json;
|
|
19666
|
+
};
|
|
19525
19667
|
reactivate_dated_offering_whole_series_registration_v1_atomic: {
|
|
19526
19668
|
Args: {
|
|
19527
19669
|
p_actor_user_id: string;
|
|
@@ -19620,6 +19762,24 @@ export type Database = {
|
|
|
19620
19762
|
};
|
|
19621
19763
|
Returns: number;
|
|
19622
19764
|
};
|
|
19765
|
+
rename_event_slug_atomic_guarded: {
|
|
19766
|
+
Args: {
|
|
19767
|
+
p_content_entry_id?: string;
|
|
19768
|
+
p_event_offering_id?: string;
|
|
19769
|
+
p_event_series_id: string;
|
|
19770
|
+
p_expected_old_path: string;
|
|
19771
|
+
p_expected_series_ids: string[];
|
|
19772
|
+
p_page_surface_id?: string;
|
|
19773
|
+
p_path: string;
|
|
19774
|
+
p_publish_route: boolean;
|
|
19775
|
+
p_route_id: string;
|
|
19776
|
+
p_site_id: string;
|
|
19777
|
+
p_slug: string;
|
|
19778
|
+
p_target_kind: string;
|
|
19779
|
+
p_user_id: string;
|
|
19780
|
+
};
|
|
19781
|
+
Returns: string;
|
|
19782
|
+
};
|
|
19623
19783
|
renew_demo_lifecycle_job_lease: {
|
|
19624
19784
|
Args: {
|
|
19625
19785
|
p_job_name: string;
|
|
@@ -19762,6 +19922,15 @@ export type Database = {
|
|
|
19762
19922
|
revocation_outcome: string;
|
|
19763
19923
|
}[];
|
|
19764
19924
|
};
|
|
19925
|
+
rollback_dated_offering_shared_v1_for_site_atomic: {
|
|
19926
|
+
Args: {
|
|
19927
|
+
p_site_id: string;
|
|
19928
|
+
};
|
|
19929
|
+
Returns: {
|
|
19930
|
+
blocker: string;
|
|
19931
|
+
outcome: string;
|
|
19932
|
+
}[];
|
|
19933
|
+
};
|
|
19765
19934
|
save_current_theme_aggregate_authoritative_atomic: {
|
|
19766
19935
|
Args: {
|
|
19767
19936
|
p_button_personality_id: string;
|
|
@@ -19777,9 +19946,6 @@ export type Database = {
|
|
|
19777
19946
|
p_site_id: string;
|
|
19778
19947
|
p_theme: Json;
|
|
19779
19948
|
p_theme_id?: string;
|
|
19780
|
-
p_typography_body_font_override?: string;
|
|
19781
|
-
p_typography_heading_font_override?: string;
|
|
19782
|
-
p_typography_preset_id?: string;
|
|
19783
19949
|
p_user_id: string;
|
|
19784
19950
|
};
|
|
19785
19951
|
Returns: {
|
|
@@ -19792,9 +19958,11 @@ export type Database = {
|
|
|
19792
19958
|
style_selection_version: number;
|
|
19793
19959
|
theme_id: string;
|
|
19794
19960
|
}[];
|
|
19795
|
-
}
|
|
19961
|
+
};
|
|
19962
|
+
save_current_theme_aggregate_authoritative_atomic_v2: {
|
|
19796
19963
|
Args: {
|
|
19797
19964
|
p_button_personality_id: string;
|
|
19965
|
+
p_button_style_options: Json;
|
|
19798
19966
|
p_expected_selection_version: number;
|
|
19799
19967
|
p_footer_look_id: string;
|
|
19800
19968
|
p_header_layout_id?: string;
|
|
@@ -19936,6 +20104,38 @@ export type Database = {
|
|
|
19936
20104
|
transitioned_event_count: number;
|
|
19937
20105
|
}[];
|
|
19938
20106
|
};
|
|
20107
|
+
transition_authoritative_page_surface_route_guarded: {
|
|
20108
|
+
Args: {
|
|
20109
|
+
p_expected_draft_updated_at: string;
|
|
20110
|
+
p_expected_status: Database["public"]["Enums"]["route_status"];
|
|
20111
|
+
p_now: string;
|
|
20112
|
+
p_page_surface_id: string;
|
|
20113
|
+
p_published_meta_description: string;
|
|
20114
|
+
p_published_meta_title: string;
|
|
20115
|
+
p_published_path: string;
|
|
20116
|
+
p_published_slug: string;
|
|
20117
|
+
p_published_title: string;
|
|
20118
|
+
p_route_id: string;
|
|
20119
|
+
p_site_id: string;
|
|
20120
|
+
p_transition: string;
|
|
20121
|
+
p_user_id: string;
|
|
20122
|
+
};
|
|
20123
|
+
Returns: boolean;
|
|
20124
|
+
};
|
|
20125
|
+
transition_authoritative_surface_slot_block_draft: {
|
|
20126
|
+
Args: {
|
|
20127
|
+
p_block_id: string;
|
|
20128
|
+
p_expected_draft_data: Json;
|
|
20129
|
+
p_expected_draft_updated_at: string;
|
|
20130
|
+
p_expected_draft_version_id: string;
|
|
20131
|
+
p_expected_published_version_id: string;
|
|
20132
|
+
p_site_id: string;
|
|
20133
|
+
p_surface_slot_id: string;
|
|
20134
|
+
p_transition: string;
|
|
20135
|
+
p_user_id: string;
|
|
20136
|
+
};
|
|
20137
|
+
Returns: Json;
|
|
20138
|
+
};
|
|
19939
20139
|
transition_dated_offering_non_cash_projection_v1_atomic: {
|
|
19940
20140
|
Args: {
|
|
19941
20141
|
p_claim_token: string;
|
|
@@ -20499,38 +20699,6 @@ export type Database = {
|
|
|
20499
20699
|
}
|
|
20500
20700
|
];
|
|
20501
20701
|
};
|
|
20502
|
-
prefixes: {
|
|
20503
|
-
Row: {
|
|
20504
|
-
bucket_id: string;
|
|
20505
|
-
created_at: string | null;
|
|
20506
|
-
level: number;
|
|
20507
|
-
name: string;
|
|
20508
|
-
updated_at: string | null;
|
|
20509
|
-
};
|
|
20510
|
-
Insert: {
|
|
20511
|
-
bucket_id: string;
|
|
20512
|
-
created_at?: string | null;
|
|
20513
|
-
level?: number;
|
|
20514
|
-
name: string;
|
|
20515
|
-
updated_at?: string | null;
|
|
20516
|
-
};
|
|
20517
|
-
Update: {
|
|
20518
|
-
bucket_id?: string;
|
|
20519
|
-
created_at?: string | null;
|
|
20520
|
-
level?: number;
|
|
20521
|
-
name?: string;
|
|
20522
|
-
updated_at?: string | null;
|
|
20523
|
-
};
|
|
20524
|
-
Relationships: [
|
|
20525
|
-
{
|
|
20526
|
-
foreignKeyName: "prefixes_bucketId_fkey";
|
|
20527
|
-
columns: ["bucket_id"];
|
|
20528
|
-
isOneToOne: false;
|
|
20529
|
-
referencedRelation: "buckets";
|
|
20530
|
-
referencedColumns: ["id"];
|
|
20531
|
-
}
|
|
20532
|
-
];
|
|
20533
|
-
};
|
|
20534
20702
|
s3_multipart_uploads: {
|
|
20535
20703
|
Row: {
|
|
20536
20704
|
bucket_id: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import type { ButtonSystem } from '../../../../blocks/src/index';
|
|
3
|
+
import { type BlockButtonRole } from '../../../../blocks/src/system/constants/buttonRoles';
|
|
3
4
|
/**
|
|
4
5
|
* Button Widget Context
|
|
5
6
|
*
|
|
@@ -7,13 +8,13 @@ import type { ButtonSystem } from '../../../../blocks/src/index';
|
|
|
7
8
|
* Similar to MediaEditorProvider and LinkWidgetProvider pattern.
|
|
8
9
|
*/
|
|
9
10
|
export interface ButtonVariantOption {
|
|
10
|
-
id:
|
|
11
|
+
id: BlockButtonRole;
|
|
11
12
|
name: string;
|
|
12
13
|
priority: number;
|
|
13
14
|
}
|
|
14
15
|
export interface ButtonWidgetContextValue {
|
|
15
16
|
variants: ButtonVariantOption[];
|
|
16
|
-
defaultVariant:
|
|
17
|
+
defaultVariant: BlockButtonRole | null;
|
|
17
18
|
buttonSystem: ButtonSystem | null;
|
|
18
19
|
}
|
|
19
20
|
export interface ButtonWidgetProviderProps {
|
|
@@ -8,8 +8,9 @@ export { PreviewShellSmoke } from "./PreviewShellSmoke";
|
|
|
8
8
|
export { PreviewLayoutProvider, usePreviewLayout, } from "./layout/PreviewLayoutContext";
|
|
9
9
|
export { useOptionalPreviewLayout } from "./layout/PreviewLayoutContext";
|
|
10
10
|
export { previewAssistantEnabled, resolvePreviewSidebarTab, } from "./preview/assistantAvailability";
|
|
11
|
-
export type {
|
|
12
|
-
export { getPreviewSidebarTab,
|
|
11
|
+
export type { PreviewSidebarTab } from "./preview/sidebarTabPreference";
|
|
12
|
+
export { getPreviewSidebarTab, setPreviewSidebarTab, } from "./preview/sidebarTabPreference";
|
|
13
|
+
export type { PreviewDesignRow, PreviewEditorOpenIntent, } from "../../../content-editor/src/index";
|
|
13
14
|
export type { PreviewViewportControlsProps, ViewportMode, ViewportWidth, } from "./preview/PreviewViewportControls";
|
|
14
15
|
export { PreviewViewportControls } from "./preview/PreviewViewportControls";
|
|
15
16
|
export type { PreviewThemeResponsiveMode, PreviewThemeRuntime, } from "./preview/themeRuntime";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type Theme } from '../../../../blocks/src/index';
|
|
3
|
+
import { type ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
|
|
4
|
+
export type ButtonStylePickerProps = Readonly<{
|
|
5
|
+
selections: readonly ButtonStyleSelection[];
|
|
6
|
+
current: ButtonStyleSelection;
|
|
7
|
+
previewTheme: Theme;
|
|
8
|
+
onPreview: (selection: ButtonStyleSelection) => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}>;
|
|
11
|
+
export declare function ButtonStylePicker({ selections, current, previewTheme, onPreview, disabled, }: ButtonStylePickerProps): React.JSX.Element;
|
|
12
|
+
export declare function ButtonStylePreviewPair({ selection, previewTheme, compact, }: Readonly<{
|
|
13
|
+
selection: ButtonStyleSelection;
|
|
14
|
+
previewTheme: Theme;
|
|
15
|
+
compact?: boolean;
|
|
16
|
+
}>): React.JSX.Element | null;
|
|
@@ -3,7 +3,7 @@ import type { ApiClient } from '../../../../api/src/request';
|
|
|
3
3
|
import type { SdkConfigForBlockPicker } from '../../../../editor-blocks/src/block-editor/sdkBlockMerger';
|
|
4
4
|
import type { BlockEditorHandle, BlockItem } from '../../../../editor-blocks/src/block-editor/types';
|
|
5
5
|
import type { BookingOfferingPresetSummary, MediaAssetIndexItem, Theme } from '../../../../blocks/src/index';
|
|
6
|
-
import type
|
|
6
|
+
import { type EditorUiState, type ZoomLevel } from '../../../../content-editor/src/index';
|
|
7
7
|
import { type ViewportMode, type ViewportWidth } from './PreviewViewportControls';
|
|
8
8
|
import type { PreviewZustandStoreApi } from './storeTypes';
|
|
9
9
|
import { type PreviewLinkedEntrySidebarSection } from './PreviewSidebarSection';
|
|
@@ -22,7 +22,6 @@ type PageBlockEditorPanelProps = {
|
|
|
22
22
|
metadataPanel: ReactNode;
|
|
23
23
|
linkedEntrySection?: PreviewLinkedEntrySidebarSection | null;
|
|
24
24
|
designPanel?: ReactNode;
|
|
25
|
-
designOpenRequestId?: number | null;
|
|
26
25
|
designTakeoverActive?: boolean;
|
|
27
26
|
sdkConfig?: SdkConfigForBlockPicker | null;
|
|
28
27
|
mediaAssets?: MediaAssetIndexItem[];
|
|
@@ -34,5 +33,5 @@ type PageBlockEditorPanelProps = {
|
|
|
34
33
|
onViewportWidthChange: (width: ViewportWidth) => void;
|
|
35
34
|
onZoomChange: (zoom: ZoomLevel) => void;
|
|
36
35
|
};
|
|
37
|
-
export declare function PageBlockEditorPanel({ siteId, pageId, dashboardBaseUrl, theme, apiClient, bearerToken, supabaseUrl, blockItems, uiStoreForBlockEditor, blockEditorRef, onBlocksChange, metadataPanel, linkedEntrySection, designPanel,
|
|
36
|
+
export declare function PageBlockEditorPanel({ siteId, pageId, dashboardBaseUrl, theme, apiClient, bearerToken, supabaseUrl, blockItems, uiStoreForBlockEditor, blockEditorRef, onBlocksChange, metadataPanel, linkedEntrySection, designPanel, designTakeoverActive, sdkConfig, mediaAssets, bookingOfferingPresets, viewportMode, viewportWidth, zoom, onViewportModeChange, onViewportWidthChange, onZoomChange, }: PageBlockEditorPanelProps): React.JSX.Element;
|
|
38
37
|
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { PreviewDesignOpenRequest } from '../../../../content-editor/src/index';
|
|
3
|
+
export declare function PreviewDesignOpenRequestProvider({ request, children, }: {
|
|
4
|
+
request: PreviewDesignOpenRequest | null;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}): import("react").JSX.Element;
|
|
7
|
+
export declare function usePreviewDesignOpenRequest(): PreviewDesignOpenRequest | null;
|