@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,90 +0,0 @@
1
- import { type Brand, type Result } from '../../core/src/index';
2
- export declare const resourceKinds: readonly ["site-style", "media", "page", "block", "blocks", "nav", "form", "footer", "content", "staff", "venue", "event-category", "event", "ticket", "pass", "membership", "customer", "customer-pass", "customer-membership", "appointment", "course-enrollment", "event-registration", "pass-redemption", "order", "appointment-service", "appointment-resource", "availability"];
3
- export type ResourceKind = (typeof resourceKinds)[number];
4
- export type CommandRef = Brand<`${string}:${string}`, 'SiteCommandRef:command'>;
5
- export type SiteStyleRef = Brand<`site-style:${string}`, 'SiteCommandResourceRef:site-style'>;
6
- export type MediaRef = Brand<`media:${string}`, 'SiteCommandResourceRef:media'>;
7
- export type PageRef = Brand<`page:${string}`, 'SiteCommandResourceRef:page'>;
8
- export type BlockRef = Brand<`block:${string}`, 'SiteCommandResourceRef:block'>;
9
- export type BlocksRef = Brand<`blocks:${string}`, 'SiteCommandResourceRef:blocks'>;
10
- export type NavigationRef = Brand<`nav:${string}`, 'SiteCommandResourceRef:nav'>;
11
- export type FormRef = Brand<`form:${string}`, 'SiteCommandResourceRef:form'>;
12
- export type FooterRef = Brand<`footer:${string}`, 'SiteCommandResourceRef:footer'>;
13
- export type ContentEntryRef = Brand<`content:${string}`, 'SiteCommandResourceRef:content'>;
14
- export type StaffRef = Brand<`staff:${string}`, 'SiteCommandResourceRef:staff'>;
15
- export type VenueRef = Brand<`venue:${string}`, 'SiteCommandResourceRef:venue'>;
16
- export type EventCategoryRef = Brand<`event-category:${string}`, 'SiteCommandResourceRef:event-category'>;
17
- export type EventSeriesRef = Brand<`event:${string}`, 'SiteCommandResourceRef:event'>;
18
- export type TicketTypeRef = Brand<`ticket:${string}`, 'SiteCommandResourceRef:ticket'>;
19
- export type PassProductRef = Brand<`pass:${string}`, 'SiteCommandResourceRef:pass'>;
20
- export type MembershipProductRef = Brand<`membership:${string}`, 'SiteCommandResourceRef:membership'>;
21
- export type BookingCustomerRef = Brand<`customer:${string}`, 'SiteCommandResourceRef:customer'>;
22
- export type CustomerPassRef = Brand<`customer-pass:${string}`, 'SiteCommandResourceRef:customer-pass'>;
23
- export type CustomerMembershipRef = Brand<`customer-membership:${string}`, 'SiteCommandResourceRef:customer-membership'>;
24
- export type AppointmentBookingRef = Brand<`appointment:${string}`, 'SiteCommandResourceRef:appointment'>;
25
- export type CourseEnrollmentRef = Brand<`course-enrollment:${string}`, 'SiteCommandResourceRef:course-enrollment'>;
26
- export type EventRegistrationRef = Brand<`event-registration:${string}`, 'SiteCommandResourceRef:event-registration'>;
27
- export type PassRedemptionRef = Brand<`pass-redemption:${string}`, 'SiteCommandResourceRef:pass-redemption'>;
28
- export type OrderRef = Brand<`order:${string}`, 'SiteCommandResourceRef:order'>;
29
- export type AppointmentServiceRef = Brand<`appointment-service:${string}`, 'SiteCommandResourceRef:appointment-service'>;
30
- export type AppointmentResourceRef = Brand<`appointment-resource:${string}`, 'SiteCommandResourceRef:appointment-resource'>;
31
- export type AppointmentAvailabilityRef = Brand<`availability:${string}`, 'SiteCommandResourceRef:availability'>;
32
- export type SiteCommandSiteRef = Brand<`site:${string}`, 'SiteCommandSiteRef'>;
33
- export type ResourceRefByKind = Readonly<{
34
- 'site-style': SiteStyleRef;
35
- media: MediaRef;
36
- page: PageRef;
37
- block: BlockRef;
38
- blocks: BlocksRef;
39
- nav: NavigationRef;
40
- form: FormRef;
41
- footer: FooterRef;
42
- content: ContentEntryRef;
43
- staff: StaffRef;
44
- venue: VenueRef;
45
- 'event-category': EventCategoryRef;
46
- event: EventSeriesRef;
47
- ticket: TicketTypeRef;
48
- pass: PassProductRef;
49
- membership: MembershipProductRef;
50
- customer: BookingCustomerRef;
51
- 'customer-pass': CustomerPassRef;
52
- 'customer-membership': CustomerMembershipRef;
53
- appointment: AppointmentBookingRef;
54
- 'course-enrollment': CourseEnrollmentRef;
55
- 'event-registration': EventRegistrationRef;
56
- 'pass-redemption': PassRedemptionRef;
57
- order: OrderRef;
58
- 'appointment-service': AppointmentServiceRef;
59
- 'appointment-resource': AppointmentResourceRef;
60
- availability: AppointmentAvailabilityRef;
61
- }>;
62
- export type ResourceRef = ResourceRefByKind[ResourceKind];
63
- export type SiteCommandRef = CommandRef | ResourceRef;
64
- export declare const commandRefPattern: RegExp;
65
- export declare const siteCommandSiteRefPattern: RegExp;
66
- export type RefParseError = Readonly<{
67
- code: 'invalid_ref_format';
68
- ref: string;
69
- }> | Readonly<{
70
- code: 'unknown_resource_kind';
71
- ref: string;
72
- kind: string;
73
- }>;
74
- export declare function isCommandRef(value: string): boolean;
75
- export declare function createCommandRef(prefix: string, parts: readonly string[]): CommandRef;
76
- export declare function createContentEntryRef(parts: readonly string[]): ContentEntryRef;
77
- export declare function createPageRef(parts: readonly string[]): PageRef;
78
- export declare function createBlockRef(parts: readonly string[]): BlockRef;
79
- export declare function createBlocksRef(parts: readonly string[]): BlocksRef;
80
- export declare function createNavigationRef(parts: readonly string[]): NavigationRef;
81
- export declare function createFormRef(parts: readonly string[]): FormRef;
82
- export declare function createFooterRef(parts: readonly string[]): FooterRef;
83
- export declare function createVenueRef(parts: readonly string[]): VenueRef;
84
- export declare function createEventCategoryRef(parts: readonly string[]): EventCategoryRef;
85
- export declare function createEventSeriesRef(parts: readonly string[]): EventSeriesRef;
86
- export declare function createSiteCommandSiteRef(parts: readonly string[]): SiteCommandSiteRef;
87
- export declare function refSlug(ref: SiteCommandRef | string): string;
88
- export declare function parseResourceRef(value: string): Result<ResourceRef, RefParseError>;
89
- export declare function resourceKindOf(ref: ResourceRef): ResourceKind;
90
- export declare function slugPart(value: string): string;
@@ -1,405 +0,0 @@
1
- import { z } from 'zod';
2
- import type { SiteStyleRef } from './refs';
3
- export declare const applySiteStyleSelectionCommandSchema: z.ZodObject<{
4
- type: z.ZodLiteral<"applySiteStyleSelection">;
5
- ref: z.ZodPipe<z.ZodString, z.ZodTransform<SiteStyleRef, string>>;
6
- input: z.ZodObject<{
7
- changes: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8
- kind: z.ZodLiteral<"set-site-style">;
9
- siteStyleId: z.ZodPipe<z.ZodString, z.ZodTransform<SiteStyleRef, string>>;
10
- }, z.core.$strict>, z.ZodObject<{
11
- kind: z.ZodLiteral<"set-button-style">;
12
- buttonStyleSelection: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
13
- styleId: z.ZodLiteral<"soft-pill">;
14
- parameters: z.ZodObject<{}, z.core.$strict>;
15
- }, z.core.$strict>, z.ZodObject<{
16
- styleId: z.ZodLiteral<"earth-pill">;
17
- parameters: z.ZodObject<{}, z.core.$strict>;
18
- }, z.core.$strict>, z.ZodObject<{
19
- styleId: z.ZodLiteral<"confident-chip">;
20
- parameters: z.ZodObject<{}, z.core.$strict>;
21
- }, z.core.$strict>, z.ZodObject<{
22
- styleId: z.ZodLiteral<"editorial-link">;
23
- parameters: z.ZodObject<{}, z.core.$strict>;
24
- }, z.core.$strict>, z.ZodObject<{
25
- styleId: z.ZodLiteral<"pebble">;
26
- parameters: z.ZodObject<{}, z.core.$strict>;
27
- }, z.core.$strict>, z.ZodObject<{
28
- styleId: z.ZodLiteral<"ink-stamp">;
29
- parameters: z.ZodObject<{}, z.core.$strict>;
30
- }, z.core.$strict>, z.ZodObject<{
31
- styleId: z.ZodLiteral<"flat-ink">;
32
- parameters: z.ZodObject<{}, z.core.$strict>;
33
- }, z.core.$strict>, z.ZodObject<{
34
- styleId: z.ZodLiteral<"brushed-wash">;
35
- parameters: z.ZodObject<{}, z.core.$strict>;
36
- }, z.core.$strict>, z.ZodObject<{
37
- styleId: z.ZodLiteral<"showtime-pill">;
38
- parameters: z.ZodObject<{}, z.core.$strict>;
39
- }, z.core.$strict>, z.ZodObject<{
40
- styleId: z.ZodLiteral<"joy-stamp">;
41
- parameters: z.ZodObject<{}, z.core.$strict>;
42
- }, z.core.$strict>, z.ZodObject<{
43
- styleId: z.ZodLiteral<"ornate-ritual">;
44
- parameters: z.ZodObject<{}, z.core.$strict>;
45
- }, z.core.$strict>, z.ZodObject<{
46
- styleId: z.ZodLiteral<"quiet-arrow">;
47
- parameters: z.ZodObject<{
48
- secondaryTreatment: z.ZodEnum<{
49
- outlined: "outlined";
50
- "solid-accent": "solid-accent";
51
- }>;
52
- }, z.core.$strict>;
53
- }, z.core.$strict>], "styleId">>;
54
- }, z.core.$strict>, z.ZodObject<{
55
- kind: z.ZodLiteral<"set-palette">;
56
- palette: z.ZodPipe<z.ZodObject<{
57
- colors: z.ZodArray<z.ZodObject<{
58
- name: z.ZodString;
59
- hex: z.ZodString;
60
- }, z.core.$strip>>;
61
- meta: z.ZodObject<{
62
- mode: z.ZodEnum<{
63
- light: "light";
64
- dark: "dark";
65
- }>;
66
- }, z.core.$strip>;
67
- }, z.core.$strip>, z.ZodTransform<{
68
- colors: {
69
- name: string;
70
- hex: string;
71
- }[];
72
- meta: {
73
- mode: "light" | "dark";
74
- };
75
- }, {
76
- colors: {
77
- name: string;
78
- hex: string;
79
- }[];
80
- meta: {
81
- mode: "light" | "dark";
82
- };
83
- }>>;
84
- }, z.core.$strict>, z.ZodObject<{
85
- kind: z.ZodLiteral<"set-typography">;
86
- typography: z.ZodNullable<z.ZodObject<{
87
- body: z.ZodObject<{
88
- family: z.ZodString;
89
- weight: z.ZodEnum<{
90
- medium: "medium";
91
- bold: "bold";
92
- light: "light";
93
- regular: "regular";
94
- semibold: "semibold";
95
- }>;
96
- letterSpacing: z.ZodEnum<{
97
- tight: "tight";
98
- normal: "normal";
99
- loose: "loose";
100
- }>;
101
- lineHeight: z.ZodEnum<{
102
- normal: "normal";
103
- loose: "loose";
104
- relaxed: "relaxed";
105
- }>;
106
- size: z.ZodEnum<{
107
- md: "md";
108
- lg: "lg";
109
- xl: "xl";
110
- }>;
111
- }, z.core.$strip>;
112
- headings: z.ZodObject<{
113
- default: z.ZodObject<{
114
- family: z.ZodString;
115
- weight: z.ZodEnum<{
116
- medium: "medium";
117
- bold: "bold";
118
- light: "light";
119
- regular: "regular";
120
- semibold: "semibold";
121
- }>;
122
- letterSpacing: z.ZodEnum<{
123
- tight: "tight";
124
- normal: "normal";
125
- loose: "loose";
126
- }>;
127
- lineHeight: z.ZodEnum<{
128
- normal: "normal";
129
- loose: "loose";
130
- relaxed: "relaxed";
131
- }>;
132
- case: z.ZodNullable<z.ZodEnum<{
133
- uppercase: "uppercase";
134
- normal: "normal";
135
- smallCaps: "smallCaps";
136
- }>>;
137
- italic: z.ZodNullable<z.ZodBoolean>;
138
- colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
- }, z.core.$strip>;
140
- h1: z.ZodObject<{
141
- weight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
142
- medium: "medium";
143
- bold: "bold";
144
- light: "light";
145
- regular: "regular";
146
- semibold: "semibold";
147
- }>>>;
148
- letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
149
- tight: "tight";
150
- normal: "normal";
151
- loose: "loose";
152
- }>>>;
153
- size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
154
- sm: "sm";
155
- md: "md";
156
- lg: "lg";
157
- xl: "xl";
158
- xs: "xs";
159
- "2xl": "2xl";
160
- }>>>;
161
- lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
162
- tight: "tight";
163
- normal: "normal";
164
- loose: "loose";
165
- relaxed: "relaxed";
166
- snug: "snug";
167
- }>>>;
168
- italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
169
- colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
- }, z.core.$strip>;
171
- h2: z.ZodObject<{
172
- weight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
173
- medium: "medium";
174
- bold: "bold";
175
- light: "light";
176
- regular: "regular";
177
- semibold: "semibold";
178
- }>>>;
179
- letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
180
- tight: "tight";
181
- normal: "normal";
182
- loose: "loose";
183
- }>>>;
184
- size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
185
- sm: "sm";
186
- md: "md";
187
- lg: "lg";
188
- xl: "xl";
189
- xs: "xs";
190
- "2xl": "2xl";
191
- }>>>;
192
- lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
193
- tight: "tight";
194
- normal: "normal";
195
- loose: "loose";
196
- relaxed: "relaxed";
197
- snug: "snug";
198
- }>>>;
199
- italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
200
- colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
- }, z.core.$strip>;
202
- h3: z.ZodObject<{
203
- weight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
204
- medium: "medium";
205
- bold: "bold";
206
- light: "light";
207
- regular: "regular";
208
- semibold: "semibold";
209
- }>>>;
210
- letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
211
- tight: "tight";
212
- normal: "normal";
213
- loose: "loose";
214
- }>>>;
215
- size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
216
- sm: "sm";
217
- md: "md";
218
- lg: "lg";
219
- xl: "xl";
220
- xs: "xs";
221
- "2xl": "2xl";
222
- }>>>;
223
- lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
224
- tight: "tight";
225
- normal: "normal";
226
- loose: "loose";
227
- relaxed: "relaxed";
228
- snug: "snug";
229
- }>>>;
230
- italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
231
- colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
- }, z.core.$strip>;
233
- h4: z.ZodOptional<z.ZodObject<{
234
- weight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
235
- medium: "medium";
236
- bold: "bold";
237
- light: "light";
238
- regular: "regular";
239
- semibold: "semibold";
240
- }>>>;
241
- letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
242
- tight: "tight";
243
- normal: "normal";
244
- loose: "loose";
245
- }>>>;
246
- size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
247
- sm: "sm";
248
- md: "md";
249
- lg: "lg";
250
- xl: "xl";
251
- xs: "xs";
252
- "2xl": "2xl";
253
- }>>>;
254
- lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
255
- tight: "tight";
256
- normal: "normal";
257
- loose: "loose";
258
- relaxed: "relaxed";
259
- snug: "snug";
260
- }>>>;
261
- italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
262
- colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
263
- }, z.core.$strip>>;
264
- h5: z.ZodOptional<z.ZodObject<{
265
- weight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
266
- medium: "medium";
267
- bold: "bold";
268
- light: "light";
269
- regular: "regular";
270
- semibold: "semibold";
271
- }>>>;
272
- letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
273
- tight: "tight";
274
- normal: "normal";
275
- loose: "loose";
276
- }>>>;
277
- size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
278
- sm: "sm";
279
- md: "md";
280
- lg: "lg";
281
- xl: "xl";
282
- xs: "xs";
283
- "2xl": "2xl";
284
- }>>>;
285
- lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
286
- tight: "tight";
287
- normal: "normal";
288
- loose: "loose";
289
- relaxed: "relaxed";
290
- snug: "snug";
291
- }>>>;
292
- italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
293
- colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
294
- }, z.core.$strip>>;
295
- h6: z.ZodOptional<z.ZodObject<{
296
- weight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
297
- medium: "medium";
298
- bold: "bold";
299
- light: "light";
300
- regular: "regular";
301
- semibold: "semibold";
302
- }>>>;
303
- letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
304
- tight: "tight";
305
- normal: "normal";
306
- loose: "loose";
307
- }>>>;
308
- size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
309
- sm: "sm";
310
- md: "md";
311
- lg: "lg";
312
- xl: "xl";
313
- xs: "xs";
314
- "2xl": "2xl";
315
- }>>>;
316
- lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
317
- tight: "tight";
318
- normal: "normal";
319
- loose: "loose";
320
- relaxed: "relaxed";
321
- snug: "snug";
322
- }>>>;
323
- italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
324
- colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
325
- }, z.core.$strip>>;
326
- }, z.core.$strip>;
327
- scale: z.ZodEnum<{
328
- compact: "compact";
329
- spacious: "spacious";
330
- balanced: "balanced";
331
- minorThird: "minorThird";
332
- majorThird: "majorThird";
333
- perfectFourth: "perfectFourth";
334
- }>;
335
- proseLinkStyle: z.ZodOptional<z.ZodObject<{
336
- colorToken: z.ZodOptional<z.ZodString>;
337
- hoverColorToken: z.ZodOptional<z.ZodString>;
338
- underline: z.ZodOptional<z.ZodBoolean>;
339
- decorationColorToken: z.ZodOptional<z.ZodString>;
340
- hoverDecorationColorToken: z.ZodOptional<z.ZodString>;
341
- underlineStyle: z.ZodOptional<z.ZodEnum<{
342
- solid: "solid";
343
- dotted: "dotted";
344
- dashed: "dashed";
345
- }>>;
346
- underlineThickness: z.ZodOptional<z.ZodEnum<{
347
- auto: "auto";
348
- medium: "medium";
349
- fromFont: "fromFont";
350
- thin: "thin";
351
- thick: "thick";
352
- }>>;
353
- underlineOffset: z.ZodOptional<z.ZodEnum<{
354
- auto: "auto";
355
- tight: "tight";
356
- normal: "normal";
357
- loose: "loose";
358
- }>>;
359
- }, z.core.$strip>>;
360
- eyebrow: z.ZodOptional<z.ZodObject<{
361
- family: z.ZodString;
362
- size: z.ZodOptional<z.ZodEnum<{
363
- sm: "sm";
364
- md: "md";
365
- lg: "lg";
366
- }>>;
367
- weight: z.ZodOptional<z.ZodEnum<{
368
- medium: "medium";
369
- bold: "bold";
370
- light: "light";
371
- regular: "regular";
372
- semibold: "semibold";
373
- }>>;
374
- letterSpacing: z.ZodOptional<z.ZodEnum<{
375
- tight: "tight";
376
- normal: "normal";
377
- loose: "loose";
378
- wide: "wide";
379
- }>>;
380
- case: z.ZodOptional<z.ZodEnum<{
381
- uppercase: "uppercase";
382
- normal: "normal";
383
- }>>;
384
- }, z.core.$strip>>;
385
- }, z.core.$strip>>;
386
- }, z.core.$strict>, z.ZodObject<{
387
- kind: z.ZodLiteral<"set-header">;
388
- selection: z.ZodDiscriminatedUnion<[z.ZodObject<{
389
- kind: z.ZodLiteral<"default">;
390
- }, z.core.$strict>, z.ZodObject<{
391
- kind: z.ZodLiteral<"legacy">;
392
- headerLookId: z.ZodNullable<z.ZodString>;
393
- }, z.core.$strict>, z.ZodObject<{
394
- kind: z.ZodLiteral<"canonical">;
395
- headerLookId: z.ZodNullable<z.ZodString>;
396
- layoutId: z.ZodString;
397
- styleId: z.ZodString;
398
- }, z.core.$strict>], "kind">;
399
- }, z.core.$strict>, z.ZodObject<{
400
- kind: z.ZodLiteral<"set-footer-look">;
401
- footerLookId: z.ZodNullable<z.ZodString>;
402
- }, z.core.$strict>], "kind">>>;
403
- baseSelectionVersion: z.ZodOptional<z.ZodNumber>;
404
- }, z.core.$strict>;
405
- }, z.core.$strict>;
@@ -1,46 +0,0 @@
1
- import { z } from 'zod';
2
- type SiteStyleSelectionSchemaParts<TSiteStyleId extends z.ZodType, TButtonStyleSelection extends z.ZodType, TPalette extends z.ZodType, TTypography extends z.ZodType, THeaderLookId extends z.ZodType, THeaderLayoutId extends z.ZodType, THeaderStyleId extends z.ZodType, TFooterLookId extends z.ZodType> = Readonly<{
3
- siteStyleId: TSiteStyleId;
4
- buttonStyleSelection: TButtonStyleSelection;
5
- palette: TPalette;
6
- typography: TTypography;
7
- headerLookId: THeaderLookId;
8
- headerLayoutId: THeaderLayoutId;
9
- headerStyleId: THeaderStyleId;
10
- footerLookId: TFooterLookId;
11
- }>;
12
- export declare function createSiteStyleSelectionChangeSchema<TSiteStyleId extends z.ZodType, TButtonStyleSelection extends z.ZodType, TPalette extends z.ZodType, TTypography extends z.ZodType, THeaderLookId extends z.ZodType, THeaderLayoutId extends z.ZodType, THeaderStyleId extends z.ZodType, TFooterLookId extends z.ZodType>(parts: SiteStyleSelectionSchemaParts<TSiteStyleId, TButtonStyleSelection, TPalette, TTypography, THeaderLookId, THeaderLayoutId, THeaderStyleId, TFooterLookId>): z.ZodDiscriminatedUnion<[z.ZodObject<{
13
- kind: z.ZodLiteral<"set-site-style">;
14
- siteStyleId: TSiteStyleId;
15
- }, z.core.$strict>, z.ZodObject<{
16
- kind: z.ZodLiteral<"set-button-style">;
17
- buttonStyleSelection: z.ZodNullable<TButtonStyleSelection>;
18
- }, z.core.$strict>, z.ZodObject<{
19
- kind: z.ZodLiteral<"set-palette">;
20
- palette: TPalette;
21
- }, z.core.$strict>, z.ZodObject<{
22
- kind: z.ZodLiteral<"set-typography">;
23
- typography: z.ZodNullable<TTypography>;
24
- }, z.core.$strict>, z.ZodObject<{
25
- kind: z.ZodLiteral<"set-header">;
26
- selection: z.ZodDiscriminatedUnion<[z.ZodObject<{
27
- kind: z.ZodLiteral<"default">;
28
- }, z.core.$strict>, z.ZodObject<{
29
- kind: z.ZodLiteral<"legacy">;
30
- headerLookId: z.ZodNullable<THeaderLookId>;
31
- }, z.core.$strict>, z.ZodObject<{
32
- kind: z.ZodLiteral<"canonical">;
33
- headerLookId: z.ZodNullable<THeaderLookId>;
34
- layoutId: THeaderLayoutId;
35
- styleId: THeaderStyleId;
36
- }, z.core.$strict>], "kind">;
37
- }, z.core.$strict>, z.ZodObject<{
38
- kind: z.ZodLiteral<"set-footer-look">;
39
- footerLookId: z.ZodNullable<TFooterLookId>;
40
- }, z.core.$strict>], "kind">;
41
- export declare function validateUniqueSiteStyleSelectionChanges(input: Readonly<{
42
- changes: readonly Readonly<{
43
- kind: string;
44
- }>[];
45
- }>, ctx: z.RefinementCtx): void;
46
- export {};
@@ -1,5 +0,0 @@
1
- export declare function stableStringify(value: unknown): string;
2
- export declare function stableJsonStringify(value: unknown): string;
3
- export declare function stableSha1Hex(value: string): string;
4
- export declare function sortValue(value: unknown): unknown;
5
- export declare function sortRecord(record: Record<string, unknown>): Record<string, unknown>;
@@ -1,10 +0,0 @@
1
- import type { StaticExecutionGapCode } from './capabilityGaps';
2
- import type { SiteCommand, SiteCommandOf } from './commandContract';
3
- export type StaticExecutionGap = Readonly<{
4
- code: StaticExecutionGapCode;
5
- message: string;
6
- }>;
7
- export declare function staticExecutionGapsForCommand(command: SiteCommand): readonly StaticExecutionGap[];
8
- export declare function eventSeriesStaticExecutionGaps(command: SiteCommandOf<'upsertEventSeries'>): readonly StaticExecutionGap[];
9
- export declare function nativeWholeSeriesStaticExecutionGaps(command: SiteCommandOf<'upsertEventSeries'>): readonly StaticExecutionGap[];
10
- export declare function eventTicketTypeStaticExecutionGaps(command: SiteCommandOf<'upsertEventTicketType'>): readonly StaticExecutionGap[];
@@ -1,21 +0,0 @@
1
- import type { SiteCommandOf } from './commandContract';
2
- export declare function venueManagementFields(command: SiteCommandOf<'upsertVenue'>): {
3
- slug: string;
4
- title: string;
5
- description: string | null;
6
- timezone: string;
7
- capacity: number | null;
8
- address: {
9
- line1: string | undefined;
10
- line2: string | undefined;
11
- city: string | undefined;
12
- region: string | undefined;
13
- postcode: string | undefined;
14
- country: string | undefined;
15
- } | undefined;
16
- location: {
17
- lat: number;
18
- lng: number;
19
- } | null;
20
- mapEmbed: string | null;
21
- };
@@ -1,12 +0,0 @@
1
- /**
2
- * Theme data exports (no React components)
3
- *
4
- * This module exports only pure data and types - no React dependencies.
5
- * Use this for server-side code or integration tests.
6
- */
7
- export * from './schema';
8
- export { mockThemes } from './mock-themes/all';
9
- export { modernMinimalTheme } from './mock-themes/modern-minimal';
10
- export { classicProfessionalTheme } from './mock-themes/classic-professional';
11
- export { vibrantCreativeTheme } from './mock-themes/vibrant-creative';
12
- export type { CornerStyle, ShadowSize, TextTransform, FontWeight, HoverTransform, HoverColor, GradientStyle, GradientSharpness, GradientDirection, ButtonVariant, ButtonSystem, } from './buttons/types';
@@ -1,4 +0,0 @@
1
- import type { ThemeHeader } from '../schema';
2
- export declare function brandHeaderForeground(): Pick<ThemeHeader, 'textColor' | 'navColor'>;
3
- export declare function neutralDropdownStyle(): NonNullable<ThemeHeader['dropdownStyle']>;
4
- export declare function brandDropdownStyle(): NonNullable<ThemeHeader['dropdownStyle']>;