@riverbankcms/sdk 0.125.0 → 0.127.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.
Files changed (177) hide show
  1. package/README.md +3 -1
  2. package/dist/{PreviewEditorSidebar-BezDOtQ7.mjs → PreviewEditorSidebar-BXtfF7tp.mjs} +122 -301
  3. package/dist/{PreviewEditorUI-CgSqmfo2.mjs → PreviewEditorUI-Dou73Q0K.mjs} +3 -3
  4. package/dist/{PreviewQueryProvider-BH-3-jSj.mjs → PreviewQueryProvider-DgFDIwvK.mjs} +1 -1
  5. package/dist/{SdkPreviewModeRuntime-Co3AHfj0.mjs → SdkPreviewModeRuntime-B0HPXr-l.mjs} +141 -63
  6. package/dist/{SiteChromeCustomizeContext-BHF-KANn.mjs → SiteChromeCustomizeContext-DZiDBAYu.mjs} +5330 -5841
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +1552 -202
  8. package/dist/_dts/api/src/common/envelope.d.ts +1 -1
  9. package/dist/_dts/api/src/contentRuntime.d.ts +1 -7
  10. package/dist/_dts/api/src/endpoints.d.ts +0 -7
  11. package/dist/_dts/api/src/sdk-event-upsert.d.ts +42 -0
  12. package/dist/_dts/api/src/sdkContracts.d.ts +11 -9
  13. package/dist/_dts/api/src/siteOperations.d.ts +18 -1
  14. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +1 -14
  15. package/dist/_dts/block-form/src/backend/store-backend.d.ts +2 -1
  16. package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +1 -0
  17. package/dist/_dts/blocks/src/index.d.ts +3 -2
  18. package/dist/_dts/blocks/src/lib/media.d.ts +267 -0
  19. package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +0 -13
  20. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationStripeReturn.d.ts +15 -2
  21. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +4 -4
  22. package/dist/_dts/blocks/src/system/runtime/nodes/mergeResolveImageUrlContexts.d.ts +7 -0
  23. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
  24. package/dist/_dts/content-editor/src/ui/blockValidationManifestRegistry.d.ts +17 -0
  25. package/dist/_dts/content-editor/src/ui/blockValidationView.d.ts +1 -1
  26. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +4 -0
  27. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +322 -171
  28. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +4 -0
  29. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockValidationManifests.d.ts +26 -0
  30. package/dist/_dts/editor-blocks/src/widgets/rich-text/imageInsert.d.ts +3 -3
  31. package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -2
  32. package/dist/_dts/media-editor/src/context.d.ts +1 -2
  33. package/dist/_dts/media-editor/src/index.d.ts +3 -1
  34. package/dist/_dts/media-editor/src/mediaSelection.d.ts +32 -0
  35. package/dist/_dts/media-editor/src/types.d.ts +3 -1
  36. package/dist/_dts/media-editor/src/useMediaSelection.d.ts +26 -0
  37. package/dist/_dts/preview-next/src/client/index.d.ts +2 -0
  38. package/dist/_dts/preview-next/src/client/preview/HeaderMenuControls.d.ts +12 -0
  39. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +1 -2
  40. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +13 -3
  41. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +7 -2
  42. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +6 -60
  43. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +3 -13
  44. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +8 -100
  45. package/dist/_dts/preview-next/src/client/preview/headerInteractionPaletteSurfaceState.d.ts +8 -0
  46. package/dist/_dts/preview-next/src/client/preview/previewThemeRoles.d.ts +15 -0
  47. package/dist/_dts/preview-next/src/client/preview/siteChromeCustomizeTypes.d.ts +54 -0
  48. package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +13 -3
  49. package/dist/_dts/preview-next/src/client/preview/siteChromeNavQuickControlHistory.d.ts +3 -0
  50. package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +6 -3
  51. package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +1 -4
  52. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -15
  53. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +11 -21
  54. package/dist/_dts/sdk/src/cli/commands/event.d.ts +2 -2
  55. package/dist/_dts/sdk/src/cli/commands/eventOccurrenceSchedule.d.ts +12 -0
  56. package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +6 -0
  57. package/dist/_dts/sdk/src/cli/commands/style.d.ts +1 -1
  58. package/dist/_dts/sdk/src/cli/content/legacyEventScheduleShapeError.d.ts +5 -0
  59. package/dist/_dts/sdk/src/cli/content/localEventSchedule.d.ts +17 -0
  60. package/dist/_dts/sdk/src/cli/content/reader.d.ts +5 -10
  61. package/dist/_dts/sdk/src/cli/migrations/events.d.ts +1 -1
  62. package/dist/_dts/sdk/src/cli/site-commands/eventScheduleCompiler.d.ts +24 -0
  63. package/dist/_dts/sdk/src/client/management/http.d.ts +1 -1
  64. package/dist/_dts/sdk/src/client/management/types.d.ts +3 -28
  65. package/dist/_dts/sdk/src/config/index.d.ts +1 -1
  66. package/dist/_dts/sdk/src/public-api/contracts.d.ts +5 -20
  67. package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
  68. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -2
  69. package/dist/_dts/sdk/src/version.d.ts +1 -1
  70. package/dist/_dts/site-commands/src/commandContract.d.ts +33 -5
  71. package/dist/_dts/site-commands/src/commandDomain.d.ts +2 -2
  72. package/dist/_dts/site-commands/src/commands.d.ts +38 -9
  73. package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +28 -1
  74. package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +4 -4
  75. package/dist/_dts/theme-core/src/buttons/effects/presets/background.d.ts +1 -1
  76. package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +0 -18
  77. package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -3
  78. package/dist/_dts/theme-core/src/header/containerSchema.d.ts +20 -0
  79. package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +1 -1
  80. package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +14 -0
  81. package/dist/_dts/theme-core/src/header/legacyNavLinkStyle.d.ts +3 -0
  82. package/dist/_dts/theme-core/src/header/paintTargets.d.ts +25 -0
  83. package/dist/_dts/theme-core/src/header/scrollTreatment.d.ts +11 -0
  84. package/dist/_dts/theme-core/src/header/surfaceRules.d.ts +9 -0
  85. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +15 -0
  86. package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
  87. package/dist/_dts/theme-core/src/palette/concretePalette.d.ts +20 -0
  88. package/dist/_dts/theme-core/src/palette/curated/index.d.ts +2 -17
  89. package/dist/_dts/theme-core/src/palette/index.d.ts +1 -6
  90. package/dist/_dts/theme-core/src/palette/schema.d.ts +39 -0
  91. package/dist/_dts/theme-core/src/schema.d.ts +105 -45
  92. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +3 -51
  93. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +4 -11
  94. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +3 -51
  95. package/dist/_dts/theme-core/src/site-styles/headerInteractionPalette.d.ts +32 -0
  96. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +19 -106
  97. package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +22 -0
  98. package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +2 -0
  99. package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +4 -0
  100. package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
  101. package/dist/_dts/theme-core/src/site-styles/lookOptionGroups.d.ts +24 -0
  102. package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +1 -2
  103. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +4 -22
  104. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorOptions.d.ts +21 -0
  105. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +5 -7
  106. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +5 -6
  107. package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +4 -1
  108. package/dist/cli/index.mjs +1583 -1601
  109. package/dist/cli/init-docs/content/cli-reference.md +6 -3
  110. package/dist/cli/init-docs/content/content-management.md +24 -13
  111. package/dist/client/{DiscountCodeDisclosure-CyPpekBp.mjs → DiscountCodeDisclosure-BDFRp8Y7.mjs} +1 -1
  112. package/dist/client/{EventCombined.client-zywit-60.mjs → EventCombined.client-DJgF1_lf.mjs} +2 -2
  113. package/dist/client/{EventListing.client-J2nLhkKT.mjs → EventListing.client-CnWGNjOr.mjs} +2 -2
  114. package/dist/client/{LeafletStaticMap-CSubXWt6.mjs → LeafletStaticMap-BISs9Bl7.mjs} +1 -1
  115. package/dist/client/{MagicLinkForm-DDLIfiq9.mjs → MagicLinkForm-b5E_HoG9.mjs} +1 -1
  116. package/dist/client/{StepIndicator-DE8EvHIp.mjs → StepIndicator-D8gVYkK-.mjs} +2 -2
  117. package/dist/client/{accordion-Ct5T5NiA.mjs → accordion-DFDajgDz.mjs} +1 -1
  118. package/dist/client/{bookingForm-DMxtLPxw.mjs → bookingForm-Bdqj9-52.mjs} +5 -6
  119. package/dist/client/bookings.mjs +315 -46
  120. package/dist/client/{carousel--FMqgvob.mjs → carousel-Cvqf-kN8.mjs} +1 -1
  121. package/dist/client/{cart-BKX1bWiU.mjs → cart-CuH2TJXP.mjs} +3 -3
  122. package/dist/client/{checkout-B_jxi4WW.mjs → checkout-CMNPpejZ.mjs} +3 -3
  123. package/dist/client/client.mjs +1381 -1427
  124. package/dist/client/{courseRegistration-DH4MlkRD.mjs → courseRegistration-DTEYWL6Z.mjs} +6 -7
  125. package/dist/client/{eventCalendar-BQILwAcL.mjs → eventCalendar-BW-XoxZ0.mjs} +4 -4
  126. package/dist/client/{eventCombined-DFFW_Vmo.mjs → eventCombined-Bpn7s0y9.mjs} +2 -2
  127. package/dist/client/{eventDetails-B045CTSJ.mjs → eventDetails-D2uUSTMH.mjs} +3 -3
  128. package/dist/client/{eventListing-BDMYNVzS.mjs → eventListing-CVr1c094.mjs} +2 -2
  129. package/dist/client/{eventRegistration-CQ2-BSnB.mjs → eventRegistration-Dv4AvkMw.mjs} +30 -22
  130. package/dist/client/{form-DJKuyZgN.mjs → form-DxdKf9fs.mjs} +1 -1
  131. package/dist/client/{headerSection-DeTjfiDo.mjs → headerSection-BaXI5Sro.mjs} +2 -2
  132. package/dist/client/hooks.mjs +851 -976
  133. package/dist/client/{locationMap-i2wDA8gB.mjs → locationMap-BEtW2fKz.mjs} +2 -2
  134. package/dist/client/{newsletterForm-DKiueauk.mjs → newsletterForm-BKKs0S4R.mjs} +1 -1
  135. package/dist/client/{pricing-C01J3Epx.mjs → pricing-ClkqcElA.mjs} +1 -1
  136. package/dist/client/{productDetail-Dfc1sZaX.mjs → productDetail-H-ru8dyy.mjs} +3 -3
  137. package/dist/client/{productList-BXbvXWTF.mjs → productList-Buyi5c0C.mjs} +3 -3
  138. package/dist/client/{propsDecoder-CIR5DQ1l.mjs → propsDecoder-BF7i6Ijg.mjs} +293 -65
  139. package/dist/client/rendering/client.mjs +1145 -1190
  140. package/dist/client/rendering/islands.mjs +18 -18
  141. package/dist/client/rendering.mjs +1257 -1298
  142. package/dist/client/{useDiscountCodeUi-Bcyh4508.mjs → scrollToBlock-D_7t8yWb.mjs} +18 -2
  143. package/dist/client/{shop-BbNwPKM-.mjs → shop-CF7SZQNX.mjs} +5 -6
  144. package/dist/client/{shop-commerce-XO-XMFEt.mjs → shop-commerce-DA7_Rq5p.mjs} +4 -4
  145. package/dist/client/{shop-commerce-store-Byh6OUGK.mjs → shop-commerce-store-BmLqW7Gh.mjs} +1 -1
  146. package/dist/client/{shopShared-Bbq39mwr.mjs → shopShared-WL-E1znM.mjs} +2 -2
  147. package/dist/client/{useEventFilters-C8OOJ3el.mjs → useEventFilters-rc8VLeLV.mjs} +2 -2
  148. package/dist/client/{usePolling-CyJVo9kF.mjs → usePolling-1ncrfd4S.mjs} +2 -2
  149. package/dist/preview-next/before-render.mjs +0 -7
  150. package/dist/preview-next/client/runtime.mjs +4 -4
  151. package/dist/preview-next/middleware.mjs +0 -7
  152. package/dist/{previewAuthStore-CJX21dGi.mjs → previewAuthStore-Dev9CdG9.mjs} +0 -7
  153. package/dist/{sdk-runtime-BGhyuE-E.mjs → sdk-runtime-BnrCCFJq.mjs} +2 -2
  154. package/dist/{separator-BFs-Kmv5.mjs → separator-CFvBx2yl.mjs} +1 -1
  155. package/dist/server/components.mjs +1389 -1489
  156. package/dist/server/config-validation.mjs +851 -976
  157. package/dist/server/config.mjs +851 -976
  158. package/dist/server/data.mjs +851 -976
  159. package/dist/server/index.mjs +1 -8
  160. package/dist/server/next.mjs +1393 -1500
  161. package/dist/server/page-converter.mjs +851 -976
  162. package/dist/server/prebuild.mjs +1 -1
  163. package/dist/server/rendering/server.mjs +1346 -1446
  164. package/dist/server/rendering.mjs +1390 -1490
  165. package/dist/server/routing.mjs +939 -1041
  166. package/dist/server/server.mjs +852 -984
  167. package/dist/server/theme-bridge.mjs +322 -279
  168. package/dist/server/theme.mjs +277 -33
  169. package/package.json +1 -1
  170. package/dist/_dts/editor-blocks/src/widgets/rich-text/ensureRichTextImageAssetIdentifier.d.ts +0 -8
  171. package/dist/_dts/theme-core/src/palette/editorState.d.ts +0 -75
  172. package/dist/_dts/theme-core/src/palette/libraryModel.d.ts +0 -64
  173. package/dist/_dts/theme-core/src/palette/persistenceReadSource.d.ts +0 -81
  174. package/dist/_dts/theme-core/src/palette/resolveSelection.d.ts +0 -75
  175. package/dist/_dts/theme-core/src/palette/selection.d.ts +0 -74
  176. package/dist/_dts/theme-core/src/palette/sitePalettePersistence.d.ts +0 -34
  177. package/dist/client/scrollToBlock-C86BYkyV.mjs +0 -17
@@ -0,0 +1,54 @@
1
+ import type { BrandDisplayMode, FooterLookId, HeaderInteractionPaletteControlState, HeaderLayoutId, HeaderNavFontSizePreference, HeaderNavTypographyPreference, HeaderStyleId, LogoSizePolicy, SiteChromeBackgroundColorToken, SiteChromeBackgroundOverride } from '../../../../theme-core/src/site-styles/index';
2
+ import type { HeaderBrandDisplayOption, HeaderLogoSizeOption } from './siteChromeBrandPreferences';
3
+ import type { SiteChromeLookOption } from './siteChromeLookRows';
4
+ export type SiteChromeBackgroundControlState = Readonly<{
5
+ available: boolean;
6
+ current: SiteChromeBackgroundOverride;
7
+ currentLabel: string;
8
+ quickTokens: readonly SiteChromeBackgroundColorToken[];
9
+ advancedTokens: readonly SiteChromeBackgroundColorToken[];
10
+ }>;
11
+ export type SiteChromeCustomizeSurfaceState = Readonly<{
12
+ kind: 'unavailable';
13
+ }> | Readonly<{
14
+ kind: 'available';
15
+ surface: 'header';
16
+ label: string;
17
+ currentLayoutId: HeaderLayoutId;
18
+ currentLayoutLabel: string;
19
+ layoutOptions: readonly SiteChromeLookOption<HeaderLayoutId>[];
20
+ currentId: HeaderStyleId;
21
+ currentLabel: string;
22
+ options: readonly SiteChromeLookOption<HeaderStyleId>[];
23
+ brandDisplay: BrandDisplayMode;
24
+ brandDisplayOptions: readonly HeaderBrandDisplayOption[];
25
+ brandSizeLabel: string;
26
+ logoSize: LogoSizePolicy;
27
+ logoSizeOptions: readonly HeaderLogoSizeOption[];
28
+ menuFont: HeaderNavTypographyPreference;
29
+ menuFontOptions: readonly Readonly<{
30
+ value: HeaderNavTypographyPreference;
31
+ label: string;
32
+ }>[];
33
+ menuFontSize: HeaderNavFontSizePreference;
34
+ menuFontSizeOptions: readonly Readonly<{
35
+ value: HeaderNavFontSizePreference;
36
+ label: string;
37
+ }>[];
38
+ interactionPalette: HeaderInteractionPaletteControlState;
39
+ diagnostics: readonly string[];
40
+ background: SiteChromeBackgroundControlState;
41
+ failure: string | null;
42
+ applyAllowed: boolean;
43
+ }> | Readonly<{
44
+ kind: 'available';
45
+ surface: 'footer';
46
+ label: string;
47
+ currentId: FooterLookId | null;
48
+ currentLabel: string;
49
+ options: readonly SiteChromeLookOption<FooterLookId | null>[];
50
+ diagnostics: readonly string[];
51
+ background: SiteChromeBackgroundControlState;
52
+ failure: string | null;
53
+ applyAllowed: boolean;
54
+ }>;
@@ -1,12 +1,21 @@
1
1
  import { type CuratedSiteStyle } from '../../../../theme-core/src/site-styles/previewCompiler';
2
- import { type FooterLookId, type HeaderLayoutId, type HeaderLookId, type HeaderSelectionContext, type HeaderStyleId, type LookCustomizationWritePlan } from '../../../../theme-core/src/site-styles/index';
2
+ import { type FooterLookId, type HeaderLayoutId, type HeaderLookId, type HeaderSelectionContext, type HeaderStyleAvailability, type HeaderStyleId, type LookCustomizationWritePlan } from '../../../../theme-core/src/site-styles/index';
3
3
  import type { SelectionSnapshot, StyleConfiguratorState } from './StyleConfigurator.state';
4
- export type SiteChromeLookOption<TId extends string | null> = Readonly<{
4
+ export type SiteChromeLookUnavailableReason = Extract<HeaderStyleAvailability, {
5
+ kind: 'unavailable';
6
+ }>['reason'] | 'unknown-header-style';
7
+ type SiteChromeLookOptionBase<TId extends string | null> = Readonly<{
5
8
  id: TId;
6
9
  label: string;
7
10
  description?: string;
8
- available: boolean;
9
11
  }>;
12
+ export type SiteChromeLookOption<TId extends string | null> = SiteChromeLookOptionBase<TId> & (Readonly<{
13
+ available: true;
14
+ unavailableReason?: never;
15
+ }> | Readonly<{
16
+ available: false;
17
+ unavailableReason: SiteChromeLookUnavailableReason;
18
+ }>);
10
19
  export type SiteChromeLookCatalogOption<TId extends string> = Readonly<{
11
20
  id: TId;
12
21
  label: string;
@@ -33,6 +42,7 @@ type SiteChromeLookModelInput = Readonly<{
33
42
  headerSelectionContext?: Partial<HeaderSelectionContext>;
34
43
  }>;
35
44
  export declare function buildSiteChromeLookModels(input: SiteChromeLookModelInput): SiteChromeLookModels;
45
+ export declare function siteChromeLookUnavailableReasonLabel(reason: SiteChromeLookUnavailableReason): string;
36
46
  export declare function cycleSiteChromeLookId<TId extends string>(options: readonly SiteChromeLookOption<TId | null>[], currentId: TId | null, direction: 'prev' | 'next'): TId | null | undefined;
37
47
  export declare function cycleableSiteChromeOptions<TId extends string>(options: readonly SiteChromeLookOption<TId | null>[]): readonly SiteChromeLookOption<TId | null>[];
38
48
  export type SiteChromeLookSelectionCommand = Readonly<{
@@ -0,0 +1,3 @@
1
+ import { type HeaderNavPreferences } from '../../../../theme-core/src/site-styles/index';
2
+ import type { SiteChromeQuickControlHistoryEntry, SiteChromeQuickControlNavTarget } from './siteChromeQuickControlHistoryState';
3
+ export declare function quickControlHistoryEntryFromNavPreferenceChange(previous: HeaderNavPreferences, next: HeaderNavPreferences, target: SiteChromeQuickControlNavTarget): SiteChromeQuickControlHistoryEntry | null;
@@ -1,5 +1,5 @@
1
1
  import { type HistoryState } from '../../../../content-editor/src/index';
2
- import { type BrandDisplayMode, type FooterLookId, type HeaderNavFontSizePreference, type HeaderNavPreferences, type HeaderNavTypographyPreference, type LogoSizePolicy, type SiteChromeBackgroundOverride, type SiteChromeBackgroundPreferences } from '../../../../theme-core/src/site-styles/index';
2
+ import { type BrandDisplayMode, type FooterLookId, type HeaderNavFontSizePreference, type HeaderNavPreferences, type HeaderNavTypographyPreference, type HeaderInteractionPalettePreference, type LogoSizePolicy, type SiteChromeBackgroundOverride, type SiteChromeBackgroundPreferences } from '../../../../theme-core/src/site-styles/index';
3
3
  import type { SelectionSnapshot } from './StyleConfigurator.state';
4
4
  import type { HeaderBrandPreferences } from './siteChromeBrandPreferences';
5
5
  type HeaderLayoutSelection = Pick<SelectionSnapshot, 'headerLayoutId' | 'headerStyleId' | 'headerLookId'>;
@@ -40,6 +40,10 @@ export type SiteChromeQuickControlHistoryEntry = Readonly<{
40
40
  kind: 'header-menu-font-size';
41
41
  previous: HeaderNavFontSizePreference;
42
42
  next: HeaderNavFontSizePreference;
43
+ }> | Readonly<{
44
+ kind: 'header-interaction-palette';
45
+ previous: HeaderInteractionPalettePreference;
46
+ next: HeaderInteractionPalettePreference;
43
47
  }>;
44
48
  export type SiteChromeQuickControlHistoryPresent = Readonly<{
45
49
  selection: SelectionSnapshot;
@@ -108,7 +112,7 @@ export type SiteChromeQuickControlHistoryFailure = Readonly<{
108
112
  }>;
109
113
  export type SiteChromeQuickControlSelectionTarget = 'header-layout' | 'header-style' | 'footer-look';
110
114
  export type SiteChromeQuickControlBrandTarget = 'header-brand-display' | 'header-logo-size';
111
- export type SiteChromeQuickControlNavTarget = 'header-menu-font' | 'header-menu-font-size';
115
+ export type SiteChromeQuickControlNavTarget = 'header-menu-font' | 'header-menu-font-size' | 'header-interaction-palette';
112
116
  export type SiteChromeQuickControlBackgroundTarget = 'header-background' | 'footer-background';
113
117
  export declare function createSiteChromeQuickControlHistoryState(present: SiteChromeQuickControlHistoryPresentInput): SiteChromeQuickControlHistoryState;
114
118
  export declare function recordSiteChromeQuickControlHistoryEntry(state: SiteChromeQuickControlHistoryState, input: Readonly<{
@@ -119,7 +123,6 @@ export declare function recordSiteChromeQuickControlHistoryEntry(state: SiteChro
119
123
  export declare function quickControlHistoryEntryFromSelectionChange(previous: SelectionSnapshot, next: SelectionSnapshot, target: SiteChromeQuickControlSelectionTarget): SiteChromeQuickControlHistoryEntry | null;
120
124
  export declare function quickControlHistoryEntryFromBrandPreferenceChange(previous: HeaderBrandPreferences, next: HeaderBrandPreferences, target: SiteChromeQuickControlBrandTarget): SiteChromeQuickControlHistoryEntry | null;
121
125
  export declare function quickControlHistoryEntryFromBackgroundPreferenceChange(previous: SiteChromeBackgroundPreferences, next: SiteChromeBackgroundPreferences, target: SiteChromeQuickControlBackgroundTarget): SiteChromeQuickControlHistoryEntry | null;
122
- export declare function quickControlHistoryEntryFromNavPreferenceChange(previous: HeaderNavPreferences, next: HeaderNavPreferences, target: SiteChromeQuickControlNavTarget): SiteChromeQuickControlHistoryEntry | null;
123
126
  export declare function beginSiteChromeQuickControlHistoryUndo(state: SiteChromeQuickControlHistoryState): SiteChromeQuickControlHistoryBeginResult;
124
127
  export declare function beginSiteChromeQuickControlHistoryRedo(state: SiteChromeQuickControlHistoryState): SiteChromeQuickControlHistoryBeginResult;
125
128
  export declare function confirmSiteChromeQuickControlHistoryMutation(state: SiteChromeQuickControlHistoryState, persisted: SiteChromeQuickControlHistoryPresentInput): SiteChromeQuickControlHistoryState;
@@ -1,13 +1,11 @@
1
1
  import type { Theme } from '../../../../blocks/src/index';
2
2
  import type { ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
3
- import { type CompleteResolvedPaletteSelection } from '../../../../theme-core/src/palette/index';
4
3
  import type { FooterLookId, HeaderLayoutId, HeaderLookId, HeaderSelectionContext, HeaderStyleId, SiteChromeSurface } from '../../../../theme-core/src/site-styles/index';
5
4
  import { compileSiteThemeFromSelections, type CuratedSiteStyle, type SelectionFallbackWarning, type SiteStyleId } from '../../../../theme-core/src/site-styles/previewCompiler';
6
- import type { PaletteSelectionSnapshot } from './StyleConfigurator.state';
7
5
  export type SiteStylePreviewSelection = Readonly<{
8
6
  siteStyleId: SiteStyleId;
9
7
  buttonStyleSelection: ButtonStyleSelection;
10
- palette: PaletteSelectionSnapshot;
8
+ palette: Theme['palette'];
11
9
  typography: Theme['typography'];
12
10
  headerLayoutId?: HeaderLayoutId | null;
13
11
  headerStyleId?: HeaderStyleId | null;
@@ -53,5 +51,4 @@ export declare function deriveSiteStylePreviewUpdate(baseTheme: Theme | null | u
53
51
  kind: 'derive-update';
54
52
  }>;
55
53
  export declare function planSiteStylePreviewChange(input: SiteStylePreviewPlanInput): SiteStylePreviewPlan;
56
- export declare function resolvedPaletteForPreview(palette: PaletteSelectionSnapshot, siteStyle: CuratedSiteStyle): CompleteResolvedPaletteSelection;
57
54
  export {};
@@ -1,26 +1,12 @@
1
1
  import type { APIEndpoints } from '../../../../api/src/index';
2
- import { type PaletteCommand } from '../../../../theme-core/src/palette/index';
3
2
  import { type SelectionSnapshot } from './StyleConfigurator.state';
4
3
  export type ApplySiteStyleSelectionBody = NonNullable<APIEndpoints['applySiteStyleSelection']['body']>;
5
- export type PaletteApplyCommandPlan = Readonly<{
6
- ok: true;
7
- command: PaletteCommand;
8
- }> | Readonly<{
9
- ok: false;
10
- error: 'invalid-palette-state' | 'curated-palette-missing';
11
- }>;
12
- export declare function planPaletteApplyCommand(input: Readonly<{
13
- base: SelectionSnapshot;
14
- previewed: SelectionSnapshot;
15
- }>): PaletteApplyCommandPlan;
16
4
  export type ApplySiteStyleSelectionBodyBuildResult = Readonly<{
17
5
  ok: true;
18
6
  body: ApplySiteStyleSelectionBody;
19
7
  }> | Readonly<{
20
8
  ok: false;
21
- error: Extract<PaletteApplyCommandPlan, {
22
- ok: false;
23
- }>['error'] | 'no-selection-changes';
9
+ error: 'no-selection-changes';
24
10
  }>;
25
11
  export declare function buildApplySiteStyleSelectionBody(input: Readonly<{
26
12
  base: SelectionSnapshot;
@@ -1,33 +1,23 @@
1
1
  import type { Theme } from '../../../../blocks/src/index';
2
2
  import type { ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
3
- import { type RuntimePaletteState } from '../../../../theme-core/src/palette/index';
4
3
  import type { FooterLookId, HeaderLayoutId, HeaderLookId, HeaderSelectionContext, HeaderStyleId } from '../../../../theme-core/src/site-styles/index';
5
4
  import type { SelectionSnapshot } from './StyleConfigurator.state';
6
- export type PreviewRuntimePaletteState = Extract<RuntimePaletteState, Readonly<{
7
- authority: 'curated';
8
- }>> | Extract<RuntimePaletteState, Readonly<{
9
- authority: 'site';
10
- }>> | Extract<RuntimePaletteState, Readonly<{
11
- kind: 'invalid';
12
- }>>;
5
+ export type StyleConfiguratorInitialSelections = Readonly<{
6
+ selectionVersion?: number | null;
7
+ selectionUpdatedAt?: string | null;
8
+ buttonStyleSelection: ButtonStyleSelection | null;
9
+ headerLayoutId?: HeaderLayoutId | null;
10
+ headerStyleId?: HeaderStyleId | null;
11
+ headerLookId?: HeaderLookId | null;
12
+ footerLookId?: FooterLookId | null;
13
+ }>;
13
14
  type StyleConfiguratorSnapshotInput = Readonly<{
14
15
  theme?: Theme | null;
15
- initialSelections: Readonly<{
16
- selectionVersion?: number | null;
17
- selectionUpdatedAt?: string | null;
18
- buttonStyleSelection: ButtonStyleSelection | null;
19
- runtimePaletteState: PreviewRuntimePaletteState;
20
- headerLayoutId?: HeaderLayoutId | null;
21
- headerStyleId?: HeaderStyleId | null;
22
- headerLookId?: HeaderLookId | null;
23
- footerLookId?: FooterLookId | null;
24
- }>;
16
+ initialSelections: StyleConfiguratorInitialSelections;
25
17
  headerSelectionContext?: Partial<HeaderSelectionContext>;
26
18
  }>;
27
19
  /**
28
- * Preview only accepts the modern, server-resolved palette runtime state. The
29
- * old Theme-plus-overrides reconstruction belongs to migration tooling, never
30
- * to a live editor where it could silently overwrite authoritative state.
20
+ * The parsed theme is the complete palette authority for preview.
31
21
  */
32
22
  export declare function resolveStyleConfiguratorInitialSnapshot(input: Readonly<{
33
23
  theme?: Theme | null;
@@ -1,8 +1,9 @@
1
1
  import { Command } from 'commander';
2
2
  import type { EventOccurrenceCapacityIntent, EventOccurrenceScheduleInput, ManagementEventOccurrence, EventSeriesUpsertInput, ManagementEventSeries } from '../../client/management/types';
3
+ import { canCancelEventStatus } from './eventOccurrenceSchedule';
4
+ export { canCancelEventStatus };
3
5
  export declare function toEventUpsertInput(identifier: string, raw: Record<string, unknown>): EventSeriesUpsertInput;
4
6
  export declare function buildCancelledEventUpsertInput(current: ManagementEventSeries): EventSeriesUpsertInput;
5
- export declare function canCancelEventStatus(status: ManagementEventSeries['status']): boolean;
6
7
  type OccurrenceScheduleOptions = Readonly<{
7
8
  startsAt?: string;
8
9
  endsAt?: string;
@@ -20,4 +21,3 @@ export declare function occurrenceListJson(occurrences: readonly ManagementEvent
20
21
  occurrences: readonly ManagementEventOccurrence[];
21
22
  }>;
22
23
  export declare const eventCommand: Command;
23
- export {};
@@ -0,0 +1,12 @@
1
+ import type { ManagementEventSeries } from '../../client/management/types';
2
+ export declare function portableEventScheduleOutput(event: ManagementEventSeries): {
3
+ schedule: import("../../../../api/src/sdkContracts").SdkEventCanonicalScheduleInput;
4
+ preset: import("../../../../api/src/index").EventPreset;
5
+ bookingScope: "single_occurrence" | "whole_series";
6
+ occurrences: readonly Readonly<{
7
+ startsAt: string;
8
+ endsAt: string;
9
+ timeZone: string;
10
+ }>[];
11
+ };
12
+ export declare function canCancelEventStatus(status: ManagementEventSeries['status']): boolean;
@@ -1,5 +1,11 @@
1
1
  import type { LocalContent } from '../../content/reader';
2
2
  import type { PulledContent } from '../../../client/management/types';
3
+ import { InvalidLocalEventScheduleIdentityError } from '../../content/localEventSchedule';
4
+ export declare class IncompatibleEventPullContractError extends Error {
5
+ readonly identifier: string;
6
+ readonly code = "incompatible_event_pull_contract";
7
+ constructor(identifier: string, cause: InvalidLocalEventScheduleIdentityError);
8
+ }
3
9
  export interface PushAllEntityChanges {
4
10
  toPush: Set<string>;
5
11
  toDelete?: Set<string>;
@@ -12,7 +12,7 @@ type StyleSelectionOptions = Readonly<{
12
12
  siteStyleId: string;
13
13
  buttonStyleId?: string;
14
14
  buttonStyleParameters?: string;
15
- paletteCommand?: string;
15
+ palette?: string;
16
16
  typography?: string;
17
17
  headerLookId?: string;
18
18
  headerLayoutId?: string;
@@ -0,0 +1,5 @@
1
+ export declare class LegacyEventScheduleShapeError extends Error {
2
+ readonly filePath: string;
3
+ readonly code = "legacy_event_schedule_shape";
4
+ constructor(filePath: string);
5
+ }
@@ -0,0 +1,17 @@
1
+ import type { EventPreset } from '../../../../api/src/index';
2
+ export interface LocalEventOccurrence {
3
+ startsAt: string;
4
+ endsAt: string;
5
+ timeZone: string;
6
+ }
7
+ export interface LocalEventScheduleIdentity {
8
+ preset: EventPreset;
9
+ bookingScope: 'single_occurrence' | 'whole_series';
10
+ occurrences: readonly LocalEventOccurrence[];
11
+ }
12
+ export declare class InvalidLocalEventScheduleIdentityError extends Error {
13
+ readonly filePath: string;
14
+ readonly code = "invalid_local_event_schedule_identity";
15
+ constructor(filePath: string, details: string);
16
+ }
17
+ export declare function parseLocalEventScheduleIdentity(value: unknown, filePath: string): LocalEventScheduleIdentity;
@@ -4,9 +4,13 @@
4
4
  * Reads content from the file system for push operations.
5
5
  * Mirrors the structure created by writer.ts.
6
6
  */
7
+ export { LegacyEventScheduleShapeError } from './legacyEventScheduleShapeError';
7
8
  import { type ContentMetadataTarget } from './metadataStore';
8
9
  import type { NavigationAuthoringLinkInput, NavigationLocalItemInput } from '../../../../api/src/navigation';
9
10
  import type { SdkEventPricingInput } from '../../../../api/src/sdk-event-pricing';
11
+ import { type LocalEventScheduleIdentity } from './localEventSchedule';
12
+ export type { LocalEventOccurrence, LocalEventScheduleIdentity } from './localEventSchedule';
13
+ export { InvalidLocalEventScheduleIdentityError } from './localEventSchedule';
10
14
  import { type ValidatedThemeForPersistence } from '../../../../blocks/src/index';
11
15
  import type { EventPaymentTermsInput } from '../../client/management/types';
12
16
  import { type RichTextDoc } from '../../../../core/src/index';
@@ -154,14 +158,6 @@ export interface LocalEventCategory {
154
158
  color?: string | null;
155
159
  sortOrder?: number;
156
160
  }
157
- export interface LocalEventSchedule {
158
- recurrenceRule?: string | null;
159
- startDate?: string | null;
160
- defaultStartTime?: string | null;
161
- durationMinutes?: number | null;
162
- startsAt?: string | null;
163
- endsAt?: string | null;
164
- }
165
161
  export type LocalEventPricing = SdkEventPricingInput;
166
162
  export interface LocalEventContent {
167
163
  summary?: string | null;
@@ -170,14 +166,13 @@ export interface LocalEventContent {
170
166
  identifier: string;
171
167
  }) | null;
172
168
  }
173
- export interface LocalEvent {
169
+ export interface LocalEvent extends LocalEventScheduleIdentity {
174
170
  identifier: string;
175
171
  title: string;
176
172
  slug: string;
177
173
  path?: string | null;
178
174
  status?: 'draft' | 'active' | 'archived' | 'cancelled' | 'completed';
179
175
  visibility?: 'private' | 'public' | 'unlisted';
180
- schedule?: LocalEventSchedule;
181
176
  capacity?: number | null;
182
177
  pricing?: LocalEventPricing;
183
178
  paymentTerms?: EventPaymentTermsInput;
@@ -1,4 +1,4 @@
1
- import type { LocalEvent } from '../content/reader';
1
+ import { type LocalEvent } from '../content/reader';
2
2
  export type EventMigrationPlanItem = Readonly<{
3
3
  tag: 'mergeLegacyIntoEvent';
4
4
  legacyFilePath: string;
@@ -0,0 +1,24 @@
1
+ import { type Result } from '../../../../core/src/index';
2
+ import type { SiteCommandOf } from '../../../../site-commands/src/index';
3
+ import type { EventSeriesUpsertInput } from '../../client/management/types';
4
+ type EventOccurrenceCompileInput = Readonly<{
5
+ startsAt: string;
6
+ endsAt: string;
7
+ timeZone: string;
8
+ }>;
9
+ type EventScheduleCompileInput = Readonly<{
10
+ identifier: string;
11
+ occurrences: ReadonlyArray<EventOccurrenceCompileInput>;
12
+ }>;
13
+ type ScheduleCompileError = Readonly<{
14
+ code: 'unsupported_local_shape';
15
+ identifier: string;
16
+ message: string;
17
+ }>;
18
+ export declare function compileExplicitEventSchedule(event: EventScheduleCompileInput): Result<Readonly<{
19
+ timeZone: string;
20
+ occurrences: SiteCommandOf<'upsertEventSeries'>['input']['occurrences'];
21
+ }>, ScheduleCompileError>;
22
+ export declare function scheduleFromExplicitEventOccurrence(occurrence: EventOccurrenceCompileInput): EventSeriesUpsertInput['schedule'];
23
+ export declare function scheduleFromCommandOccurrence(occurrence: SiteCommandOf<'upsertEventSeries'>['input']['occurrences'][number], timeZone: SiteCommandOf<'upsertEventSeries'>['input']['timezone']): EventSeriesUpsertInput['schedule'];
24
+ export {};
@@ -27,7 +27,7 @@ export declare class ManagementApiError extends Error {
27
27
  readonly request?: ManagementApiErrorRequest;
28
28
  /**
29
29
  * Precise failure tag from the server's `DomainServiceError` (e.g. `STALE_BASE`,
30
- * `PALETTE_CAP_REACHED`). Branch on this when the coarse `code`/`statusCode`
30
+ * `INVALID_STYLE_SELECTION`). Branch on this when the coarse `code`/`statusCode`
31
31
  * collapses several failures into one.
32
32
  */
33
33
  readonly tag?: string;
@@ -9,11 +9,10 @@ import type { SiteCommandOf } from '../../../../site-commands/src/index';
9
9
  import type { SdkEventPricing, SdkEventPricingInput, SdkEventTicketTypeInput } from '../../../../api/src/sdk-event-pricing';
10
10
  import type { SdkEventPaymentTerms, SdkEventPaymentTermsInput } from '../../../../api/src/sdk-event-payment-terms';
11
11
  import type { SdkEventUpsertBody } from '../../../../api/src/sdk-event-upsert';
12
- import type { SdkAddEventOccurrenceRequest, SdkEventOccurrenceCapacityIntent, SdkEventOccurrenceScheduleInput, SdkManagementEventOccurrence, SdkManagementEventSeries } from '../../../../api/src/sdkContracts';
12
+ import type { SdkAddEventOccurrenceRequest, SdkEventOccurrenceCapacityIntent, SdkEventOccurrenceScheduleInput, SdkManagementEventOccurrence, SdkManagementEventSeries, SdkPullEventSeries } from '../../../../api/src/sdkContracts';
13
13
  import type { SdkPullTruncationMeta } from '../../../../api/src/sdkContracts';
14
14
  import type { SdkCapabilitiesResponse, SdkCatalogBlocksResponse, SdkCatalogContentTypesResponse, SdkCatalogThemeResponse, SdkDemoContentResponse } from '../../../../api/src/sdkContracts';
15
15
  import type { SdkEntryPublishErrorCode, SdkPagePublishErrorCode, SdkPublicationOutcome } from '../../../../api/src/sdkContracts';
16
- import type { PaletteSelection } from '../../../../theme-core/src/palette/index';
17
16
  import type { ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
18
17
  import type { Theme } from '../../contracts';
19
18
  import type { RichTextDoc } from '../../../../core/src/index';
@@ -536,8 +535,6 @@ export interface ThemeStyleSelectionApplyResult {
536
535
  theme: Theme;
537
536
  siteStyleId: string;
538
537
  buttonStyleSelection: ButtonStyleSelection;
539
- activePaletteSelection: PaletteSelection;
540
- activeSitePaletteVersion: number | null;
541
538
  headerLookId: string | null;
542
539
  headerLayoutId: string | null;
543
540
  headerStyleId: string | null;
@@ -723,29 +720,7 @@ export interface PulledEventCategories {
723
720
  };
724
721
  }
725
722
  export interface PulledEvents {
726
- events: Array<{
727
- identifier: string;
728
- title: string;
729
- slug: string;
730
- path?: string | null;
731
- status: 'draft' | 'active' | 'archived' | 'cancelled' | 'completed';
732
- visibility: 'private' | 'public' | 'unlisted';
733
- schedule: EventSchedule;
734
- capacity: number | null;
735
- pricing: EventPricing;
736
- paymentTerms?: EventPaymentTerms;
737
- venueRef: string | null;
738
- categoryRef: string | null;
739
- content: EventContent;
740
- formRef: string | null;
741
- settings: Record<string, unknown>;
742
- presentation: Record<string, unknown> | null;
743
- tags: string[];
744
- updatedAt: string;
745
- createdAt: string;
746
- contentUpdatedAt: string | null;
747
- blocks?: EntrySlotBlocks;
748
- }>;
723
+ events: SdkPullEventSeries[];
749
724
  meta: {
750
725
  pulledAt: string;
751
726
  };
@@ -832,7 +807,7 @@ export interface ApiErrorResponse {
832
807
  }>;
833
808
  /**
834
809
  * Precise failure tag from the originating server `DomainServiceError`
835
- * (e.g. `STALE_BASE`, `PALETTE_CAP_REACHED`). Optional; the coarse `code`
810
+ * (e.g. `STALE_BASE`, `INVALID_STYLE_SELECTION`). Optional; the coarse `code`
836
811
  * collapses several tags into one HTTP status.
837
812
  */
838
813
  tag?: string;
@@ -16,7 +16,7 @@ export type { ValidatedRiverbankSiteConfig, ValidatedSdkCustomBlock, ContentConf
16
16
  export { validateLayout, validateLayoutNodeTypes, validateTransformIds, type LayoutValidationError, type LayoutValidationResult, } from './layout-validation';
17
17
  export { SYSTEM_BLOCK_KINDS, type SystemBlockKind, type CustomBlockKind, type BlockKind, } from '../types';
18
18
  export { defineTypedContentType, createEntry, tiptap, type TypedContentType, type TypedEntryConfig, type InferDataFromFields, type FieldValueType, } from './typed-entries';
19
- export type { TipTapNode, Media, LinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, } from './typed-entries';
19
+ export type { RichTextDoc, TipTapNode, Media, LinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, } from './typed-entries';
20
20
  /**
21
21
  * Helper function to define a Builder site configuration with type checking.
22
22
  *
@@ -1,8 +1,7 @@
1
1
  import type { AddressedLocationValue, BusinessAddress } from '../../../core/src/index';
2
- import type { APIEndpoints, SdkRuntimePageSurfaceSubject as ApiSdkRuntimePageSurfaceSubject, SiteBookingOfferingPresetSummary as ApiSiteBookingOfferingPresetSummary } from '../../../api/src/index';
3
- import type { Media, MediaAssetIndexItem, SiteFooterContent, SiteHeaderContent, Theme } from '../contracts';
2
+ import type { APIEndpoints, SdkRuntimePageSurfaceSubject as ApiSdkRuntimePageSurfaceSubject, SiteBySlugResponse as ApiSiteBySlugResponse, SiteBookingOfferingPresetSummary as ApiSiteBookingOfferingPresetSummary } from '../../../api/src/index';
3
+ import type { Media, MediaAssetIndexItem, SiteFooterContent, SiteHeaderContent } from '../contracts';
4
4
  import type { CompiledBoundaryRuntime } from '../../../theme-core/src/site-styles/index';
5
- import type { RuntimePaletteState } from '../../../theme-core/src/palette/index';
6
5
  import type { BlockFieldConfig as SdkBlockFieldConfig, BlockFieldOptionsMap as SdkBlockFieldOptionsMap, ContentConfig as SdkContentConfig, ContainerOptionsConfig as SdkContainerOptionsConfig, FieldSelectOption as SdkFieldSelectOption, SdkCustomBlock, SdkThemeConfig, SdkThemePalette, SectionBackground as SdkSectionBackground, SectionOptionsConfig as SdkSectionOptionsConfig, SiteStyleConfig as SdkSiteStyleConfig } from '../config/types';
7
6
  export type PublicTeamMemberSummary = {
8
7
  id: string;
@@ -282,7 +281,8 @@ export type SiteRouteRecord = {
282
281
  publishedAt?: string | null;
283
282
  };
284
283
  export type SiteBookingOfferingPresetSummary = ApiSiteBookingOfferingPresetSummary;
285
- export type SiteResponse = {
284
+ type SiteSelectionResponse = Pick<ApiSiteBySlugResponse, 'theme' | 'themeId' | 'selectionId' | 'selectionVersion' | 'selectionUpdatedAt' | 'selectionButtonStyleSelection' | 'selectionHeaderLayoutId' | 'selectionHeaderStyleId' | 'selectionHeaderLookId' | 'selectionFooterLookId'>;
285
+ export type SiteResponse = SiteSelectionResponse & {
286
286
  site: {
287
287
  id: string;
288
288
  title: string;
@@ -301,22 +301,6 @@ export type SiteResponse = {
301
301
  url: string;
302
302
  mimeType: string;
303
303
  } | null;
304
- theme: Theme;
305
- themeId?: string | null;
306
- selectionId?: string | null;
307
- selectionVersion?: number | null;
308
- selectionUpdatedAt?: string | null;
309
- /**
310
- * Persisted design selections. Optional so legacy
311
- * payloads without these columns still satisfy the type — consumers fall
312
- * back to the site style's defaults when null.
313
- */
314
- selectionButtonStyleSelection?: import('../../../theme-core/src/buttons/index').ButtonStyleSelection | null;
315
- runtimePaletteState?: RuntimePaletteState | null;
316
- selectionHeaderLayoutId?: string | null;
317
- selectionHeaderStyleId?: string | null;
318
- selectionHeaderLookId?: string | null;
319
- selectionFooterLookId?: string | null;
320
304
  navigation: NavigationMenuWithItems[];
321
305
  appointmentsEnabled?: boolean;
322
306
  portalEnabled?: boolean;
@@ -916,3 +900,4 @@ export type PublicSdkContainerOptionsConfig = SdkContainerOptionsConfig;
916
900
  export type PublicSdkBlockFieldConfig = SdkBlockFieldConfig;
917
901
  export type PublicSdkBlockFieldOptionsMap = SdkBlockFieldOptionsMap;
918
902
  export type PublicSdkFieldSelectOption = SdkFieldSelectOption;
903
+ export {};
@@ -16,7 +16,7 @@ export type { LoadPageParams, LoadPageResult } from './helpers/loadPage';
16
16
  export { loadContent, isPageContent, isEntryContent, isPageSurfaceContent, } from './helpers/loadContent';
17
17
  export type { LoadContentParams, LoadContentResult, ContentEntryData, PagePreviewMetadata, SiteData, } from './helpers/loadContent';
18
18
  export type { BlockLoaderMap, DataLoaderContext, DataLoaderFn, DataLoaderOverrides, DataLoaderPreviewStage, DataLoaderRenderTarget, DataLoaderSearchParams, DataLoaderValue, } from '../data/types';
19
- export type { AppointmentBookingContent, BlogListingContent, BlogPostContent, BodyTextAlignment, BodyTextContent, ButtonVariant, CalendarTabViews, CardStylesContent, CollectionContent, ColumnsContent, ColumnOption, ContainerStylesContent, CtaFullContent, DisplayMode, EmbedContent, EventCalendarContent, EventDetailsContent, EventLayout, EventListingContent, EventRegistrationContent, EventSpotlightContent, FaqContent, FaqItem, FilterAutoShow, FormBlockContent, GiftingContent, HeroContent, HeroCta, HeroCtaInput, HeroMedia, ImageColSize, ImageGalleryContent, LayoutAlign, LayoutWidth, Media, MediaTextAlignment, MediaTextAspectRatio, MediaTextContent, MediaTextImagePosition, NewsletterSignupContent, NewsletterSignupPreset, TipTapNode, TipTapMark, LinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, RichTextPrimitiveProps, RichTextVariant, PageOutline, BlockOutline, RouteMap, RouteMapEntry, OccurrenceContextData, EntrySubrouteContextData, Theme, ThemeTokens, SectionStylesContent, SemanticSpacing, ShopContent, SingleButtonContent, SiteFooterContent, SiteHeaderContent, StackContentAlignment, StackImagePosition, SystemBlockContentByFullKind, SystemBlockContentByKind, SystemBlockContentFor, SystemBlockShortKind, TeamMembersContent, TestimonialEntryContent, TestimonialsBlockContent, ThumbnailPadding, ThumbnailShape, VideoGridContent, WeekStart, MediaAssetIndexItem, ImageOptions, ResolveImageUrlContext, ResolveImageUrlContextInput, ResolveImageSourceSetOptions, ResolvedImageSourceSet, } from '../contracts';
19
+ export type { AppointmentBookingContent, BlogListingContent, BlogPostContent, BodyTextAlignment, BodyTextContent, ButtonVariant, CalendarTabViews, CardStylesContent, CollectionContent, ColumnsContent, ColumnOption, ContainerStylesContent, CtaFullContent, DisplayMode, EmbedContent, EventCalendarContent, EventDetailsContent, EventLayout, EventListingContent, EventRegistrationContent, EventSpotlightContent, FaqContent, FaqItem, FilterAutoShow, FormBlockContent, GiftingContent, HeroContent, HeroCta, HeroCtaInput, HeroMedia, ImageColSize, ImageGalleryContent, LayoutAlign, LayoutWidth, Media, MediaTextAlignment, MediaTextAspectRatio, MediaTextContent, MediaTextImagePosition, NewsletterSignupContent, NewsletterSignupPreset, TipTapNode, TipTapMark, LinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, RichTextPrimitiveProps, RichTextVariant, PageOutline, BlockOutline, RouteMap, RouteMapEntry, OccurrenceContextData, EntrySubrouteContextData, Theme, ThemeTokens, RichTextDoc, SectionStylesContent, SemanticSpacing, ShopContent, SingleButtonContent, SiteFooterContent, SiteHeaderContent, StackContentAlignment, StackImagePosition, SystemBlockContentByFullKind, SystemBlockContentByKind, SystemBlockContentFor, SystemBlockShortKind, TeamMembersContent, TestimonialEntryContent, TestimonialsBlockContent, ThumbnailPadding, ThumbnailShape, VideoGridContent, WeekStart, MediaAssetIndexItem, ImageOptions, ResolveImageUrlContext, ResolveImageUrlContextInput, ResolveImageSourceSetOptions, ResolvedImageSourceSet, } from '../contracts';
20
20
  export { ImagePresets } from '../contracts';
21
21
  export { RichText } from './primitives/RichText';
22
22
  export { resolveImageUrl, resolveImageUrlWithContext, resolveImageSourceSetWithContext, } from './image';
@@ -1,4 +1,4 @@
1
- import type { EventScheduleScope as SystemEventScheduleScope, EventSurfacePreset as SystemEventSurfacePreset, RichTextDoc as SystemRichTextDoc } from '../../contracts/system-block-content';
1
+ import type { ButtonVariant as SystemButtonVariant, EventScheduleScope as SystemEventScheduleScope, EventSurfacePreset as SystemEventSurfacePreset, RichTextDoc as SystemRichTextDoc } from '../../contracts/system-block-content';
2
2
  import type { PublicTeamMemberSummary } from '../../../../api/src/index';
3
3
  import type { BookingFlexibleBalanceConfig, BookingInstalmentPlanConfig, LocationCoordinates, PublicCoursePriceDisplay, PublicEventPriceDisplay, PublicEventPricing, PublicEventPricingType } from '../../../../core/src/index';
4
4
  import type { AccordionIslandProps as BlocksAccordionIslandProps, BookingFormConfig as BlocksBookingFormConfig, BookingFormInteractiveIslandProps as BlocksBookingFormIslandProps, BookingFormService as BlocksBookingFormService, CarouselIslandProps as BlocksCarouselIslandProps, CourseRegistrationInteractiveIslandProps as BlocksCourseRegistrationIslandProps, CartDisplay as BlocksCartDisplay, CartInteractiveIslandProps as BlocksCartIslandProps, CartLineDisplay as BlocksCartLineDisplay, CheckoutDisplay as BlocksCheckoutDisplay, CheckoutInteractiveIslandProps as BlocksCheckoutIslandProps, EventCalendarInteractiveIslandProps as BlocksEventCalendarIslandProps, EventCombinedInteractiveIslandProps as BlocksEventCombinedIslandProps, EventDetailsIslandProps as BlocksEventDetailsIslandProps, EventDetailsOccurrenceContext as BlocksEventDetailsOccurrenceContext, LocationMapIslandProps as BlocksLocationMapIslandProps, EventRegistrationInteractiveIslandProps as BlocksEventRegistrationIslandProps, EventListingDisplay as BlocksEventListingDisplay, EventListingHydration as BlocksEventListingHydration, EventListingInteractiveIslandProps as BlocksEventListingIslandProps, PublicEvent as BlocksPublicEvent, FormInteractiveIslandProps as BlocksFormIslandProps, HeaderSectionIslandProps as BlocksHeaderSectionIslandProps, MembershipCardDisplay as BlocksMembershipCardDisplay, NewsletterFormInteractiveIslandProps as BlocksNewsletterFormIslandProps, PassCardDisplay as BlocksPassCardDisplay, PassesMembershipsDisplay as BlocksPassesMembershipsDisplay, ProductCardDisplay as BlocksProductCardDisplay, ProductDetailDisplay as BlocksProductDetailDisplay, ProductDetailInteractiveIslandProps as BlocksProductDetailIslandProps, ProductListDisplay as BlocksProductListDisplay, ProductListInteractiveIslandProps as BlocksProductListIslandProps, ProductVariantOptionDisplay as BlocksProductVariantOptionDisplay, ShopInteractiveIslandProps as BlocksShopIslandProps } from '../../../../blocks/src/contracts/index';
@@ -240,7 +240,7 @@ export type BookingFormService = BlocksBookingFormService;
240
240
  export type BookingFormConfig = BlocksBookingFormConfig;
241
241
  export type BookingFormIslandProps = BlocksBookingFormIslandProps;
242
242
  export type CardVariant = 'default' | 'variant1' | 'variant2';
243
- export type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'link';
243
+ export type ButtonVariant = SystemButtonVariant;
244
244
  export type EventListingLayout = EventLayout;
245
245
  export type CardOrientation = 'vertical' | 'horizontal';
246
246
  export type EventListingDisplay = BlocksEventListingDisplay;
@@ -8,4 +8,4 @@
8
8
  * 1. This constant
9
9
  * 2. The "version" field in package.json
10
10
  */
11
- export declare const SDK_VERSION = "0.125.0";
11
+ export declare const SDK_VERSION = "0.127.0";
@@ -112,7 +112,34 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
112
112
  }, z.core.$strict>], "styleId">>;
113
113
  }, z.core.$strict>, z.ZodObject<{
114
114
  kind: z.ZodLiteral<"set-palette">;
115
- command: z.ZodType<import("../../blocks/src/index").PaletteCommand, unknown, z.core.$ZodTypeInternals<import("../../blocks/src/index").PaletteCommand, unknown>>;
115
+ palette: z.ZodPipe<z.ZodObject<{
116
+ colors: z.ZodArray<z.ZodObject<{
117
+ name: z.ZodString;
118
+ hex: z.ZodString;
119
+ }, z.core.$strip>>;
120
+ meta: z.ZodObject<{
121
+ mode: z.ZodEnum<{
122
+ light: "light";
123
+ dark: "dark";
124
+ }>;
125
+ }, z.core.$strip>;
126
+ }, z.core.$strip>, z.ZodTransform<{
127
+ colors: {
128
+ name: string;
129
+ hex: string;
130
+ }[];
131
+ meta: {
132
+ mode: "light" | "dark";
133
+ };
134
+ }, {
135
+ colors: {
136
+ name: string;
137
+ hex: string;
138
+ }[];
139
+ meta: {
140
+ mode: "light" | "dark";
141
+ };
142
+ }>>;
116
143
  }, z.core.$strict>, z.ZodObject<{
117
144
  kind: z.ZodLiteral<"set-typography">;
118
145
  typography: z.ZodNullable<z.ZodObject<{
@@ -800,17 +827,18 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
800
827
  slug: z.ZodString;
801
828
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
802
829
  title: z.ZodString;
803
- archetype: z.ZodEnum<{
804
- custom: "custom";
830
+ preset: z.ZodEnum<{
831
+ course: "course";
832
+ event: "event";
805
833
  performance: "performance";
806
834
  class: "class";
807
835
  workshop: "workshop";
808
836
  retreat: "retreat";
809
837
  }>;
810
- bookingScope: z.ZodOptional<z.ZodEnum<{
838
+ bookingScope: z.ZodEnum<{
811
839
  single_occurrence: "single_occurrence";
812
840
  whole_series: "whole_series";
813
- }>>;
841
+ }>;
814
842
  status: z.ZodOptional<z.ZodEnum<{
815
843
  active: "active";
816
844
  draft: "draft";