@spacefast/common 0.0.26 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/dist/agents/connect-targets.d.ts +6 -146
  2. package/dist/agents/connect-targets.js +63 -295
  3. package/dist/agents/private-key-oauth.d.ts +31 -1
  4. package/dist/agents/private-key-oauth.js +124 -33
  5. package/dist/agents/registry/core.d.ts +292 -0
  6. package/dist/agents/registry/core.js +1388 -0
  7. package/dist/agents/registry/deeplink-probes.d.ts +23 -0
  8. package/dist/agents/registry/deeplink-probes.js +18 -0
  9. package/dist/agents/registry/node.d.ts +56 -0
  10. package/dist/agents/registry/node.js +339 -0
  11. package/dist/brand-assets-build.js +1 -2
  12. package/dist/brand-assets.js +4 -7
  13. package/dist/brand.d.ts +17 -0
  14. package/dist/brand.js +24 -4
  15. package/dist/config/domains.d.ts +55 -28
  16. package/dist/config/domains.js +85 -41
  17. package/dist/config/index.js +1 -2
  18. package/dist/contracts/abuse.js +9 -24
  19. package/dist/contracts/access-profiles.d.ts +86 -0
  20. package/dist/contracts/access-profiles.js +89 -0
  21. package/dist/contracts/access.d.ts +21 -27
  22. package/dist/contracts/access.js +33 -64
  23. package/dist/contracts/activity.d.ts +18 -1
  24. package/dist/contracts/activity.js +70 -26
  25. package/dist/contracts/analytics.js +8 -10
  26. package/dist/contracts/api-keys.d.ts +77 -52
  27. package/dist/contracts/api-keys.js +44 -24
  28. package/dist/contracts/application-journal.d.ts +216 -0
  29. package/dist/contracts/application-journal.js +167 -0
  30. package/dist/contracts/auth.d.ts +90 -17
  31. package/dist/contracts/auth.js +86 -17
  32. package/dist/contracts/beta.d.ts +9 -4
  33. package/dist/contracts/beta.js +20 -16
  34. package/dist/contracts/billing.js +7 -11
  35. package/dist/contracts/bootstrap.d.ts +791 -0
  36. package/dist/contracts/bootstrap.js +51 -0
  37. package/dist/contracts/builds.d.ts +192 -7
  38. package/dist/contracts/builds.js +84 -21
  39. package/dist/contracts/channels.d.ts +43 -0
  40. package/dist/contracts/channels.js +25 -9
  41. package/dist/contracts/cli.d.ts +7 -0
  42. package/dist/contracts/cli.js +6 -0
  43. package/dist/contracts/collab-public.d.ts +1 -1
  44. package/dist/contracts/collab-public.js +5 -8
  45. package/dist/contracts/comments.d.ts +45 -35
  46. package/dist/contracts/comments.js +107 -77
  47. package/dist/contracts/commerce.d.ts +165 -0
  48. package/dist/contracts/commerce.js +146 -0
  49. package/dist/contracts/common.d.ts +3 -3
  50. package/dist/contracts/common.js +18 -29
  51. package/dist/contracts/content-contract-verification.d.ts +521 -0
  52. package/dist/contracts/content-contract-verification.js +320 -0
  53. package/dist/contracts/content-platform-fixture.d.ts +1278 -0
  54. package/dist/contracts/content-platform-fixture.js +44 -0
  55. package/dist/contracts/content-program.d.ts +994 -0
  56. package/dist/contracts/content-program.js +658 -0
  57. package/dist/contracts/content-sync.d.ts +290 -0
  58. package/dist/contracts/content-sync.js +167 -0
  59. package/dist/contracts/content.d.ts +432 -0
  60. package/dist/contracts/content.js +303 -0
  61. package/dist/contracts/continuation.d.ts +17 -1
  62. package/dist/contracts/continuation.js +23 -23
  63. package/dist/contracts/countries.js +3 -4
  64. package/dist/contracts/crons.d.ts +17 -0
  65. package/dist/contracts/crons.js +33 -15
  66. package/dist/contracts/dashboard-prefs.d.ts +56 -0
  67. package/dist/contracts/dashboard-prefs.js +51 -0
  68. package/dist/contracts/device-auth.d.ts +234 -37
  69. package/dist/contracts/device-auth.js +267 -53
  70. package/dist/contracts/docs.d.ts +6 -10
  71. package/dist/contracts/docs.js +5 -13
  72. package/dist/contracts/domains.d.ts +499 -102
  73. package/dist/contracts/domains.js +169 -58
  74. package/dist/contracts/email-preferences.d.ts +3 -3
  75. package/dist/contracts/email-preferences.js +6 -7
  76. package/dist/contracts/enums.d.ts +26 -26
  77. package/dist/contracts/enums.js +61 -54
  78. package/dist/contracts/error-code-meta.d.ts +273 -7
  79. package/dist/contracts/error-code-meta.js +81 -5
  80. package/dist/contracts/error-codes.d.ts +5 -5
  81. package/dist/contracts/error-codes.js +79 -16
  82. package/dist/contracts/events.d.ts +100 -20
  83. package/dist/contracts/events.js +107 -20
  84. package/dist/contracts/execution.d.ts +47 -66
  85. package/dist/contracts/execution.js +51 -64
  86. package/dist/contracts/feature-lifecycle.d.ts +70 -14
  87. package/dist/contracts/feature-lifecycle.js +86 -15
  88. package/dist/contracts/features.d.ts +100 -37
  89. package/dist/contracts/features.js +21 -27
  90. package/dist/contracts/fixtures/content-platform-v1.json +1108 -0
  91. package/dist/contracts/frame-session.d.ts +192 -0
  92. package/dist/contracts/frame-session.js +164 -0
  93. package/dist/contracts/functions.d.ts +218 -211
  94. package/dist/contracts/functions.js +273 -260
  95. package/dist/contracts/grant-copy.d.ts +43 -0
  96. package/dist/contracts/grant-copy.js +44 -0
  97. package/dist/contracts/grants.d.ts +64 -56
  98. package/dist/contracts/grants.js +124 -23
  99. package/dist/contracts/ids.d.ts +4 -1
  100. package/dist/contracts/ids.js +4 -1
  101. package/dist/contracts/internal.d.ts +5 -4
  102. package/dist/contracts/internal.js +12 -3
  103. package/dist/contracts/mcp.d.ts +17 -0
  104. package/dist/contracts/mcp.js +23 -0
  105. package/dist/contracts/me.d.ts +6 -1
  106. package/dist/contracts/me.js +12 -6
  107. package/dist/contracts/notifications.d.ts +27 -29
  108. package/dist/contracts/notifications.js +9 -4
  109. package/dist/contracts/oauth-resources.d.ts +121 -10
  110. package/dist/contracts/oauth-resources.js +130 -11
  111. package/dist/contracts/oauth-scope-actions.d.ts +90 -0
  112. package/dist/contracts/oauth-scope-actions.js +126 -0
  113. package/dist/contracts/operations.d.ts +27 -4
  114. package/dist/contracts/operations.js +11 -5
  115. package/dist/contracts/pages.d.ts +29 -5
  116. package/dist/contracts/pages.js +22 -5
  117. package/dist/contracts/partner-notifications.d.ts +3 -0
  118. package/dist/contracts/partner-notifications.js +65 -0
  119. package/dist/contracts/{platform.d.ts → partner.d.ts} +29 -42
  120. package/dist/contracts/{platform.js → partner.js} +27 -40
  121. package/dist/contracts/plan-policy.d.ts +1 -1
  122. package/dist/contracts/principal-assertion.d.ts +43 -0
  123. package/dist/contracts/principal-assertion.js +67 -0
  124. package/dist/contracts/principals.d.ts +73 -0
  125. package/dist/contracts/principals.js +59 -0
  126. package/dist/contracts/privacy.d.ts +11 -0
  127. package/dist/contracts/privacy.js +17 -0
  128. package/dist/contracts/problem-document.js +3 -4
  129. package/dist/contracts/publish-archive.d.ts +116 -18
  130. package/dist/contracts/publish-archive.js +6 -3
  131. package/dist/contracts/push-new.d.ts +4 -4
  132. package/dist/contracts/quotas.js +3 -3
  133. package/dist/contracts/realtime.d.ts +52 -0
  134. package/dist/contracts/realtime.js +54 -0
  135. package/dist/contracts/repository-connections.d.ts +1 -1
  136. package/dist/contracts/repository-connections.js +6 -2
  137. package/dist/contracts/resources.d.ts +105 -14
  138. package/dist/contracts/resources.js +145 -21
  139. package/dist/contracts/route-inventory.d.ts +358 -0
  140. package/dist/contracts/route-inventory.js +141 -0
  141. package/dist/contracts/runtime-api.d.ts +112 -35
  142. package/dist/contracts/runtime-api.js +86 -66
  143. package/dist/contracts/runtime-app.d.ts +11 -21
  144. package/dist/contracts/runtime-app.js +39 -24
  145. package/dist/contracts/runtime-components.d.ts +143 -0
  146. package/dist/contracts/runtime-components.js +199 -0
  147. package/dist/contracts/runtime-db.d.ts +45 -19
  148. package/dist/contracts/runtime-db.js +85 -20
  149. package/dist/contracts/runtime-purge.js +3 -5
  150. package/dist/contracts/runtime-services.d.ts +43 -75
  151. package/dist/contracts/runtime-services.js +29 -49
  152. package/dist/contracts/runtime-storage.d.ts +14 -14
  153. package/dist/contracts/runtime-storage.js +28 -13
  154. package/dist/contracts/sf-config-v1.d.ts +14 -18
  155. package/dist/contracts/slugs.js +13 -4
  156. package/dist/contracts/space-config.d.ts +235 -28
  157. package/dist/contracts/space-config.js +246 -91
  158. package/dist/contracts/spaces.d.ts +360 -255
  159. package/dist/contracts/spaces.js +190 -122
  160. package/dist/contracts/superadmin-activity.d.ts +3 -43
  161. package/dist/contracts/superadmin-activity.js +6 -30
  162. package/dist/contracts/superadmin-emails.d.ts +1 -0
  163. package/dist/contracts/superadmin-emails.js +17 -1
  164. package/dist/contracts/superadmin-runtime.d.ts +199 -0
  165. package/dist/contracts/superadmin-runtime.js +141 -0
  166. package/dist/contracts/superadmin-search.d.ts +22 -2
  167. package/dist/contracts/superadmin-search.js +14 -6
  168. package/dist/contracts/superadmin-spaces.d.ts +435 -186
  169. package/dist/contracts/superadmin-spaces.js +131 -25
  170. package/dist/contracts/superadmin-teams.d.ts +3 -0
  171. package/dist/contracts/superadmin-teams.js +1 -2
  172. package/dist/contracts/superadmin-tenants.d.ts +627 -6
  173. package/dist/contracts/superadmin-tenants.js +32 -7
  174. package/dist/contracts/superadmin.d.ts +98 -16
  175. package/dist/contracts/superadmin.js +63 -10
  176. package/dist/contracts/tags.d.ts +85 -58
  177. package/dist/contracts/tags.js +44 -34
  178. package/dist/contracts/teams.d.ts +72 -9
  179. package/dist/contracts/teams.js +84 -25
  180. package/dist/contracts/tenants.d.ts +135 -0
  181. package/dist/contracts/tenants.js +120 -0
  182. package/dist/contracts/test-triggers.d.ts +70 -0
  183. package/dist/contracts/test-triggers.js +116 -0
  184. package/dist/contracts/theme-json.js +3 -8
  185. package/dist/contracts/transfers.d.ts +1 -0
  186. package/dist/contracts/transfers.js +1 -0
  187. package/dist/contracts/usage.d.ts +209 -0
  188. package/dist/contracts/usage.js +124 -12
  189. package/dist/contracts/variables.d.ts +2 -2
  190. package/dist/contracts/variables.js +9 -13
  191. package/dist/contracts/webhooks.d.ts +13 -5
  192. package/dist/contracts/webhooks.js +3 -1
  193. package/dist/contracts/zero.d.ts +57 -64
  194. package/dist/contracts/zero.js +68 -66
  195. package/dist/dashboard-paths/index.d.ts +24 -21
  196. package/dist/dashboard-paths/index.js +35 -47
  197. package/dist/dashboard-paths/route-reservations.generated.d.ts +2 -0
  198. package/dist/dashboard-paths/route-reservations.generated.js +36 -0
  199. package/dist/docs/agent-arrival.d.ts +92 -0
  200. package/dist/docs/agent-arrival.js +227 -0
  201. package/dist/docs/agent-output-policy.d.ts +6 -0
  202. package/dist/docs/agent-output-policy.js +22 -0
  203. package/dist/docs/agent-prose.d.ts +11 -17
  204. package/dist/docs/agent-prose.js +62 -37
  205. package/dist/docs/agent-setup.d.ts +72 -41
  206. package/dist/docs/agent-setup.js +336 -436
  207. package/dist/docs/catalog.d.ts +147 -89
  208. package/dist/docs/catalog.js +157 -42
  209. package/dist/docs/error-docs.d.ts +2102 -1
  210. package/dist/docs/error-docs.js +285 -16
  211. package/dist/docs/index-build.d.ts +0 -1
  212. package/dist/docs/index-build.js +2 -3
  213. package/dist/docs/page-context-prompt.d.ts +77 -0
  214. package/dist/docs/page-context-prompt.js +131 -0
  215. package/dist/docs/reference-urls.d.ts +46 -0
  216. package/dist/docs/reference-urls.js +79 -0
  217. package/dist/docs/search.d.ts +6 -8
  218. package/dist/docs/search.js +10 -13
  219. package/dist/docs/skill-distribution.d.ts +4 -1
  220. package/dist/docs/skill-distribution.js +10 -5
  221. package/dist/docs/skills.d.ts +117 -117
  222. package/dist/docs/skills.js +120 -72
  223. package/dist/docs/start-prompts.d.ts +45 -0
  224. package/dist/docs/start-prompts.js +62 -0
  225. package/dist/domain-exploration.js +9 -13
  226. package/dist/og-template.d.ts +56 -0
  227. package/dist/og-template.js +56 -0
  228. package/dist/slug-policy/index.js +5 -11
  229. package/dist/utils/browser-credential.d.ts +13 -6
  230. package/dist/utils/browser-credential.js +14 -7
  231. package/dist/utils/build-settings.d.ts +16 -0
  232. package/dist/utils/build-settings.js +63 -17
  233. package/dist/utils/canonical-json.d.ts +3 -5
  234. package/dist/utils/canonical-json.js +3 -5
  235. package/dist/utils/cast-transport.d.ts +5 -17
  236. package/dist/utils/cast-transport.js +6 -19
  237. package/dist/utils/claim-token.js +1 -2
  238. package/dist/utils/comment-avatars.js +4 -6
  239. package/dist/utils/concurrency.js +2 -3
  240. package/dist/utils/content-type.d.ts +7 -6
  241. package/dist/utils/content-type.js +73 -51
  242. package/dist/utils/credential-policy.d.ts +50 -6
  243. package/dist/utils/credential-policy.js +123 -57
  244. package/dist/utils/egress-policy.fixtures.json +1 -1
  245. package/dist/utils/generate-space-name.d.ts +3 -8
  246. package/dist/utils/generate-space-name.js +3 -8
  247. package/dist/utils/grants.d.ts +0 -1
  248. package/dist/utils/grants.js +4 -7
  249. package/dist/utils/gravatar.d.ts +2 -4
  250. package/dist/utils/gravatar.js +6 -12
  251. package/dist/utils/id-hints.js +14 -23
  252. package/dist/utils/idempotency.d.ts +3 -3
  253. package/dist/utils/idempotency.js +6 -7
  254. package/dist/utils/local-space-state.d.ts +15 -15
  255. package/dist/utils/local-space-state.js +34 -23
  256. package/dist/utils/oauth-signed-query.d.ts +3 -5
  257. package/dist/utils/oauth-signed-query.js +6 -9
  258. package/dist/utils/one-shot-replay.d.ts +3 -5
  259. package/dist/utils/one-shot-replay.js +3 -5
  260. package/dist/utils/page-colors.d.ts +4 -10
  261. package/dist/utils/page-colors.js +11 -35
  262. package/dist/utils/page-fonts.js +6 -11
  263. package/dist/utils/page-preview.d.ts +0 -1
  264. package/dist/utils/page-preview.js +0 -1
  265. package/dist/utils/pages.d.ts +22 -11
  266. package/dist/utils/pages.js +70 -30
  267. package/dist/utils/privacy-regions.d.ts +19 -0
  268. package/dist/utils/privacy-regions.js +91 -0
  269. package/dist/utils/publish-form-data.d.ts +4 -5
  270. package/dist/utils/publish-form-data.js +2 -3
  271. package/dist/utils/publish-policy.d.ts +10 -23
  272. package/dist/utils/publish-policy.js +63 -116
  273. package/dist/utils/query-client.d.ts +2 -0
  274. package/dist/utils/query-client.js +10 -1
  275. package/dist/utils/runtime-paths.d.ts +4 -4
  276. package/dist/utils/runtime-paths.js +6 -8
  277. package/dist/utils/runtime-upload.d.ts +4 -0
  278. package/dist/utils/runtime-upload.js +5 -0
  279. package/dist/utils/secure-local-file.d.ts +3 -3
  280. package/dist/utils/secure-local-file.js +18 -24
  281. package/dist/utils/space-config.d.ts +11 -14
  282. package/dist/utils/space-config.js +10 -16
  283. package/dist/utils/static-runtime-policy.d.ts +5 -8
  284. package/dist/utils/static-runtime-policy.generated.d.ts +16 -0
  285. package/dist/utils/static-runtime-policy.generated.js +70 -0
  286. package/dist/utils/static-runtime-policy.js +17 -84
  287. package/dist/utils/storage-policy.js +1 -2
  288. package/dist/utils/upload-session.js +8 -14
  289. package/dist/utils/version-path.js +11 -19
  290. package/dist/utils/wpcom-auth-redirects.d.ts +5 -14
  291. package/dist/utils/wpcom-auth-redirects.js +1 -4
  292. package/dist/vocabulary.d.ts +7 -7
  293. package/dist/vocabulary.js +30 -16
  294. package/package.json +14 -2
  295. package/dist/agents/client-registry.d.ts +0 -22
  296. package/dist/agents/client-registry.js +0 -41
  297. package/dist/docs/agent-handoff-document.d.ts +0 -15
  298. package/dist/docs/agent-handoff-document.js +0 -180
  299. package/dist/docs/agent-solutions.d.ts +0 -110
  300. package/dist/docs/agent-solutions.js +0 -183
  301. package/dist/utils/query-keys.d.ts +0 -84
  302. package/dist/utils/query-keys.js +0 -108
@@ -0,0 +1,994 @@
1
+ import { z } from "zod";
2
+ export declare const CONTENT_PROGRAM_FORMAT: "spacefast.zero-wordpress";
3
+ export declare const CONTENT_PROGRAM_VERSION: 1;
4
+ export declare const contentProgramSha256Schema: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
5
+ export type ContentProgramSha256 = z.infer<typeof contentProgramSha256Schema>;
6
+ export declare const contentResourceIdSchema: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
7
+ export declare const contentFieldIdSchema: z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">;
8
+ export declare const contentTableIdSchema: z.core.$ZodBranded<z.ZodString, "ContentTableId", "out">;
9
+ export declare const contentAbilityIdSchema: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
10
+ export declare const contentSchemaIdSchema: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
11
+ export declare const contentComponentIdSchema: z.core.$ZodBranded<z.ZodString, "ContentComponentId", "out">;
12
+ export declare const contentSyncBindingIdSchema: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
13
+ export type ContentResourceId = z.infer<typeof contentResourceIdSchema>;
14
+ export type ContentFieldId = z.infer<typeof contentFieldIdSchema>;
15
+ export type ContentTableId = z.infer<typeof contentTableIdSchema>;
16
+ export type ContentAbilityId = z.infer<typeof contentAbilityIdSchema>;
17
+ export type ContentSchemaId = z.infer<typeof contentSchemaIdSchema>;
18
+ export type ContentComponentId = z.infer<typeof contentComponentIdSchema>;
19
+ export type ContentSyncBindingId = z.infer<typeof contentSyncBindingIdSchema>;
20
+ export declare const contentSyncSourcePathSchema: z.ZodString;
21
+ export type ContentSyncSourcePath = z.infer<typeof contentSyncSourcePathSchema>;
22
+ export type ContentProgramJsonValue = string | number | boolean | null | ContentProgramJsonValue[] | {
23
+ [key: string]: ContentProgramJsonValue;
24
+ };
25
+ export declare const contentProgramJsonValueSchema: z.ZodType<ContentProgramJsonValue>;
26
+ export declare const contentResourceRefSchema: z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">;
27
+ export type ContentResourceRef = z.infer<typeof contentResourceRefSchema>;
28
+ export declare const contentSchemaRefSchema: z.ZodObject<{
29
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
30
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
31
+ }, z.core.$strict>;
32
+ export type ContentSchemaRef = z.infer<typeof contentSchemaRefSchema>;
33
+ export declare const contentSchemaDefinitionSchema: z.ZodObject<{
34
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
35
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
36
+ schema: z.ZodType<ContentProgramJsonValue, unknown, z.core.$ZodTypeInternals<ContentProgramJsonValue, unknown>>;
37
+ }, z.core.$strict>;
38
+ export type ContentSchemaDefinition = z.infer<typeof contentSchemaDefinitionSchema>;
39
+ export declare const contentProgramFieldSchema: z.ZodObject<{
40
+ id: z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">;
41
+ name: z.ZodString;
42
+ label: z.ZodString;
43
+ required: z.ZodBoolean;
44
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
45
+ kind: z.ZodLiteral<"text">;
46
+ multiline: z.ZodBoolean;
47
+ maxLength: z.ZodNullable<z.ZodNumber>;
48
+ }, z.core.$strict>, z.ZodObject<{
49
+ kind: z.ZodLiteral<"number">;
50
+ }, z.core.$strict>, z.ZodObject<{
51
+ kind: z.ZodLiteral<"boolean">;
52
+ }, z.core.$strict>, z.ZodObject<{
53
+ kind: z.ZodLiteral<"datetime">;
54
+ }, z.core.$strict>, z.ZodObject<{
55
+ kind: z.ZodLiteral<"blocks">;
56
+ allowed: z.ZodUnion<readonly [z.ZodLiteral<"any">, z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentComponentId", "out">>]>;
57
+ }, z.core.$strict>, z.ZodObject<{
58
+ kind: z.ZodLiteral<"media">;
59
+ multiple: z.ZodBoolean;
60
+ }, z.core.$strict>, z.ZodObject<{
61
+ kind: z.ZodLiteral<"reference">;
62
+ target: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
63
+ multiple: z.ZodBoolean;
64
+ }, z.core.$strict>, z.ZodObject<{
65
+ kind: z.ZodLiteral<"enum">;
66
+ values: z.ZodArray<z.ZodString>;
67
+ multiple: z.ZodBoolean;
68
+ }, z.core.$strict>], "kind">;
69
+ }, z.core.$strict>;
70
+ export type ContentProgramField = z.infer<typeof contentProgramFieldSchema>;
71
+ export declare const wordpressContentResourceSchema: z.ZodObject<{
72
+ id: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
73
+ name: z.ZodString;
74
+ label: z.ZodString;
75
+ kind: z.ZodEnum<{
76
+ media: "media";
77
+ posts: "posts";
78
+ pages: "pages";
79
+ collection: "collection";
80
+ }>;
81
+ fields: z.ZodArray<z.ZodObject<{
82
+ id: z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">;
83
+ name: z.ZodString;
84
+ label: z.ZodString;
85
+ required: z.ZodBoolean;
86
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
87
+ kind: z.ZodLiteral<"text">;
88
+ multiline: z.ZodBoolean;
89
+ maxLength: z.ZodNullable<z.ZodNumber>;
90
+ }, z.core.$strict>, z.ZodObject<{
91
+ kind: z.ZodLiteral<"number">;
92
+ }, z.core.$strict>, z.ZodObject<{
93
+ kind: z.ZodLiteral<"boolean">;
94
+ }, z.core.$strict>, z.ZodObject<{
95
+ kind: z.ZodLiteral<"datetime">;
96
+ }, z.core.$strict>, z.ZodObject<{
97
+ kind: z.ZodLiteral<"blocks">;
98
+ allowed: z.ZodUnion<readonly [z.ZodLiteral<"any">, z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentComponentId", "out">>]>;
99
+ }, z.core.$strict>, z.ZodObject<{
100
+ kind: z.ZodLiteral<"media">;
101
+ multiple: z.ZodBoolean;
102
+ }, z.core.$strict>, z.ZodObject<{
103
+ kind: z.ZodLiteral<"reference">;
104
+ target: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
105
+ multiple: z.ZodBoolean;
106
+ }, z.core.$strict>, z.ZodObject<{
107
+ kind: z.ZodLiteral<"enum">;
108
+ values: z.ZodArray<z.ZodString>;
109
+ multiple: z.ZodBoolean;
110
+ }, z.core.$strict>], "kind">;
111
+ }, z.core.$strict>>;
112
+ publicRead: z.ZodBoolean;
113
+ }, z.core.$strict>;
114
+ export type WordPressContentResource = z.infer<typeof wordpressContentResourceSchema>;
115
+ export declare const wordpressProgramIrV1Schema: z.ZodObject<{
116
+ format: z.ZodLiteral<"spacefast.wordpress-program">;
117
+ version: z.ZodLiteral<1>;
118
+ resources: z.ZodArray<z.ZodObject<{
119
+ id: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
120
+ name: z.ZodString;
121
+ label: z.ZodString;
122
+ kind: z.ZodEnum<{
123
+ media: "media";
124
+ posts: "posts";
125
+ pages: "pages";
126
+ collection: "collection";
127
+ }>;
128
+ fields: z.ZodArray<z.ZodObject<{
129
+ id: z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">;
130
+ name: z.ZodString;
131
+ label: z.ZodString;
132
+ required: z.ZodBoolean;
133
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
134
+ kind: z.ZodLiteral<"text">;
135
+ multiline: z.ZodBoolean;
136
+ maxLength: z.ZodNullable<z.ZodNumber>;
137
+ }, z.core.$strict>, z.ZodObject<{
138
+ kind: z.ZodLiteral<"number">;
139
+ }, z.core.$strict>, z.ZodObject<{
140
+ kind: z.ZodLiteral<"boolean">;
141
+ }, z.core.$strict>, z.ZodObject<{
142
+ kind: z.ZodLiteral<"datetime">;
143
+ }, z.core.$strict>, z.ZodObject<{
144
+ kind: z.ZodLiteral<"blocks">;
145
+ allowed: z.ZodUnion<readonly [z.ZodLiteral<"any">, z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentComponentId", "out">>]>;
146
+ }, z.core.$strict>, z.ZodObject<{
147
+ kind: z.ZodLiteral<"media">;
148
+ multiple: z.ZodBoolean;
149
+ }, z.core.$strict>, z.ZodObject<{
150
+ kind: z.ZodLiteral<"reference">;
151
+ target: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
152
+ multiple: z.ZodBoolean;
153
+ }, z.core.$strict>, z.ZodObject<{
154
+ kind: z.ZodLiteral<"enum">;
155
+ values: z.ZodArray<z.ZodString>;
156
+ multiple: z.ZodBoolean;
157
+ }, z.core.$strict>], "kind">;
158
+ }, z.core.$strict>>;
159
+ publicRead: z.ZodBoolean;
160
+ }, z.core.$strict>>;
161
+ }, z.core.$strict>;
162
+ export type WordPressProgramIrV1 = z.infer<typeof wordpressProgramIrV1Schema>;
163
+ export declare const contentTableColumnSchema: z.ZodObject<{
164
+ id: z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">;
165
+ name: z.ZodString;
166
+ nullable: z.ZodBoolean;
167
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
168
+ kind: z.ZodLiteral<"string">;
169
+ maxLength: z.ZodNullable<z.ZodNumber>;
170
+ }, z.core.$strict>, z.ZodObject<{
171
+ kind: z.ZodLiteral<"number">;
172
+ }, z.core.$strict>, z.ZodObject<{
173
+ kind: z.ZodLiteral<"boolean">;
174
+ }, z.core.$strict>, z.ZodObject<{
175
+ kind: z.ZodLiteral<"datetime">;
176
+ }, z.core.$strict>, z.ZodObject<{
177
+ kind: z.ZodLiteral<"json">;
178
+ }, z.core.$strict>], "kind">;
179
+ }, z.core.$strict>;
180
+ export declare const contentTableIrV1Schema: z.ZodObject<{
181
+ id: z.core.$ZodBranded<z.ZodString, "ContentTableId", "out">;
182
+ name: z.ZodString;
183
+ columns: z.ZodArray<z.ZodObject<{
184
+ id: z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">;
185
+ name: z.ZodString;
186
+ nullable: z.ZodBoolean;
187
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
188
+ kind: z.ZodLiteral<"string">;
189
+ maxLength: z.ZodNullable<z.ZodNumber>;
190
+ }, z.core.$strict>, z.ZodObject<{
191
+ kind: z.ZodLiteral<"number">;
192
+ }, z.core.$strict>, z.ZodObject<{
193
+ kind: z.ZodLiteral<"boolean">;
194
+ }, z.core.$strict>, z.ZodObject<{
195
+ kind: z.ZodLiteral<"datetime">;
196
+ }, z.core.$strict>, z.ZodObject<{
197
+ kind: z.ZodLiteral<"json">;
198
+ }, z.core.$strict>], "kind">;
199
+ }, z.core.$strict>>;
200
+ indexes: z.ZodArray<z.ZodObject<{
201
+ id: z.ZodString;
202
+ fields: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">>;
203
+ unique: z.ZodBoolean;
204
+ }, z.core.$strict>>;
205
+ }, z.core.$strict>;
206
+ export type ContentTableIrV1 = z.infer<typeof contentTableIrV1Schema>;
207
+ export declare const contentCacheProfileV1Schema: z.ZodDiscriminatedUnion<[z.ZodObject<{
208
+ kind: z.ZodLiteral<"none">;
209
+ }, z.core.$strict>, z.ZodObject<{
210
+ kind: z.ZodLiteral<"private">;
211
+ maxAgeSeconds: z.ZodNumber;
212
+ }, z.core.$strict>, z.ZodObject<{
213
+ kind: z.ZodLiteral<"public">;
214
+ maxAgeSeconds: z.ZodNumber;
215
+ staleWhileRevalidateSeconds: z.ZodNumber;
216
+ }, z.core.$strict>], "kind">;
217
+ export type ContentCacheProfileV1 = z.infer<typeof contentCacheProfileV1Schema>;
218
+ export declare const contentAbilityRouteAdmissionV1Schema: z.ZodEnum<{
219
+ public: "public";
220
+ authenticated: "authenticated";
221
+ }>;
222
+ export type ContentAbilityRouteAdmissionV1 = z.infer<typeof contentAbilityRouteAdmissionV1Schema>;
223
+ export declare const contentProgramRouteSchema: z.ZodObject<{
224
+ id: z.ZodString;
225
+ method: z.ZodEnum<{
226
+ POST: "POST";
227
+ PUT: "PUT";
228
+ GET: "GET";
229
+ HEAD: "HEAD";
230
+ PATCH: "PATCH";
231
+ DELETE: "DELETE";
232
+ OPTIONS: "OPTIONS";
233
+ }>;
234
+ path: z.ZodString;
235
+ admission: z.ZodEnum<{
236
+ public: "public";
237
+ authenticated: "authenticated";
238
+ }>;
239
+ }, z.core.$strict>;
240
+ export type ContentProgramRoute = z.infer<typeof contentProgramRouteSchema>;
241
+ export declare const contentAbilityDescriptorV1Schema: z.ZodDiscriminatedUnion<[z.ZodObject<{
242
+ kind: z.ZodLiteral<"query">;
243
+ mode: z.ZodLiteral<"read">;
244
+ id: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
245
+ input: z.ZodObject<{
246
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
247
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
248
+ }, z.core.$strict>;
249
+ output: z.ZodObject<{
250
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
251
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
252
+ }, z.core.$strict>;
253
+ permits: z.ZodArray<z.ZodEnum<{
254
+ "page.view": "page.view";
255
+ "comments.read": "comments.read";
256
+ "comments.write": "comments.write";
257
+ "content.publish": "content.publish";
258
+ "access.manage": "access.manage";
259
+ }>>;
260
+ reads: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">>;
261
+ writes: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">>;
262
+ exposure: z.ZodDiscriminatedUnion<[z.ZodObject<{
263
+ kind: z.ZodLiteral<"named">;
264
+ named: z.ZodLiteral<true>;
265
+ }, z.core.$strict>, z.ZodObject<{
266
+ kind: z.ZodLiteral<"routed">;
267
+ named: z.ZodLiteral<true>;
268
+ route: z.ZodObject<{
269
+ id: z.ZodString;
270
+ method: z.ZodEnum<{
271
+ POST: "POST";
272
+ PUT: "PUT";
273
+ GET: "GET";
274
+ HEAD: "HEAD";
275
+ PATCH: "PATCH";
276
+ DELETE: "DELETE";
277
+ OPTIONS: "OPTIONS";
278
+ }>;
279
+ path: z.ZodString;
280
+ admission: z.ZodEnum<{
281
+ public: "public";
282
+ authenticated: "authenticated";
283
+ }>;
284
+ }, z.core.$strict>;
285
+ }, z.core.$strict>], "kind">;
286
+ cache: z.ZodDiscriminatedUnion<[z.ZodObject<{
287
+ kind: z.ZodLiteral<"none">;
288
+ }, z.core.$strict>, z.ZodObject<{
289
+ kind: z.ZodLiteral<"private">;
290
+ maxAgeSeconds: z.ZodNumber;
291
+ }, z.core.$strict>, z.ZodObject<{
292
+ kind: z.ZodLiteral<"public">;
293
+ maxAgeSeconds: z.ZodNumber;
294
+ staleWhileRevalidateSeconds: z.ZodNumber;
295
+ }, z.core.$strict>], "kind">;
296
+ }, z.core.$strict>, z.ZodObject<{
297
+ kind: z.ZodLiteral<"mutation">;
298
+ mode: z.ZodLiteral<"write">;
299
+ id: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
300
+ input: z.ZodObject<{
301
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
302
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
303
+ }, z.core.$strict>;
304
+ output: z.ZodObject<{
305
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
306
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
307
+ }, z.core.$strict>;
308
+ permits: z.ZodArray<z.ZodEnum<{
309
+ "page.view": "page.view";
310
+ "comments.read": "comments.read";
311
+ "comments.write": "comments.write";
312
+ "content.publish": "content.publish";
313
+ "access.manage": "access.manage";
314
+ }>>;
315
+ reads: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">>;
316
+ writes: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">>;
317
+ exposure: z.ZodDiscriminatedUnion<[z.ZodObject<{
318
+ kind: z.ZodLiteral<"named">;
319
+ named: z.ZodLiteral<true>;
320
+ }, z.core.$strict>, z.ZodObject<{
321
+ kind: z.ZodLiteral<"routed">;
322
+ named: z.ZodLiteral<true>;
323
+ route: z.ZodObject<{
324
+ id: z.ZodString;
325
+ method: z.ZodEnum<{
326
+ POST: "POST";
327
+ PUT: "PUT";
328
+ GET: "GET";
329
+ HEAD: "HEAD";
330
+ PATCH: "PATCH";
331
+ DELETE: "DELETE";
332
+ OPTIONS: "OPTIONS";
333
+ }>;
334
+ path: z.ZodString;
335
+ admission: z.ZodEnum<{
336
+ public: "public";
337
+ authenticated: "authenticated";
338
+ }>;
339
+ }, z.core.$strict>;
340
+ }, z.core.$strict>], "kind">;
341
+ cache: z.ZodDiscriminatedUnion<[z.ZodObject<{
342
+ kind: z.ZodLiteral<"none">;
343
+ }, z.core.$strict>, z.ZodObject<{
344
+ kind: z.ZodLiteral<"private">;
345
+ maxAgeSeconds: z.ZodNumber;
346
+ }, z.core.$strict>, z.ZodObject<{
347
+ kind: z.ZodLiteral<"public">;
348
+ maxAgeSeconds: z.ZodNumber;
349
+ staleWhileRevalidateSeconds: z.ZodNumber;
350
+ }, z.core.$strict>], "kind">;
351
+ }, z.core.$strict>, z.ZodObject<{
352
+ kind: z.ZodLiteral<"endpoint">;
353
+ mode: z.ZodEnum<{
354
+ read: "read";
355
+ write: "write";
356
+ }>;
357
+ id: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
358
+ input: z.ZodObject<{
359
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
360
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
361
+ }, z.core.$strict>;
362
+ output: z.ZodObject<{
363
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
364
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
365
+ }, z.core.$strict>;
366
+ permits: z.ZodArray<z.ZodEnum<{
367
+ "page.view": "page.view";
368
+ "comments.read": "comments.read";
369
+ "comments.write": "comments.write";
370
+ "content.publish": "content.publish";
371
+ "access.manage": "access.manage";
372
+ }>>;
373
+ reads: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">>;
374
+ writes: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">>;
375
+ exposure: z.ZodDiscriminatedUnion<[z.ZodObject<{
376
+ kind: z.ZodLiteral<"named">;
377
+ named: z.ZodLiteral<true>;
378
+ }, z.core.$strict>, z.ZodObject<{
379
+ kind: z.ZodLiteral<"routed">;
380
+ named: z.ZodLiteral<true>;
381
+ route: z.ZodObject<{
382
+ id: z.ZodString;
383
+ method: z.ZodEnum<{
384
+ POST: "POST";
385
+ PUT: "PUT";
386
+ GET: "GET";
387
+ HEAD: "HEAD";
388
+ PATCH: "PATCH";
389
+ DELETE: "DELETE";
390
+ OPTIONS: "OPTIONS";
391
+ }>;
392
+ path: z.ZodString;
393
+ admission: z.ZodEnum<{
394
+ public: "public";
395
+ authenticated: "authenticated";
396
+ }>;
397
+ }, z.core.$strict>;
398
+ }, z.core.$strict>], "kind">;
399
+ cache: z.ZodDiscriminatedUnion<[z.ZodObject<{
400
+ kind: z.ZodLiteral<"none">;
401
+ }, z.core.$strict>, z.ZodObject<{
402
+ kind: z.ZodLiteral<"private">;
403
+ maxAgeSeconds: z.ZodNumber;
404
+ }, z.core.$strict>, z.ZodObject<{
405
+ kind: z.ZodLiteral<"public">;
406
+ maxAgeSeconds: z.ZodNumber;
407
+ staleWhileRevalidateSeconds: z.ZodNumber;
408
+ }, z.core.$strict>], "kind">;
409
+ }, z.core.$strict>], "kind">;
410
+ export type ContentAbilityDescriptorV1 = z.infer<typeof contentAbilityDescriptorV1Schema>;
411
+ export declare const contentAbilityDenialV1Schema: z.ZodDiscriminatedUnion<[z.ZodObject<{
412
+ reason: z.ZodLiteral<"capability-missing">;
413
+ missing: z.ZodArray<z.ZodEnum<{
414
+ "page.view": "page.view";
415
+ "comments.read": "comments.read";
416
+ "comments.write": "comments.write";
417
+ "content.publish": "content.publish";
418
+ "access.manage": "access.manage";
419
+ }>>;
420
+ }, z.core.$strict>, z.ZodObject<{
421
+ reason: z.ZodLiteral<"resource-denied">;
422
+ resource: z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">;
423
+ }, z.core.$strict>, z.ZodObject<{
424
+ reason: z.ZodLiteral<"target-mismatch">;
425
+ }, z.core.$strict>, z.ZodObject<{
426
+ reason: z.ZodLiteral<"business-rule-denied">;
427
+ code: z.ZodString;
428
+ detail: z.ZodString;
429
+ }, z.core.$strict>], "reason">;
430
+ export type ContentAbilityDenialV1 = z.infer<typeof contentAbilityDenialV1Schema>;
431
+ export declare const contentAbilityDecisionV1Schema: z.ZodDiscriminatedUnion<[z.ZodObject<{
432
+ format: z.ZodLiteral<"spacefast.ability-decision">;
433
+ version: z.ZodLiteral<1>;
434
+ abilityId: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
435
+ callId: z.ZodString;
436
+ decision: z.ZodLiteral<"allowed">;
437
+ }, z.core.$strict>, z.ZodObject<{
438
+ format: z.ZodLiteral<"spacefast.ability-decision">;
439
+ version: z.ZodLiteral<1>;
440
+ abilityId: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
441
+ callId: z.ZodString;
442
+ decision: z.ZodLiteral<"denied">;
443
+ denial: z.ZodDiscriminatedUnion<[z.ZodObject<{
444
+ reason: z.ZodLiteral<"capability-missing">;
445
+ missing: z.ZodArray<z.ZodEnum<{
446
+ "page.view": "page.view";
447
+ "comments.read": "comments.read";
448
+ "comments.write": "comments.write";
449
+ "content.publish": "content.publish";
450
+ "access.manage": "access.manage";
451
+ }>>;
452
+ }, z.core.$strict>, z.ZodObject<{
453
+ reason: z.ZodLiteral<"resource-denied">;
454
+ resource: z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">;
455
+ }, z.core.$strict>, z.ZodObject<{
456
+ reason: z.ZodLiteral<"target-mismatch">;
457
+ }, z.core.$strict>, z.ZodObject<{
458
+ reason: z.ZodLiteral<"business-rule-denied">;
459
+ code: z.ZodString;
460
+ detail: z.ZodString;
461
+ }, z.core.$strict>], "reason">;
462
+ }, z.core.$strict>], "decision">;
463
+ export type ContentAbilityDecisionV1 = z.infer<typeof contentAbilityDecisionV1Schema>;
464
+ export declare const contentAbilityReceiptV1Schema: z.ZodDiscriminatedUnion<[z.ZodObject<{
465
+ format: z.ZodLiteral<"spacefast.ability-receipt">;
466
+ version: z.ZodLiteral<1>;
467
+ abilityId: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
468
+ callId: z.ZodString;
469
+ status: z.ZodLiteral<"succeeded">;
470
+ output: z.ZodType<ContentProgramJsonValue, unknown, z.core.$ZodTypeInternals<ContentProgramJsonValue, unknown>>;
471
+ invalidates: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">>;
472
+ }, z.core.$strict>, z.ZodObject<{
473
+ format: z.ZodLiteral<"spacefast.ability-receipt">;
474
+ version: z.ZodLiteral<1>;
475
+ abilityId: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
476
+ callId: z.ZodString;
477
+ status: z.ZodLiteral<"denied">;
478
+ denial: z.ZodDiscriminatedUnion<[z.ZodObject<{
479
+ reason: z.ZodLiteral<"capability-missing">;
480
+ missing: z.ZodArray<z.ZodEnum<{
481
+ "page.view": "page.view";
482
+ "comments.read": "comments.read";
483
+ "comments.write": "comments.write";
484
+ "content.publish": "content.publish";
485
+ "access.manage": "access.manage";
486
+ }>>;
487
+ }, z.core.$strict>, z.ZodObject<{
488
+ reason: z.ZodLiteral<"resource-denied">;
489
+ resource: z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">;
490
+ }, z.core.$strict>, z.ZodObject<{
491
+ reason: z.ZodLiteral<"target-mismatch">;
492
+ }, z.core.$strict>, z.ZodObject<{
493
+ reason: z.ZodLiteral<"business-rule-denied">;
494
+ code: z.ZodString;
495
+ detail: z.ZodString;
496
+ }, z.core.$strict>], "reason">;
497
+ }, z.core.$strict>], "status">;
498
+ export type ContentAbilityReceiptV1 = z.infer<typeof contentAbilityReceiptV1Schema>;
499
+ export declare const contentClientPageIrV1Schema: z.ZodObject<{
500
+ id: z.ZodString;
501
+ sourceKey: z.ZodString;
502
+ path: z.ZodString;
503
+ title: z.ZodString;
504
+ blockName: z.ZodLiteral<"zero/component">;
505
+ componentId: z.core.$ZodBranded<z.ZodString, "ContentComponentId", "out">;
506
+ props: z.ZodObject<{
507
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
508
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
509
+ }, z.core.$strict>;
510
+ }, z.core.$strict>;
511
+ export type ContentClientPageIrV1 = z.infer<typeof contentClientPageIrV1Schema>;
512
+ export declare const contentExecutableRefV1Schema: z.ZodObject<{
513
+ id: z.ZodString;
514
+ runtime: z.ZodEnum<{
515
+ php: "php";
516
+ quickjs: "quickjs";
517
+ }>;
518
+ artifact: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
519
+ export: z.ZodString;
520
+ }, z.core.$strict>;
521
+ export type ContentExecutableRefV1 = z.infer<typeof contentExecutableRefV1Schema>;
522
+ export declare const contentSyncBindingV1Schema: z.ZodObject<{
523
+ id: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
524
+ resourceId: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
525
+ fieldId: z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">;
526
+ source: z.ZodString;
527
+ slug: z.ZodString;
528
+ }, z.core.$strict>;
529
+ export type ContentSyncBindingV1 = z.infer<typeof contentSyncBindingV1Schema>;
530
+ export declare const contentProgramReleaseV1Schema: z.ZodObject<{
531
+ format: z.ZodLiteral<"spacefast.zero-wordpress">;
532
+ version: z.ZodLiteral<1>;
533
+ revision: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
534
+ schemas: z.ZodArray<z.ZodObject<{
535
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
536
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
537
+ schema: z.ZodType<ContentProgramJsonValue, unknown, z.core.$ZodTypeInternals<ContentProgramJsonValue, unknown>>;
538
+ }, z.core.$strict>>;
539
+ wordpress: z.ZodObject<{
540
+ format: z.ZodLiteral<"spacefast.wordpress-program">;
541
+ version: z.ZodLiteral<1>;
542
+ resources: z.ZodArray<z.ZodObject<{
543
+ id: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
544
+ name: z.ZodString;
545
+ label: z.ZodString;
546
+ kind: z.ZodEnum<{
547
+ media: "media";
548
+ posts: "posts";
549
+ pages: "pages";
550
+ collection: "collection";
551
+ }>;
552
+ fields: z.ZodArray<z.ZodObject<{
553
+ id: z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">;
554
+ name: z.ZodString;
555
+ label: z.ZodString;
556
+ required: z.ZodBoolean;
557
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
558
+ kind: z.ZodLiteral<"text">;
559
+ multiline: z.ZodBoolean;
560
+ maxLength: z.ZodNullable<z.ZodNumber>;
561
+ }, z.core.$strict>, z.ZodObject<{
562
+ kind: z.ZodLiteral<"number">;
563
+ }, z.core.$strict>, z.ZodObject<{
564
+ kind: z.ZodLiteral<"boolean">;
565
+ }, z.core.$strict>, z.ZodObject<{
566
+ kind: z.ZodLiteral<"datetime">;
567
+ }, z.core.$strict>, z.ZodObject<{
568
+ kind: z.ZodLiteral<"blocks">;
569
+ allowed: z.ZodUnion<readonly [z.ZodLiteral<"any">, z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentComponentId", "out">>]>;
570
+ }, z.core.$strict>, z.ZodObject<{
571
+ kind: z.ZodLiteral<"media">;
572
+ multiple: z.ZodBoolean;
573
+ }, z.core.$strict>, z.ZodObject<{
574
+ kind: z.ZodLiteral<"reference">;
575
+ target: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
576
+ multiple: z.ZodBoolean;
577
+ }, z.core.$strict>, z.ZodObject<{
578
+ kind: z.ZodLiteral<"enum">;
579
+ values: z.ZodArray<z.ZodString>;
580
+ multiple: z.ZodBoolean;
581
+ }, z.core.$strict>], "kind">;
582
+ }, z.core.$strict>>;
583
+ publicRead: z.ZodBoolean;
584
+ }, z.core.$strict>>;
585
+ }, z.core.$strict>;
586
+ tables: z.ZodArray<z.ZodObject<{
587
+ id: z.core.$ZodBranded<z.ZodString, "ContentTableId", "out">;
588
+ name: z.ZodString;
589
+ columns: z.ZodArray<z.ZodObject<{
590
+ id: z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">;
591
+ name: z.ZodString;
592
+ nullable: z.ZodBoolean;
593
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
594
+ kind: z.ZodLiteral<"string">;
595
+ maxLength: z.ZodNullable<z.ZodNumber>;
596
+ }, z.core.$strict>, z.ZodObject<{
597
+ kind: z.ZodLiteral<"number">;
598
+ }, z.core.$strict>, z.ZodObject<{
599
+ kind: z.ZodLiteral<"boolean">;
600
+ }, z.core.$strict>, z.ZodObject<{
601
+ kind: z.ZodLiteral<"datetime">;
602
+ }, z.core.$strict>, z.ZodObject<{
603
+ kind: z.ZodLiteral<"json">;
604
+ }, z.core.$strict>], "kind">;
605
+ }, z.core.$strict>>;
606
+ indexes: z.ZodArray<z.ZodObject<{
607
+ id: z.ZodString;
608
+ fields: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">>;
609
+ unique: z.ZodBoolean;
610
+ }, z.core.$strict>>;
611
+ }, z.core.$strict>>;
612
+ abilities: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
613
+ kind: z.ZodLiteral<"query">;
614
+ mode: z.ZodLiteral<"read">;
615
+ id: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
616
+ input: z.ZodObject<{
617
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
618
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
619
+ }, z.core.$strict>;
620
+ output: z.ZodObject<{
621
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
622
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
623
+ }, z.core.$strict>;
624
+ permits: z.ZodArray<z.ZodEnum<{
625
+ "page.view": "page.view";
626
+ "comments.read": "comments.read";
627
+ "comments.write": "comments.write";
628
+ "content.publish": "content.publish";
629
+ "access.manage": "access.manage";
630
+ }>>;
631
+ reads: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">>;
632
+ writes: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">>;
633
+ exposure: z.ZodDiscriminatedUnion<[z.ZodObject<{
634
+ kind: z.ZodLiteral<"named">;
635
+ named: z.ZodLiteral<true>;
636
+ }, z.core.$strict>, z.ZodObject<{
637
+ kind: z.ZodLiteral<"routed">;
638
+ named: z.ZodLiteral<true>;
639
+ route: z.ZodObject<{
640
+ id: z.ZodString;
641
+ method: z.ZodEnum<{
642
+ POST: "POST";
643
+ PUT: "PUT";
644
+ GET: "GET";
645
+ HEAD: "HEAD";
646
+ PATCH: "PATCH";
647
+ DELETE: "DELETE";
648
+ OPTIONS: "OPTIONS";
649
+ }>;
650
+ path: z.ZodString;
651
+ admission: z.ZodEnum<{
652
+ public: "public";
653
+ authenticated: "authenticated";
654
+ }>;
655
+ }, z.core.$strict>;
656
+ }, z.core.$strict>], "kind">;
657
+ cache: z.ZodDiscriminatedUnion<[z.ZodObject<{
658
+ kind: z.ZodLiteral<"none">;
659
+ }, z.core.$strict>, z.ZodObject<{
660
+ kind: z.ZodLiteral<"private">;
661
+ maxAgeSeconds: z.ZodNumber;
662
+ }, z.core.$strict>, z.ZodObject<{
663
+ kind: z.ZodLiteral<"public">;
664
+ maxAgeSeconds: z.ZodNumber;
665
+ staleWhileRevalidateSeconds: z.ZodNumber;
666
+ }, z.core.$strict>], "kind">;
667
+ }, z.core.$strict>, z.ZodObject<{
668
+ kind: z.ZodLiteral<"mutation">;
669
+ mode: z.ZodLiteral<"write">;
670
+ id: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
671
+ input: z.ZodObject<{
672
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
673
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
674
+ }, z.core.$strict>;
675
+ output: z.ZodObject<{
676
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
677
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
678
+ }, z.core.$strict>;
679
+ permits: z.ZodArray<z.ZodEnum<{
680
+ "page.view": "page.view";
681
+ "comments.read": "comments.read";
682
+ "comments.write": "comments.write";
683
+ "content.publish": "content.publish";
684
+ "access.manage": "access.manage";
685
+ }>>;
686
+ reads: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">>;
687
+ writes: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">>;
688
+ exposure: z.ZodDiscriminatedUnion<[z.ZodObject<{
689
+ kind: z.ZodLiteral<"named">;
690
+ named: z.ZodLiteral<true>;
691
+ }, z.core.$strict>, z.ZodObject<{
692
+ kind: z.ZodLiteral<"routed">;
693
+ named: z.ZodLiteral<true>;
694
+ route: z.ZodObject<{
695
+ id: z.ZodString;
696
+ method: z.ZodEnum<{
697
+ POST: "POST";
698
+ PUT: "PUT";
699
+ GET: "GET";
700
+ HEAD: "HEAD";
701
+ PATCH: "PATCH";
702
+ DELETE: "DELETE";
703
+ OPTIONS: "OPTIONS";
704
+ }>;
705
+ path: z.ZodString;
706
+ admission: z.ZodEnum<{
707
+ public: "public";
708
+ authenticated: "authenticated";
709
+ }>;
710
+ }, z.core.$strict>;
711
+ }, z.core.$strict>], "kind">;
712
+ cache: z.ZodDiscriminatedUnion<[z.ZodObject<{
713
+ kind: z.ZodLiteral<"none">;
714
+ }, z.core.$strict>, z.ZodObject<{
715
+ kind: z.ZodLiteral<"private">;
716
+ maxAgeSeconds: z.ZodNumber;
717
+ }, z.core.$strict>, z.ZodObject<{
718
+ kind: z.ZodLiteral<"public">;
719
+ maxAgeSeconds: z.ZodNumber;
720
+ staleWhileRevalidateSeconds: z.ZodNumber;
721
+ }, z.core.$strict>], "kind">;
722
+ }, z.core.$strict>, z.ZodObject<{
723
+ kind: z.ZodLiteral<"endpoint">;
724
+ mode: z.ZodEnum<{
725
+ read: "read";
726
+ write: "write";
727
+ }>;
728
+ id: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
729
+ input: z.ZodObject<{
730
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
731
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
732
+ }, z.core.$strict>;
733
+ output: z.ZodObject<{
734
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
735
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
736
+ }, z.core.$strict>;
737
+ permits: z.ZodArray<z.ZodEnum<{
738
+ "page.view": "page.view";
739
+ "comments.read": "comments.read";
740
+ "comments.write": "comments.write";
741
+ "content.publish": "content.publish";
742
+ "access.manage": "access.manage";
743
+ }>>;
744
+ reads: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">>;
745
+ writes: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentResourceRef", "out">>;
746
+ exposure: z.ZodDiscriminatedUnion<[z.ZodObject<{
747
+ kind: z.ZodLiteral<"named">;
748
+ named: z.ZodLiteral<true>;
749
+ }, z.core.$strict>, z.ZodObject<{
750
+ kind: z.ZodLiteral<"routed">;
751
+ named: z.ZodLiteral<true>;
752
+ route: z.ZodObject<{
753
+ id: z.ZodString;
754
+ method: z.ZodEnum<{
755
+ POST: "POST";
756
+ PUT: "PUT";
757
+ GET: "GET";
758
+ HEAD: "HEAD";
759
+ PATCH: "PATCH";
760
+ DELETE: "DELETE";
761
+ OPTIONS: "OPTIONS";
762
+ }>;
763
+ path: z.ZodString;
764
+ admission: z.ZodEnum<{
765
+ public: "public";
766
+ authenticated: "authenticated";
767
+ }>;
768
+ }, z.core.$strict>;
769
+ }, z.core.$strict>], "kind">;
770
+ cache: z.ZodDiscriminatedUnion<[z.ZodObject<{
771
+ kind: z.ZodLiteral<"none">;
772
+ }, z.core.$strict>, z.ZodObject<{
773
+ kind: z.ZodLiteral<"private">;
774
+ maxAgeSeconds: z.ZodNumber;
775
+ }, z.core.$strict>, z.ZodObject<{
776
+ kind: z.ZodLiteral<"public">;
777
+ maxAgeSeconds: z.ZodNumber;
778
+ staleWhileRevalidateSeconds: z.ZodNumber;
779
+ }, z.core.$strict>], "kind">;
780
+ }, z.core.$strict>], "kind">>;
781
+ pages: z.ZodArray<z.ZodObject<{
782
+ id: z.ZodString;
783
+ sourceKey: z.ZodString;
784
+ path: z.ZodString;
785
+ title: z.ZodString;
786
+ blockName: z.ZodLiteral<"zero/component">;
787
+ componentId: z.core.$ZodBranded<z.ZodString, "ContentComponentId", "out">;
788
+ props: z.ZodObject<{
789
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
790
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
791
+ }, z.core.$strict>;
792
+ }, z.core.$strict>>;
793
+ hooks: z.ZodArray<z.ZodObject<{
794
+ id: z.ZodString;
795
+ runtime: z.ZodEnum<{
796
+ php: "php";
797
+ quickjs: "quickjs";
798
+ }>;
799
+ artifact: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
800
+ export: z.ZodString;
801
+ }, z.core.$strict>>;
802
+ syncBindings: z.ZodArray<z.ZodObject<{
803
+ id: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
804
+ resourceId: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
805
+ fieldId: z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">;
806
+ source: z.ZodString;
807
+ slug: z.ZodString;
808
+ }, z.core.$strict>>;
809
+ }, z.core.$strict>;
810
+ export type ContentProgramReleaseV1 = z.infer<typeof contentProgramReleaseV1Schema>;
811
+ export declare const CONTENT_PROGRAM_ARTIFACT_FORMATS: {
812
+ readonly program: "spacefast.zero-wordpress";
813
+ readonly executables: "spacefast.zero-executables";
814
+ readonly sdk: "spacefast.sdk-descriptors";
815
+ readonly routes: "spacefast.route-contributions";
816
+ readonly requirements: "spacefast.program-requirements";
817
+ };
818
+ export type ContentProgramArtifactFormat = (typeof CONTENT_PROGRAM_ARTIFACT_FORMATS)[keyof typeof CONTENT_PROGRAM_ARTIFACT_FORMATS];
819
+ export type ContentProgramArtifactRef<Format extends ContentProgramArtifactFormat, Version extends number> = Readonly<{
820
+ format: Format;
821
+ version: Version;
822
+ inputDigest: ContentProgramSha256;
823
+ sha256: ContentProgramSha256;
824
+ bytes: number;
825
+ mediaType: "application/json";
826
+ }>;
827
+ export declare function contentProgramArtifactRefSchema<Format extends ContentProgramArtifactFormat>(format: Format): z.ZodObject<{
828
+ format: z.ZodLiteral<Format>;
829
+ version: z.ZodLiteral<1>;
830
+ inputDigest: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
831
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
832
+ bytes: z.ZodNumber;
833
+ mediaType: z.ZodLiteral<"application/json">;
834
+ }, z.core.$strict>;
835
+ export declare const compiledContentProgramV1Schema: z.ZodObject<{
836
+ format: z.ZodLiteral<"spacefast.compiled-program">;
837
+ version: z.ZodLiteral<1>;
838
+ program: z.ZodObject<{
839
+ format: z.ZodLiteral<"spacefast.zero-wordpress">;
840
+ version: z.ZodLiteral<1>;
841
+ inputDigest: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
842
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
843
+ bytes: z.ZodNumber;
844
+ mediaType: z.ZodLiteral<"application/json">;
845
+ }, z.core.$strict>;
846
+ executables: z.ZodObject<{
847
+ format: z.ZodLiteral<"spacefast.zero-executables">;
848
+ version: z.ZodLiteral<1>;
849
+ inputDigest: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
850
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
851
+ bytes: z.ZodNumber;
852
+ mediaType: z.ZodLiteral<"application/json">;
853
+ }, z.core.$strict>;
854
+ sdk: z.ZodObject<{
855
+ format: z.ZodLiteral<"spacefast.sdk-descriptors">;
856
+ version: z.ZodLiteral<1>;
857
+ inputDigest: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
858
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
859
+ bytes: z.ZodNumber;
860
+ mediaType: z.ZodLiteral<"application/json">;
861
+ }, z.core.$strict>;
862
+ routes: z.ZodObject<{
863
+ format: z.ZodLiteral<"spacefast.route-contributions">;
864
+ version: z.ZodLiteral<1>;
865
+ inputDigest: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
866
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
867
+ bytes: z.ZodNumber;
868
+ mediaType: z.ZodLiteral<"application/json">;
869
+ }, z.core.$strict>;
870
+ requirements: z.ZodObject<{
871
+ format: z.ZodLiteral<"spacefast.program-requirements">;
872
+ version: z.ZodLiteral<1>;
873
+ inputDigest: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
874
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
875
+ bytes: z.ZodNumber;
876
+ mediaType: z.ZodLiteral<"application/json">;
877
+ }, z.core.$strict>;
878
+ }, z.core.$strict>;
879
+ export type CompiledContentProgramV1 = z.infer<typeof compiledContentProgramV1Schema>;
880
+ export declare const contentExecutableSetV1Schema: z.ZodObject<{
881
+ format: z.ZodLiteral<"spacefast.zero-executables">;
882
+ version: z.ZodLiteral<1>;
883
+ inputDigest: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
884
+ executables: z.ZodArray<z.ZodObject<{
885
+ id: z.ZodString;
886
+ runtime: z.ZodEnum<{
887
+ php: "php";
888
+ quickjs: "quickjs";
889
+ }>;
890
+ artifact: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
891
+ export: z.ZodString;
892
+ }, z.core.$strict>>;
893
+ }, z.core.$strict>;
894
+ export declare const contentSdkDescriptorSetV1Schema: z.ZodObject<{
895
+ format: z.ZodLiteral<"spacefast.sdk-descriptors">;
896
+ version: z.ZodLiteral<1>;
897
+ inputDigest: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
898
+ operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
899
+ id: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
900
+ kind: z.ZodLiteral<"query">;
901
+ mode: z.ZodLiteral<"read">;
902
+ input: z.ZodObject<{
903
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
904
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
905
+ }, z.core.$strict>;
906
+ output: z.ZodObject<{
907
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
908
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
909
+ }, z.core.$strict>;
910
+ cache: z.ZodDiscriminatedUnion<[z.ZodObject<{
911
+ kind: z.ZodLiteral<"none">;
912
+ }, z.core.$strict>, z.ZodObject<{
913
+ kind: z.ZodLiteral<"private">;
914
+ maxAgeSeconds: z.ZodNumber;
915
+ }, z.core.$strict>, z.ZodObject<{
916
+ kind: z.ZodLiteral<"public">;
917
+ maxAgeSeconds: z.ZodNumber;
918
+ staleWhileRevalidateSeconds: z.ZodNumber;
919
+ }, z.core.$strict>], "kind">;
920
+ invalidates: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">>;
921
+ }, z.core.$strict>, z.ZodObject<{
922
+ id: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
923
+ kind: z.ZodLiteral<"mutation">;
924
+ mode: z.ZodLiteral<"write">;
925
+ input: z.ZodObject<{
926
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
927
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
928
+ }, z.core.$strict>;
929
+ output: z.ZodObject<{
930
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
931
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
932
+ }, z.core.$strict>;
933
+ cache: z.ZodObject<{
934
+ kind: z.ZodLiteral<"none">;
935
+ }, z.core.$strict>;
936
+ invalidates: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">>;
937
+ }, z.core.$strict>, z.ZodObject<{
938
+ id: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
939
+ kind: z.ZodLiteral<"endpoint">;
940
+ mode: z.ZodEnum<{
941
+ read: "read";
942
+ write: "write";
943
+ }>;
944
+ input: z.ZodObject<{
945
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
946
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
947
+ }, z.core.$strict>;
948
+ output: z.ZodObject<{
949
+ id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
950
+ sha256: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
951
+ }, z.core.$strict>;
952
+ cache: z.ZodDiscriminatedUnion<[z.ZodObject<{
953
+ kind: z.ZodLiteral<"none">;
954
+ }, z.core.$strict>, z.ZodObject<{
955
+ kind: z.ZodLiteral<"private">;
956
+ maxAgeSeconds: z.ZodNumber;
957
+ }, z.core.$strict>, z.ZodObject<{
958
+ kind: z.ZodLiteral<"public">;
959
+ maxAgeSeconds: z.ZodNumber;
960
+ staleWhileRevalidateSeconds: z.ZodNumber;
961
+ }, z.core.$strict>], "kind">;
962
+ invalidates: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">>;
963
+ }, z.core.$strict>], "kind">>;
964
+ sync: z.ZodArray<z.ZodObject<{
965
+ id: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
966
+ resourceId: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
967
+ source: z.ZodString;
968
+ }, z.core.$strict>>;
969
+ }, z.core.$strict>;
970
+ export declare const contentRouteContributionSetV1Schema: z.ZodObject<{
971
+ format: z.ZodLiteral<"spacefast.route-contributions">;
972
+ version: z.ZodLiteral<1>;
973
+ inputDigest: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
974
+ routes: z.ZodArray<z.ZodObject<{
975
+ abilityId: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
976
+ route: z.ZodObject<{
977
+ id: z.ZodString;
978
+ method: z.ZodEnum<{
979
+ POST: "POST";
980
+ PUT: "PUT";
981
+ GET: "GET";
982
+ HEAD: "HEAD";
983
+ PATCH: "PATCH";
984
+ DELETE: "DELETE";
985
+ OPTIONS: "OPTIONS";
986
+ }>;
987
+ path: z.ZodString;
988
+ admission: z.ZodEnum<{
989
+ public: "public";
990
+ authenticated: "authenticated";
991
+ }>;
992
+ }, z.core.$strict>;
993
+ }, z.core.$strict>>;
994
+ }, z.core.$strict>;