@spacefast/common 0.0.12 → 0.0.17

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 (189) hide show
  1. package/dist/agents/client-registry.d.ts +22 -0
  2. package/dist/agents/client-registry.js +41 -0
  3. package/dist/agents/connect-targets.d.ts +51 -6
  4. package/dist/agents/connect-targets.js +93 -28
  5. package/dist/brand.d.ts +0 -11
  6. package/dist/brand.js +0 -20
  7. package/dist/config/domains.d.ts +15 -6
  8. package/dist/config/domains.js +24 -10
  9. package/dist/config/postgres-budget.d.ts +3 -0
  10. package/dist/config/postgres-budget.js +6 -1
  11. package/dist/config/postgres-budget.json +2 -1
  12. package/dist/contracts/abuse.js +1 -1
  13. package/dist/contracts/access.d.ts +486 -1196
  14. package/dist/contracts/access.js +323 -1054
  15. package/dist/contracts/activity.d.ts +1 -1
  16. package/dist/contracts/activity.js +11 -15
  17. package/dist/contracts/api-keys.d.ts +16 -0
  18. package/dist/contracts/api-keys.js +11 -9
  19. package/dist/contracts/archives.d.ts +1 -2
  20. package/dist/contracts/archives.js +15 -17
  21. package/dist/contracts/beta.js +1 -1
  22. package/dist/contracts/builds.js +14 -14
  23. package/dist/contracts/channels.js +2 -2
  24. package/dist/contracts/comments.d.ts +143 -99
  25. package/dist/contracts/comments.js +194 -79
  26. package/dist/contracts/common.d.ts +12 -12
  27. package/dist/contracts/common.js +33 -30
  28. package/dist/contracts/continuation.js +5 -5
  29. package/dist/contracts/countries.js +2 -7
  30. package/dist/contracts/data-source-routes.d.ts +20 -0
  31. package/dist/contracts/data-source-routes.js +15 -0
  32. package/dist/contracts/device-auth.d.ts +13 -9
  33. package/dist/contracts/device-auth.js +12 -12
  34. package/dist/contracts/docs.d.ts +10 -10
  35. package/dist/contracts/domains.js +39 -33
  36. package/dist/contracts/enums.d.ts +4 -14
  37. package/dist/contracts/enums.js +3 -10
  38. package/dist/contracts/error-code-meta.d.ts +122 -56
  39. package/dist/contracts/error-code-meta.js +43 -19
  40. package/dist/contracts/error-codes.d.ts +7 -4
  41. package/dist/contracts/error-codes.js +48 -24
  42. package/dist/contracts/events.d.ts +22 -15
  43. package/dist/contracts/events.js +33 -5
  44. package/dist/contracts/execution.d.ts +238 -0
  45. package/dist/contracts/execution.js +309 -0
  46. package/dist/contracts/feature-lifecycle.d.ts +39 -188
  47. package/dist/contracts/feature-lifecycle.js +52 -196
  48. package/dist/contracts/features.d.ts +13 -115
  49. package/dist/contracts/features.js +5 -35
  50. package/dist/contracts/functions.d.ts +597 -0
  51. package/dist/contracts/functions.js +475 -0
  52. package/dist/contracts/grants.d.ts +1175 -0
  53. package/dist/contracts/grants.js +783 -0
  54. package/dist/contracts/ids.d.ts +7 -5
  55. package/dist/contracts/ids.js +7 -7
  56. package/dist/contracts/internal.js +2 -2
  57. package/dist/contracts/mcp.d.ts +17 -556
  58. package/dist/contracts/mcp.js +9 -103
  59. package/dist/contracts/me.js +3 -4
  60. package/dist/contracts/notifications.d.ts +108 -0
  61. package/dist/contracts/notifications.js +54 -0
  62. package/dist/contracts/oauth-resources.d.ts +22 -5
  63. package/dist/contracts/oauth-resources.js +23 -2
  64. package/dist/contracts/operations.d.ts +0 -48
  65. package/dist/contracts/operations.js +0 -19
  66. package/dist/contracts/pages.d.ts +10 -14
  67. package/dist/contracts/pages.js +17 -21
  68. package/dist/contracts/plan-policy.d.ts +1 -8
  69. package/dist/contracts/plan-policy.js +1 -4
  70. package/dist/contracts/platform.d.ts +78 -30
  71. package/dist/contracts/platform.js +69 -20
  72. package/dist/contracts/problem-document.d.ts +14 -0
  73. package/dist/contracts/problem-document.js +35 -0
  74. package/dist/contracts/push-new.d.ts +41 -2
  75. package/dist/contracts/push-new.js +4 -0
  76. package/dist/contracts/quotas.d.ts +0 -1
  77. package/dist/contracts/quotas.js +0 -5
  78. package/dist/contracts/repository-connections.d.ts +1 -1
  79. package/dist/contracts/resources.d.ts +16 -71
  80. package/dist/contracts/resources.js +13 -16
  81. package/dist/contracts/runtime-api.d.ts +666 -303
  82. package/dist/contracts/runtime-api.js +272 -113
  83. package/dist/contracts/runtime-app.d.ts +168 -0
  84. package/dist/contracts/runtime-app.js +42 -0
  85. package/dist/contracts/runtime-db.d.ts +424 -0
  86. package/dist/contracts/runtime-db.js +108 -0
  87. package/dist/contracts/runtime-storage.d.ts +120 -0
  88. package/dist/contracts/runtime-storage.js +40 -0
  89. package/dist/contracts/sf-config-v1.d.ts +54 -1
  90. package/dist/contracts/sf-config-v1.js +2 -2
  91. package/dist/contracts/sites.d.ts +6 -0
  92. package/dist/contracts/sites.js +30 -11
  93. package/dist/contracts/space-config.d.ts +91 -121
  94. package/dist/contracts/space-config.js +464 -42
  95. package/dist/contracts/spaces.d.ts +300 -171
  96. package/dist/contracts/spaces.js +128 -98
  97. package/dist/contracts/superadmin-emails.d.ts +2 -2
  98. package/dist/contracts/superadmin-spaces.d.ts +26 -130
  99. package/dist/contracts/superadmin-spaces.js +22 -0
  100. package/dist/contracts/superadmin-tenants.js +4 -4
  101. package/dist/contracts/superadmin.d.ts +4 -0
  102. package/dist/contracts/superadmin.js +14 -1
  103. package/dist/contracts/tags.d.ts +6 -6
  104. package/dist/contracts/tags.js +1 -1
  105. package/dist/contracts/teams.d.ts +9 -9
  106. package/dist/contracts/teams.js +25 -16
  107. package/dist/contracts/theme-json.js +1 -1
  108. package/dist/contracts/transfers.d.ts +0 -1
  109. package/dist/contracts/transfers.js +4 -4
  110. package/dist/contracts/variables.js +3 -3
  111. package/dist/contracts/zero.d.ts +384 -596
  112. package/dist/contracts/zero.js +167 -299
  113. package/dist/dashboard-paths/index.d.ts +18 -3
  114. package/dist/dashboard-paths/index.js +19 -0
  115. package/dist/docs/agent-handoff-document.d.ts +2 -2
  116. package/dist/docs/agent-handoff-document.js +8 -7
  117. package/dist/docs/agent-prose.d.ts +22 -3
  118. package/dist/docs/agent-prose.js +227 -55
  119. package/dist/docs/agent-setup.d.ts +14 -11
  120. package/dist/docs/agent-setup.js +289 -61
  121. package/dist/docs/agent-solutions.d.ts +6 -6
  122. package/dist/docs/agent-solutions.js +24 -22
  123. package/dist/docs/catalog.d.ts +53 -98
  124. package/dist/docs/catalog.js +90 -117
  125. package/dist/docs/error-docs.js +304 -236
  126. package/dist/docs/skill-distribution.d.ts +2 -0
  127. package/dist/docs/skill-distribution.js +7 -4
  128. package/dist/docs/skills.d.ts +546 -0
  129. package/dist/docs/skills.js +340 -0
  130. package/dist/utils/auth-redirect.d.ts +1 -3
  131. package/dist/utils/auth-redirect.js +1 -21
  132. package/dist/utils/browser-credential.d.ts +19 -0
  133. package/dist/utils/browser-credential.js +62 -0
  134. package/dist/utils/build-settings.d.ts +2 -0
  135. package/dist/utils/build-settings.js +61 -9
  136. package/dist/utils/comment-avatars.d.ts +7 -0
  137. package/dist/utils/comment-avatars.js +42 -0
  138. package/dist/utils/content-type.d.ts +3 -3
  139. package/dist/utils/content-type.js +38 -61
  140. package/dist/utils/credential-policy.d.ts +1 -1
  141. package/dist/utils/credential-policy.js +4 -0
  142. package/dist/utils/domain-diagnostics.d.ts +5 -5
  143. package/dist/utils/domain-diagnostics.js +21 -10
  144. package/dist/utils/egress-policy.fixtures.json +1 -1
  145. package/dist/utils/grants.d.ts +53 -0
  146. package/dist/utils/grants.js +160 -0
  147. package/dist/utils/local-space-state.d.ts +78 -4
  148. package/dist/utils/local-space-state.js +384 -82
  149. package/dist/utils/one-shot-replay.d.ts +14 -0
  150. package/dist/utils/one-shot-replay.js +21 -0
  151. package/dist/utils/page-preview.d.ts +7 -0
  152. package/dist/utils/page-preview.js +9 -0
  153. package/dist/utils/pages.d.ts +2 -5
  154. package/dist/utils/pages.js +64 -33
  155. package/dist/utils/publish-form-data.d.ts +22 -0
  156. package/dist/utils/publish-form-data.js +26 -0
  157. package/dist/utils/publish-policy.d.ts +34 -4
  158. package/dist/utils/publish-policy.js +149 -62
  159. package/dist/utils/query-keys.d.ts +8 -10
  160. package/dist/utils/query-keys.js +14 -10
  161. package/dist/utils/runtime-paths.d.ts +3 -0
  162. package/dist/utils/runtime-paths.js +7 -0
  163. package/dist/utils/secure-local-file.d.ts +73 -0
  164. package/dist/utils/secure-local-file.js +1373 -0
  165. package/dist/utils/space-config.d.ts +17 -4
  166. package/dist/utils/space-config.js +151 -8
  167. package/dist/utils/static-runtime-policy.d.ts +5 -0
  168. package/dist/utils/static-runtime-policy.js +54 -10
  169. package/dist/utils/storage-policy.d.ts +20 -0
  170. package/dist/utils/storage-policy.fixtures.json +174 -0
  171. package/dist/utils/storage-policy.js +193 -0
  172. package/dist/utils/upload-session.d.ts +15 -1
  173. package/dist/utils/upload-session.js +68 -2
  174. package/dist/utils/version-file-browser.d.ts +13 -0
  175. package/dist/utils/version-file-browser.js +59 -0
  176. package/package.json +20 -1
  177. package/dist/contracts/mounts.d.ts +0 -142
  178. package/dist/contracts/mounts.js +0 -56
  179. package/dist/utils/access-grant.d.ts +0 -14
  180. package/dist/utils/access-grant.js +0 -88
  181. package/dist/utils/access-match.d.ts +0 -46
  182. package/dist/utils/access-match.fixtures.json +0 -513
  183. package/dist/utils/access-match.js +0 -312
  184. package/dist/utils/access-verdict.fixtures.json +0 -421
  185. package/dist/utils/asset-fingerprint.d.ts +0 -53
  186. package/dist/utils/asset-fingerprint.js +0 -574
  187. package/dist/utils/sf-config-v1.d.ts +0 -2
  188. package/dist/utils/sf-config-v1.fixtures.json +0 -9
  189. package/dist/utils/sf-config-v1.js +0 -551
@@ -17,14 +17,16 @@ export declare const SPACE_CONFIG_CAPS: {
17
17
  readonly injectSnippetBytes: number;
18
18
  /** Max snippets per `inject` array. */
19
19
  readonly injectSnippets: 16;
20
- /** Max `access.rules` entries in the file lane. */
21
- readonly accessRules: 100;
20
+ /** Max public WordPress sources exposed to repository builds. */
21
+ readonly dataSources: 32;
22
22
  /** Max `theme` color token length. */
23
23
  readonly themeColorChars: 64;
24
24
  /** Max `theme.logo` URL/path length. */
25
25
  readonly themeLogoChars: 2000;
26
26
  /** Max `theme.name` display-name length. */
27
27
  readonly themeNameChars: 120;
28
+ /** Max top-level `name` (space display name) length. Matches the stored column. */
29
+ readonly nameChars: 255;
28
30
  };
29
31
  /** Published JSON Schema URL for `sf.jsonc` ($schema autocomplete). */
30
32
  export declare const SPACE_CONFIG_SCHEMA_URL: string;
@@ -63,6 +65,17 @@ export declare const spacePlacementConfigSchema: z.ZodObject<{
63
65
  burstable: z.ZodOptional<z.ZodBoolean>;
64
66
  }, z.core.$strict>;
65
67
  export type SpacePlacementConfig = z.infer<typeof spacePlacementConfigSchema>;
68
+ export declare const dataSourceNameSchema: z.ZodString;
69
+ export declare const wordpressDataSourceUrlSchema: z.ZodString;
70
+ export declare const wordpressDataSourceSchema: z.ZodObject<{
71
+ kind: z.ZodLiteral<"wordpress">;
72
+ url: z.ZodString;
73
+ }, z.core.$strict>;
74
+ export type WordPressDataSource = z.infer<typeof wordpressDataSourceSchema>;
75
+ export declare const spaceDataSourcesSchema: z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
76
+ kind: z.ZodLiteral<"wordpress">;
77
+ url: z.ZodString;
78
+ }, z.core.$strict>>>;
66
79
  export declare const spaceConfigSchema: z.ZodObject<{
67
80
  index: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
68
81
  fallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -141,70 +154,71 @@ export declare const spaceConfigSchema: z.ZodObject<{
141
154
  bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
142
155
  noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
143
156
  }, z.core.$strip>>;
157
+ dataSources: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
158
+ kind: z.ZodLiteral<"wordpress">;
159
+ url: z.ZodString;
160
+ }, z.core.$strict>>>>;
161
+ defaultDataSource: z.ZodOptional<z.ZodString>;
144
162
  }, z.core.$strip>;
145
163
  export type SpaceConfig = z.infer<typeof spaceConfigSchema>;
164
+ export declare function compareDataSourceNames(left: string, right: string): number;
165
+ export declare function resolveDefaultDataSourceName(config: Pick<SpaceConfig, "dataSources" | "defaultDataSource"> | null | undefined): string | null;
146
166
  export declare function spaceSuperpowersEnabled(config: SpaceConfig | null | undefined): boolean;
147
- export declare const spaceAccessConfigSchema: z.ZodObject<{
148
- rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
149
- id: z.ZodOptional<z.ZodString>;
150
- match: z.ZodDefault<z.ZodObject<{
151
- host: z.ZodOptional<z.ZodString>;
152
- hostPattern: z.ZodOptional<z.ZodString>;
153
- hostTemplate: z.ZodOptional<z.ZodString>;
154
- pathPattern: z.ZodOptional<z.ZodString>;
155
- channel: z.ZodOptional<z.ZodString>;
156
- ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
157
- agent: z.ZodOptional<z.ZodString>;
158
- country: z.ZodOptional<z.ZodString>;
159
- countryNotIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
160
- header: z.ZodOptional<z.ZodObject<{
161
- name: z.ZodString;
162
- value: z.ZodString;
163
- }, z.core.$strip>>;
164
- }, z.core.$strip>>;
165
- effect: z.ZodEnum<{
166
- allow: "allow";
167
- deny: "deny";
168
- challenge: "challenge";
169
- }>;
170
- auth: z.ZodOptional<z.ZodObject<{
171
- requiredGrants: z.ZodArray<z.ZodString>;
172
- issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
173
- kid: z.ZodString;
174
- alg: z.ZodLiteral<"EdDSA">;
175
- publicKey: z.ZodString;
176
- grantNamespaces: z.ZodArray<z.ZodString>;
177
- }, z.core.$strip>>>;
178
- acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
179
- type: z.ZodLiteral<"password">;
180
- ref: z.ZodString;
181
- transport: z.ZodEnum<{
182
- basic: "basic";
183
- form: "form";
184
- }>;
185
- username: z.ZodOptional<z.ZodString>;
186
- }, z.core.$strip>, z.ZodObject<{
187
- type: z.ZodLiteral<"login">;
188
- url: z.ZodString;
189
- label: z.ZodOptional<z.ZodString>;
190
- }, z.core.$strip>], "type">>>;
191
- }, z.core.$strip>>;
192
- managedBy: z.ZodOptional<z.ZodEnum<{
193
- sharing: "sharing";
194
- firewall: "firewall";
195
- file_share: "file_share";
196
- cast_reviewer: "cast_reviewer";
197
- team_default: "team_default";
198
- }>>;
199
- expiresAt: z.ZodOptional<z.ZodNumber>;
200
- reasonCode: z.ZodOptional<z.ZodString>;
201
- message: z.ZodOptional<z.ZodString>;
202
- }, z.core.$strip>>>;
167
+ export declare const spaceConfigFileAccessSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodLiteral<"public">, z.ZodTransform<{
168
+ public: string[];
169
+ }, "public">>, z.ZodObject<{
170
+ public: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
171
+ }, z.core.$strict>]>;
172
+ export type SpaceConfigFileAccess = z.infer<typeof spaceConfigFileAccessSchema>;
173
+ /**
174
+ * Zero: a transactional app with its own database.
175
+ *
176
+ * Both entries are required because Zero is never inferred. A runtime that owns
177
+ * a database must not spring into existence from a directory shape, so the only
178
+ * way to get one is to say so — and once said, a server or client that cannot
179
+ * be resolved fails the publish rather than degrading to static files.
180
+ */
181
+ export declare const spaceRuntimeZeroSchema: z.ZodObject<{
182
+ kind: z.ZodLiteral<"zero">;
183
+ server: z.ZodString;
184
+ client: z.ZodString;
203
185
  }, z.core.$strip>;
204
- export declare const spacePublishOptionsSchema: z.ZodObject<{
205
- fingerprint: z.ZodOptional<z.ZodBoolean>;
186
+ /**
187
+ * Functions: the worker `sf publish` compiles.
188
+ *
189
+ * Every field beyond `kind` is optional because the normal case is detection: a
190
+ * project with `handler.ts` or an OpenNext build needs no configuration at all.
191
+ * These exist for the layouts detection cannot guess — a worker somewhere
192
+ * unusual, or a compatibility date the author wants pinned rather than
193
+ * defaulted.
194
+ */
195
+ export declare const spaceRuntimeFunctionsSchema: z.ZodObject<{
196
+ kind: z.ZodLiteral<"functions">;
197
+ entry: z.ZodOptional<z.ZodString>;
198
+ database: z.ZodDefault<z.ZodBoolean>;
199
+ compatibilityDate: z.ZodOptional<z.ZodString>;
206
200
  }, z.core.$strip>;
207
- export type SpacePublishOptions = z.infer<typeof spacePublishOptionsSchema>;
201
+ /**
202
+ * The one runtime declaration, discriminated on `kind`.
203
+ *
204
+ * One block, one kind — a version cannot express two runtimes at once, so the
205
+ * ambiguity never has to be resolved downstream. File-only on purpose: a
206
+ * runtime is a fact about the content of a version, so it rolls forward and
207
+ * back with the version instead of being set through the API config overlay.
208
+ */
209
+ export declare const spaceRuntimeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
210
+ kind: z.ZodLiteral<"zero">;
211
+ server: z.ZodString;
212
+ client: z.ZodString;
213
+ }, z.core.$strip>, z.ZodObject<{
214
+ kind: z.ZodLiteral<"functions">;
215
+ entry: z.ZodOptional<z.ZodString>;
216
+ database: z.ZodDefault<z.ZodBoolean>;
217
+ compatibilityDate: z.ZodOptional<z.ZodString>;
218
+ }, z.core.$strip>], "kind">;
219
+ export type SpaceRuntimeZeroConfig = z.infer<typeof spaceRuntimeZeroSchema>;
220
+ export type SpaceRuntimeFunctionsConfig = z.infer<typeof spaceRuntimeFunctionsSchema>;
221
+ export type SpaceRuntimeConfig = z.infer<typeof spaceRuntimeSchema>;
208
222
  export declare const spaceConfigFileSchema: z.ZodObject<{
209
223
  index: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
210
224
  fallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -285,66 +299,22 @@ export declare const spaceConfigFileSchema: z.ZodObject<{
285
299
  }, z.core.$strip>>;
286
300
  $schema: z.ZodOptional<z.ZodString>;
287
301
  space: z.ZodOptional<z.ZodString>;
288
- access: z.ZodOptional<z.ZodObject<{
289
- rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
290
- id: z.ZodOptional<z.ZodString>;
291
- match: z.ZodDefault<z.ZodObject<{
292
- host: z.ZodOptional<z.ZodString>;
293
- hostPattern: z.ZodOptional<z.ZodString>;
294
- hostTemplate: z.ZodOptional<z.ZodString>;
295
- pathPattern: z.ZodOptional<z.ZodString>;
296
- channel: z.ZodOptional<z.ZodString>;
297
- ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
298
- agent: z.ZodOptional<z.ZodString>;
299
- country: z.ZodOptional<z.ZodString>;
300
- countryNotIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
301
- header: z.ZodOptional<z.ZodObject<{
302
- name: z.ZodString;
303
- value: z.ZodString;
304
- }, z.core.$strip>>;
305
- }, z.core.$strip>>;
306
- effect: z.ZodEnum<{
307
- allow: "allow";
308
- deny: "deny";
309
- challenge: "challenge";
310
- }>;
311
- auth: z.ZodOptional<z.ZodObject<{
312
- requiredGrants: z.ZodArray<z.ZodString>;
313
- issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
314
- kid: z.ZodString;
315
- alg: z.ZodLiteral<"EdDSA">;
316
- publicKey: z.ZodString;
317
- grantNamespaces: z.ZodArray<z.ZodString>;
318
- }, z.core.$strip>>>;
319
- acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
320
- type: z.ZodLiteral<"password">;
321
- ref: z.ZodString;
322
- transport: z.ZodEnum<{
323
- basic: "basic";
324
- form: "form";
325
- }>;
326
- username: z.ZodOptional<z.ZodString>;
327
- }, z.core.$strip>, z.ZodObject<{
328
- type: z.ZodLiteral<"login">;
329
- url: z.ZodString;
330
- label: z.ZodOptional<z.ZodString>;
331
- }, z.core.$strip>], "type">>>;
332
- }, z.core.$strip>>;
333
- managedBy: z.ZodOptional<z.ZodEnum<{
334
- sharing: "sharing";
335
- firewall: "firewall";
336
- file_share: "file_share";
337
- cast_reviewer: "cast_reviewer";
338
- team_default: "team_default";
339
- }>>;
340
- expiresAt: z.ZodOptional<z.ZodNumber>;
341
- reasonCode: z.ZodOptional<z.ZodString>;
342
- message: z.ZodOptional<z.ZodString>;
343
- }, z.core.$strip>>>;
344
- }, z.core.$strip>>;
345
- publish: z.ZodOptional<z.ZodObject<{
346
- fingerprint: z.ZodOptional<z.ZodBoolean>;
347
- }, z.core.$strip>>;
302
+ name: z.ZodOptional<z.ZodString>;
303
+ access: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodLiteral<"public">, z.ZodTransform<{
304
+ public: string[];
305
+ }, "public">>, z.ZodObject<{
306
+ public: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
307
+ }, z.core.$strict>]>>;
308
+ runtime: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
309
+ kind: z.ZodLiteral<"zero">;
310
+ server: z.ZodString;
311
+ client: z.ZodString;
312
+ }, z.core.$strip>, z.ZodObject<{
313
+ kind: z.ZodLiteral<"functions">;
314
+ entry: z.ZodOptional<z.ZodString>;
315
+ database: z.ZodDefault<z.ZodBoolean>;
316
+ compatibilityDate: z.ZodOptional<z.ZodString>;
317
+ }, z.core.$strip>], "kind">>;
348
318
  }, z.core.$strip>;
349
319
  export type SpaceConfigFile = z.infer<typeof spaceConfigFileSchema>;
350
320
  /**