@riverbankcms/sdk 0.68.0 → 0.70.2

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 (430) hide show
  1. package/dist/_dts/ai/src/contracts/commandExposure.d.ts +8 -0
  2. package/dist/_dts/ai/src/contracts/feedback.d.ts +55 -0
  3. package/dist/_dts/ai/src/contracts/proposals.d.ts +34764 -0
  4. package/dist/_dts/ai/src/contracts.d.ts +5 -0
  5. package/dist/_dts/ai/src/designer/rfc6902.d.ts +16 -0
  6. package/dist/_dts/ai/src/designer/themePatch.d.ts +50 -0
  7. package/dist/_dts/api/src/accessAdmin.d.ts +3 -3
  8. package/dist/_dts/api/src/admin/types.d.ts +1 -1
  9. package/dist/_dts/api/src/aiPlayground.d.ts +13 -87
  10. package/dist/_dts/api/src/appointmentSetup.d.ts +23 -0
  11. package/dist/_dts/api/src/availability.d.ts +84 -2
  12. package/dist/_dts/api/src/billing.d.ts +1 -1
  13. package/dist/_dts/api/src/bookingConfig.d.ts +2 -2
  14. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +10 -1
  15. package/dist/_dts/api/src/bookingRecords.d.ts +1 -1
  16. package/dist/_dts/api/src/bookings.d.ts +1 -1
  17. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
  18. package/dist/_dts/api/src/communications.d.ts +1 -1
  19. package/dist/_dts/api/src/contentRuntime.d.ts +3 -2
  20. package/dist/_dts/api/src/contentTypes.d.ts +1 -1
  21. package/dist/_dts/api/src/endpoints.d.ts +29 -0
  22. package/dist/_dts/api/src/navigation/contracts.d.ts +9 -9
  23. package/dist/_dts/api/src/navigation/linkValue.d.ts +1 -1
  24. package/dist/_dts/api/src/navigation/types.d.ts +1 -1
  25. package/dist/_dts/api/src/public/index.d.ts +2 -2
  26. package/dist/_dts/api/src/public/types.d.ts +2 -2
  27. package/dist/_dts/api/src/sdkConfig/contracts.d.ts +1 -2
  28. package/dist/_dts/api/src/sdkContracts.d.ts +1 -1
  29. package/dist/_dts/api/src/siteBanner.d.ts +9 -9
  30. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
  31. package/dist/_dts/api/src/siteOnboarding.d.ts +1 -1
  32. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +5 -1
  33. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +33 -5
  34. package/dist/_dts/api/src/siteSettings.d.ts +3 -3
  35. package/dist/_dts/api/src/teamMembers.d.ts +1 -1
  36. package/dist/_dts/api/src/types.d.ts +2 -2
  37. package/dist/_dts/api/src/url.d.ts +1 -1
  38. package/dist/_dts/billing/src/components/index.d.ts +102 -3
  39. package/dist/_dts/block-form/src/backend/store-backend.d.ts +1 -1
  40. package/dist/_dts/block-form/src/backend/types.d.ts +2 -2
  41. package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +2 -2
  42. package/dist/_dts/block-form/src/context/ImageResolveContext.d.ts +1 -1
  43. package/dist/_dts/block-form/src/fields/types.d.ts +1 -1
  44. package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +1 -1
  45. package/dist/_dts/block-form/src/manifest/canonicalValidation.d.ts +1 -1
  46. package/dist/_dts/block-form/src/manifest/manifestFormAdapter.d.ts +1 -1
  47. package/dist/_dts/block-form/src/manifest/mergeManifestWithSdkOptions.d.ts +1 -1
  48. package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +1 -1
  49. package/dist/_dts/block-form/src/shared/disclosure.d.ts +1 -1
  50. package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +1 -1
  51. package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +1 -1
  52. package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterLayoutGrid.d.ts +1 -1
  53. package/dist/_dts/block-form/src/widgets/RepeaterField/components/layoutGridDomain.d.ts +1 -1
  54. package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useRepeaterPointerDragCapability.d.ts +1 -1
  55. package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterDndDomain.d.ts +1 -1
  56. package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterPresentation.d.ts +1 -1
  57. package/dist/_dts/block-form/src/widgets/RepeaterField/utils/resolveThumbnail.d.ts +1 -1
  58. package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldSchema.d.ts +4 -4
  59. package/dist/_dts/block-form/src/widgets/constants.d.ts +1 -1
  60. package/dist/_dts/blocks/src/PageRenderer.d.ts +1 -1
  61. package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
  62. package/dist/_dts/blocks/src/client.d.ts +6 -4
  63. package/dist/_dts/blocks/src/index.d.ts +28 -27
  64. package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
  65. package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +1 -1
  66. package/dist/_dts/blocks/src/rendering/server.d.ts +1 -1
  67. package/dist/_dts/blocks/src/server.d.ts +1 -1
  68. package/dist/_dts/blocks/src/structure/schema.d.ts +1 -1
  69. package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +1665 -1665
  70. package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +1666 -1666
  71. package/dist/_dts/blocks/src/system/blocks/blog-post.d.ts +1 -1
  72. package/dist/_dts/blocks/src/system/blocks/cart.d.ts +1665 -1665
  73. package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +1665 -1665
  74. package/dist/_dts/blocks/src/system/blocks/collection.d.ts +1666 -1666
  75. package/dist/_dts/blocks/src/system/blocks/columns.d.ts +1 -1
  76. package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +3 -2
  77. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +42 -42
  78. package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +1761 -1761
  79. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +2 -2
  80. package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +1764 -1764
  81. package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +1 -1
  82. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +44 -44
  83. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -1
  84. package/dist/_dts/blocks/src/system/blocks/faq.d.ts +1665 -1665
  85. package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +1 -1
  86. package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +1665 -1665
  87. package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +1 -1
  88. package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -1
  89. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +9 -9
  90. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +139 -139
  91. package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +1665 -1665
  92. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +1665 -1665
  93. package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +19 -19
  94. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +1665 -1665
  95. package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +3 -3
  96. package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +1 -1
  97. package/dist/_dts/blocks/src/system/blocks/video-grid.d.ts +1 -1
  98. package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -1
  99. package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
  100. package/dist/_dts/blocks/src/system/customize/facets.d.ts +5 -5
  101. package/dist/_dts/blocks/src/system/designCapabilities.d.ts +1 -1
  102. package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +1 -1
  103. package/dist/_dts/blocks/src/system/fragments/library/card.d.ts +1761 -1761
  104. package/dist/_dts/blocks/src/system/fragments/library/ctaRow.d.ts +1761 -1761
  105. package/dist/_dts/blocks/src/system/fragments/library/feedbackCallout.d.ts +1761 -1761
  106. package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +1761 -1761
  107. package/dist/_dts/blocks/src/system/fragments/library/sectionState.d.ts +1761 -1761
  108. package/dist/_dts/blocks/src/system/frame/frameStyles.d.ts +3 -3
  109. package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +2 -2
  110. package/dist/_dts/blocks/src/system/manifest/augmentManifest.d.ts +1 -1
  111. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +201 -201
  112. package/dist/_dts/blocks/src/system/media/constrainedVideoMedia.d.ts +1 -1
  113. package/dist/_dts/blocks/src/system/media/slotContracts.d.ts +1 -1
  114. package/dist/_dts/blocks/src/system/node/fragments/ctaButton.d.ts +1 -1
  115. package/dist/_dts/blocks/src/system/node/fragments/typography.d.ts +1 -1
  116. package/dist/_dts/blocks/src/system/node/schema.d.ts +5 -5
  117. package/dist/_dts/blocks/src/system/registry.d.ts +2 -2
  118. package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +1 -1
  119. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +1 -1
  120. package/dist/_dts/blocks/src/system/runtime/header/shared.d.ts +1 -1
  121. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +2 -2
  122. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +2 -2
  123. package/dist/_dts/blocks/src/system/runtime/nodes/accordion.d.ts +1 -1
  124. package/dist/_dts/blocks/src/system/runtime/nodes/accordion.server.d.ts +1 -1
  125. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -1
  126. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +45 -29
  127. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.reserved-fields.d.ts +27 -0
  128. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +11 -7
  129. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/timetableModel.d.ts +1 -1
  130. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +3 -3
  131. package/dist/_dts/blocks/src/system/runtime/nodes/location-map.shared.d.ts +1 -1
  132. package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +1 -1
  133. package/dist/_dts/blocks/src/system/runtime/nodes/shared/LeafletStaticMap.d.ts +1 -1
  134. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +6 -6
  135. package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptionCopy.d.ts +1 -1
  136. package/dist/_dts/blocks/src/system/theme/index.d.ts +1 -1
  137. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +1 -1
  138. package/dist/_dts/blocks/src/system/transforms/registry/ui.d.ts +1 -1
  139. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -3
  140. package/dist/_dts/blocks/src/system/types/link.d.ts +3 -3
  141. package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +3 -3
  142. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -3
  143. package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +2 -2
  144. package/dist/_dts/content-editor/src/controller/buildPublishSuccessTransition.d.ts +2 -2
  145. package/dist/_dts/content-editor/src/controller/deriveRecoveryConflict.d.ts +1 -1
  146. package/dist/_dts/content-editor/src/controller/invalidBlockRecovery.d.ts +1 -1
  147. package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +1 -1
  148. package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +1 -1
  149. package/dist/_dts/content-editor/src/controller/useEntrySyncHelpers.d.ts +3 -3
  150. package/dist/_dts/content-editor/src/controller/useInvalidBlockRecovery.d.ts +1 -1
  151. package/dist/_dts/content-editor/src/hooks/blockedPublishPlan.d.ts +1 -1
  152. package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +1 -1
  153. package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +2 -2
  154. package/dist/_dts/content-editor/src/hooks/useStoreAutosave.d.ts +1 -1
  155. package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +1 -1
  156. package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +1 -1
  157. package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +1 -1
  158. package/dist/_dts/content-editor/src/registry.d.ts +1 -1
  159. package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +2 -2
  160. package/dist/_dts/content-editor/src/types.d.ts +2 -2
  161. package/dist/_dts/content-editor/src/ui/blockValidationView.d.ts +3 -3
  162. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +1 -1
  163. package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
  164. package/dist/_dts/content-editor/src/ui/stores/utils.d.ts +1 -1
  165. package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
  166. package/dist/_dts/core/src/branded.d.ts +2 -0
  167. package/dist/_dts/core/src/index.d.ts +2 -0
  168. package/dist/_dts/core/src/planner.d.ts +64 -0
  169. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +236 -18
  170. package/dist/_dts/db/src/schemas/forms.d.ts +62 -62
  171. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +5 -5
  172. package/dist/_dts/editor-blocks/src/BlockForm.d.ts +5 -5
  173. package/dist/_dts/editor-blocks/src/FormProvider.d.ts +2 -2
  174. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +6 -6
  175. package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +3 -3
  176. package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +2 -2
  177. package/dist/_dts/editor-blocks/src/block-editor/BlockListContext.d.ts +2 -2
  178. package/dist/_dts/editor-blocks/src/block-editor/BlockPickerDialog.d.ts +1 -1
  179. package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +2 -2
  180. package/dist/_dts/editor-blocks/src/block-editor/BlockThumbnail.d.ts +1 -1
  181. package/dist/_dts/editor-blocks/src/block-editor/BlockTile.d.ts +1 -1
  182. package/dist/_dts/editor-blocks/src/block-editor/EnhancedBlockPickerDialog.d.ts +1 -1
  183. package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +3 -3
  184. package/dist/_dts/editor-blocks/src/block-editor/blockDiscovery.d.ts +1 -1
  185. package/dist/_dts/editor-blocks/src/block-editor/hooks/buildInsertBlockHistoryCommand.d.ts +1 -1
  186. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +1 -1
  187. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +3 -3
  188. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +2 -2
  189. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +2 -2
  190. package/dist/_dts/editor-blocks/src/block-editor/hooks/useDraftContent.d.ts +1 -1
  191. package/dist/_dts/editor-blocks/src/block-editor/preparedManifest.d.ts +2 -2
  192. package/dist/_dts/editor-blocks/src/block-editor/sdkBlockMerger.d.ts +3 -3
  193. package/dist/_dts/editor-blocks/src/block-editor/settingsIntent.d.ts +1 -1
  194. package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -1
  195. package/dist/_dts/editor-blocks/src/block-form/debug.d.ts +1 -1
  196. package/dist/_dts/editor-blocks/src/blockPayload.d.ts +2 -2
  197. package/dist/_dts/editor-blocks/src/index.d.ts +2 -2
  198. package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +6 -6
  199. package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
  200. package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
  201. package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +1 -1
  202. package/dist/_dts/editor-blocks/src/widgets/button/index.d.ts +1 -1
  203. package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
  204. package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
  205. package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +1 -1
  206. package/dist/_dts/editor-blocks/src/widgets/entry-picker/index.d.ts +1 -1
  207. package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +2 -2
  208. package/dist/_dts/editor-blocks/src/widgets/entry-picker/types.d.ts +2 -2
  209. package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
  210. package/dist/_dts/editor-blocks/src/widgets/link/LinkField.d.ts +2 -2
  211. package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -3
  212. package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
  213. package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
  214. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -3
  215. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +2 -2
  216. package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +3 -3
  217. package/dist/_dts/editor-blocks/src/widgets/link/types.d.ts +2 -2
  218. package/dist/_dts/editor-blocks/src/widgets/link/utils.d.ts +2 -2
  219. package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +2 -2
  220. package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceWidgetProvider.d.ts +1 -1
  221. package/dist/_dts/editor-blocks/src/widgets/reference/dynamicAdapters.d.ts +1 -1
  222. package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +3 -3
  223. package/dist/_dts/editor-blocks/src/widgets/reference/types.d.ts +3 -3
  224. package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
  225. package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
  226. package/dist/_dts/editor-blocks/src/widgets/rich-text/ensureRichTextImageAssetIdentifier.d.ts +1 -1
  227. package/dist/_dts/editor-blocks/src/widgets/rich-text/richTextImageHydration.d.ts +1 -1
  228. package/dist/_dts/editor-blocks/src/widgets/shared/Combobox.d.ts +1 -1
  229. package/dist/_dts/media-core/src/fileAssetCompatibility.d.ts +1 -1
  230. package/dist/_dts/media-core/src/fileAssetDeletion.d.ts +1 -1
  231. package/dist/_dts/media-core/src/fileDomain.d.ts +1 -1
  232. package/dist/_dts/media-core/src/fileDownloadResolution.d.ts +1 -1
  233. package/dist/_dts/media-core/src/filePersistence.d.ts +1 -1
  234. package/dist/_dts/media-core/src/fileStorage.d.ts +1 -1
  235. package/dist/_dts/media-core/src/fileUploadAssetBuilder.d.ts +1 -1
  236. package/dist/_dts/media-core/src/fileUploadCleanup.d.ts +1 -1
  237. package/dist/_dts/media-core/src/fileUploadCompletion.d.ts +1 -1
  238. package/dist/_dts/media-core/src/fileUploadDurableFinalization.d.ts +1 -1
  239. package/dist/_dts/media-core/src/fileUploadFinalization.d.ts +1 -1
  240. package/dist/_dts/media-core/src/fileUploadSessionCreation.d.ts +1 -1
  241. package/dist/_dts/media-core/src/types.d.ts +2 -2
  242. package/dist/_dts/media-core/src/url.d.ts +1 -1
  243. package/dist/_dts/media-core/src/videoPrep.d.ts +1 -1
  244. package/dist/_dts/media-editor/src/CropDialog.d.ts +1 -1
  245. package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -2
  246. package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +1 -1
  247. package/dist/_dts/media-editor/src/context.d.ts +3 -3
  248. package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -1
  249. package/dist/_dts/media-editor/src/cropEditorSource.d.ts +1 -1
  250. package/dist/_dts/media-editor/src/debug.d.ts +1 -1
  251. package/dist/_dts/media-editor/src/provider.d.ts +3 -3
  252. package/dist/_dts/media-editor/src/runtimeMediaAssetState.d.ts +1 -1
  253. package/dist/_dts/media-editor/src/transformModel.d.ts +1 -1
  254. package/dist/_dts/media-editor/src/types.d.ts +2 -2
  255. package/dist/_dts/media-editor/src/utils.d.ts +1 -1
  256. package/dist/_dts/media-react/src/components/ImageCropper.d.ts +1 -1
  257. package/dist/_dts/media-react/src/components/cropDraftModel.d.ts +1 -1
  258. package/dist/_dts/media-react/src/components/cropGeometry.d.ts +1 -1
  259. package/dist/_dts/media-react/src/components/cropSessionState.d.ts +1 -1
  260. package/dist/_dts/media-react/src/components/useImageCropperController.d.ts +1 -1
  261. package/dist/_dts/media-react/src/ffmpegLoader.d.ts +1 -1
  262. package/dist/_dts/media-react/src/hooks/internal/classification.d.ts +1 -1
  263. package/dist/_dts/media-react/src/hooks/mediaAssetResponseMapper.d.ts +1 -1
  264. package/dist/_dts/media-react/src/hooks/useApiMediaUploader.d.ts +4 -4
  265. package/dist/_dts/media-react/src/utils/rotation.d.ts +1 -1
  266. package/dist/_dts/media-react/src/videoFrameExtraction.d.ts +1 -1
  267. package/dist/_dts/media-react/src/videoPrepBrowser.d.ts +2 -2
  268. package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +1 -1
  269. package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +1 -1
  270. package/dist/_dts/preview-next/src/client/blocks/composer/composePageFromBlocks.d.ts +1 -1
  271. package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -2
  272. package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +3 -3
  273. package/dist/_dts/preview-next/src/client/blocks/customizeFacetControls.d.ts +2 -2
  274. package/dist/_dts/preview-next/src/client/blocks/editorRegistry.d.ts +1 -1
  275. package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +2 -2
  276. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +2 -2
  277. package/dist/_dts/preview-next/src/client/blocks/previewProjection/aiProposalProjection.d.ts +2 -2
  278. package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +2 -2
  279. package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
  280. package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +3 -3
  281. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +5 -5
  282. package/dist/_dts/preview-next/src/client/preview/OnboardingThemeSwitcher.d.ts +2 -2
  283. package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +5 -5
  284. package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +1 -1
  285. package/dist/_dts/preview-next/src/client/preview/PreviewAuthBanner.d.ts +1 -1
  286. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +11 -10
  287. package/dist/_dts/preview-next/src/client/preview/PreviewEditorUI.d.ts +2 -2
  288. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +2 -2
  289. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +10 -9
  290. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +10 -9
  291. package/dist/_dts/preview-next/src/client/preview/PreviewViewportControls.d.ts +1 -1
  292. package/dist/_dts/preview-next/src/client/preview/PreviewZoomControls.d.ts +1 -1
  293. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +8 -6
  294. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +8 -6
  295. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +5 -4
  296. package/dist/_dts/preview-next/src/client/preview/pageSchema.d.ts +1 -1
  297. package/dist/_dts/preview-next/src/client/preview/previewChromeSurface.d.ts +1 -1
  298. package/dist/_dts/preview-next/src/client/preview/previewChromeSurfacePolicy.d.ts +1 -1
  299. package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +3 -3
  300. package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -2
  301. package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +1 -1
  302. package/dist/_dts/preview-next/src/client/preview/previewSurface.d.ts +1 -1
  303. package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +1 -1
  304. package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +2 -2
  305. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +8 -0
  306. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +5 -4
  307. package/dist/_dts/preview-next/src/client/preview/subrouteNotice.d.ts +1 -1
  308. package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +1 -1
  309. package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -2
  310. package/dist/_dts/preview-next/src/client/widgets/PreviewMediaField.d.ts +2 -2
  311. package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +3 -3
  312. package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +3 -3
  313. package/dist/_dts/sdk/src/bookings/index.d.ts +3 -2
  314. package/dist/_dts/sdk/src/bookings/types.d.ts +16 -10
  315. package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +1 -1
  316. package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +1 -1
  317. package/dist/_dts/sdk/src/cli/commands/style.d.ts +19 -0
  318. package/dist/_dts/sdk/src/cli/content/reader.d.ts +1 -1
  319. package/dist/_dts/sdk/src/cli/env.d.ts +1 -1
  320. package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +1 -1
  321. package/dist/_dts/sdk/src/cli/push-config.d.ts +1 -1
  322. package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +1 -1
  323. package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +2 -2
  324. package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -1
  325. package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +1 -1
  326. package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +2 -2
  327. package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +2 -2
  328. package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +2 -2
  329. package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +2 -2
  330. package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +2 -2
  331. package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -1
  332. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +1 -1
  333. package/dist/_dts/sdk/src/client/management/index.d.ts +2 -1
  334. package/dist/_dts/sdk/src/client/management/theme.d.ts +3 -1
  335. package/dist/_dts/sdk/src/client/management/types.d.ts +23 -0
  336. package/dist/_dts/sdk/src/config/validation.d.ts +37 -43
  337. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -1
  338. package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +19 -19
  339. package/dist/_dts/sdk/src/portal/config.d.ts +1 -1
  340. package/dist/_dts/sdk/src/portal/index.d.ts +1 -1
  341. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +1 -1
  342. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  343. package/dist/_dts/sdk/src/preview-next/constants.d.ts +1 -1
  344. package/dist/_dts/sdk/src/preview-next/cookies.d.ts +1 -1
  345. package/dist/_dts/sdk/src/preview-next/index.d.ts +2 -2
  346. package/dist/_dts/sdk/src/preview-next/middleware.d.ts +1 -1
  347. package/dist/_dts/sdk/src/preview-next/session.d.ts +1 -1
  348. package/dist/_dts/sdk/src/public-api/contracts.d.ts +19 -4
  349. package/dist/_dts/sdk/src/rendering/islands/blocksContracts.d.ts +1 -1
  350. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +3 -3
  351. package/dist/_dts/sdk/src/spam-protection/index.d.ts +3 -3
  352. package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +2 -2
  353. package/dist/_dts/sdk/src/version.d.ts +1 -1
  354. package/dist/_dts/site-commands/src/adapter.d.ts +1 -1
  355. package/dist/_dts/site-commands/src/commands.d.ts +95 -46
  356. package/dist/_dts/site-commands/src/domain.d.ts +2 -2
  357. package/dist/_dts/site-commands/src/exposure.d.ts +3 -3
  358. package/dist/_dts/site-commands/src/metadata.d.ts +15 -2
  359. package/dist/_dts/site-commands/src/planner.d.ts +1 -1
  360. package/dist/_dts/site-commands/src/refs.d.ts +1 -1
  361. package/dist/_dts/theme-core/src/accordions/types.d.ts +9 -9
  362. package/dist/_dts/theme-core/src/blocks/index.d.ts +2 -2
  363. package/dist/_dts/theme-core/src/blocks/types.d.ts +3 -2
  364. package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +5 -5
  365. package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +5 -5
  366. package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +5 -5
  367. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +35 -35
  368. package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +5 -5
  369. package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +5 -5
  370. package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +5 -5
  371. package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +5 -5
  372. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +7 -7
  373. package/dist/_dts/theme-core/src/buttons/types.d.ts +18 -18
  374. package/dist/_dts/theme-core/src/cards/types.d.ts +17 -17
  375. package/dist/_dts/theme-core/src/inputs/types.d.ts +13 -13
  376. package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
  377. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +351 -351
  378. package/dist/_dts/theme-core/src/navigation/types.d.ts +15 -15
  379. package/dist/_dts/theme-core/src/palette/recipes/allRecipes.d.ts +1 -1
  380. package/dist/_dts/theme-core/src/palette/variants/brand-led.d.ts +24 -24
  381. package/dist/_dts/theme-core/src/palette/variants/high-contrast.d.ts +18 -18
  382. package/dist/_dts/theme-core/src/palette/variants/index.d.ts +65 -65
  383. package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +18 -18
  384. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +7 -7
  385. package/dist/_dts/theme-core/src/palette/variants/warm-neutral.d.ts +18 -18
  386. package/dist/_dts/theme-core/src/progress/generateProgressCss.d.ts +2 -1
  387. package/dist/_dts/theme-core/src/recommend/generateThemes.d.ts +1 -1
  388. package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +4 -0
  389. package/dist/_dts/theme-core/src/schema.d.ts +568 -568
  390. package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +2 -2
  391. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +1 -1
  392. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +1 -1
  393. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +34 -34
  394. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -4
  395. package/dist/_dts/theme-core/src/site-styles/pageDesignAuthority.d.ts +1 -1
  396. package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +1 -1
  397. package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +14 -14
  398. package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
  399. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +4 -4
  400. package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +2 -1
  401. package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +5 -5
  402. package/dist/_dts/ui/src/badge.d.ts +1 -1
  403. package/dist/_dts/ui/src/button.d.ts +2 -2
  404. package/dist/_dts/ui/src/card.d.ts +1 -1
  405. package/dist/_dts/ui/src/color-picker.d.ts +1 -1
  406. package/dist/_dts/ui/src/surface.d.ts +2 -2
  407. package/dist/_dts/ui/src/toggle.d.ts +4 -4
  408. package/dist/cli/index.mjs +5989 -5678
  409. package/dist/client/bookings.mjs +104 -34
  410. package/dist/client/client.mjs +4482 -4298
  411. package/dist/client/hooks.mjs +5783 -3847
  412. package/dist/client/rendering/client.mjs +164 -35
  413. package/dist/client/rendering/islands.mjs +164 -35
  414. package/dist/client/rendering.mjs +530 -346
  415. package/dist/preview-next/before-render.mjs +39 -0
  416. package/dist/preview-next/client/runtime.mjs +339 -92
  417. package/dist/preview-next/middleware.mjs +39 -0
  418. package/dist/server/components.mjs +418 -310
  419. package/dist/server/config-validation.mjs +6899 -4883
  420. package/dist/server/config.mjs +6890 -4883
  421. package/dist/server/data.mjs +5783 -3847
  422. package/dist/server/index.mjs +199 -1762
  423. package/dist/server/next.mjs +6577 -5268
  424. package/dist/server/prebuild.mjs +1 -1
  425. package/dist/server/rendering/server.mjs +420 -312
  426. package/dist/server/rendering.mjs +420 -312
  427. package/dist/server/routing.mjs +11475 -7881
  428. package/dist/server/server.mjs +5770 -3834
  429. package/dist/server/theme-bridge.mjs +249 -15
  430. package/package.json +1 -3
@@ -1,12 +1,12 @@
1
1
  import { type ReactNode } from "react";
2
- import { type EntrySubrouteContextData, type MediaAssetIndexItem, type Theme } from "@riverbankcms/blocks";
3
- import type { ButtonPersonalityId } from "@riverbankcms/theme-core/buttons";
4
- import type { PaletteOverrides, PaletteVariantId } from "@riverbankcms/theme-core/palette";
5
- import type { FooterSelectionContext, HeaderSelectionContext, FooterLookId, HeaderLookId } from "@riverbankcms/theme-core/site-styles";
6
- import type { ContentTypeSchema } from "@riverbankcms/content-model";
7
- import type { ApiClient } from "@riverbankcms/api/request";
8
- import type { SdkConfigForBlockPicker } from "@riverbankcms/editor-blocks";
9
- import type { SurfaceId } from "@riverbankcms/surfaces";
2
+ import { type EntrySubrouteContextData, type MediaAssetIndexItem, type Theme } from "../../../../blocks/src/index";
3
+ import type { ButtonPersonalityId } from "../../../../theme-core/src/buttons/index";
4
+ import type { PaletteOverrides, PaletteVariantId } from "../../../../theme-core/src/palette/index";
5
+ import type { FooterSelectionContext, HeaderSelectionContext, FooterLookId, HeaderLookId } from "../../../../theme-core/src/site-styles/index";
6
+ import type { ContentTypeSchema } from "../../../../content-model/src/index";
7
+ import type { ApiClient } from "../../../../api/src/request";
8
+ import type { SdkConfigForBlockPicker } from "../../../../editor-blocks/src/index";
9
+ import type { SurfaceId } from "../../../../surfaces/src/index";
10
10
  import { type PreviewEntryData, type PreviewTemplateData } from "./PreviewEditorSidebar";
11
11
  import type { SiteStyleAccess } from "./siteStyleAccess";
12
12
  export type PreviewShellLayoutProps = {
@@ -25,6 +25,7 @@ export type PreviewShellLayoutProps = {
25
25
  bearerToken?: string | null;
26
26
  themeId?: string | null;
27
27
  themeSelectionId?: string | null;
28
+ themeSelectionVersion?: number | null;
28
29
  themeSelectionUpdatedAt?: string | null;
29
30
  themeSelectionButtonPersonalityId?: ButtonPersonalityId | null;
30
31
  themeSelectionPaletteVariantId?: PaletteVariantId | null;
@@ -43,4 +44,4 @@ export type PreviewShellLayoutProps = {
43
44
  useThemeScope?: boolean;
44
45
  siteStyleAccess?: SiteStyleAccess;
45
46
  };
46
- export declare function PreviewShellLayout({ children, theme, surfaceId, siteId, dashboardBaseUrl, pageId, entryData, contentTypeSchema, referenceContentTypeKeys, draftContent, currentTemplate, apiClient, bearerToken, themeId, themeSelectionId, themeSelectionUpdatedAt, themeSelectionButtonPersonalityId, themeSelectionPaletteVariantId, themeSelectionPaletteOverrides, themeSelectionHeaderLookId, themeSelectionFooterLookId, themeSelectionHeaderContext, themeSelectionFooterContext, supabaseUrl, isSiteLaunched, maintenanceModeEnabled, entrySubrouteContext, assistantPanel, sdkConfig, mediaAssets, useThemeScope, siteStyleAccess, }: PreviewShellLayoutProps): import("react/jsx-runtime").JSX.Element;
47
+ export declare function PreviewShellLayout({ children, theme, surfaceId, siteId, dashboardBaseUrl, pageId, entryData, contentTypeSchema, referenceContentTypeKeys, draftContent, currentTemplate, apiClient, bearerToken, themeId, themeSelectionId, themeSelectionVersion, themeSelectionUpdatedAt, themeSelectionButtonPersonalityId, themeSelectionPaletteVariantId, themeSelectionPaletteOverrides, themeSelectionHeaderLookId, themeSelectionFooterLookId, themeSelectionHeaderContext, themeSelectionFooterContext, supabaseUrl, isSiteLaunched, maintenanceModeEnabled, entrySubrouteContext, assistantPanel, sdkConfig, mediaAssets, useThemeScope, siteStyleAccess, }: PreviewShellLayoutProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { ZoomLevel } from '@riverbankcms/content-editor';
1
+ import type { ZoomLevel } from '../../../../content-editor/src/index';
2
2
  export type ViewportMode = 'squeeze' | 'fixed';
3
3
  export type ViewportWidth = number | 'full';
4
4
  export type PreviewViewportControlsProps = {
@@ -1,4 +1,4 @@
1
- import type { ZoomLevel } from '@riverbankcms/content-editor';
1
+ import type { ZoomLevel } from '../../../../content-editor/src/index';
2
2
  type PreviewZoomControlsProps = {
3
3
  zoom: ZoomLevel;
4
4
  onZoomChange: (zoom: ZoomLevel) => void;
@@ -1,9 +1,9 @@
1
1
  import { type ReactNode } from 'react';
2
- import type { ApiClient } from '@riverbankcms/api/request';
3
- import type { Theme } from '@riverbankcms/blocks';
4
- import type { ButtonPersonalityId } from '@riverbankcms/theme-core/buttons';
5
- import type { PaletteOverrides, PaletteVariantId } from '@riverbankcms/theme-core/palette';
6
- import type { FooterLookId, FooterSelectionContext, HeaderLookId, HeaderSelectionContext } from '@riverbankcms/theme-core/site-styles';
2
+ import type { ApiClient } from '../../../../api/src/request';
3
+ import type { Theme } from '../../../../blocks/src/index';
4
+ import type { ButtonPersonalityId } from '../../../../theme-core/src/buttons/index';
5
+ import type { PaletteOverrides, PaletteVariantId } from '../../../../theme-core/src/palette/index';
6
+ import type { FooterLookId, FooterSelectionContext, HeaderLookId, HeaderSelectionContext } from '../../../../theme-core/src/site-styles/index';
7
7
  import type { SiteStyleAccess } from './siteStyleAccess';
8
8
  import { type SiteChromeLookOption } from './siteChromeLookRows';
9
9
  import type { SiteChromeEditableSurfaceKind } from './SiteChromeEditableSurface';
@@ -31,8 +31,10 @@ export type SiteChromeCustomizeProviderProps = Readonly<{
31
31
  theme?: Theme | null;
32
32
  themeId?: string | null;
33
33
  selectionId?: string | null;
34
+ selectionVersion?: number | null;
34
35
  selectionUpdatedAt?: string | null;
35
36
  initialSelections: Readonly<{
37
+ selectionVersion?: number | null;
36
38
  selectionUpdatedAt?: string | null;
37
39
  buttonPersonalityId: ButtonPersonalityId | null;
38
40
  paletteVariantId: PaletteVariantId | null;
@@ -44,6 +46,6 @@ export type SiteChromeCustomizeProviderProps = Readonly<{
44
46
  footerSelectionContext?: Partial<FooterSelectionContext>;
45
47
  siteStyleAccess?: SiteStyleAccess;
46
48
  }>;
47
- export declare function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, themeId, selectionId, selectionUpdatedAt, initialSelections, headerSelectionContext, footerSelectionContext, siteStyleAccess, }: SiteChromeCustomizeProviderProps): import("react/jsx-runtime").JSX.Element;
49
+ export declare function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, themeId, selectionId, selectionVersion, selectionUpdatedAt, initialSelections, headerSelectionContext, footerSelectionContext, siteStyleAccess, }: SiteChromeCustomizeProviderProps): import("react/jsx-runtime").JSX.Element;
48
50
  export declare function useSiteChromeCustomizeOptional(): SiteChromeCustomizeContextValue | null;
49
51
  export {};
@@ -1,8 +1,8 @@
1
- import type { ApiClient } from '@riverbankcms/api/request';
2
- import type { Theme } from '@riverbankcms/blocks';
3
- import { type ButtonPersonalityId } from '@riverbankcms/theme-core/buttons';
4
- import { type PaletteVariantId, type PaletteOverrides } from '@riverbankcms/theme-core/palette';
5
- import { type FooterSelectionContext, type FooterLookId, type HeaderSelectionContext, type HeaderLookId } from '@riverbankcms/theme-core/site-styles';
1
+ import type { ApiClient } from '../../../../api/src/request';
2
+ import type { Theme } from '../../../../blocks/src/index';
3
+ import { type ButtonPersonalityId } from '../../../../theme-core/src/buttons/index';
4
+ import { type PaletteVariantId, type PaletteOverrides } from '../../../../theme-core/src/palette/index';
5
+ import { type FooterSelectionContext, type FooterLookId, type HeaderSelectionContext, type HeaderLookId } from '../../../../theme-core/src/site-styles/index';
6
6
  import { type VisibleSiteStyleAccess } from './siteStyleAccess';
7
7
  import type { PreviewDesignRow } from './sidebarTabPreference';
8
8
  export type StyleConfiguratorProps = Readonly<{
@@ -11,9 +11,11 @@ export type StyleConfiguratorProps = Readonly<{
11
11
  theme?: Theme | null;
12
12
  themeId?: string | null;
13
13
  selectionId?: string | null;
14
+ selectionVersion?: number | null;
14
15
  selectionUpdatedAt?: string | null;
15
16
  /** Server-persisted design selections. */
16
17
  initialSelections: Readonly<{
18
+ selectionVersion?: number | null;
17
19
  selectionUpdatedAt?: string | null;
18
20
  buttonPersonalityId: ButtonPersonalityId | null;
19
21
  paletteVariantId: PaletteVariantId | null;
@@ -30,4 +32,4 @@ export type StyleConfiguratorProps = Readonly<{
30
32
  }> | null;
31
33
  siteStyleAccess: VisibleSiteStyleAccess;
32
34
  }>;
33
- export declare function StyleConfigurator({ siteId, apiClient, theme, themeId, selectionId, selectionUpdatedAt, initialSelections, headerSelectionContext, footerSelectionContext, expandedRowRequest, siteStyleAccess, }: StyleConfiguratorProps): import("react/jsx-runtime").JSX.Element;
35
+ export declare function StyleConfigurator({ siteId, apiClient, theme, selectionId, selectionVersion, selectionUpdatedAt, initialSelections, headerSelectionContext, footerSelectionContext, expandedRowRequest, siteStyleAccess, }: StyleConfiguratorProps): import("react/jsx-runtime").JSX.Element;
@@ -10,10 +10,10 @@
10
10
  * preview pane is currently rendering. They diverge while the user is
11
11
  * picking and converge on apply-success.
12
12
  */
13
- import type { ButtonPersonalityId } from '@riverbankcms/theme-core/buttons';
14
- import type { PaletteOverrides, PaletteVariantId } from '@riverbankcms/theme-core/palette';
15
- import type { FooterLookId, HeaderLookId } from '@riverbankcms/theme-core/site-styles';
16
- import type { SelectionFallbackWarning, SiteStyleId } from '@riverbankcms/theme-core/site-styles/previewCompiler';
13
+ import type { ButtonPersonalityId } from '../../../../theme-core/src/buttons/index';
14
+ import type { PaletteOverrides, PaletteVariantId } from '../../../../theme-core/src/palette/index';
15
+ import type { FooterLookId, HeaderLookId } from '../../../../theme-core/src/site-styles/index';
16
+ import type { SelectionFallbackWarning, SiteStyleId } from '../../../../theme-core/src/site-styles/previewCompiler';
17
17
  export type StyleConfiguratorSaveStatus = Readonly<{
18
18
  kind: 'idle';
19
19
  }> | Readonly<{
@@ -38,6 +38,7 @@ export type StyleConfiguratorNotice = Readonly<{
38
38
  }>;
39
39
  export type SelectionSnapshot = Readonly<{
40
40
  siteStyleId: SiteStyleId;
41
+ selectionVersion: number;
41
42
  selectionUpdatedAt?: string | null;
42
43
  headerLookId: HeaderLookId | null;
43
44
  footerLookId: FooterLookId | null;
@@ -1,2 +1,2 @@
1
- import type { ContentTypeSchema } from '@riverbankcms/content-model';
1
+ import type { ContentTypeSchema } from '../../../../content-model/src/index';
2
2
  export declare const PAGE_CONTENT_TYPE_SCHEMA: ContentTypeSchema;
@@ -1,4 +1,4 @@
1
- import { type SurfaceId } from "@riverbankcms/surfaces";
1
+ import { type SurfaceId } from "../../../../surfaces/src/index";
2
2
  export declare const PREVIEW_CHROME_THEME_CLASS_NAME = "builder-dashboard-chrome-theme";
3
3
  export declare const PREVIEW_CHROME_PORTAL_CLASS_NAME = "builder-editor-chrome";
4
4
  export type PreviewChromeSurface = Readonly<{
@@ -1,4 +1,4 @@
1
- import type { SurfaceId } from "@riverbankcms/surfaces";
1
+ import type { SurfaceId } from "../../../../surfaces/src/index";
2
2
  import type { PreviewSetupBannerCopy, PreviewSetupBannerState } from "./previewSetupGuidance";
3
3
  type PreviewBannerTone = "default" | "studio";
4
4
  type PreviewSidebarTone = "default" | "studio";
@@ -1,7 +1,7 @@
1
- import { type AppearancePresetId, type BoundaryOptionId, type DesignBlockId, type DesignBoundaryId, type LayoutVariantKey, type PageDesignEditorReadModel } from '@riverbankcms/theme-core/site-styles';
2
- import { type HistoryState } from '@riverbankcms/content-editor';
1
+ import { type AppearancePresetId, type BoundaryOptionId, type DesignBlockId, type DesignBoundaryId, type LayoutVariantKey, type PageDesignEditorReadModel } from '../../../../theme-core/src/site-styles/index';
2
+ import { type HistoryState } from '../../../../content-editor/src/index';
3
3
  import type { PreviewCustomizeAction } from '../blocks/previewCustomizeActions';
4
- import type { SystemCustomizeFacetHistorySelection } from '@riverbankcms/blocks/system/customize/facets';
4
+ import type { SystemCustomizeFacetHistorySelection } from '../../../../blocks/src/system/customize/facets';
5
5
  type PreviewLoadedEditorModel = PageDesignEditorReadModel;
6
6
  export type PreviewCustomizeHistoryEntry = Readonly<{
7
7
  kind: 'layout';
@@ -1,5 +1,5 @@
1
- import type { PageDesignEditorReadModel } from '@riverbankcms/theme-core/site-styles/previewCompiler';
2
- import type { DesignBlockId } from '@riverbankcms/theme-core/site-styles';
1
+ import type { PageDesignEditorReadModel } from '../../../../theme-core/src/site-styles/previewCompiler';
2
+ import type { DesignBlockId } from '../../../../theme-core/src/site-styles/index';
3
3
  import type { PreviewCustomizeAction } from '../blocks/previewCustomizeActions';
4
4
  export type PreviewEditorRuntimeContent = Record<string, unknown>;
5
5
  export type PreviewCustomizeRuntimePatch = Readonly<{
@@ -1,4 +1,4 @@
1
- import type { APIEndpoints } from '@riverbankcms/api';
1
+ import type { APIEndpoints } from '../../../../api/src/index';
2
2
  import type { PreviewCustomizeAction } from '../blocks/previewCustomizeActions';
3
3
  import { type PreviewCustomizeHistoryEntry, type PreviewCustomizeHistoryState } from './previewCustomizeHistory';
4
4
  type ApiPageDesignEditorStateResponse = NonNullable<APIEndpoints['getPageDesignEditorState']['response']>;
@@ -1,3 +1,3 @@
1
- import { type SurfaceId } from "@riverbankcms/surfaces";
1
+ import { type SurfaceId } from "../../../../surfaces/src/index";
2
2
  export declare function resolvePreviewSurfaceIdFromSearch(search: string): SurfaceId | null;
3
3
  export declare function resolvePreviewSurfaceId(): SurfaceId | null;
@@ -1,4 +1,4 @@
1
- import type { PreviewSidebarTab } from '@riverbankcms/content-editor';
1
+ import type { PreviewSidebarTab } from '../../../../content-editor/src/index';
2
2
  export type { PreviewSidebarTab };
3
3
  export type PreviewDesignRow = 'header' | 'footer';
4
4
  export type PreviewSidebarOpenRequest = Readonly<{
@@ -1,5 +1,5 @@
1
- import { type CuratedSiteStyle } from '@riverbankcms/theme-core/site-styles/previewCompiler';
2
- import { type FooterLookId, type FooterSelectionContext, type HeaderLookId, type HeaderSelectionContext, type LookCustomizationWritePlan } from '@riverbankcms/theme-core/site-styles';
1
+ import { type CuratedSiteStyle } from '../../../../theme-core/src/site-styles/previewCompiler';
2
+ import { type FooterLookId, type FooterSelectionContext, type HeaderLookId, type HeaderSelectionContext, type LookCustomizationWritePlan } from '../../../../theme-core/src/site-styles/index';
3
3
  import type { SelectionSnapshot, StyleConfiguratorState } from './StyleConfigurator.state';
4
4
  export type SiteChromeLookOption<TId extends string | null> = Readonly<{
5
5
  id: TId;
@@ -0,0 +1,8 @@
1
+ import type { APIEndpoints } from '../../../../api/src/index';
2
+ import type { SelectionSnapshot } from './StyleConfigurator.state';
3
+ export type ApplySiteStyleSelectionBody = NonNullable<APIEndpoints['applySiteStyleSelection']['body']>;
4
+ export declare function buildApplySiteStyleSelectionBody(input: Readonly<{
5
+ base: SelectionSnapshot;
6
+ previewed: SelectionSnapshot;
7
+ selectionId?: string | null;
8
+ }>): ApplySiteStyleSelectionBody;
@@ -1,11 +1,12 @@
1
- import type { Theme } from '@riverbankcms/blocks';
2
- import type { ButtonPersonalityId } from '@riverbankcms/theme-core/buttons';
3
- import type { PaletteOverrides, PaletteVariantId } from '@riverbankcms/theme-core/palette';
4
- import type { FooterLookId, FooterSelectionContext, HeaderLookId, HeaderSelectionContext } from '@riverbankcms/theme-core/site-styles';
1
+ import type { Theme } from '../../../../blocks/src/index';
2
+ import type { ButtonPersonalityId } from '../../../../theme-core/src/buttons/index';
3
+ import type { PaletteOverrides, PaletteVariantId } from '../../../../theme-core/src/palette/index';
4
+ import type { FooterLookId, FooterSelectionContext, HeaderLookId, HeaderSelectionContext } from '../../../../theme-core/src/site-styles/index';
5
5
  import type { SelectionSnapshot } from './StyleConfigurator.state';
6
6
  export declare function resolveStyleConfiguratorInitialSnapshot(input: Readonly<{
7
7
  theme?: Theme | null;
8
8
  initialSelections: Readonly<{
9
+ selectionVersion?: number | null;
9
10
  selectionUpdatedAt?: string | null;
10
11
  buttonPersonalityId: ButtonPersonalityId | null;
11
12
  paletteVariantId: PaletteVariantId | null;
@@ -1,4 +1,4 @@
1
- import { type EntrySubrouteContextData } from '@riverbankcms/blocks';
1
+ import { type EntrySubrouteContextData } from '../../../../blocks/src/index';
2
2
  /**
3
3
  * Render-agnostic model for the "you're previewing a sub-entry" notice.
4
4
  *
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from 'react';
2
- import type { Theme } from '@riverbankcms/blocks';
2
+ import type { Theme } from '../../../../blocks/src/index';
3
3
  import { type Rfc6902Op } from '../utils/rfc6902';
4
4
  type ThemePatchOp = Rfc6902Op;
5
5
  type PreviewThemeOverlayContextValue = {
@@ -1,5 +1,5 @@
1
- import type { MediaAssetIndexItem } from "@riverbankcms/blocks";
2
- import { type SurfaceId } from "@riverbankcms/surfaces";
1
+ import type { MediaAssetIndexItem } from "../../../../blocks/src/index";
2
+ import { type SurfaceId } from "../../../../surfaces/src/index";
3
3
  import type { PreviewRuntimeSession } from "../../auth-contract";
4
4
  export type SdkPreviewModeContent = {
5
5
  page: unknown;
@@ -1,3 +1,3 @@
1
- import type { FieldWidgetProps, MediaFieldConfig } from '@riverbankcms/block-form/client';
2
- import { type MediaValue } from '@riverbankcms/media-editor';
1
+ import type { FieldWidgetProps, MediaFieldConfig } from '../../../../block-form/src/client/index';
2
+ import { type MediaValue } from '../../../../media-editor/src/index';
3
3
  export declare function PreviewMediaField({ path, backend, config, }: FieldWidgetProps<MediaValue, MediaFieldConfig>): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
- import type { ApiClient } from '@riverbankcms/api/request';
2
- import { type BuiltInReferenceKind } from '@riverbankcms/content-model';
3
- import type { EntryPickerWidgetAdapter, LinkWidgetAdapters, ReferenceWidgetAdapter } from '@riverbankcms/editor-blocks';
1
+ import type { ApiClient } from '../../../../api/src/request';
2
+ import { type BuiltInReferenceKind } from '../../../../content-model/src/index';
3
+ import type { EntryPickerWidgetAdapter, LinkWidgetAdapters, ReferenceWidgetAdapter } from '../../../../editor-blocks/src/index';
4
4
  type BuiltInReferenceWidgetAdapters = Record<BuiltInReferenceKind, ReferenceWidgetAdapter>;
5
5
  export declare function createPreviewLinkAdapters(previewClient: ApiClient): LinkWidgetAdapters;
6
6
  export declare function createPreviewEntryPickerAdapter(previewClient: ApiClient): EntryPickerWidgetAdapter;
@@ -1,7 +1,7 @@
1
1
  import { type ReactNode } from 'react';
2
- import type { ApiClient } from '@riverbankcms/api/request';
3
- import { type MediaAssetIndexItem, type Theme } from '@riverbankcms/blocks';
4
- import type { FieldWidgetComponent } from '@riverbankcms/block-form/client';
2
+ import type { ApiClient } from '../../../../api/src/request';
3
+ import { type MediaAssetIndexItem, type Theme } from '../../../../blocks/src/index';
4
+ import type { FieldWidgetComponent } from '../../../../block-form/src/client/index';
5
5
  import { __testUtils, createPreviewEntryPickerAdapter, createPreviewLinkAdapters, createPreviewReferenceAdapters } from './widgetAdapters';
6
6
  export declare function PreviewFormProvider({ siteId: rawSiteId, theme, previewClient, bearerToken, supabaseUrl, mediaAssets, children, }: {
7
7
  siteId: string;
@@ -25,11 +25,12 @@
25
25
  * @packageDocumentation
26
26
  */
27
27
  import * as React from 'react';
28
- import { HeadlessBookingAltchaWidget, createBookingBlockApiConfig, getAppointmentBookingOverrideInput, useHeadlessBookingFlow } from '@riverbankcms/blocks/client';
28
+ import { HeadlessBookingAltchaWidget, createBookingBlockApiConfig, getAppointmentBookingOverrideInput, useHeadlessBookingFlow } from '../../../blocks/src/client';
29
29
  import type { BookingFormClientProps, HeadlessBookingProviderProps, UseBookingFormConfigResult } from './types';
30
30
  export declare const BookingFormClient: React.FC<BookingFormClientProps>;
31
31
  export declare function useBookingFormConfig(siteId: string, formId: string): UseBookingFormConfigResult;
32
32
  export declare const HeadlessBookingProvider: React.FC<HeadlessBookingProviderProps>;
33
+ export { BOOKING_FORM_DATA_RESERVED_KEY_VALUES } from '../../../blocks/src/client';
33
34
  export { HeadlessBookingAltchaWidget, createBookingBlockApiConfig, getAppointmentBookingOverrideInput, useHeadlessBookingFlow, };
34
35
  export type { BookingService, BookingFormConfig } from './types';
35
- export type { Service, TimeSlot, BookingFormSettings, BookingFormSchema, BookingFormField, BookingFormData, BookingSubmissionData, BookingSubmissionResult, BookingFormClientProps, BookingFormClientForm, BookingFormClientService, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingProviderProps, AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, BookingAvailabilityQuery, BookingAppointmentPackagesModel, BookingAppointmentPackagesUnavailableReason, BookingPaymentOptionViewModel, BookingPaymentSelectionViewModel, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingResourceView, BookingResourcesModel, BookingFlowStep, BookingFlowStepId, BookingFlowView, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, UseBookingFormConfigResult, } from './types';
36
+ export type { Service, TimeSlot, BookingFormSettings, BookingFormSchema, BookingFormField, BookingFormData, BookingSelectedCollectionOptionKind, BookingSubmissionData, BookingSubmissionResult, BookingFormClientProps, BookingFormClientForm, BookingFormClientService, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingProviderProps, AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, BookingAvailabilityQuery, BookingAppointmentPackagesModel, BookingAppointmentPackagesUnavailableReason, BookingPaymentOptionViewModel, BookingPaymentSelectionViewModel, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingResourceView, BookingResourcesModel, BookingFlowStep, BookingFlowStepId, BookingFlowView, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, UseBookingFormConfigResult, } from './types';
@@ -2,10 +2,16 @@
2
2
  * Booking types for SDK consumers
3
3
  *
4
4
  * These types are exported for SDK sites to use when building custom booking UIs.
5
+ * Public SDK inputs intentionally accept plain strings at the edge. The shared
6
+ * booking runtime brands IDs internally after normalization so bespoke UIs do
7
+ * not need casts when passing values loaded from routes, CMS data, or API
8
+ * responses.
5
9
  */
6
- import type { BookingFlexibleBalanceConfig, BookingInstalmentPlanConfig } from '@riverbankcms/core';
7
- import type { AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, BookingAvailabilityQuery, BookingAppointmentPackagesModel, BookingAppointmentPackagesUnavailableReason, BookingPaymentOptionViewModel, BookingPaymentSelectionViewModel, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingResourceView, BookingFlowStep, BookingFlowStepId, BookingFlowView, BookingResourcesModel, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingProviderProps } from '@riverbankcms/blocks/client';
8
- export type { AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, BookingAvailabilityQuery, BookingAppointmentPackagesModel, BookingAppointmentPackagesUnavailableReason, BookingPaymentOptionViewModel, BookingPaymentSelectionViewModel, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingResourceView, BookingFlowStep, BookingFlowStepId, BookingFlowView, BookingResourcesModel, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingProviderProps, };
10
+ import type { BookingFlexibleBalanceConfig, BookingInstalmentPlanConfig } from '../../../core/src/index';
11
+ import type { AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, BookingAvailabilityQuery, BookingAppointmentPackagesModel, BookingAppointmentPackagesUnavailableReason, BookingPaymentOptionViewModel, BookingPaymentSelectionViewModel, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingResourceView, BookingFlowStep, BookingFlowStepId, BookingFlowView, BookingResourcesModel, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingProviderProps } from '../../../blocks/src/client';
12
+ import type { BookingFormData as BlocksBookingFormData, BookingSelectedCollectionOptionKind } from '../../../blocks/src/client';
13
+ export { BOOKING_FORM_DATA_RESERVED_KEY_VALUES, } from '../../../blocks/src/client';
14
+ export type { AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, BookingAvailabilityQuery, BookingAppointmentPackagesModel, BookingAppointmentPackagesUnavailableReason, BookingPaymentOptionViewModel, BookingPaymentSelectionViewModel, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingResourceView, BookingFlowStep, BookingFlowStepId, BookingFlowView, BookingResourcesModel, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingProviderProps, BookingSelectedCollectionOptionKind, };
9
15
  /**
10
16
  * A bookable service (e.g., "30-minute consultation", "Hair cut")
11
17
  *
@@ -79,14 +85,14 @@ export interface BookingFormField {
79
85
  }
80
86
  /**
81
87
  * Data collected during the booking flow
88
+ *
89
+ * Reserved keys are owned by the booking runtime selections:
90
+ * `serviceId`, `resourceId`, `selectedDate`, `selectedSlot`,
91
+ * `discountCode`, `selectedCollectionOptionKind`, and
92
+ * `selectedAppointmentPackageId`. Booking form custom fields must not use
93
+ * these IDs while the contract remains flat.
82
94
  */
83
- export interface BookingFormData {
84
- serviceId?: string;
85
- resourceId?: string;
86
- selectedDate?: string;
87
- selectedSlot?: string;
88
- [key: string]: unknown;
89
- }
95
+ export type BookingFormData<TCustomFieldId extends string = never> = BlocksBookingFormData<TCustomFieldId>;
90
96
  /**
91
97
  * Data submitted to create a booking
92
98
  */
@@ -1,4 +1,4 @@
1
- import type { SiteId } from '@riverbankcms/core';
1
+ import type { SiteId } from '../../../../../../core/src/index';
2
2
  import { type CliDatedOfferingCommandBatchSource, type CliDatedOfferingCommandCompileInput, type DatedOfferingReportSubject, type DatedOfferingUpsertItem } from '../../../site-commands';
3
3
  import type { WriterOptions } from '../../../content/writer';
4
4
  import type { PushScopeResult, ScopePushContext } from './types';
@@ -1,7 +1,7 @@
1
1
  import type { OutputContext } from '../../../output';
2
2
  import type { ManagementClient } from '../../../../client/management';
3
3
  import type { WriterOptions } from '../../../content/writer';
4
- import type { SiteId } from '@riverbankcms/core';
4
+ import type { SiteId } from '../../../../../../core/src/index';
5
5
  import type { EnvTarget } from '../../../helpers';
6
6
  export interface ScopePushContext {
7
7
  output: OutputContext;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Style Command
3
+ *
4
+ * Apply bounded site-style selections via the command-backed theme API.
5
+ */
6
+ import { Command } from 'commander';
7
+ import type { ThemeStyleSelectionApplyInput } from '../../client/management';
8
+ export type StyleApplyOptions = Readonly<{
9
+ siteStyleId: string;
10
+ baseSelectionVersion: string;
11
+ selectionId?: string;
12
+ buttonPersonalityId?: string;
13
+ paletteVariantId?: string;
14
+ paletteOverrides?: string;
15
+ headerLookId?: string;
16
+ footerLookId?: string;
17
+ }>;
18
+ export declare function buildStyleSelectionApplyInputFromOptions(options: StyleApplyOptions): ThemeStyleSelectionApplyInput;
19
+ export declare const styleCommand: Command;
@@ -4,7 +4,7 @@
4
4
  * Reads content from the file system for push operations.
5
5
  * Mirrors the structure created by writer.ts.
6
6
  */
7
- import type { NavigationLinkInput } from '@riverbankcms/api';
7
+ import type { NavigationLinkInput } from '../../../../api/src/index';
8
8
  import type { Theme } from '../../contracts';
9
9
  export interface LocalEntry {
10
10
  identifier: string;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Loads and validates environment variables for SDK CLI commands.
5
5
  */
6
- import { type SiteId } from '@riverbankcms/core';
6
+ import { type SiteId } from '../../../core/src/index';
7
7
  /**
8
8
  * SDK environment configuration
9
9
  */
@@ -1,4 +1,4 @@
1
- import { type SiteId } from '@riverbankcms/core';
1
+ import { type SiteId } from '../../../../core/src/index';
2
2
  import type { ManagementClient } from '../../client/management/types';
3
3
  import type { LocalEntry } from '../content/reader';
4
4
  import type { EnvTarget } from '../helpers';
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { Command } from 'commander';
7
7
  import type { OutputContext } from './output';
8
- import type { APIEndpoints } from '@riverbankcms/api/public';
8
+ import type { APIEndpoints } from '../../../api/src/public/index';
9
9
  interface PushConfigOptions {
10
10
  config?: string;
11
11
  apiKey?: string;
@@ -1,4 +1,4 @@
1
- import type { Brand } from '@riverbankcms/core';
1
+ import type { Brand } from '../../../../core/src/index';
2
2
  export type CliContentTypeKey = Brand<string, 'SdkCliContentTypeKey'>;
3
3
  export type CliEntryIdentifier = Brand<string, 'SdkCliEntryIdentifier'>;
4
4
  export type CliPageIdentifier = Brand<string, 'SdkCliPageIdentifier'>;
@@ -1,5 +1,5 @@
1
- import { type Result, type SiteId } from '@riverbankcms/core';
2
- import { type DryRunReport, type SiteCommandBatch, type SiteCommandExecutionSuccess, type SiteCommandOf, type SiteCommandPlanFor, type SiteCommandRef, type SiteCommandType, type SiteCommandValidationError } from '@riverbankcms/site-commands';
1
+ import { type Result, type SiteId } from '../../../../core/src/index';
2
+ import { type DryRunReport, type SiteCommandBatch, type SiteCommandExecutionSuccess, type SiteCommandOf, type SiteCommandPlanFor, type SiteCommandRef, type SiteCommandType, type SiteCommandValidationError } from '../../../../site-commands/src/index';
3
3
  import type { EnvTarget } from '../helpers';
4
4
  export type CliCommandBatchRefInput<TSource extends string = string> = Readonly<{
5
5
  source: TSource;
@@ -1,4 +1,4 @@
1
- import { type Result, type SiteId } from '@riverbankcms/core';
1
+ import { type Result, type SiteId } from '../../../../core/src/index';
2
2
  import type { ManagementClient } from '../../client/management/types';
3
3
  import type { LocalContent } from '../content/reader';
4
4
  import type { EnvTarget } from '../helpers';
@@ -1,4 +1,4 @@
1
- import { type Result, type SiteId } from '@riverbankcms/core';
1
+ import { type Result, type SiteId } from '../../../../core/src/index';
2
2
  import type { ManagementClient } from '../../client/management/types';
3
3
  import type { LocalCourse, LocalEvent, LocalEventCategory, LocalVenue } from '../content/reader';
4
4
  import type { EnvTarget } from '../helpers';
@@ -1,5 +1,5 @@
1
- import { type Result, type SiteId } from '@riverbankcms/core';
2
- import { type AllowedRuntime, type SiteCommandOf } from '@riverbankcms/site-commands';
1
+ import { type Result, type SiteId } from '../../../../core/src/index';
2
+ import { type AllowedRuntime, type SiteCommandOf } from '../../../../site-commands/src/index';
3
3
  import type { ManagementClient } from '../../client/management/types';
4
4
  import type { LocalContent } from '../content/reader';
5
5
  import type { EnvTarget } from '../helpers';
@@ -1,5 +1,5 @@
1
- import { type Result, type SiteId } from '@riverbankcms/core';
2
- import { type SiteCommandOf } from '@riverbankcms/site-commands';
1
+ import { type Result, type SiteId } from '../../../../core/src/index';
2
+ import { type SiteCommandOf } from '../../../../site-commands/src/index';
3
3
  import type { ManagementClient } from '../../client/management/types';
4
4
  import type { LocalFooterContent } from '../content/reader';
5
5
  import type { EnvTarget } from '../helpers';
@@ -1,5 +1,5 @@
1
- import { type Result, type SiteId } from '@riverbankcms/core';
2
- import { type SiteCommandOf } from '@riverbankcms/site-commands';
1
+ import { type Result, type SiteId } from '../../../../core/src/index';
2
+ import { type SiteCommandOf } from '../../../../site-commands/src/index';
3
3
  import type { ManagementClient } from '../../client/management/types';
4
4
  import type { LocalContent } from '../content/reader';
5
5
  import type { EnvTarget } from '../helpers';
@@ -1,5 +1,5 @@
1
- import { type Result, type SiteId } from '@riverbankcms/core';
2
- import { type SiteCommandOf } from '@riverbankcms/site-commands';
1
+ import { type Result, type SiteId } from '../../../../core/src/index';
2
+ import { type SiteCommandOf } from '../../../../site-commands/src/index';
3
3
  import type { ManagementClient } from '../../client/management/types';
4
4
  import type { LocalContent } from '../content/reader';
5
5
  import type { EnvTarget } from '../helpers';
@@ -1,5 +1,5 @@
1
- import { type Result, type SiteId } from '@riverbankcms/core';
2
- import { type SiteCommandOf } from '@riverbankcms/site-commands';
1
+ import { type Result, type SiteId } from '../../../../core/src/index';
2
+ import { type SiteCommandOf } from '../../../../site-commands/src/index';
3
3
  import type { ManagementClient } from '../../client/management/types';
4
4
  import type { LocalContent } from '../content/reader';
5
5
  import type { EnvTarget } from '../helpers';
@@ -1,4 +1,4 @@
1
- import { type SiteId } from '@riverbankcms/core';
1
+ import { type SiteId } from '../../../../core/src/index';
2
2
  import type { ManagementClient } from '../../client/management/types';
3
3
  import type { LocalContent } from '../content/reader';
4
4
  import type { EnvTarget } from '../helpers';
@@ -1,4 +1,4 @@
1
- import type { SiteCommandRef, SiteCommandType } from '@riverbankcms/site-commands';
1
+ import type { SiteCommandRef, SiteCommandType } from '../../../../site-commands/src/index';
2
2
  import type { SyncResult, ResidualSettingsDiff, ResidualSettingsLocalContent } from '../sync';
3
3
  import type { PushScope } from '../commands/push/consts';
4
4
  import type { compileEntryPushCommands, EntryCommandExecutionReport } from './entryCommands';
@@ -36,6 +36,7 @@ import { CourseSessionConflictError } from './courses';
36
36
  * @returns ManagementClient instance
37
37
  */
38
38
  export declare function createManagementClient(config: ManagementClientConfig): ManagementClient;
39
- export type { ManagementClient, ManagementClientConfig, ManagementEntry, ManagementPage, ManagementBlock, ManagementNavigationMenu, ManagementNavigationItem, ManagementSettings, ManagementForm, ManagementFormField, ManagementFormSchema, ManagementFormSettings, ManagementVenue, VenueAddress, VenueLocation, VenueUpsertInput, ManagementEventCategory, EventCategoryUpsertInput, ManagementEventSeries, EventSchedule, EventPricing, EventContent, EventSeriesUpsertInput, ManagementCourseRun, CourseRunUpsertInput, CourseSession, CourseProgramContent, CourseSessionConflict, EntryUpsertInput, PageUpsertInput, BlockUpsertInput, NavigationMenuUpsertInput, NavigationItemInput, FormUpsertInput, ThemeUpsertInput, ThemeUpsertResult, FooterContent, ManagementFooterContent, FooterContentUpsertInput, FooterOperations, PulledFooter, PulledEntries, PulledPages, PulledNavigation, PulledSettings, PulledForms, PulledTheme, PulledVenues, PulledEventCategories, PulledEvents, PulledCourses, PulledSiteInfo, PulledContentType, PulledContentTypes, PulledContent, PaginationOptions, PaginatedResult, EntryOperations, PageOperations, BlockOperations, NavigationOperations, SettingsOperations, SettingsUpdateInput, FormOperations, ThemeOperations, VenueOperations, EventCategoryOperations, EventOperations, CourseOperations, PullOperations, IdentifiersOperations, BackfillResult, BackfillPageResult, BackfillBlockResult, BackfillEntryResult, MediaOperations, MediaUploadResult, } from './types';
39
+ export type { ManagementClient, ManagementClientConfig, ManagementEntry, ManagementPage, ManagementBlock, ManagementNavigationMenu, ManagementNavigationItem, ManagementSettings, ManagementForm, ManagementFormField, ManagementFormSchema, ManagementFormSettings, ManagementVenue, VenueAddress, VenueLocation, VenueUpsertInput, ManagementEventCategory, EventCategoryUpsertInput, ManagementEventSeries, EventSchedule, EventPricing, EventContent, EventSeriesUpsertInput, ManagementCourseRun, CourseRunUpsertInput, CourseSession, CourseProgramContent, CourseSessionConflict, EntryUpsertInput, PageUpsertInput, BlockUpsertInput, NavigationMenuUpsertInput, NavigationItemInput, FormUpsertInput, SiteStyleSelectionApplyCommand, SiteStyleSelectionApplyCommandInput, ThemeUpsertInput, ThemeUpsertResult, ThemeStyleSelectionApplyInput, ThemeStyleSelectionApplyResult, FooterContent, ManagementFooterContent, FooterContentUpsertInput, FooterOperations, PulledFooter, PulledEntries, PulledPages, PulledNavigation, PulledSettings, PulledForms, PulledTheme, PulledVenues, PulledEventCategories, PulledEvents, PulledCourses, PulledSiteInfo, PulledContentType, PulledContentTypes, PulledContent, PaginationOptions, PaginatedResult, EntryOperations, PageOperations, BlockOperations, NavigationOperations, SettingsOperations, SettingsUpdateInput, FormOperations, ThemeOperations, VenueOperations, EventCategoryOperations, EventOperations, CourseOperations, PullOperations, IdentifiersOperations, BackfillResult, BackfillPageResult, BackfillBlockResult, BackfillEntryResult, MediaOperations, MediaUploadResult, } from './types';
40
40
  export { ManagementApiError, type ManagementApiErrorRequest } from './http';
41
+ export { applySiteStyleSelectionBodyFromCommand, buildApplySiteStyleSelectionCommand, } from './theme';
41
42
  export { CourseSessionConflictError };
@@ -2,5 +2,7 @@
2
2
  * Theme Operations for Management Client
3
3
  */
4
4
  import type { HttpClient } from './http';
5
- import type { ThemeOperations } from './types';
5
+ import type { SiteStyleSelectionApplyCommand, ThemeOperations, ThemeStyleSelectionApplyInput } from './types';
6
+ export declare function buildApplySiteStyleSelectionCommand(input: ThemeStyleSelectionApplyInput): SiteStyleSelectionApplyCommand;
7
+ export declare function applySiteStyleSelectionBodyFromCommand(command: SiteStyleSelectionApplyCommand, selectionId?: string | null): ThemeStyleSelectionApplyInput;
6
8
  export declare function createThemeOperations(http: HttpClient): ThemeOperations;