@riverbankcms/sdk 0.129.0 → 0.129.1

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 (260) hide show
  1. package/README.md +19 -256
  2. package/dist/{PreviewEditorSidebar-B43CJ0g_.mjs → PreviewEditorSidebar-DceRseRV.mjs} +3 -3
  3. package/dist/{PreviewEditorUI-DHirVkeM.mjs → PreviewEditorUI-BNunq3kk.mjs} +2 -2
  4. package/dist/{SdkPreviewModeRuntime-BJumZy1B.mjs → SdkPreviewModeRuntime-Bt87-62u.mjs} +3 -3
  5. package/dist/{SiteChromeCustomizeContext-D9SlpwEj.mjs → SiteChromeCustomizeContext-BLl-OlL4.mjs} +460 -393
  6. package/dist/_dts/ai/src/contracts/commandExposure.d.ts +1 -1
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +4897 -4897
  8. package/dist/_dts/api/src/index.d.ts +2 -1
  9. package/dist/_dts/api/src/sdk-event-management.d.ts +53 -0
  10. package/dist/_dts/api/src/sdk-event-schedule.d.ts +3 -6
  11. package/dist/_dts/api/src/sdkContracts.d.ts +37 -50
  12. package/dist/_dts/api/src/sdkThemeWire.d.ts +2595 -0
  13. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +13 -29
  14. package/dist/_dts/media-core/src/index.d.ts +1 -0
  15. package/dist/_dts/sdk/src/config/types.d.ts +4 -4
  16. package/dist/_dts/sdk/src/version.d.ts +1 -1
  17. package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
  18. package/dist/_dts/theme-core/src/palette/index.d.ts +1 -0
  19. package/dist/_dts/theme-core/src/site-styles/headerLayoutStyleCatalog.d.ts +254 -0
  20. package/dist/_dts/theme-core/src/site-styles/headerLegacyLooks.d.ts +372 -0
  21. package/dist/_dts/theme-core/src/site-styles/headerLookBranding.d.ts +106 -0
  22. package/dist/_dts/theme-core/src/site-styles/headerLookSelection.d.ts +2 -0
  23. package/dist/_dts/theme-core/src/site-styles/headerLookTypes.d.ts +212 -0
  24. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +7 -841
  25. package/dist/_dts/theme-core/src/site-styles/headerStyleCompiler.d.ts +3 -0
  26. package/dist/_dts/theme-core/src/site-styles/headerStyleCompilerPrimitives.d.ts +23 -0
  27. package/dist/client/client.mjs +492 -426
  28. package/dist/client/hooks.mjs +59 -36
  29. package/dist/client/rendering/client.mjs +593 -547
  30. package/dist/client/rendering.mjs +491 -425
  31. package/dist/preview-next/client/runtime.mjs +3 -3
  32. package/dist/{sdk-runtime-CfZd5pAm.mjs → sdk-runtime-C20CVWbb.mjs} +1 -1
  33. package/dist/{separator-DkTe68HE.mjs → separator-BE3NCquy.mjs} +1 -1
  34. package/dist/server/components.mjs +72 -49
  35. package/dist/server/config-validation.mjs +59 -36
  36. package/dist/server/config.mjs +59 -36
  37. package/dist/server/data.mjs +59 -36
  38. package/dist/server/index.mjs +1 -1
  39. package/dist/server/manifest.mjs +4966 -0
  40. package/dist/server/next.mjs +73 -50
  41. package/dist/server/page-converter.mjs +40 -36
  42. package/dist/server/prebuild.mjs +1 -1
  43. package/dist/server/rendering/server.mjs +72 -49
  44. package/dist/server/rendering.mjs +72 -49
  45. package/dist/server/routing.mjs +472 -402
  46. package/dist/server/server.mjs +60 -37
  47. package/dist/server/theme-bridge.mjs +70 -66
  48. package/package.json +9 -12
  49. package/dist/_dts/api/src/event-presentation.d.ts +0 -14
  50. package/dist/_dts/blocks/src/definitions.d.ts +0 -14
  51. package/dist/_dts/sdk/src/cli/canonical-entry-policy.d.ts +0 -53
  52. package/dist/_dts/sdk/src/cli/commands/audit.d.ts +0 -101
  53. package/dist/_dts/sdk/src/cli/commands/block.d.ts +0 -24
  54. package/dist/_dts/sdk/src/cli/commands/compare.d.ts +0 -62
  55. package/dist/_dts/sdk/src/cli/commands/content-type.d.ts +0 -10
  56. package/dist/_dts/sdk/src/cli/commands/content.d.ts +0 -56
  57. package/dist/_dts/sdk/src/cli/commands/delete.d.ts +0 -14
  58. package/dist/_dts/sdk/src/cli/commands/deploy.d.ts +0 -43
  59. package/dist/_dts/sdk/src/cli/commands/drafts.d.ts +0 -18
  60. package/dist/_dts/sdk/src/cli/commands/entry.d.ts +0 -55
  61. package/dist/_dts/sdk/src/cli/commands/env.d.ts +0 -31
  62. package/dist/_dts/sdk/src/cli/commands/event.d.ts +0 -23
  63. package/dist/_dts/sdk/src/cli/commands/eventOccurrenceSchedule.d.ts +0 -12
  64. package/dist/_dts/sdk/src/cli/commands/identifiers.d.ts +0 -10
  65. package/dist/_dts/sdk/src/cli/commands/init-docs.d.ts +0 -13
  66. package/dist/_dts/sdk/src/cli/commands/manifest.d.ts +0 -10
  67. package/dist/_dts/sdk/src/cli/commands/media-validation.d.ts +0 -3
  68. package/dist/_dts/sdk/src/cli/commands/migrate.d.ts +0 -11
  69. package/dist/_dts/sdk/src/cli/commands/navigation.d.ts +0 -12
  70. package/dist/_dts/sdk/src/cli/commands/page.d.ts +0 -14
  71. package/dist/_dts/sdk/src/cli/commands/publish-all.d.ts +0 -50
  72. package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +0 -10
  73. package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +0 -70
  74. package/dist/_dts/sdk/src/cli/commands/pull-scope-diff.d.ts +0 -8
  75. package/dist/_dts/sdk/src/cli/commands/pull.d.ts +0 -43
  76. package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +0 -3
  77. package/dist/_dts/sdk/src/cli/commands/push/execute/diff.d.ts +0 -19
  78. package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +0 -42
  79. package/dist/_dts/sdk/src/cli/commands/push/execute/localMediaReporting.d.ts +0 -23
  80. package/dist/_dts/sdk/src/cli/commands/push/execute/media.d.ts +0 -22
  81. package/dist/_dts/sdk/src/cli/commands/push/execute/metadata.d.ts +0 -1
  82. package/dist/_dts/sdk/src/cli/commands/push/execute/reporting.d.ts +0 -7
  83. package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +0 -63
  84. package/dist/_dts/sdk/src/cli/commands/push/filter.d.ts +0 -15
  85. package/dist/_dts/sdk/src/cli/commands/push/metadata.d.ts +0 -29
  86. package/dist/_dts/sdk/src/cli/commands/push/normalizeLocalContent.d.ts +0 -2
  87. package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +0 -32
  88. package/dist/_dts/sdk/src/cli/commands/push/publishGuidance.d.ts +0 -15
  89. package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -25
  90. package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +0 -83
  91. package/dist/_dts/sdk/src/cli/commands/push/scopes/eventCategories.d.ts +0 -4
  92. package/dist/_dts/sdk/src/cli/commands/push/scopes/events.d.ts +0 -4
  93. package/dist/_dts/sdk/src/cli/commands/push/scopes/mediaPrep.d.ts +0 -14
  94. package/dist/_dts/sdk/src/cli/commands/push/scopes/pushScopeGeneric.d.ts +0 -6
  95. package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +0 -87
  96. package/dist/_dts/sdk/src/cli/commands/push/scopes/venues.d.ts +0 -4
  97. package/dist/_dts/sdk/src/cli/commands/push/stale-resolution.d.ts +0 -48
  98. package/dist/_dts/sdk/src/cli/commands/push/stale.d.ts +0 -17
  99. package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +0 -56
  100. package/dist/_dts/sdk/src/cli/commands/push/workflowPlan.d.ts +0 -34
  101. package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +0 -54
  102. package/dist/_dts/sdk/src/cli/commands/push.d.ts +0 -40
  103. package/dist/_dts/sdk/src/cli/commands/setup.d.ts +0 -3
  104. package/dist/_dts/sdk/src/cli/commands/style.d.ts +0 -60
  105. package/dist/_dts/sdk/src/cli/commands/verify.d.ts +0 -11
  106. package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +0 -44
  107. package/dist/_dts/sdk/src/cli/config-loader.d.ts +0 -47
  108. package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +0 -23
  109. package/dist/_dts/sdk/src/cli/content/edit/format.d.ts +0 -2
  110. package/dist/_dts/sdk/src/cli/content/edit/path.d.ts +0 -14
  111. package/dist/_dts/sdk/src/cli/content/edit/planner.d.ts +0 -46
  112. package/dist/_dts/sdk/src/cli/content/entryPaths.d.ts +0 -6
  113. package/dist/_dts/sdk/src/cli/content/footerFile.d.ts +0 -10
  114. package/dist/_dts/sdk/src/cli/content/fs-utils.d.ts +0 -39
  115. package/dist/_dts/sdk/src/cli/content/legacyEventScheduleShapeError.d.ts +0 -5
  116. package/dist/_dts/sdk/src/cli/content/localEventSchedule.d.ts +0 -17
  117. package/dist/_dts/sdk/src/cli/content/media-manifest.d.ts +0 -13
  118. package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +0 -25
  119. package/dist/_dts/sdk/src/cli/content/metadataStore.d.ts +0 -29
  120. package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -488
  121. package/dist/_dts/sdk/src/cli/content/writer.d.ts +0 -142
  122. package/dist/_dts/sdk/src/cli/env-scope.d.ts +0 -2
  123. package/dist/_dts/sdk/src/cli/env.d.ts +0 -71
  124. package/dist/_dts/sdk/src/cli/errors.d.ts +0 -62
  125. package/dist/_dts/sdk/src/cli/helpers/ai-runtime.d.ts +0 -2
  126. package/dist/_dts/sdk/src/cli/helpers.d.ts +0 -399
  127. package/dist/_dts/sdk/src/cli/index.d.ts +0 -11
  128. package/dist/_dts/sdk/src/cli/init-docs/constants.d.ts +0 -16
  129. package/dist/_dts/sdk/src/cli/init-docs/index.d.ts +0 -12
  130. package/dist/_dts/sdk/src/cli/init-docs/templates.d.ts +0 -18
  131. package/dist/_dts/sdk/src/cli/init-docs/zod-to-markdown.d.ts +0 -28
  132. package/dist/_dts/sdk/src/cli/load-config.d.ts +0 -14
  133. package/dist/_dts/sdk/src/cli/media/identifiers.d.ts +0 -18
  134. package/dist/_dts/sdk/src/cli/media/local-media.d.ts +0 -14
  135. package/dist/_dts/sdk/src/cli/media/local-sync.d.ts +0 -91
  136. package/dist/_dts/sdk/src/cli/media/portable.d.ts +0 -11
  137. package/dist/_dts/sdk/src/cli/media/rich-text.d.ts +0 -12
  138. package/dist/_dts/sdk/src/cli/media/value-utils.d.ts +0 -15
  139. package/dist/_dts/sdk/src/cli/media/write-guard.d.ts +0 -52
  140. package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +0 -3
  141. package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +0 -78
  142. package/dist/_dts/sdk/src/cli/merge-remote/entryMergePlan.d.ts +0 -45
  143. package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +0 -24
  144. package/dist/_dts/sdk/src/cli/merge-remote/entryMergeReport.d.ts +0 -18
  145. package/dist/_dts/sdk/src/cli/merge-remote/entryRemote.d.ts +0 -9
  146. package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +0 -48
  147. package/dist/_dts/sdk/src/cli/merge-remote/mergeFieldChanges.d.ts +0 -22
  148. package/dist/_dts/sdk/src/cli/merge-remote/pageLocal.d.ts +0 -3
  149. package/dist/_dts/sdk/src/cli/merge-remote/pageMerge.d.ts +0 -78
  150. package/dist/_dts/sdk/src/cli/merge-remote/pageMergePlan.d.ts +0 -36
  151. package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +0 -23
  152. package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +0 -17
  153. package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +0 -46
  154. package/dist/_dts/sdk/src/cli/merge-remote/sharedBaseSnapshots.d.ts +0 -32
  155. package/dist/_dts/sdk/src/cli/merge-remote/sharedMergePlan.d.ts +0 -27
  156. package/dist/_dts/sdk/src/cli/merge-remote/sharedMergeReport.d.ts +0 -63
  157. package/dist/_dts/sdk/src/cli/migrations/entries.d.ts +0 -28
  158. package/dist/_dts/sdk/src/cli/migrations/events.d.ts +0 -73
  159. package/dist/_dts/sdk/src/cli/navigationIdentity.d.ts +0 -11
  160. package/dist/_dts/sdk/src/cli/output.d.ts +0 -133
  161. package/dist/_dts/sdk/src/cli/program.d.ts +0 -29
  162. package/dist/_dts/sdk/src/cli/push-config.d.ts +0 -49
  163. package/dist/_dts/sdk/src/cli/setup/setupPlan.d.ts +0 -51
  164. package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +0 -13
  165. package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +0 -170
  166. package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +0 -21
  167. package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +0 -32
  168. package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +0 -53
  169. package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +0 -65
  170. package/dist/_dts/sdk/src/cli/site-commands/eventScheduleCompiler.d.ts +0 -24
  171. package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +0 -68
  172. package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +0 -53
  173. package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +0 -8
  174. package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +0 -31
  175. package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +0 -57
  176. package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +0 -82
  177. package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +0 -84
  178. package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +0 -39
  179. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +0 -8
  180. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +0 -97
  181. package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +0 -15
  182. package/dist/_dts/sdk/src/cli/sync/diff.d.ts +0 -222
  183. package/dist/_dts/sdk/src/cli/sync/executor.d.ts +0 -84
  184. package/dist/_dts/sdk/src/cli/sync/field-diff.d.ts +0 -39
  185. package/dist/_dts/sdk/src/cli/sync/index.d.ts +0 -10
  186. package/dist/_dts/sdk/src/cli/sync/mapper.d.ts +0 -41
  187. package/dist/_dts/sdk/src/cli/sync/media-sync.d.ts +0 -15
  188. package/dist/_dts/sdk/src/cli/sync/media.d.ts +0 -158
  189. package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +0 -4
  190. package/dist/_dts/sdk/src/cli/sync/validation.d.ts +0 -68
  191. package/dist/_dts/sdk/src/cli/utils/checksum.d.ts +0 -1
  192. package/dist/_dts/sdk/src/client/management/blocks.d.ts +0 -19
  193. package/dist/_dts/sdk/src/client/management/catalog.d.ts +0 -10
  194. package/dist/_dts/sdk/src/client/management/entries.d.ts +0 -6
  195. package/dist/_dts/sdk/src/client/management/eventCategories.d.ts +0 -6
  196. package/dist/_dts/sdk/src/client/management/events.d.ts +0 -7
  197. package/dist/_dts/sdk/src/client/management/footer.d.ts +0 -9
  198. package/dist/_dts/sdk/src/client/management/forms.d.ts +0 -6
  199. package/dist/_dts/sdk/src/client/management/http.d.ts +0 -79
  200. package/dist/_dts/sdk/src/client/management/identifiers.d.ts +0 -11
  201. package/dist/_dts/sdk/src/client/management/index.d.ts +0 -41
  202. package/dist/_dts/sdk/src/client/management/media.d.ts +0 -72
  203. package/dist/_dts/sdk/src/client/management/navigation.d.ts +0 -6
  204. package/dist/_dts/sdk/src/client/management/pages.d.ts +0 -6
  205. package/dist/_dts/sdk/src/client/management/pull.d.ts +0 -6
  206. package/dist/_dts/sdk/src/client/management/settings-branding.d.ts +0 -32
  207. package/dist/_dts/sdk/src/client/management/settings.d.ts +0 -6
  208. package/dist/_dts/sdk/src/client/management/theme.d.ts +0 -8
  209. package/dist/_dts/sdk/src/client/management/types.d.ts +0 -1069
  210. package/dist/_dts/sdk/src/client/management/venues.d.ts +0 -6
  211. package/dist/_dts/sdk/src/client/management/webhooks.d.ts +0 -3
  212. package/dist/_dts/sdk/src/test/env.d.ts +0 -4
  213. package/dist/_dts/site-commands/src/adapter.d.ts +0 -23
  214. package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +0 -100
  215. package/dist/_dts/site-commands/src/capabilityGaps.d.ts +0 -8
  216. package/dist/_dts/site-commands/src/commandContract.d.ts +0 -1277
  217. package/dist/_dts/site-commands/src/commandDomain.d.ts +0 -20
  218. package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +0 -7
  219. package/dist/_dts/site-commands/src/commandValidation.d.ts +0 -10
  220. package/dist/_dts/site-commands/src/commands.d.ts +0 -1983
  221. package/dist/_dts/site-commands/src/domain.d.ts +0 -104
  222. package/dist/_dts/site-commands/src/eventCommandContent.d.ts +0 -11
  223. package/dist/_dts/site-commands/src/exposure.d.ts +0 -41
  224. package/dist/_dts/site-commands/src/guards.d.ts +0 -1
  225. package/dist/_dts/site-commands/src/index.d.ts +0 -18
  226. package/dist/_dts/site-commands/src/metadata.d.ts +0 -555
  227. package/dist/_dts/site-commands/src/pagePaths.d.ts +0 -6
  228. package/dist/_dts/site-commands/src/planner.d.ts +0 -58
  229. package/dist/_dts/site-commands/src/refContributions.d.ts +0 -11
  230. package/dist/_dts/site-commands/src/refs.d.ts +0 -90
  231. package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +0 -405
  232. package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +0 -46
  233. package/dist/_dts/site-commands/src/stableJson.d.ts +0 -5
  234. package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +0 -10
  235. package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +0 -21
  236. package/dist/_dts/theme-core/src/data.d.ts +0 -12
  237. package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +0 -4
  238. package/dist/cli/index.mjs +0 -162988
  239. package/dist/cli/init-docs/content/agents-section.md +0 -67
  240. package/dist/cli/init-docs/content/cli-reference.md +0 -1238
  241. package/dist/cli/init-docs/content/content-management.md +0 -792
  242. package/dist/cli/init-docs/content/context-brand.md +0 -125
  243. package/dist/cli/init-docs/content/context-brief.md +0 -77
  244. package/dist/cli/init-docs/content/context-knowledge.md +0 -111
  245. package/dist/cli/init-docs/content/getting-started.md +0 -171
  246. package/dist/cli/init-docs/content/site-workflows-readme.md +0 -96
  247. package/dist/cli/init-docs/content/workflow-add-block.md +0 -299
  248. package/dist/cli/init-docs/content/workflow-agent-safe-sync.md +0 -83
  249. package/dist/cli/init-docs/content/workflow-block-extensions.md +0 -370
  250. package/dist/cli/init-docs/content/workflow-cmsify-page.md +0 -357
  251. package/dist/cli/init-docs/content/workflow-content-types.md +0 -330
  252. package/dist/cli/init-docs/content/workflow-create-page.md +0 -212
  253. package/dist/cli/init-docs/content/workflow-custom-block.md +0 -470
  254. package/dist/cli/init-docs/content/workflow-editor-workflows.md +0 -130
  255. package/dist/cli/init-docs/content/workflow-isr-revalidation.md +0 -158
  256. package/dist/cli/init-docs/content/workflow-preview-mode.md +0 -252
  257. package/dist/cli/init-docs/content/workflow-publish.md +0 -285
  258. package/dist/cli/init-docs/content/workflow-remote-setup.md +0 -51
  259. package/dist/cli/init-docs/content/workflow-templates.md +0 -381
  260. /package/dist/_dts/{sdk/src/cli/utils/mime.d.ts → media-core/src/mimeType.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  export { API_ENDPOINTS, buildEndpointURL } from './endpoints';
2
- export { getFooterComposition, getPublicProfile, updateFooterComposition, updatePublicProfile, } from './footerSettings';
2
+ export { getFooterComposition, getPublicProfile, updateFooterComposition, updatePublicProfile } from './footerSettings';
3
3
  export type { FooterCompositionSnapshot, FooterCompositionUpdateRequest, FooterCompositionUpdateResponse, PublicProfileSnapshot, PublicProfileUpdateRequest, PublicProfileUpdateResponse, } from './siteManagementEndpoints';
4
4
  export { classifyDemoDashboardMutationDescriptor, classifyDemoDashboardMutationEndpoint, summarizeDemoDashboardMutationSurfaces, type DemoDashboardMutationEndpointDescriptor, type DemoDashboardMutationSurface, type DemoDashboardMutationSurfaceSummary, } from './demoDashboardMutationSurfaces';
5
5
  export { managedDomainAddOnPricingSnapshotSchema } from './accessAdmin';
@@ -9,6 +9,7 @@ export { isNavigationDropdownSentinel, normalizeNavigationAuthoringLinkForComman
9
9
  export type { NavigationAuthoringItemInput, NavigationAuthoringLinkInput, NavigationBoundaryPortalLinkPayload, NavigationCommandBoundaryItemInput, NavigationConfigItemInput, NavigationDropdownSentinel, NavigationLocalItemInput, NavigationReadItemInput, } from './navigation/boundaries';
10
10
  export { pushSdkConfigBodySchema, loaderFallbackScalarSchema, riverbankSiteConfigInputSchema, sdkCustomBlockInputSchema, sdkWorkflowConfigSchema, sdkWorkflowTriggerSchema, sdkWorkflowConfirmationSchema, sdkWorkflowsSchema, SDK_WORKFLOW_CONFIRMATION_BODY_MAX_LENGTH, SDK_WORKFLOW_CONFIRMATION_TITLE_MAX_LENGTH, SDK_WORKFLOW_CONTENT_TYPE_MAX_LENGTH, SDK_WORKFLOW_DESCRIPTION_MAX_LENGTH, SDK_WORKFLOW_ENDPOINT_MAX_LENGTH, SDK_WORKFLOW_ENDPOINT_PATTERN, SDK_WORKFLOW_ID_MAX_LENGTH, SDK_WORKFLOW_ID_PATTERN, SDK_WORKFLOW_MAX_COUNT, SDK_WORKFLOW_TITLE_MAX_LENGTH, SDK_WORKFLOW_TRIGGER_CONDITION_MAX_COUNT, SDK_WORKFLOW_TRIGGER_FIELD_MAX_LENGTH, SDK_WORKFLOW_TRIGGER_MAX_COUNT, fieldDefinitionInputSchema, } from './sdkConfig/contracts';
11
11
  export { formatIgnoredDocumentSyncSectionWarning } from './sdkContracts';
12
+ export { normalizeSdkThemeWire, sdkThemeWireSchema, type SdkCanonicalTheme, type SdkThemeWire, } from './sdkThemeWire';
12
13
  export { createIncrementalJsonAccumulator } from './incrementalJson';
13
14
  export type { ApplySiteStyleSelectionBody, SiteStyleHeaderSelectionChange, SiteStyleSelectionChange, SaveSiteChromeLookSelectionBody, SaveSiteChromeLookSelectionResponse, SiteThemeSelectionsPayload, } from './siteRuntimeEndpoints';
14
15
  export { PUBLIC_EVENT_TICKET_SELECTION_CONTRACT_VERSION, type DiscountsAvailableResponse, type NewsletterSubscribeTarget, type NewsletterSignupPublicDestinationRef, type PublicEventRecurrence, } from './publicExperienceEndpoints';
@@ -0,0 +1,53 @@
1
+ export interface SdkEventCategoryUpsertInput {
2
+ identifier: string;
3
+ name: string;
4
+ description?: string | null;
5
+ color?: string | null;
6
+ sortOrder?: number;
7
+ }
8
+ export interface SdkEventSchedule {
9
+ recurrenceRule: string | null;
10
+ startDate?: string | null;
11
+ timezone?: string | null;
12
+ defaultStartTime: string;
13
+ durationMinutes: number;
14
+ }
15
+ export type SdkEventStartEndScheduleInput = {
16
+ /** Start/end schedules are currently supported for one-off SDK-managed events only. */
17
+ recurrenceRule?: null;
18
+ /** ISO datetime. Local datetime strings are treated as event-local wall time. */
19
+ startsAt: string;
20
+ /** ISO datetime. Must be after startsAt and no more than the shared event duration maximum. */
21
+ endsAt: string;
22
+ durationMinutes?: never;
23
+ };
24
+ export type SdkEventStartDurationScheduleInput = {
25
+ /** Start/duration schedules are currently supported for one-off SDK-managed events only. */
26
+ recurrenceRule?: null;
27
+ /** ISO datetime. Local datetime strings are treated as event-local wall time. */
28
+ startsAt: string;
29
+ /** Must be no more than the shared event duration maximum. */
30
+ durationMinutes: number;
31
+ endsAt?: never;
32
+ };
33
+ export type SdkEventUpsertScheduleInput = SdkEventSchedule | SdkEventStartEndScheduleInput | SdkEventStartDurationScheduleInput;
34
+ export interface SdkVenueUpsertInput {
35
+ slug: string;
36
+ title: string;
37
+ description?: string | null;
38
+ timezone?: string | null;
39
+ capacity?: number | null;
40
+ address?: {
41
+ line1?: string;
42
+ line2?: string;
43
+ city?: string;
44
+ region?: string;
45
+ postcode?: string;
46
+ country?: string;
47
+ };
48
+ location?: {
49
+ lat?: number;
50
+ lng?: number;
51
+ } | null;
52
+ mapEmbed?: string | null;
53
+ }
@@ -1,16 +1,13 @@
1
+ import type { SdkEventSchedule } from './sdk-event-management';
1
2
  export type SdkEventScheduleIssue = Readonly<{
2
3
  path: readonly string[];
3
4
  message: string;
4
5
  }>;
5
- export type SdkEventCanonicalSchedule = Readonly<{
6
- recurrenceRule: string | null;
7
- startDate?: string | null;
8
- defaultStartTime: string;
9
- durationMinutes: number;
10
- }>;
6
+ export type SdkEventCanonicalSchedule = Readonly<SdkEventSchedule>;
11
7
  export type SdkEventScheduleInput = Readonly<{
12
8
  recurrenceRule?: string | null;
13
9
  startDate?: string | null;
10
+ timezone?: string | null;
14
11
  defaultStartTime?: string | null;
15
12
  durationMinutes?: number | null;
16
13
  startsAt?: string | null;
@@ -1,12 +1,14 @@
1
- import type { BlockContentSource, BlockContentSourceKind, FieldDefinition, FieldDefinitionInput, RichTextDoc, SdkCustomBlock, SdkCustomBlockInput, Theme } from '../../blocks/src/index';
1
+ import type { BlockContentSource, BlockContentSourceKind, FieldDefinition, FieldDefinitionInput, SdkCustomBlock, SdkCustomBlockInput, Theme } from '../../blocks/src/index';
2
2
  import type { ContentTypeSchema } from '../../content-model/src/index';
3
- import type { FooterCompositionV1 } from '../../core/src/index';
3
+ import type { FooterCompositionV1, RichTextDoc } from '../../core/src/index';
4
4
  import type { LinkPayload } from './navigation/types';
5
5
  import type { JsonValue } from './shared-contracts';
6
6
  import type { SdkEventPricing, SdkEventPricingInput } from './sdk-event-pricing';
7
7
  import type { SdkEventPaymentTerms, SdkEventPaymentTermsInput } from './sdk-event-payment-terms';
8
8
  import type { EventOccurrenceStatus } from './bookingRecords';
9
+ import type { SiteCommandApplicationResult } from '@riverbankcms/site-commands';
9
10
  import type { EventPreset } from './bookingConfig';
11
+ import type { SdkThemeWire } from './sdkThemeWire';
10
12
  /**
11
13
  * SDK Site Configuration Types
12
14
  *
@@ -543,7 +545,7 @@ export interface SdkPullThemeMeta extends SdkPullMeta {
543
545
  updatedAt: string | null;
544
546
  }
545
547
  export interface SdkPullThemeResponse {
546
- theme: Theme | null;
548
+ theme: SdkThemeWire | null;
547
549
  themeId: string | null;
548
550
  selectionId: string | null;
549
551
  /**
@@ -985,6 +987,12 @@ export interface SdkPullEntriesAllResponse {
985
987
  truncation: SdkPullTruncationMeta;
986
988
  };
987
989
  }
990
+ /**
991
+ * Canonical wire representation of a site-command mutation. Management
992
+ * authorities must return the command application result unchanged so clients
993
+ * never reconstruct created/updated/unchanged meaning from resource metadata.
994
+ */
995
+ export type SdkCommandApplicationResult<T> = SiteCommandApplicationResult<T>;
988
996
  export interface SdkManagementPage {
989
997
  id: string;
990
998
  identifier: string;
@@ -1083,9 +1091,7 @@ export type SdkUpdateEventOccurrenceRequest = {
1083
1091
  schedule?: never;
1084
1092
  capacity: SdkEventOccurrenceCapacityIntent;
1085
1093
  };
1086
- export interface SdkPageResponse {
1087
- page: SdkManagementPage;
1088
- }
1094
+ export type SdkPageResponse = SdkCommandApplicationResult<SdkManagementPage>;
1089
1095
  export type SdkUpsertPageResponse = SdkPageResponse & SdkPublicationStageFields<SdkPagePublishErrorCode>;
1090
1096
  export interface SdkDraftPage {
1091
1097
  identifier: string;
@@ -1111,14 +1117,13 @@ export interface SdkPullDraftsResponse {
1111
1117
  };
1112
1118
  meta: SdkPullMeta;
1113
1119
  }
1114
- export interface SdkUpsertBlockResponse {
1115
- block: SdkManagementBlock;
1120
+ export type SdkUpsertBlockResponse = SdkCommandApplicationResult<SdkManagementBlock> & {
1116
1121
  /** Non-blocking content warnings (e.g. theme-unavailable button variants). */
1117
1122
  warnings?: SdkBlockContentWarning[];
1118
- }
1119
- export interface SdkDeleteResponse {
1123
+ };
1124
+ export type SdkDeleteResponse = SdkCommandApplicationResult<Readonly<{
1120
1125
  deleted: true;
1121
- }
1126
+ }>>;
1122
1127
  export interface SdkReorderResponse {
1123
1128
  reordered: true;
1124
1129
  }
@@ -1171,12 +1176,8 @@ export type SdkPublicationStageFields<TCode extends string> = {
1171
1176
  saved: true;
1172
1177
  publication: SdkPublicationOutcome<TCode>;
1173
1178
  };
1174
- export type SdkUpsertEntryResponse = {
1175
- entry: Omit<SdkManagementEntry, 'publishedData'>;
1176
- } & SdkPublicationStageFields<SdkEntryPublishErrorCode>;
1177
- export interface SdkPublishOrUnpublishEntryResponse {
1178
- entry: Omit<SdkManagementEntry, 'publishedData'>;
1179
- }
1179
+ export type SdkUpsertEntryResponse = SdkCommandApplicationResult<Omit<SdkManagementEntry, 'publishedData'>> & SdkPublicationStageFields<SdkEntryPublishErrorCode>;
1180
+ export type SdkPublishOrUnpublishEntryResponse = SdkCommandApplicationResult<Omit<SdkManagementEntry, 'publishedData'>>;
1180
1181
  export interface SdkListEntriesResponse {
1181
1182
  items: SdkManagementEntry[];
1182
1183
  pagination: SdkPullPagination;
@@ -1185,36 +1186,28 @@ export type SdkGetEntryResponse = SdkManagementEntry;
1185
1186
  export interface SdkListFormsResponse {
1186
1187
  forms: SdkManagementForm[];
1187
1188
  }
1188
- export interface SdkUpsertFormResponse {
1189
- form: SdkManagementForm;
1190
- }
1189
+ export type SdkUpsertFormResponse = SdkCommandApplicationResult<SdkManagementForm>;
1191
1190
  export interface SdkGetFormResponse {
1192
1191
  form: SdkManagementForm;
1193
1192
  }
1194
1193
  export interface SdkListVenuesResponse {
1195
1194
  venues: SdkManagementVenue[];
1196
1195
  }
1197
- export interface SdkUpsertVenueResponse {
1198
- venue: SdkManagementVenue;
1199
- }
1196
+ export type SdkUpsertVenueResponse = SdkCommandApplicationResult<SdkManagementVenue>;
1200
1197
  export interface SdkGetVenueResponse {
1201
1198
  venue: SdkManagementVenue;
1202
1199
  }
1203
1200
  export interface SdkListEventCategoriesResponse {
1204
1201
  eventCategories: SdkManagementEventCategory[];
1205
1202
  }
1206
- export interface SdkUpsertEventCategoryResponse {
1207
- eventCategory: SdkManagementEventCategory;
1208
- }
1203
+ export type SdkUpsertEventCategoryResponse = SdkCommandApplicationResult<SdkManagementEventCategory>;
1209
1204
  export interface SdkGetEventCategoryResponse {
1210
1205
  eventCategory: SdkManagementEventCategory;
1211
1206
  }
1212
1207
  export interface SdkListEventsResponse {
1213
1208
  events: SdkManagementEventSeries[];
1214
1209
  }
1215
- export interface SdkUpsertEventResponse {
1216
- event: SdkManagementEventSeries;
1217
- }
1210
+ export type SdkUpsertEventResponse = SdkCommandApplicationResult<SdkManagementEventSeries>;
1218
1211
  export interface SdkGetEventResponse {
1219
1212
  event: SdkManagementEventSeries;
1220
1213
  }
@@ -1225,27 +1218,21 @@ export interface SdkListEventOccurrencesResponse {
1225
1218
  export interface SdkEventOccurrenceResponse {
1226
1219
  occurrence: SdkManagementEventOccurrence;
1227
1220
  }
1228
- export interface SdkUpsertNavigationMenuResponse {
1229
- menu: {
1230
- id: string;
1231
- identifier: string | null;
1232
- name: string;
1233
- isPrimary: boolean;
1234
- isFooter: boolean;
1235
- footerRole: 'main' | 'legal-policy' | null;
1236
- items: SdkPullNavigationItem[];
1237
- createdAt: string;
1238
- updatedAt: string;
1239
- };
1240
- }
1241
- export interface SdkUpsertThemeResponse {
1221
+ export type SdkUpsertNavigationMenuResponse = SdkCommandApplicationResult<{
1222
+ id: string;
1223
+ identifier: string | null;
1224
+ name: string;
1225
+ isPrimary: boolean;
1226
+ isFooter: boolean;
1227
+ footerRole: 'main' | 'legal-policy' | null;
1228
+ items: SdkPullNavigationItem[];
1229
+ createdAt: string;
1230
+ updatedAt: string;
1231
+ }>;
1232
+ export type SdkUpsertThemeResponse = SdkCommandApplicationResult<{
1242
1233
  themeId: string;
1243
1234
  selectionId: string;
1244
1235
  savedAt: string;
1245
- }
1246
- export interface SdkUpsertFooterResponse {
1247
- footer: SdkFooterContent | null;
1248
- }
1249
- export interface SdkUpdateSettingsResponse {
1250
- settings: SdkPullSettings;
1251
- }
1236
+ }>;
1237
+ export type SdkUpsertFooterResponse = SdkCommandApplicationResult<SdkFooterContent | null>;
1238
+ export type SdkUpdateSettingsResponse = SdkCommandApplicationResult<SdkPullSettings>;