@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,555 +0,0 @@
1
- import type { SiteCommandConsumerPolicy, SiteCommandMetadata, SiteCommandSemanticMetadata } from './domain';
2
- import type { LifecycleIntent } from './domain';
3
- import type { SiteCommand, SiteCommandType } from './commandContract';
4
- export declare const siteCommandMetadata: {
5
- readonly configureSiteIdentity: {
6
- readonly scope: "site";
7
- readonly risk: "low";
8
- readonly writeSemantics: "upsert";
9
- readonly lifecycleIntent: "mutation";
10
- readonly idempotencyStrategy: "existing_id";
11
- readonly conflictPolicy: "update_existing";
12
- readonly previewability: "dry_run_only";
13
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
14
- readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "internal_apply"];
15
- readonly capability: "site.settings.write";
16
- readonly support: "supported";
17
- };
18
- readonly configureBookingSettings: {
19
- readonly scope: "booking_settings";
20
- readonly risk: "medium";
21
- readonly writeSemantics: "upsert";
22
- readonly lifecycleIntent: "mutation";
23
- readonly idempotencyStrategy: "existing_id";
24
- readonly conflictPolicy: "update_existing";
25
- readonly previewability: "dry_run_only";
26
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
27
- readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "internal_apply"];
28
- readonly capability: "bookings.settings.write";
29
- readonly support: "supported";
30
- };
31
- readonly applySiteStyleSelection: {
32
- readonly scope: "style";
33
- readonly risk: "low";
34
- readonly writeSemantics: "upsert";
35
- readonly lifecycleIntent: "mutation";
36
- readonly idempotencyStrategy: "natural_key";
37
- readonly conflictPolicy: "update_existing";
38
- readonly previewability: "static_preview";
39
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
40
- readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "ai_proposal", "internal_apply"];
41
- readonly capability: "theme.write";
42
- readonly support: "supported";
43
- };
44
- readonly upsertMediaAsset: {
45
- readonly scope: "media";
46
- readonly risk: "medium";
47
- readonly writeSemantics: "upsert";
48
- readonly lifecycleIntent: "mutation";
49
- readonly idempotencyStrategy: "natural_key";
50
- readonly conflictPolicy: "fail_if_exists";
51
- readonly previewability: "dry_run_only";
52
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
53
- readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "internal_apply"];
54
- readonly capability: "media.write";
55
- readonly support: "supported";
56
- };
57
- readonly upsertPage: {
58
- readonly scope: "page";
59
- readonly risk: "low";
60
- readonly writeSemantics: "upsert";
61
- readonly lifecycleIntent: "mutation";
62
- readonly idempotencyStrategy: "recipe_ref";
63
- readonly conflictPolicy: "update_existing";
64
- readonly previewability: "static_preview";
65
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
66
- readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "ai_proposal", "internal_apply"];
67
- readonly capability: "pages.write";
68
- readonly support: "supported";
69
- };
70
- readonly upsertBlockTree: {
71
- readonly scope: "block";
72
- readonly risk: "high";
73
- readonly writeSemantics: "replace";
74
- readonly lifecycleIntent: "mutation";
75
- readonly idempotencyStrategy: "recipe_ref";
76
- readonly conflictPolicy: "update_existing";
77
- readonly previewability: "static_preview";
78
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
79
- readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "ai_proposal", "internal_apply"];
80
- readonly capability: "pages.blocks.write";
81
- readonly support: "supported";
82
- };
83
- readonly upsertPageBlock: {
84
- readonly scope: "block";
85
- readonly risk: "low";
86
- readonly writeSemantics: "upsert";
87
- readonly lifecycleIntent: "mutation";
88
- readonly idempotencyStrategy: "recipe_ref";
89
- readonly conflictPolicy: "update_existing";
90
- readonly previewability: "static_preview";
91
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
92
- readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "ai_proposal", "internal_apply"];
93
- readonly capability: "pages.blocks.write";
94
- readonly support: "supported";
95
- };
96
- readonly patchPageBlockContent: {
97
- readonly scope: "block";
98
- readonly risk: "low";
99
- readonly writeSemantics: "patch";
100
- readonly lifecycleIntent: "mutation";
101
- readonly idempotencyStrategy: "existing_id";
102
- readonly conflictPolicy: "update_existing";
103
- readonly previewability: "static_preview";
104
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
105
- readonly intendedExposure: readonly ["ai_proposal", "internal_apply"];
106
- readonly capability: "pages.blocks.content.patch";
107
- readonly support: "supported";
108
- };
109
- readonly deletePageBlock: {
110
- readonly scope: "block";
111
- readonly risk: "medium";
112
- readonly writeSemantics: "delete";
113
- readonly lifecycleIntent: "mutation";
114
- readonly idempotencyStrategy: "existing_id";
115
- readonly conflictPolicy: "update_existing";
116
- readonly previewability: "effect_required";
117
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
118
- readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
119
- readonly capability: "pages.blocks.delete";
120
- readonly support: "supported";
121
- };
122
- readonly reorderPageBlocks: {
123
- readonly scope: "block";
124
- readonly risk: "medium";
125
- readonly writeSemantics: "order_transition";
126
- readonly lifecycleIntent: "mutation";
127
- readonly idempotencyStrategy: "recipe_ref";
128
- readonly conflictPolicy: "update_existing";
129
- readonly previewability: "static_preview";
130
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
131
- readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "ai_proposal", "internal_apply"];
132
- readonly capability: "pages.blocks.reorder";
133
- readonly support: "supported";
134
- };
135
- readonly upsertNavigationMenu: {
136
- readonly scope: "navigation";
137
- readonly risk: "low";
138
- readonly writeSemantics: "upsert";
139
- readonly lifecycleIntent: "mutation";
140
- readonly idempotencyStrategy: "natural_key";
141
- readonly conflictPolicy: "update_existing";
142
- readonly previewability: "static_preview";
143
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
144
- readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "ai_proposal", "internal_apply"];
145
- readonly capability: "navigation.write";
146
- readonly support: "supported";
147
- };
148
- readonly upsertForm: {
149
- readonly scope: "form";
150
- readonly risk: "low";
151
- readonly writeSemantics: "upsert";
152
- readonly lifecycleIntent: "mutation";
153
- readonly idempotencyStrategy: "natural_key";
154
- readonly conflictPolicy: "update_existing";
155
- readonly previewability: "static_preview";
156
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
157
- readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
158
- readonly capability: "forms.write";
159
- readonly support: "supported";
160
- };
161
- readonly upsertFooterContent: {
162
- readonly scope: "footer";
163
- readonly risk: "low";
164
- readonly writeSemantics: "upsert";
165
- readonly lifecycleIntent: "mutation";
166
- readonly idempotencyStrategy: "existing_id";
167
- readonly conflictPolicy: "update_existing";
168
- readonly previewability: "static_preview";
169
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
170
- readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
171
- readonly capability: "footer.write";
172
- readonly support: "supported";
173
- };
174
- readonly upsertContentEntry: {
175
- readonly scope: "content";
176
- readonly risk: "low";
177
- readonly writeSemantics: "upsert";
178
- readonly lifecycleIntent: "mutation";
179
- readonly idempotencyStrategy: "recipe_ref";
180
- readonly conflictPolicy: "update_existing";
181
- readonly previewability: "static_preview";
182
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
183
- readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "ai_proposal", "internal_apply"];
184
- readonly capability: "content.write";
185
- readonly support: "supported";
186
- };
187
- readonly publishPage: {
188
- readonly scope: "publish";
189
- readonly risk: "medium";
190
- readonly writeSemantics: "status_transition";
191
- readonly lifecycleIntent: "publish";
192
- readonly idempotencyStrategy: "existing_id";
193
- readonly conflictPolicy: "update_existing";
194
- readonly previewability: "effect_required";
195
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
196
- readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "ai_proposal", "internal_apply"];
197
- readonly capability: "pages.publish";
198
- readonly support: "supported";
199
- };
200
- readonly unpublishPage: {
201
- readonly scope: "publish";
202
- readonly risk: "medium";
203
- readonly writeSemantics: "status_transition";
204
- readonly lifecycleIntent: "unpublish";
205
- readonly idempotencyStrategy: "existing_id";
206
- readonly conflictPolicy: "update_existing";
207
- readonly previewability: "effect_required";
208
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
209
- readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
210
- readonly capability: "pages.unpublish";
211
- readonly support: "supported";
212
- };
213
- readonly publishContentEntry: {
214
- readonly scope: "publish";
215
- readonly risk: "medium";
216
- readonly writeSemantics: "status_transition";
217
- readonly lifecycleIntent: "publish";
218
- readonly idempotencyStrategy: "existing_id";
219
- readonly conflictPolicy: "update_existing";
220
- readonly previewability: "effect_required";
221
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
222
- readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "ai_proposal", "internal_apply"];
223
- readonly capability: "content.publish";
224
- readonly support: "supported";
225
- };
226
- readonly unpublishContentEntry: {
227
- readonly scope: "publish";
228
- readonly risk: "medium";
229
- readonly writeSemantics: "status_transition";
230
- readonly lifecycleIntent: "unpublish";
231
- readonly idempotencyStrategy: "existing_id";
232
- readonly conflictPolicy: "update_existing";
233
- readonly previewability: "effect_required";
234
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
235
- readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
236
- readonly capability: "content.unpublish";
237
- readonly support: "supported";
238
- };
239
- readonly deleteContentEntry: {
240
- readonly scope: "content";
241
- readonly risk: "high";
242
- readonly writeSemantics: "replace";
243
- readonly lifecycleIntent: "mutation";
244
- readonly idempotencyStrategy: "existing_id";
245
- readonly conflictPolicy: "update_existing";
246
- readonly previewability: "effect_required";
247
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
248
- readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
249
- readonly capability: "content.delete";
250
- readonly support: "supported";
251
- };
252
- readonly upsertStaffMember: {
253
- readonly scope: "staff";
254
- readonly risk: "medium";
255
- readonly writeSemantics: "upsert";
256
- readonly lifecycleIntent: "mutation";
257
- readonly idempotencyStrategy: "recipe_ref";
258
- readonly conflictPolicy: "update_existing";
259
- readonly previewability: "dry_run_only";
260
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
261
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
262
- readonly capability: "bookings.staff.write";
263
- readonly support: "supported";
264
- };
265
- readonly ensureTeamMemberProfile: {
266
- readonly scope: "content";
267
- readonly risk: "medium";
268
- readonly writeSemantics: "upsert";
269
- readonly lifecycleIntent: "mutation";
270
- readonly idempotencyStrategy: "recipe_ref";
271
- readonly conflictPolicy: "update_existing";
272
- readonly previewability: "dry_run_only";
273
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
274
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
275
- readonly capability: "team_members.profile.write";
276
- readonly support: "supported";
277
- };
278
- readonly upsertVenue: {
279
- readonly scope: "venue";
280
- readonly risk: "medium";
281
- readonly writeSemantics: "upsert";
282
- readonly lifecycleIntent: "mutation";
283
- readonly idempotencyStrategy: "recipe_ref";
284
- readonly conflictPolicy: "update_existing";
285
- readonly previewability: "dry_run_only";
286
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
287
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
288
- readonly capability: "bookings.venues.write";
289
- readonly support: "supported";
290
- };
291
- readonly deleteVenue: {
292
- readonly scope: "venue";
293
- readonly risk: "medium";
294
- readonly writeSemantics: "delete";
295
- readonly lifecycleIntent: "mutation";
296
- readonly idempotencyStrategy: "existing_id";
297
- readonly conflictPolicy: "update_existing";
298
- readonly previewability: "effect_required";
299
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
300
- readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
301
- readonly capability: "bookings.venues.delete";
302
- readonly support: "supported";
303
- };
304
- readonly upsertEventCategory: {
305
- readonly scope: "event_category";
306
- readonly risk: "medium";
307
- readonly writeSemantics: "upsert";
308
- readonly lifecycleIntent: "mutation";
309
- readonly idempotencyStrategy: "recipe_ref";
310
- readonly conflictPolicy: "update_existing";
311
- readonly previewability: "dry_run_only";
312
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
313
- readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
314
- readonly capability: "bookings.event_categories.write";
315
- readonly support: "supported";
316
- };
317
- readonly deleteEventCategory: {
318
- readonly scope: "event_category";
319
- readonly risk: "medium";
320
- readonly writeSemantics: "delete";
321
- readonly lifecycleIntent: "mutation";
322
- readonly idempotencyStrategy: "existing_id";
323
- readonly conflictPolicy: "update_existing";
324
- readonly previewability: "effect_required";
325
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
326
- readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
327
- readonly capability: "bookings.event_categories.delete";
328
- readonly support: "supported";
329
- };
330
- readonly upsertEventSeries: {
331
- readonly scope: "event";
332
- readonly risk: "medium";
333
- readonly writeSemantics: "upsert";
334
- readonly lifecycleIntent: "mutation";
335
- readonly idempotencyStrategy: "recipe_ref";
336
- readonly conflictPolicy: "update_existing";
337
- readonly previewability: "dry_run_only";
338
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
339
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
340
- readonly capability: "bookings.events.write";
341
- readonly support: "supported";
342
- };
343
- readonly deleteEventSeries: {
344
- readonly scope: "event";
345
- readonly risk: "medium";
346
- readonly writeSemantics: "delete";
347
- readonly lifecycleIntent: "mutation";
348
- readonly idempotencyStrategy: "existing_id";
349
- readonly conflictPolicy: "update_existing";
350
- readonly previewability: "effect_required";
351
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
352
- readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
353
- readonly capability: "bookings.events.delete";
354
- readonly support: "supported";
355
- };
356
- readonly upsertEventTicketType: {
357
- readonly scope: "ticket";
358
- readonly risk: "medium";
359
- readonly writeSemantics: "upsert";
360
- readonly lifecycleIntent: "mutation";
361
- readonly idempotencyStrategy: "recipe_ref";
362
- readonly conflictPolicy: "update_existing";
363
- readonly previewability: "dry_run_only";
364
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
365
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
366
- readonly capability: "bookings.event_tickets.write";
367
- readonly support: "supported";
368
- };
369
- readonly upsertBookingPassProduct: {
370
- readonly scope: "pass";
371
- readonly risk: "medium";
372
- readonly writeSemantics: "upsert";
373
- readonly lifecycleIntent: "mutation";
374
- readonly idempotencyStrategy: "recipe_ref";
375
- readonly conflictPolicy: "update_existing";
376
- readonly previewability: "dry_run_only";
377
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
378
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
379
- readonly capability: "bookings.passes.write";
380
- readonly support: "supported";
381
- };
382
- readonly upsertBookingMembershipProduct: {
383
- readonly scope: "membership";
384
- readonly risk: "medium";
385
- readonly writeSemantics: "upsert";
386
- readonly lifecycleIntent: "mutation";
387
- readonly idempotencyStrategy: "recipe_ref";
388
- readonly conflictPolicy: "update_existing";
389
- readonly previewability: "dry_run_only";
390
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
391
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
392
- readonly capability: "bookings.memberships.write";
393
- readonly support: "supported";
394
- };
395
- readonly seedBookingCustomer: {
396
- readonly scope: "customer";
397
- readonly risk: "medium";
398
- readonly writeSemantics: "upsert";
399
- readonly lifecycleIntent: "seed";
400
- readonly idempotencyStrategy: "natural_key";
401
- readonly conflictPolicy: "update_existing";
402
- readonly previewability: "dry_run_only";
403
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
404
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
405
- readonly capability: "bookings.customers.write";
406
- readonly support: "supported";
407
- };
408
- readonly grantCustomerPass: {
409
- readonly scope: "customer_pass";
410
- readonly risk: "medium";
411
- readonly writeSemantics: "upsert";
412
- readonly lifecycleIntent: "seed";
413
- readonly idempotencyStrategy: "recipe_ref";
414
- readonly conflictPolicy: "update_existing";
415
- readonly previewability: "dry_run_only";
416
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
417
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
418
- readonly capability: "bookings.customer_passes.write";
419
- readonly support: "supported";
420
- };
421
- readonly grantCustomerMembership: {
422
- readonly scope: "customer_membership";
423
- readonly risk: "medium";
424
- readonly writeSemantics: "upsert";
425
- readonly lifecycleIntent: "seed";
426
- readonly idempotencyStrategy: "recipe_ref";
427
- readonly conflictPolicy: "update_existing";
428
- readonly previewability: "dry_run_only";
429
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
430
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
431
- readonly capability: "bookings.customer_memberships.write";
432
- readonly support: "supported";
433
- };
434
- readonly seedAppointmentBooking: {
435
- readonly scope: "appointment";
436
- readonly risk: "medium";
437
- readonly writeSemantics: "upsert";
438
- readonly lifecycleIntent: "seed";
439
- readonly idempotencyStrategy: "recipe_ref";
440
- readonly conflictPolicy: "update_existing";
441
- readonly previewability: "dry_run_only";
442
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
443
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
444
- readonly capability: "bookings.appointments.write";
445
- readonly support: "supported";
446
- };
447
- readonly seedCourseEnrollment: {
448
- readonly scope: "course_enrollment";
449
- readonly risk: "medium";
450
- readonly writeSemantics: "upsert";
451
- readonly lifecycleIntent: "seed";
452
- readonly idempotencyStrategy: "recipe_ref";
453
- readonly conflictPolicy: "update_existing";
454
- readonly previewability: "dry_run_only";
455
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
456
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
457
- readonly capability: "bookings.course_enrollments.write";
458
- readonly support: "supported";
459
- };
460
- readonly seedEventRegistration: {
461
- readonly scope: "event_registration";
462
- readonly risk: "medium";
463
- readonly writeSemantics: "upsert";
464
- readonly lifecycleIntent: "seed";
465
- readonly idempotencyStrategy: "recipe_ref";
466
- readonly conflictPolicy: "update_existing";
467
- readonly previewability: "dry_run_only";
468
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
469
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
470
- readonly capability: "bookings.event_registrations.write";
471
- readonly support: "supported";
472
- };
473
- readonly seedPassRedemption: {
474
- readonly scope: "pass_redemption";
475
- readonly risk: "medium";
476
- readonly writeSemantics: "append";
477
- readonly lifecycleIntent: "seed";
478
- readonly idempotencyStrategy: "natural_key";
479
- readonly conflictPolicy: "append_once";
480
- readonly previewability: "dry_run_only";
481
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
482
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
483
- readonly capability: "bookings.pass_redemptions.write";
484
- readonly support: "supported";
485
- };
486
- readonly seedPortalOrder: {
487
- readonly scope: "order";
488
- readonly risk: "medium";
489
- readonly writeSemantics: "append";
490
- readonly lifecycleIntent: "seed";
491
- readonly idempotencyStrategy: "natural_key";
492
- readonly conflictPolicy: "append_once";
493
- readonly previewability: "dry_run_only";
494
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
495
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
496
- readonly capability: "commerce.orders.write";
497
- readonly support: "supported";
498
- };
499
- readonly upsertAppointmentService: {
500
- readonly scope: "appointment_service";
501
- readonly risk: "medium";
502
- readonly writeSemantics: "upsert";
503
- readonly lifecycleIntent: "mutation";
504
- readonly idempotencyStrategy: "recipe_ref";
505
- readonly conflictPolicy: "update_existing";
506
- readonly previewability: "dry_run_only";
507
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
508
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
509
- readonly capability: "bookings.appointment_services.write";
510
- readonly support: "supported";
511
- };
512
- readonly upsertBookableResource: {
513
- readonly scope: "appointment_resource";
514
- readonly risk: "medium";
515
- readonly writeSemantics: "upsert";
516
- readonly lifecycleIntent: "mutation";
517
- readonly idempotencyStrategy: "recipe_ref";
518
- readonly conflictPolicy: "update_existing";
519
- readonly previewability: "dry_run_only";
520
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
521
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
522
- readonly capability: "bookings.appointment_resources.write";
523
- readonly support: "supported";
524
- };
525
- readonly assignAppointmentServiceResources: {
526
- readonly scope: "appointment_service";
527
- readonly risk: "medium";
528
- readonly writeSemantics: "replace";
529
- readonly lifecycleIntent: "mutation";
530
- readonly idempotencyStrategy: "recipe_ref";
531
- readonly conflictPolicy: "update_existing";
532
- readonly previewability: "dry_run_only";
533
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
534
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
535
- readonly capability: "bookings.appointment_services.resources.write";
536
- readonly support: "supported";
537
- };
538
- readonly configureAppointmentAvailability: {
539
- readonly scope: "appointment_availability";
540
- readonly risk: "high";
541
- readonly writeSemantics: "replace";
542
- readonly lifecycleIntent: "mutation";
543
- readonly idempotencyStrategy: "recipe_ref";
544
- readonly conflictPolicy: "update_existing";
545
- readonly previewability: "dry_run_only";
546
- readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
547
- readonly intendedExposure: readonly ["recipe", "onboarding_planner", "internal_apply"];
548
- readonly capability: "bookings.appointment_availability.write";
549
- readonly support: "supported";
550
- };
551
- };
552
- export declare function getSiteCommandMetadata(type: SiteCommandType): SiteCommandMetadata;
553
- export declare function getSiteCommandSemanticMetadata(type: SiteCommandType): SiteCommandSemanticMetadata;
554
- export declare function getSiteCommandConsumerPolicy(type: SiteCommandType): SiteCommandConsumerPolicy;
555
- export declare function getSiteCommandLifecycleIntent(command: SiteCommand): LifecycleIntent;
@@ -1,6 +0,0 @@
1
- export declare const HOME_PAGE_COMMAND_SLUG = "home";
2
- export declare const ROOT_PAGE_PATH = "/";
3
- export declare function commandPageSlug(slug: string): string;
4
- export declare function normalizedPagePath(slug: string): string;
5
- export declare function normalizedNavigationHref(href: string): string;
6
- export declare function isInternalPageHref(href: string): boolean;
@@ -1,58 +0,0 @@
1
- import { type Result } from '../../core/src/index';
2
- import { type SiteCommand, type SiteCommandBatch, type SiteCommandOf, type SiteCommandType } from './commandContract';
3
- import { type CommandRisk, type LifecycleIntent, type SiteCommandCapabilityGap, type SiteCommandIdempotencyKey, type SiteCommandMetadata, type SiteCommandValidationError } from './domain';
4
- import { type ResourceRef } from './refs';
5
- type PlannedSiteCommandCommon = Readonly<{
6
- metadata: SiteCommandMetadata;
7
- lifecycleIntent: LifecycleIntent;
8
- provides: readonly ResourceRef[];
9
- requires: readonly ResourceRef[];
10
- idempotencyKey: SiteCommandIdempotencyKey;
11
- }>;
12
- export type PlannedSiteCommandFor<TType extends SiteCommandType> = PlannedSiteCommandCommon & Readonly<{
13
- command: SiteCommandOf<TType>;
14
- }>;
15
- export type PlannedSiteCommand = PlannedSiteCommandFor<SiteCommandType>;
16
- export type SiteCommandPlan = Readonly<{
17
- batch: SiteCommandBatch;
18
- commands: readonly PlannedSiteCommand[];
19
- capabilityGaps: readonly SiteCommandCapabilityGap[];
20
- }>;
21
- export type PlannedSiteCommandOf<TType extends SiteCommandType> = {
22
- [TCommandType in TType]: PlannedSiteCommandFor<TCommandType>;
23
- }[TType];
24
- export type SiteCommandPlanFor<TType extends SiteCommandType> = Omit<SiteCommandPlan, 'commands'> & Readonly<{
25
- commands: readonly PlannedSiteCommandOf<TType>[];
26
- }>;
27
- export type PlannedSiteCommandDispatcher<TResult> = <TType extends SiteCommandType>(plannedCommand: PlannedSiteCommandFor<TType>) => TResult;
28
- export type SiteCommandMatcher<TResult> = <TType extends SiteCommandType>(command: SiteCommandOf<TType>) => TResult;
29
- export declare function parseCommandBatch(input: unknown): Result<SiteCommandBatch, readonly SiteCommandValidationError[]>;
30
- export declare function planCommandBatch(batch: SiteCommandBatch): Result<SiteCommandPlan, readonly SiteCommandValidationError[]>;
31
- export declare function matchSiteCommand<TResult>(command: SiteCommand, match: SiteCommandMatcher<TResult>): TResult;
32
- export declare function dispatchPlannedSiteCommand<TResult>(plannedCommand: PlannedSiteCommand, dispatch: PlannedSiteCommandDispatcher<TResult>): TResult;
33
- export declare function matchPlannedSiteCommand<TResult>(plannedCommand: PlannedSiteCommand, match: PlannedSiteCommandDispatcher<TResult>): TResult;
34
- export declare function parseAndPlanCommandBatch(input: unknown): Result<SiteCommandPlan, readonly SiteCommandValidationError[]>;
35
- export declare function parseAndPlanCommandBatchForTypes<TType extends SiteCommandType>(input: unknown, allowedTypes: readonly TType[]): Result<SiteCommandPlanFor<TType>, readonly SiteCommandValidationError[]>;
36
- export declare function narrowSiteCommandPlan<TType extends SiteCommandType>(plan: SiteCommandPlan, allowedTypes: readonly TType[]): Result<SiteCommandPlanFor<TType>, readonly SiteCommandValidationError[]>;
37
- export declare function deriveIdempotencyKey(input: Readonly<{
38
- batch: Pick<SiteCommandBatch, 'batchRef' | 'target'>;
39
- command: Pick<SiteCommand, 'type' | 'ref'>;
40
- metadata: Pick<SiteCommandMetadata, 'idempotencyStrategy'>;
41
- }>): SiteCommandIdempotencyKey;
42
- export type DryRunReport = Readonly<{
43
- status: 'dry_run_passed' | 'dry_run_passed_with_gaps';
44
- commandCount: number;
45
- mutationCount: number;
46
- publishCount: number;
47
- unpublishCount: number;
48
- seedCount: number;
49
- riskSummary: Readonly<Record<CommandRisk, number>>;
50
- executionOrder: readonly Readonly<{
51
- ref: string;
52
- type: SiteCommandType;
53
- }>[];
54
- resolvedRefs: readonly ResourceRef[];
55
- capabilityGaps: readonly SiteCommandCapabilityGap[];
56
- }>;
57
- export declare function createDryRunReport<TType extends SiteCommandType>(plan: SiteCommandPlan | SiteCommandPlanFor<TType>): DryRunReport;
58
- export {};
@@ -1,11 +0,0 @@
1
- import type { SiteCommand } from './commandContract';
2
- export type RefContribution = Readonly<{
3
- ref: string;
4
- field: string;
5
- }>;
6
- export type CommandRefContributions = Readonly<{
7
- provides: readonly RefContribution[];
8
- requires: readonly RefContribution[];
9
- requiresIfProvided?: readonly RefContribution[];
10
- }>;
11
- export declare function commandRefContributions(command: SiteCommand): CommandRefContributions;