@riverbankcms/sdk 0.128.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 (290) hide show
  1. package/README.md +52 -256
  2. package/dist/{PreviewEditorSidebar-Dbvb7GIr.mjs → PreviewEditorSidebar-DceRseRV.mjs} +3 -3
  3. package/dist/{PreviewEditorUI-e9O9l20X.mjs → PreviewEditorUI-BNunq3kk.mjs} +2 -2
  4. package/dist/{SdkPreviewModeRuntime-BZHt6e9w.mjs → SdkPreviewModeRuntime-Bt87-62u.mjs} +495 -292
  5. package/dist/{SiteChromeCustomizeContext-CvuGbHJX.mjs → SiteChromeCustomizeContext-BLl-OlL4.mjs} +600 -533
  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/blocks/src/PageRenderer.d.ts +20 -10
  15. package/dist/_dts/blocks/src/index.d.ts +2 -1
  16. package/dist/_dts/blocks/src/pageRendererBoundaries.d.ts +30 -0
  17. package/dist/_dts/blocks/src/pageRenderingMode.d.ts +37 -0
  18. package/dist/_dts/blocks/src/server.d.ts +1 -1
  19. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +14 -0
  20. package/dist/_dts/media-core/src/index.d.ts +1 -0
  21. package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +2 -0
  22. package/dist/_dts/preview-next/src/client/index.d.ts +47 -47
  23. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +18 -6
  24. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +30 -21
  25. package/dist/_dts/preview-next/src/client/preview/PreviewThemedSiteDocument.d.ts +18 -5
  26. package/dist/_dts/preview-next/src/client/preview/themeRuntime.d.ts +9 -0
  27. package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +21 -6
  28. package/dist/_dts/preview-next/src/client/sdk-runtime.d.ts +8 -8
  29. package/dist/_dts/sdk/src/config/types.d.ts +4 -4
  30. package/dist/_dts/sdk/src/next/catch-all.d.ts +6 -0
  31. package/dist/_dts/sdk/src/next/index.d.ts +2 -1
  32. package/dist/_dts/sdk/src/next/renderSdkContent.d.ts +33 -0
  33. package/dist/_dts/sdk/src/next/types.d.ts +23 -9
  34. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +4 -6
  35. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  37. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +25 -3
  38. package/dist/_dts/sdk/src/rendering/components/Block.shared.d.ts +13 -2
  39. package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +31 -18
  40. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +20 -9
  41. package/dist/_dts/sdk/src/rendering/index.d.ts +4 -2
  42. package/dist/_dts/sdk/src/rendering/renderingMode.d.ts +23 -0
  43. package/dist/_dts/sdk/src/rendering/server.d.ts +5 -3
  44. package/dist/_dts/sdk/src/rendering/themeRuntime.d.ts +6 -0
  45. package/dist/_dts/sdk/src/version.d.ts +1 -1
  46. package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
  47. package/dist/_dts/theme-core/src/palette/index.d.ts +1 -0
  48. package/dist/_dts/theme-core/src/site-styles/headerLayoutStyleCatalog.d.ts +254 -0
  49. package/dist/_dts/theme-core/src/site-styles/headerLegacyLooks.d.ts +372 -0
  50. package/dist/_dts/theme-core/src/site-styles/headerLookBranding.d.ts +106 -0
  51. package/dist/_dts/theme-core/src/site-styles/headerLookSelection.d.ts +2 -0
  52. package/dist/_dts/theme-core/src/site-styles/headerLookTypes.d.ts +212 -0
  53. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +7 -841
  54. package/dist/_dts/theme-core/src/site-styles/headerStyleCompiler.d.ts +3 -0
  55. package/dist/_dts/theme-core/src/site-styles/headerStyleCompilerPrimitives.d.ts +23 -0
  56. package/dist/client/client.mjs +911 -762
  57. package/dist/client/hooks.mjs +59 -36
  58. package/dist/client/rendering/client.mjs +593 -547
  59. package/dist/client/rendering.mjs +994 -783
  60. package/dist/preview-next/before-render.mjs +10 -3
  61. package/dist/preview-next/client/runtime.mjs +3 -3
  62. package/dist/{sdk-runtime-Cn_QSCOg.mjs → sdk-runtime-C20CVWbb.mjs} +1 -1
  63. package/dist/{separator-CEoGABRc.mjs → separator-BE3NCquy.mjs} +1 -1
  64. package/dist/server/components.mjs +549 -399
  65. package/dist/server/config-validation.mjs +59 -36
  66. package/dist/server/config.mjs +59 -36
  67. package/dist/server/data.mjs +59 -36
  68. package/dist/server/index.mjs +1 -1
  69. package/dist/server/manifest.mjs +4966 -0
  70. package/dist/server/next.mjs +700 -537
  71. package/dist/server/page-converter.mjs +40 -36
  72. package/dist/server/prebuild.mjs +1 -1
  73. package/dist/server/rendering/server.mjs +571 -404
  74. package/dist/server/rendering.mjs +571 -404
  75. package/dist/server/routing.mjs +472 -402
  76. package/dist/server/server.mjs +60 -37
  77. package/dist/server/theme-bridge.mjs +70 -66
  78. package/package.json +9 -12
  79. package/dist/_dts/api/src/event-presentation.d.ts +0 -14
  80. package/dist/_dts/blocks/src/definitions.d.ts +0 -14
  81. package/dist/_dts/sdk/src/cli/canonical-entry-policy.d.ts +0 -53
  82. package/dist/_dts/sdk/src/cli/commands/audit.d.ts +0 -101
  83. package/dist/_dts/sdk/src/cli/commands/block.d.ts +0 -24
  84. package/dist/_dts/sdk/src/cli/commands/compare.d.ts +0 -62
  85. package/dist/_dts/sdk/src/cli/commands/content-type.d.ts +0 -10
  86. package/dist/_dts/sdk/src/cli/commands/content.d.ts +0 -56
  87. package/dist/_dts/sdk/src/cli/commands/delete.d.ts +0 -14
  88. package/dist/_dts/sdk/src/cli/commands/deploy.d.ts +0 -43
  89. package/dist/_dts/sdk/src/cli/commands/drafts.d.ts +0 -18
  90. package/dist/_dts/sdk/src/cli/commands/entry.d.ts +0 -55
  91. package/dist/_dts/sdk/src/cli/commands/env.d.ts +0 -31
  92. package/dist/_dts/sdk/src/cli/commands/event.d.ts +0 -23
  93. package/dist/_dts/sdk/src/cli/commands/eventOccurrenceSchedule.d.ts +0 -12
  94. package/dist/_dts/sdk/src/cli/commands/identifiers.d.ts +0 -10
  95. package/dist/_dts/sdk/src/cli/commands/init-docs.d.ts +0 -13
  96. package/dist/_dts/sdk/src/cli/commands/manifest.d.ts +0 -10
  97. package/dist/_dts/sdk/src/cli/commands/media-validation.d.ts +0 -3
  98. package/dist/_dts/sdk/src/cli/commands/migrate.d.ts +0 -11
  99. package/dist/_dts/sdk/src/cli/commands/navigation.d.ts +0 -12
  100. package/dist/_dts/sdk/src/cli/commands/page.d.ts +0 -14
  101. package/dist/_dts/sdk/src/cli/commands/publish-all.d.ts +0 -50
  102. package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +0 -10
  103. package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +0 -70
  104. package/dist/_dts/sdk/src/cli/commands/pull-scope-diff.d.ts +0 -8
  105. package/dist/_dts/sdk/src/cli/commands/pull.d.ts +0 -43
  106. package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +0 -3
  107. package/dist/_dts/sdk/src/cli/commands/push/execute/diff.d.ts +0 -19
  108. package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +0 -42
  109. package/dist/_dts/sdk/src/cli/commands/push/execute/localMediaReporting.d.ts +0 -23
  110. package/dist/_dts/sdk/src/cli/commands/push/execute/media.d.ts +0 -22
  111. package/dist/_dts/sdk/src/cli/commands/push/execute/metadata.d.ts +0 -1
  112. package/dist/_dts/sdk/src/cli/commands/push/execute/reporting.d.ts +0 -7
  113. package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +0 -63
  114. package/dist/_dts/sdk/src/cli/commands/push/filter.d.ts +0 -15
  115. package/dist/_dts/sdk/src/cli/commands/push/metadata.d.ts +0 -29
  116. package/dist/_dts/sdk/src/cli/commands/push/normalizeLocalContent.d.ts +0 -2
  117. package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +0 -32
  118. package/dist/_dts/sdk/src/cli/commands/push/publishGuidance.d.ts +0 -15
  119. package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -25
  120. package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +0 -83
  121. package/dist/_dts/sdk/src/cli/commands/push/scopes/eventCategories.d.ts +0 -4
  122. package/dist/_dts/sdk/src/cli/commands/push/scopes/events.d.ts +0 -4
  123. package/dist/_dts/sdk/src/cli/commands/push/scopes/mediaPrep.d.ts +0 -14
  124. package/dist/_dts/sdk/src/cli/commands/push/scopes/pushScopeGeneric.d.ts +0 -6
  125. package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +0 -87
  126. package/dist/_dts/sdk/src/cli/commands/push/scopes/venues.d.ts +0 -4
  127. package/dist/_dts/sdk/src/cli/commands/push/stale-resolution.d.ts +0 -48
  128. package/dist/_dts/sdk/src/cli/commands/push/stale.d.ts +0 -17
  129. package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +0 -56
  130. package/dist/_dts/sdk/src/cli/commands/push/workflowPlan.d.ts +0 -34
  131. package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +0 -54
  132. package/dist/_dts/sdk/src/cli/commands/push.d.ts +0 -40
  133. package/dist/_dts/sdk/src/cli/commands/setup.d.ts +0 -3
  134. package/dist/_dts/sdk/src/cli/commands/style.d.ts +0 -60
  135. package/dist/_dts/sdk/src/cli/commands/verify.d.ts +0 -11
  136. package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +0 -44
  137. package/dist/_dts/sdk/src/cli/config-loader.d.ts +0 -47
  138. package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +0 -23
  139. package/dist/_dts/sdk/src/cli/content/edit/format.d.ts +0 -2
  140. package/dist/_dts/sdk/src/cli/content/edit/path.d.ts +0 -14
  141. package/dist/_dts/sdk/src/cli/content/edit/planner.d.ts +0 -46
  142. package/dist/_dts/sdk/src/cli/content/entryPaths.d.ts +0 -6
  143. package/dist/_dts/sdk/src/cli/content/footerFile.d.ts +0 -10
  144. package/dist/_dts/sdk/src/cli/content/fs-utils.d.ts +0 -39
  145. package/dist/_dts/sdk/src/cli/content/legacyEventScheduleShapeError.d.ts +0 -5
  146. package/dist/_dts/sdk/src/cli/content/localEventSchedule.d.ts +0 -17
  147. package/dist/_dts/sdk/src/cli/content/media-manifest.d.ts +0 -13
  148. package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +0 -25
  149. package/dist/_dts/sdk/src/cli/content/metadataStore.d.ts +0 -29
  150. package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -488
  151. package/dist/_dts/sdk/src/cli/content/writer.d.ts +0 -142
  152. package/dist/_dts/sdk/src/cli/env-scope.d.ts +0 -2
  153. package/dist/_dts/sdk/src/cli/env.d.ts +0 -71
  154. package/dist/_dts/sdk/src/cli/errors.d.ts +0 -62
  155. package/dist/_dts/sdk/src/cli/helpers/ai-runtime.d.ts +0 -2
  156. package/dist/_dts/sdk/src/cli/helpers.d.ts +0 -399
  157. package/dist/_dts/sdk/src/cli/index.d.ts +0 -11
  158. package/dist/_dts/sdk/src/cli/init-docs/constants.d.ts +0 -16
  159. package/dist/_dts/sdk/src/cli/init-docs/index.d.ts +0 -12
  160. package/dist/_dts/sdk/src/cli/init-docs/templates.d.ts +0 -18
  161. package/dist/_dts/sdk/src/cli/init-docs/zod-to-markdown.d.ts +0 -28
  162. package/dist/_dts/sdk/src/cli/load-config.d.ts +0 -14
  163. package/dist/_dts/sdk/src/cli/media/identifiers.d.ts +0 -18
  164. package/dist/_dts/sdk/src/cli/media/local-media.d.ts +0 -14
  165. package/dist/_dts/sdk/src/cli/media/local-sync.d.ts +0 -91
  166. package/dist/_dts/sdk/src/cli/media/portable.d.ts +0 -11
  167. package/dist/_dts/sdk/src/cli/media/rich-text.d.ts +0 -12
  168. package/dist/_dts/sdk/src/cli/media/value-utils.d.ts +0 -15
  169. package/dist/_dts/sdk/src/cli/media/write-guard.d.ts +0 -52
  170. package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +0 -3
  171. package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +0 -78
  172. package/dist/_dts/sdk/src/cli/merge-remote/entryMergePlan.d.ts +0 -45
  173. package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +0 -24
  174. package/dist/_dts/sdk/src/cli/merge-remote/entryMergeReport.d.ts +0 -18
  175. package/dist/_dts/sdk/src/cli/merge-remote/entryRemote.d.ts +0 -9
  176. package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +0 -48
  177. package/dist/_dts/sdk/src/cli/merge-remote/mergeFieldChanges.d.ts +0 -22
  178. package/dist/_dts/sdk/src/cli/merge-remote/pageLocal.d.ts +0 -3
  179. package/dist/_dts/sdk/src/cli/merge-remote/pageMerge.d.ts +0 -78
  180. package/dist/_dts/sdk/src/cli/merge-remote/pageMergePlan.d.ts +0 -36
  181. package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +0 -23
  182. package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +0 -17
  183. package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +0 -46
  184. package/dist/_dts/sdk/src/cli/merge-remote/sharedBaseSnapshots.d.ts +0 -32
  185. package/dist/_dts/sdk/src/cli/merge-remote/sharedMergePlan.d.ts +0 -27
  186. package/dist/_dts/sdk/src/cli/merge-remote/sharedMergeReport.d.ts +0 -63
  187. package/dist/_dts/sdk/src/cli/migrations/entries.d.ts +0 -28
  188. package/dist/_dts/sdk/src/cli/migrations/events.d.ts +0 -73
  189. package/dist/_dts/sdk/src/cli/navigationIdentity.d.ts +0 -11
  190. package/dist/_dts/sdk/src/cli/output.d.ts +0 -133
  191. package/dist/_dts/sdk/src/cli/program.d.ts +0 -29
  192. package/dist/_dts/sdk/src/cli/push-config.d.ts +0 -49
  193. package/dist/_dts/sdk/src/cli/setup/setupPlan.d.ts +0 -51
  194. package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +0 -13
  195. package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +0 -170
  196. package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +0 -21
  197. package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +0 -32
  198. package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +0 -53
  199. package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +0 -65
  200. package/dist/_dts/sdk/src/cli/site-commands/eventScheduleCompiler.d.ts +0 -24
  201. package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +0 -68
  202. package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +0 -53
  203. package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +0 -8
  204. package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +0 -31
  205. package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +0 -57
  206. package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +0 -82
  207. package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +0 -84
  208. package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +0 -39
  209. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +0 -8
  210. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +0 -97
  211. package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +0 -15
  212. package/dist/_dts/sdk/src/cli/sync/diff.d.ts +0 -222
  213. package/dist/_dts/sdk/src/cli/sync/executor.d.ts +0 -84
  214. package/dist/_dts/sdk/src/cli/sync/field-diff.d.ts +0 -39
  215. package/dist/_dts/sdk/src/cli/sync/index.d.ts +0 -10
  216. package/dist/_dts/sdk/src/cli/sync/mapper.d.ts +0 -41
  217. package/dist/_dts/sdk/src/cli/sync/media-sync.d.ts +0 -15
  218. package/dist/_dts/sdk/src/cli/sync/media.d.ts +0 -158
  219. package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +0 -4
  220. package/dist/_dts/sdk/src/cli/sync/validation.d.ts +0 -68
  221. package/dist/_dts/sdk/src/cli/utils/checksum.d.ts +0 -1
  222. package/dist/_dts/sdk/src/client/management/blocks.d.ts +0 -19
  223. package/dist/_dts/sdk/src/client/management/catalog.d.ts +0 -10
  224. package/dist/_dts/sdk/src/client/management/entries.d.ts +0 -6
  225. package/dist/_dts/sdk/src/client/management/eventCategories.d.ts +0 -6
  226. package/dist/_dts/sdk/src/client/management/events.d.ts +0 -7
  227. package/dist/_dts/sdk/src/client/management/footer.d.ts +0 -9
  228. package/dist/_dts/sdk/src/client/management/forms.d.ts +0 -6
  229. package/dist/_dts/sdk/src/client/management/http.d.ts +0 -79
  230. package/dist/_dts/sdk/src/client/management/identifiers.d.ts +0 -11
  231. package/dist/_dts/sdk/src/client/management/index.d.ts +0 -41
  232. package/dist/_dts/sdk/src/client/management/media.d.ts +0 -72
  233. package/dist/_dts/sdk/src/client/management/navigation.d.ts +0 -6
  234. package/dist/_dts/sdk/src/client/management/pages.d.ts +0 -6
  235. package/dist/_dts/sdk/src/client/management/pull.d.ts +0 -6
  236. package/dist/_dts/sdk/src/client/management/settings-branding.d.ts +0 -32
  237. package/dist/_dts/sdk/src/client/management/settings.d.ts +0 -6
  238. package/dist/_dts/sdk/src/client/management/theme.d.ts +0 -8
  239. package/dist/_dts/sdk/src/client/management/types.d.ts +0 -1069
  240. package/dist/_dts/sdk/src/client/management/venues.d.ts +0 -6
  241. package/dist/_dts/sdk/src/client/management/webhooks.d.ts +0 -3
  242. package/dist/_dts/sdk/src/test/env.d.ts +0 -4
  243. package/dist/_dts/site-commands/src/adapter.d.ts +0 -23
  244. package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +0 -100
  245. package/dist/_dts/site-commands/src/capabilityGaps.d.ts +0 -8
  246. package/dist/_dts/site-commands/src/commandContract.d.ts +0 -1277
  247. package/dist/_dts/site-commands/src/commandDomain.d.ts +0 -20
  248. package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +0 -7
  249. package/dist/_dts/site-commands/src/commandValidation.d.ts +0 -10
  250. package/dist/_dts/site-commands/src/commands.d.ts +0 -1983
  251. package/dist/_dts/site-commands/src/domain.d.ts +0 -104
  252. package/dist/_dts/site-commands/src/eventCommandContent.d.ts +0 -11
  253. package/dist/_dts/site-commands/src/exposure.d.ts +0 -41
  254. package/dist/_dts/site-commands/src/guards.d.ts +0 -1
  255. package/dist/_dts/site-commands/src/index.d.ts +0 -18
  256. package/dist/_dts/site-commands/src/metadata.d.ts +0 -555
  257. package/dist/_dts/site-commands/src/pagePaths.d.ts +0 -6
  258. package/dist/_dts/site-commands/src/planner.d.ts +0 -58
  259. package/dist/_dts/site-commands/src/refContributions.d.ts +0 -11
  260. package/dist/_dts/site-commands/src/refs.d.ts +0 -90
  261. package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +0 -405
  262. package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +0 -46
  263. package/dist/_dts/site-commands/src/stableJson.d.ts +0 -5
  264. package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +0 -10
  265. package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +0 -21
  266. package/dist/_dts/theme-core/src/data.d.ts +0 -12
  267. package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +0 -4
  268. package/dist/cli/index.mjs +0 -162962
  269. package/dist/cli/init-docs/content/agents-section.md +0 -67
  270. package/dist/cli/init-docs/content/cli-reference.md +0 -1238
  271. package/dist/cli/init-docs/content/content-management.md +0 -792
  272. package/dist/cli/init-docs/content/context-brand.md +0 -125
  273. package/dist/cli/init-docs/content/context-brief.md +0 -77
  274. package/dist/cli/init-docs/content/context-knowledge.md +0 -111
  275. package/dist/cli/init-docs/content/getting-started.md +0 -171
  276. package/dist/cli/init-docs/content/site-workflows-readme.md +0 -96
  277. package/dist/cli/init-docs/content/workflow-add-block.md +0 -299
  278. package/dist/cli/init-docs/content/workflow-agent-safe-sync.md +0 -83
  279. package/dist/cli/init-docs/content/workflow-block-extensions.md +0 -370
  280. package/dist/cli/init-docs/content/workflow-cmsify-page.md +0 -357
  281. package/dist/cli/init-docs/content/workflow-content-types.md +0 -330
  282. package/dist/cli/init-docs/content/workflow-create-page.md +0 -212
  283. package/dist/cli/init-docs/content/workflow-custom-block.md +0 -470
  284. package/dist/cli/init-docs/content/workflow-editor-workflows.md +0 -130
  285. package/dist/cli/init-docs/content/workflow-isr-revalidation.md +0 -158
  286. package/dist/cli/init-docs/content/workflow-preview-mode.md +0 -239
  287. package/dist/cli/init-docs/content/workflow-publish.md +0 -285
  288. package/dist/cli/init-docs/content/workflow-remote-setup.md +0 -51
  289. package/dist/cli/init-docs/content/workflow-templates.md +0 -381
  290. /package/dist/_dts/{sdk/src/cli/utils/mime.d.ts → media-core/src/mimeType.d.ts} +0 -0
@@ -1,3 +0,0 @@
1
- import { Command } from 'commander';
2
- export declare function createSetupCommand(): Command;
3
- export declare const setupCommand: Command;
@@ -1,60 +0,0 @@
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 CuratedSiteStyle } from '../../../../theme-core/src/site-styles/index';
8
- import type { ManagementClient, ThemeStyleSelectionApplyInput } from '../../client/management';
9
- import { type SiteStyleSelectionApplyCommand } from '../../client/management';
10
- import type { OutputContext } from '../output';
11
- type StyleSelectionOptions = Readonly<{
12
- siteStyleId: string;
13
- buttonStyleId?: string;
14
- buttonStyleParameters?: string;
15
- palette?: string;
16
- typography?: string;
17
- headerLookId?: string;
18
- headerLayoutId?: string;
19
- headerStyleId?: string;
20
- footerLookId?: string;
21
- }>;
22
- export type StyleApplyOptions = StyleSelectionOptions & Readonly<{
23
- baseSelectionVersion: string;
24
- selectionId?: string;
25
- }>;
26
- export type StyleInitOptions = StyleSelectionOptions;
27
- export type StyleInitCommandDeps = Readonly<{
28
- upsertTheme: ManagementClient['theme']['upsert'];
29
- info: OutputContext['info'];
30
- success: OutputContext['success'];
31
- }>;
32
- export type StyleCatalogListOptions = Readonly<{
33
- siteStyleId?: string;
34
- }>;
35
- export type StyleCatalogChoice = Readonly<{
36
- id: string;
37
- label: string;
38
- }>;
39
- export type StyleCatalogListRow = Readonly<{
40
- siteStyleId: string;
41
- name: string;
42
- palettes: readonly StyleCatalogChoice[];
43
- buttonStyles: readonly StyleCatalogChoice[];
44
- typography: Readonly<{
45
- body: string;
46
- heading: string;
47
- }>;
48
- headerLayouts: readonly StyleCatalogChoice[];
49
- headerStyles: readonly StyleCatalogChoice[];
50
- headerLooks: readonly StyleCatalogChoice[];
51
- footerLooks: readonly StyleCatalogChoice[];
52
- }>;
53
- export declare function buildStyleSelectionApplyInputFromOptions(options: StyleApplyOptions): ThemeStyleSelectionApplyInput;
54
- /** Builds the complete first-theme command without reading current selection state. */
55
- export declare function buildStyleSelectionInitializeCommandFromOptions(options: StyleInitOptions): SiteStyleSelectionApplyCommand;
56
- export declare function buildStyleCatalogListRows(styles?: readonly CuratedSiteStyle[], options?: StyleCatalogListOptions): readonly StyleCatalogListRow[];
57
- export declare function formatStyleCatalogListRow(row: StyleCatalogListRow): string[];
58
- export declare function executeStyleInitWithDeps(deps: StyleInitCommandDeps, options: StyleInitOptions): Promise<void>;
59
- export declare const styleCommand: Command;
60
- export {};
@@ -1,11 +0,0 @@
1
- /**
2
- * Verify Command
3
- *
4
- * Compare local SDK config content types against target site.
5
- *
6
- * Usage:
7
- * riverbankcms verify [--env=remote] [--config <path>]
8
- */
9
- import { Command } from 'commander';
10
- export declare const createVerifyCommand: () => Command;
11
- export declare const verifyCommand: Command;
@@ -1,44 +0,0 @@
1
- import { Command } from 'commander';
2
- import type { SetupRevalidationWebhookResult } from '../../client/management';
3
- export declare const RIVERBANK_WEBHOOK_SECRET_ENV = "RIVERBANK_WEBHOOK_SECRET";
4
- export type EnvPatchPlan = Readonly<{
5
- tag: 'create-file';
6
- nextContent: string;
7
- }> | Readonly<{
8
- tag: 'append-key';
9
- nextContent: string;
10
- }> | Readonly<{
11
- tag: 'replace-key';
12
- nextContent: string;
13
- }> | Readonly<{
14
- tag: 'unchanged';
15
- nextContent: string;
16
- }>;
17
- export interface WebhookSetupOptions {
18
- url: string;
19
- name?: string;
20
- rotateSecret?: boolean;
21
- dryRun?: boolean;
22
- writeEnv?: boolean;
23
- vercel?: boolean;
24
- yes?: boolean;
25
- }
26
- export declare function planEnvSecretPatch(existingContent: string | null, secret: string): EnvPatchPlan;
27
- export declare function writeEnvSecret(filePath: string, secret: string): Promise<Readonly<{
28
- path: string;
29
- plan: EnvPatchPlan;
30
- written: boolean;
31
- }>>;
32
- export declare function planHumanResultOutput(input: Readonly<{
33
- result: SetupRevalidationWebhookResult;
34
- envWrite: Readonly<{
35
- path: string;
36
- plan: EnvPatchPlan;
37
- written: boolean;
38
- }> | null;
39
- writeEnv: boolean;
40
- }>): Readonly<{
41
- summary: string;
42
- details: string[];
43
- }>;
44
- export declare const webhooksCommand: Command;
@@ -1,47 +0,0 @@
1
- /**
2
- * CLI Config Loader
3
- *
4
- * Loads riverbank.config.ts and extracts CLI-relevant configuration
5
- * (contentDir and sync settings) with appropriate defaults.
6
- */
7
- import type { EnvTarget } from './helpers';
8
- import type { SyncConfig, BlockFieldExtensionsMap, SdkCustomBlock } from '../config/types';
9
- /**
10
- * Loaded CLI configuration with defaults applied.
11
- */
12
- export interface LoadedCliConfig {
13
- /** Content directory path (resolved to absolute path) */
14
- contentDir: string;
15
- /** Sync behavior settings with defaults */
16
- sync: Required<SyncConfig>;
17
- /** Custom block field extensions from config (for validation) */
18
- blockFieldExtensions?: BlockFieldExtensionsMap;
19
- /** SDK custom block definitions from config (for validation) */
20
- customBlocks?: SdkCustomBlock[];
21
- /** Active theme name for local loading and default push */
22
- activeTheme: string;
23
- }
24
- /**
25
- * Load CLI configuration from riverbank.config.ts.
26
- *
27
- * Extracts contentDir and sync settings, applying defaults where not specified.
28
- *
29
- * @param configPath - Optional path to config file or directory
30
- * @returns Loaded CLI config with defaults applied
31
- *
32
- * @example
33
- * ```typescript
34
- * const config = await loadCliConfig();
35
- * console.log(config.contentDir); // './content' or custom path
36
- * console.log(config.sync.existingEntries); // 'skip' or 'update'
37
- * ```
38
- */
39
- export declare function loadCliConfig(configPath?: string): Promise<LoadedCliConfig>;
40
- export declare function loadCliConfigForEnv(target: EnvTarget, configPath?: string): Promise<LoadedCliConfig>;
41
- /**
42
- * Check if a CLI config file exists.
43
- *
44
- * @param configPath - Optional path to check
45
- * @returns True if config file exists
46
- */
47
- export declare function hasCliConfig(configPath?: string): Promise<boolean>;
@@ -1,23 +0,0 @@
1
- import type { PulledEventCategories, PulledEvents, PulledForms, PulledVenues } from '../../client/management/types';
2
- import { type ContentMetadataTarget } from './metadataStore';
3
- type CollectionWriterOptions = Readonly<{
4
- skipMeta?: boolean;
5
- metadataTarget?: ContentMetadataTarget;
6
- }>;
7
- export declare function writeForms(contentDir: string, pulledForms: PulledForms, options?: CollectionWriterOptions): Promise<{
8
- filePaths: string[];
9
- metaPath: string;
10
- }>;
11
- export declare function writeVenues(contentDir: string, pulledVenues: PulledVenues, options?: CollectionWriterOptions): Promise<{
12
- filePaths: string[];
13
- metaPath: string;
14
- }>;
15
- export declare function writeEventCategories(contentDir: string, pulledCategories: PulledEventCategories, options?: CollectionWriterOptions): Promise<{
16
- filePaths: string[];
17
- metaPath: string;
18
- }>;
19
- export declare function writeEvents(contentDir: string, pulledEvents: PulledEvents, options?: CollectionWriterOptions): Promise<{
20
- filePaths: string[];
21
- metaPath: string;
22
- }>;
23
- export {};
@@ -1,2 +0,0 @@
1
- import type { ContentEditPlan } from './planner';
2
- export declare function formatContentEditPlan(plan: ContentEditPlan): readonly string[];
@@ -1,14 +0,0 @@
1
- import { type FieldPathSegment } from '../../sync/field-diff';
2
- export type ContentFieldPathSegment = Extract<FieldPathSegment, Readonly<{
3
- type: 'property' | 'index';
4
- }>>;
5
- export type ContentFieldPath = readonly ContentFieldPathSegment[];
6
- export type ParseContentFieldPathResult = Readonly<{
7
- ok: true;
8
- path: ContentFieldPath;
9
- }> | Readonly<{
10
- ok: false;
11
- error: string;
12
- }>;
13
- export declare function parseContentFieldPath(value: string): ParseContentFieldPathResult;
14
- export declare function formatContentFieldPath(path: ContentFieldPath): string;
@@ -1,46 +0,0 @@
1
- import type { LocalPage } from '../reader';
2
- import { type FieldChange } from '../../sync/field-diff';
3
- import { type ContentFieldPath } from './path';
4
- export type PageBlockMoveTarget = Readonly<{
5
- tag: 'to_start';
6
- }> | Readonly<{
7
- tag: 'to_end';
8
- }> | Readonly<{
9
- tag: 'before';
10
- blockIdentifier: string;
11
- }> | Readonly<{
12
- tag: 'after';
13
- blockIdentifier: string;
14
- }>;
15
- export type ContentEditOperation = Readonly<{
16
- tag: 'remove_page_block';
17
- pageIdentifier: string;
18
- blockIdentifier: string;
19
- }> | Readonly<{
20
- tag: 'move_page_block';
21
- pageIdentifier: string;
22
- blockIdentifier: string;
23
- target: PageBlockMoveTarget;
24
- }> | Readonly<{
25
- tag: 'update_page_field';
26
- pageIdentifier: string;
27
- path: ContentFieldPath;
28
- value: unknown;
29
- }>;
30
- export type ContentEditErrorCode = 'wrong_page' | 'missing_blocks' | 'missing_block' | 'duplicate_block_identifier' | 'missing_move_target' | 'move_target_is_source' | 'invalid_field_path' | 'noop';
31
- export type ContentEditError = Readonly<{
32
- code: ContentEditErrorCode;
33
- message: string;
34
- }>;
35
- export type ContentEditPlan = Readonly<{
36
- tag: 'will_change';
37
- operation: ContentEditOperation;
38
- before: LocalPage;
39
- after: LocalPage;
40
- changes: readonly FieldChange[];
41
- }> | Readonly<{
42
- tag: 'invalid';
43
- operation: ContentEditOperation;
44
- error: ContentEditError;
45
- }>;
46
- export declare function planPageContentEdit(page: LocalPage, operation: ContentEditOperation): ContentEditPlan;
@@ -1,6 +0,0 @@
1
- export declare function entryTypeDirPath(contentDir: string, contentType: string): string;
2
- export declare function entryFilePath(input: Readonly<{
3
- contentDir: string;
4
- contentType: string;
5
- identifier: string;
6
- }>): string;
@@ -1,10 +0,0 @@
1
- import { z } from 'zod';
2
- export type LocalFooterContent = import('../../../../api/src/sdkContracts').SdkFooterContent;
3
- export declare const localFooterContentSchema: z.ZodObject<{
4
- composition: z.ZodPipe<z.ZodUnknown, z.ZodTransform<Readonly<{
5
- schemaVersion: 1;
6
- sections: readonly import("../../../../core/src/index").FooterSection[];
7
- }>, unknown>>;
8
- revision: z.ZodNumber;
9
- }, z.core.$strict>;
10
- export declare function writeFooterContentAfterPush(contentDir: string, footer: LocalFooterContent): Promise<string>;
@@ -1,39 +0,0 @@
1
- /**
2
- * File System Utilities for Content Reader/Writer
3
- *
4
- * Shared helpers for file operations in the content directory.
5
- */
6
- /**
7
- * Check if a file exists
8
- */
9
- export declare function fileExists(filePath: string): Promise<boolean>;
10
- /**
11
- * Check if a path is a directory
12
- */
13
- export declare function isDirectory(dirPath: string): Promise<boolean>;
14
- /**
15
- * List files in a directory with a specific extension.
16
- * Returns empty array if directory doesn't exist (expected case).
17
- * Logs warning for other errors (permission denied, disk issues, etc).
18
- *
19
- * @param dirPath - Directory to list files from
20
- * @param extension - File extension to filter by (e.g., '.json')
21
- * @returns Array of full file paths
22
- */
23
- export declare function listFiles(dirPath: string, extension: string): Promise<string[]>;
24
- /**
25
- * Read and parse a JSON file
26
- */
27
- export declare function readJsonFile<T>(filePath: string): Promise<T>;
28
- /**
29
- * Write JSON file with pretty formatting
30
- */
31
- export declare function writeJsonFile(filePath: string, data: unknown): Promise<void>;
32
- /**
33
- * Write JSON file via a same-directory temp file and atomic rename.
34
- */
35
- export declare function writeJsonFileAtomic(filePath: string, data: unknown): Promise<void>;
36
- /**
37
- * Ensure directory exists, creating it if necessary
38
- */
39
- export declare function ensureDir(dirPath: string): Promise<void>;
@@ -1,5 +0,0 @@
1
- export declare class LegacyEventScheduleShapeError extends Error {
2
- readonly filePath: string;
3
- readonly code = "legacy_event_schedule_shape";
4
- constructor(filePath: string);
5
- }
@@ -1,17 +0,0 @@
1
- import type { EventPreset } from '../../../../api/src/index';
2
- export interface LocalEventOccurrence {
3
- startsAt: string;
4
- endsAt: string;
5
- timeZone: string;
6
- }
7
- export interface LocalEventScheduleIdentity {
8
- preset: EventPreset;
9
- bookingScope: 'single_occurrence' | 'whole_series';
10
- occurrences: readonly LocalEventOccurrence[];
11
- }
12
- export declare class InvalidLocalEventScheduleIdentityError extends Error {
13
- readonly filePath: string;
14
- readonly code = "invalid_local_event_schedule_identity";
15
- constructor(filePath: string, details: string);
16
- }
17
- export declare function parseLocalEventScheduleIdentity(value: unknown, filePath: string): LocalEventScheduleIdentity;
@@ -1,13 +0,0 @@
1
- export type LocalMediaManifestEntry = {
2
- checksum?: string;
3
- filename: string;
4
- mimeType?: string;
5
- };
6
- export type LocalMediaManifest = {
7
- version: 2;
8
- updatedAt: string;
9
- assets: Record<string, LocalMediaManifestEntry>;
10
- };
11
- export declare const createEmptyMediaManifest: () => LocalMediaManifest;
12
- export declare function readMediaManifest(contentDir: string): Promise<LocalMediaManifest>;
13
- export declare function writeMediaManifest(contentDir: string, manifest: LocalMediaManifest): Promise<string>;
@@ -1,25 +0,0 @@
1
- import { type ContentMetadataTarget } from './metadataStore';
2
- type TimestampedRecord = Readonly<{
3
- createdAt?: string;
4
- updatedAt?: string;
5
- }>;
6
- type RemoteContentAfterPush = Readonly<{
7
- entries: Readonly<Record<string, readonly (TimestampedRecord & {
8
- identifier: string;
9
- })[]>>;
10
- pages: readonly (TimestampedRecord & {
11
- identifier: string;
12
- })[];
13
- navigation: readonly (TimestampedRecord & {
14
- name: string;
15
- })[];
16
- settingsUpdatedAt?: string | null;
17
- forms?: readonly (TimestampedRecord & {
18
- slug: string;
19
- })[];
20
- }>;
21
- type MetadataAfterPushOptions = Readonly<{
22
- metadataTarget?: ContentMetadataTarget;
23
- }>;
24
- export declare function updateMetadataAfterPush(contentDir: string, remoteContent: RemoteContentAfterPush, options?: MetadataAfterPushOptions): Promise<void>;
25
- export {};
@@ -1,29 +0,0 @@
1
- import type { SdkEnvironment } from '../env';
2
- export type ContentMetadataEnv = 'local' | 'remote';
3
- export type ContentMetadataTarget = Readonly<{
4
- env: ContentMetadataEnv;
5
- siteId: string;
6
- dashboardUrl: string;
7
- }>;
8
- export type ContentMetadataReadPath = Readonly<{
9
- path: string;
10
- source: 'scoped' | 'legacy';
11
- }>;
12
- export declare function metadataTargetFromEnvironment(env: ContentMetadataEnv, environment: Pick<SdkEnvironment, 'siteId' | 'dashboardUrl'>): ContentMetadataTarget;
13
- export declare function legacyMetadataDir(contentDir: string): string;
14
- export declare function scopedMetadataDir(contentDir: string, target: ContentMetadataTarget): string;
15
- export declare function metadataFilePath(contentDir: string, fileName: string, target?: ContentMetadataTarget): string;
16
- export declare function legacyMetadataFilePath(contentDir: string, fileName: string): string;
17
- export declare function ensureMetadataDir(contentDir: string, target?: ContentMetadataTarget): Promise<string>;
18
- export declare function writeMetadataFile(contentDir: string, fileName: string, value: unknown, target?: ContentMetadataTarget): Promise<string>;
19
- export declare function readMetadataFile<T>(contentDir: string, fileName: string, target?: ContentMetadataTarget): Promise<T | null>;
20
- export declare function listMetadataFiles(contentDir: string, target?: ContentMetadataTarget): Promise<string[]>;
21
- export declare function writeMetadataRecordMap<TRecord>(contentDir: string, fileName: string, recordKey: string, next: Readonly<{
22
- pulledAt: string;
23
- records: Readonly<Record<string, TRecord>>;
24
- extra?: Readonly<Record<string, unknown>>;
25
- }>, options?: Readonly<{
26
- mode?: 'replace' | 'merge';
27
- target?: ContentMetadataTarget;
28
- }>): Promise<string>;
29
- export declare function resolveMetadataReadPath(contentDir: string, fileName: string, target?: ContentMetadataTarget): Promise<ContentMetadataReadPath | null>;