@spacefast/common 0.0.21 → 0.0.24
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.
- package/dist/agents/connect-targets.d.ts +9 -6
- package/dist/agents/connect-targets.js +9 -6
- package/dist/config/domains.d.ts +1 -1
- package/dist/config/domains.js +1 -0
- package/dist/config/index.d.ts +0 -1
- package/dist/config/index.js +0 -1
- package/dist/contracts/abuse.d.ts +2 -0
- package/dist/contracts/abuse.js +12 -0
- package/dist/contracts/access.d.ts +121 -9
- package/dist/contracts/access.js +73 -9
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +0 -9
- package/dist/contracts/api-keys.d.ts +21 -21
- package/dist/contracts/beta.js +1 -1
- package/dist/contracts/billing.d.ts +1 -34
- package/dist/contracts/billing.js +4 -53
- package/dist/contracts/builds.d.ts +8 -8
- package/dist/contracts/builds.js +10 -3
- package/dist/contracts/cli.d.ts +10 -0
- package/dist/contracts/cli.js +10 -0
- package/dist/contracts/collab-public.d.ts +63 -0
- package/dist/contracts/collab-public.js +46 -0
- package/dist/contracts/comments.d.ts +283 -54
- package/dist/contracts/comments.js +173 -52
- package/dist/contracts/common.d.ts +3 -3
- package/dist/contracts/device-auth.d.ts +6 -6
- package/dist/contracts/device-auth.js +1 -1
- package/dist/contracts/docs.d.ts +5 -5
- package/dist/contracts/domains.d.ts +36 -36
- package/dist/contracts/enums.d.ts +33 -30
- package/dist/contracts/enums.js +52 -38
- package/dist/contracts/error-code-meta.d.ts +37 -126
- package/dist/contracts/error-code-meta.js +12 -41
- package/dist/contracts/error-codes.d.ts +1 -1
- package/dist/contracts/error-codes.js +10 -32
- package/dist/contracts/execution.d.ts +35 -57
- package/dist/contracts/execution.js +41 -40
- package/dist/contracts/feature-lifecycle-core.d.ts +0 -6
- package/dist/contracts/feature-lifecycle-core.js +2 -31
- package/dist/contracts/feature-lifecycle.d.ts +8 -38
- package/dist/contracts/feature-lifecycle.js +16 -48
- package/dist/contracts/features.d.ts +15 -13
- package/dist/contracts/features.js +39 -38
- package/dist/contracts/functions.d.ts +97 -70
- package/dist/contracts/functions.js +101 -34
- package/dist/contracts/git.d.ts +1 -1
- package/dist/contracts/grants.d.ts +7 -3
- package/dist/contracts/grants.js +18 -9
- package/dist/contracts/internal.d.ts +14 -1
- package/dist/contracts/internal.js +17 -7
- package/dist/contracts/oauth-resources.d.ts +4 -3
- package/dist/contracts/oauth-resources.js +12 -3
- package/dist/contracts/operations.d.ts +90 -5
- package/dist/contracts/operations.js +75 -1
- package/dist/contracts/pages.d.ts +6 -1
- package/dist/contracts/pages.js +24 -1
- package/dist/contracts/plan-policy.d.ts +1 -3
- package/dist/contracts/plan-policy.js +1 -2
- package/dist/contracts/platform.d.ts +61 -148
- package/dist/contracts/platform.js +70 -126
- package/dist/contracts/publish-archive.d.ts +498 -0
- package/dist/contracts/publish-archive.js +25 -0
- package/dist/contracts/resources.d.ts +12 -24
- package/dist/contracts/resources.js +32 -12
- package/dist/contracts/runtime-api.d.ts +369 -175
- package/dist/contracts/runtime-api.js +372 -348
- package/dist/contracts/runtime-app.d.ts +127 -120
- package/dist/contracts/runtime-app.js +19 -10
- package/dist/contracts/runtime-db.d.ts +1 -1
- package/dist/contracts/runtime-services.d.ts +219 -0
- package/dist/contracts/runtime-services.js +437 -0
- package/dist/contracts/runtime-storage.d.ts +45 -32
- package/dist/contracts/runtime-storage.js +30 -8
- package/dist/contracts/space-config.d.ts +10 -16
- package/dist/contracts/space-config.js +14 -10
- package/dist/contracts/spaces.d.ts +241 -436
- package/dist/contracts/spaces.js +128 -145
- package/dist/contracts/superadmin-activity.d.ts +57 -4
- package/dist/contracts/superadmin-activity.js +48 -2
- package/dist/contracts/superadmin-search.d.ts +126 -0
- package/dist/contracts/superadmin-search.js +61 -0
- package/dist/contracts/superadmin-spaces.d.ts +358 -89
- package/dist/contracts/superadmin-spaces.js +97 -24
- package/dist/contracts/superadmin-teams.d.ts +28 -10
- package/dist/contracts/superadmin-teams.js +5 -8
- package/dist/contracts/superadmin.d.ts +0 -32
- package/dist/contracts/superadmin.js +3 -11
- package/dist/contracts/tags.d.ts +9 -9
- package/dist/contracts/teams.d.ts +44 -2
- package/dist/contracts/teams.js +43 -23
- package/dist/contracts/transfers.d.ts +0 -49
- package/dist/contracts/transfers.js +2 -6
- package/dist/contracts/usage.d.ts +61 -0
- package/dist/contracts/usage.js +64 -0
- package/dist/contracts/variables.d.ts +2 -7
- package/dist/contracts/variables.js +6 -5
- package/dist/contracts/webhooks.d.ts +2 -2
- package/dist/contracts/zero.d.ts +87 -56
- package/dist/contracts/zero.js +82 -20
- package/dist/dashboard-paths/index.d.ts +1 -1
- package/dist/dashboard-paths/index.js +1 -0
- package/dist/docs/agent-prose.d.ts +1 -1
- package/dist/docs/agent-prose.js +62 -66
- package/dist/docs/agent-setup.js +49 -23
- package/dist/docs/agent-solutions.d.ts +4 -4
- package/dist/docs/agent-solutions.js +8 -8
- package/dist/docs/catalog.d.ts +19 -19
- package/dist/docs/catalog.js +30 -19
- package/dist/docs/error-docs.js +63 -151
- package/dist/docs/skills.d.ts +3 -3
- package/dist/docs/skills.js +1 -1
- package/dist/test-helpers/fetch-stub.d.ts +16 -0
- package/dist/test-helpers/fetch-stub.js +24 -0
- package/dist/utils/build-settings.js +9 -3
- package/dist/utils/canonical-json.d.ts +10 -0
- package/dist/utils/canonical-json.js +21 -0
- package/dist/utils/cast-transport.d.ts +28 -0
- package/dist/utils/cast-transport.js +52 -0
- package/dist/utils/claim-token.d.ts +0 -8
- package/dist/utils/claim-token.js +3 -15
- package/dist/utils/credential-policy.d.ts +1 -1
- package/dist/utils/env-file.d.ts +17 -0
- package/dist/utils/env-file.js +96 -0
- package/dist/utils/error-code.d.ts +2 -0
- package/dist/utils/error-code.js +7 -0
- package/dist/utils/generate-space-name.d.ts +8 -10
- package/dist/utils/generate-space-name.js +206 -21
- package/dist/utils/grant-decision.fixtures.json +2938 -0
- package/dist/utils/grants.d.ts +2 -0
- package/dist/utils/grants.js +25 -2
- package/dist/utils/gravatar.d.ts +9 -0
- package/dist/utils/gravatar.js +31 -0
- package/dist/utils/idempotency.d.ts +6 -0
- package/dist/utils/idempotency.js +28 -0
- package/dist/utils/local-space-state.d.ts +1 -5
- package/dist/utils/local-space-state.js +7 -26
- package/dist/utils/page-fonts.d.ts +2 -2
- package/dist/utils/page-fonts.js +22 -4
- package/dist/utils/pages.d.ts +1 -2
- package/dist/utils/pages.js +21 -5
- package/dist/utils/publish-form-data.d.ts +12 -0
- package/dist/utils/publish-form-data.js +10 -0
- package/dist/utils/publish-policy.d.ts +20 -0
- package/dist/utils/publish-policy.fixtures.json +397 -0
- package/dist/utils/publish-policy.js +36 -19
- package/dist/utils/push-new.d.ts +7 -0
- package/dist/utils/push-new.js +7 -0
- package/dist/utils/query-keys.d.ts +0 -1
- package/dist/utils/query-keys.js +0 -1
- package/dist/utils/runtime-paths.d.ts +5 -0
- package/dist/utils/runtime-paths.js +5 -0
- package/dist/utils/runtime-upload-batch.d.ts +0 -5
- package/dist/utils/runtime-upload-batch.js +1 -27
- package/dist/utils/runtime-upload.d.ts +3 -13
- package/dist/utils/runtime-upload.js +4 -14
- package/dist/utils/space-config.d.ts +0 -33
- package/dist/utils/space-config.js +5 -326
- package/dist/utils/storage-policy.d.ts +1 -1
- package/dist/utils/storage-policy.js +3 -1
- package/dist/utils/structured-error.d.ts +14 -0
- package/dist/utils/structured-error.js +22 -0
- package/dist/utils/version-path.js +12 -3
- package/dist/vocabulary.d.ts +5 -3
- package/dist/vocabulary.js +13 -10
- package/package.json +10 -5
- package/dist/config/postgres-budget.d.ts +0 -129
- package/dist/config/postgres-budget.js +0 -140
- package/dist/config/postgres-budget.json +0 -51
- package/dist/contracts/archives.d.ts +0 -331
- package/dist/contracts/archives.js +0 -120
- package/dist/contracts/deployments.d.ts +0 -574
- package/dist/contracts/deployments.js +0 -97
- package/dist/contracts/sites.d.ts +0 -416
- package/dist/contracts/sites.js +0 -168
- package/dist/contracts/superadmin-queues.d.ts +0 -414
- package/dist/contracts/superadmin-queues.js +0 -202
- package/dist/contracts/superadmin-runtime.d.ts +0 -27
- package/dist/contracts/superadmin-runtime.js +0 -38
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/utils/api.d.ts +0 -4
- package/dist/utils/api.js +0 -13
|
@@ -1,14 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const SpaceCapacitySchema: z.ZodObject<{
|
|
3
|
+
storageBytes: z.ZodOptional<z.ZodNumber>;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export type SpaceCapacity = z.infer<typeof SpaceCapacitySchema>;
|
|
6
|
+
export declare const SpacePressureSchema: z.ZodObject<{
|
|
7
|
+
ewmaLimitedPct: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
ewma429: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
ewma429PerMin: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
ewmaWorkersMax: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
ewmaCpuPct: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
lastSampleAt: z.ZodOptional<z.ZodString>;
|
|
13
|
+
consecutivePressured: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
consecutiveClean: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
placementHoldRevision: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
pressureHoldUntil: z.ZodOptional<z.ZodString>;
|
|
17
|
+
lastBulkLaneActivityAt: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
export type SpacePressure = z.infer<typeof SpacePressureSchema>;
|
|
2
20
|
export declare const spaceClaimReceiptSchema: z.ZodObject<{
|
|
3
|
-
|
|
21
|
+
key: z.ZodString;
|
|
4
22
|
url: z.ZodString;
|
|
23
|
+
claimUrl: z.ZodString;
|
|
5
24
|
expiresAt: z.ZodString;
|
|
6
25
|
}, z.core.$strip>;
|
|
7
26
|
export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
8
27
|
space: z.ZodObject<{
|
|
9
28
|
id: z.ZodString;
|
|
10
29
|
tenantId: z.ZodString;
|
|
11
|
-
|
|
30
|
+
providerRef: z.ZodNullable<z.ZodString>;
|
|
31
|
+
providerClientId: z.ZodNullable<z.ZodString>;
|
|
12
32
|
teamId: z.ZodNullable<z.ZodString>;
|
|
13
33
|
teamSlug: z.ZodNullable<z.ZodString>;
|
|
14
34
|
principal: z.ZodNullable<z.ZodObject<{
|
|
@@ -26,7 +46,6 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
26
46
|
active: "active";
|
|
27
47
|
provisioning: "provisioning";
|
|
28
48
|
updating: "updating";
|
|
29
|
-
moving: "moving";
|
|
30
49
|
deleting: "deleting";
|
|
31
50
|
failed: "failed";
|
|
32
51
|
}>;
|
|
@@ -37,6 +56,7 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
37
56
|
abuse_takedown: "abuse_takedown";
|
|
38
57
|
tenant_suspended: "tenant_suspended";
|
|
39
58
|
site_suspended: "site_suspended";
|
|
59
|
+
author_removed: "author_removed";
|
|
40
60
|
}>;
|
|
41
61
|
}, z.core.$strip>>;
|
|
42
62
|
claimState: z.ZodNullable<z.ZodObject<{
|
|
@@ -64,17 +84,8 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
64
84
|
}, z.core.$strip>>;
|
|
65
85
|
dataLocation: z.ZodString;
|
|
66
86
|
region: z.ZodString;
|
|
67
|
-
placementMode: z.ZodEnum<{
|
|
68
|
-
shared: "shared";
|
|
69
|
-
dedicated: "dedicated";
|
|
70
|
-
}>;
|
|
71
87
|
burstable: z.ZodNullable<z.ZodBoolean>;
|
|
72
88
|
archivedBytes: z.ZodNumber;
|
|
73
|
-
tierPolicy: z.ZodEnum<{
|
|
74
|
-
auto: "auto";
|
|
75
|
-
always_hot: "always_hot";
|
|
76
|
-
}>;
|
|
77
|
-
moving: z.ZodBoolean;
|
|
78
89
|
hasRuntime: z.ZodBoolean;
|
|
79
90
|
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
80
91
|
versionId: z.ZodString;
|
|
@@ -92,6 +103,7 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
92
103
|
title: z.ZodOptional<z.ZodString>;
|
|
93
104
|
description: z.ZodOptional<z.ZodString>;
|
|
94
105
|
image: z.ZodOptional<z.ZodString>;
|
|
106
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
95
107
|
}, z.core.$strip>>;
|
|
96
108
|
superpowers: z.ZodOptional<z.ZodObject<{
|
|
97
109
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -144,10 +156,6 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
144
156
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
145
157
|
}, z.core.$strict>>;
|
|
146
158
|
placement: z.ZodOptional<z.ZodObject<{
|
|
147
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
148
|
-
shared: "shared";
|
|
149
|
-
dedicated: "dedicated";
|
|
150
|
-
}>>;
|
|
151
159
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
152
160
|
}, z.core.$strict>>;
|
|
153
161
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -189,8 +197,8 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
189
197
|
code: z.ZodString;
|
|
190
198
|
severity: z.ZodEnum<{
|
|
191
199
|
info: "info";
|
|
192
|
-
error: "error";
|
|
193
200
|
warning: "warning";
|
|
201
|
+
error: "error";
|
|
194
202
|
}>;
|
|
195
203
|
message: z.ZodString;
|
|
196
204
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -216,8 +224,9 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
216
224
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
217
225
|
}, z.core.$strip>;
|
|
218
226
|
claim: z.ZodOptional<z.ZodObject<{
|
|
219
|
-
|
|
227
|
+
key: z.ZodString;
|
|
220
228
|
url: z.ZodString;
|
|
229
|
+
claimUrl: z.ZodString;
|
|
221
230
|
expiresAt: z.ZodString;
|
|
222
231
|
}, z.core.$strip>>;
|
|
223
232
|
}, z.core.$strip>;
|
|
@@ -225,8 +234,8 @@ export declare const spaceDiagnosticSchema: z.ZodObject<{
|
|
|
225
234
|
code: z.ZodString;
|
|
226
235
|
severity: z.ZodEnum<{
|
|
227
236
|
info: "info";
|
|
228
|
-
error: "error";
|
|
229
237
|
warning: "warning";
|
|
238
|
+
error: "error";
|
|
230
239
|
}>;
|
|
231
240
|
message: z.ZodString;
|
|
232
241
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -249,8 +258,8 @@ export declare const spaceDiagnosticListResponseSchema: z.ZodObject<{
|
|
|
249
258
|
code: z.ZodString;
|
|
250
259
|
severity: z.ZodEnum<{
|
|
251
260
|
info: "info";
|
|
252
|
-
error: "error";
|
|
253
261
|
warning: "warning";
|
|
262
|
+
error: "error";
|
|
254
263
|
}>;
|
|
255
264
|
message: z.ZodString;
|
|
256
265
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -280,7 +289,6 @@ export declare const principalRefInputSchema: z.ZodObject<{
|
|
|
280
289
|
id: z.ZodString;
|
|
281
290
|
}, z.core.$strip>;
|
|
282
291
|
export declare const spaceCreateSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
283
|
-
siteId: z.ZodOptional<z.ZodString>;
|
|
284
292
|
teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
293
|
principal: z.ZodOptional<z.ZodObject<{
|
|
286
294
|
type: z.ZodEnum<{
|
|
@@ -303,6 +311,7 @@ export declare const spaceCreateSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
|
303
311
|
title: z.ZodOptional<z.ZodString>;
|
|
304
312
|
description: z.ZodOptional<z.ZodString>;
|
|
305
313
|
image: z.ZodOptional<z.ZodString>;
|
|
314
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
306
315
|
}, z.core.$strip>>;
|
|
307
316
|
superpowers: z.ZodOptional<z.ZodObject<{
|
|
308
317
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -355,10 +364,6 @@ export declare const spaceCreateSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
|
355
364
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
356
365
|
}, z.core.$strict>>;
|
|
357
366
|
placement: z.ZodOptional<z.ZodObject<{
|
|
358
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
359
|
-
shared: "shared";
|
|
360
|
-
dedicated: "dedicated";
|
|
361
|
-
}>>;
|
|
362
367
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
363
368
|
}, z.core.$strict>>;
|
|
364
369
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -392,6 +397,7 @@ export declare const spacePatchSchema: z.ZodObject<{
|
|
|
392
397
|
title: z.ZodOptional<z.ZodString>;
|
|
393
398
|
description: z.ZodOptional<z.ZodString>;
|
|
394
399
|
image: z.ZodOptional<z.ZodString>;
|
|
400
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
395
401
|
}, z.core.$strip>>;
|
|
396
402
|
superpowers: z.ZodOptional<z.ZodObject<{
|
|
397
403
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -444,10 +450,6 @@ export declare const spacePatchSchema: z.ZodObject<{
|
|
|
444
450
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
445
451
|
}, z.core.$strict>>;
|
|
446
452
|
placement: z.ZodOptional<z.ZodObject<{
|
|
447
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
448
|
-
shared: "shared";
|
|
449
|
-
dedicated: "dedicated";
|
|
450
|
-
}>>;
|
|
451
453
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
452
454
|
}, z.core.$strict>>;
|
|
453
455
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -468,27 +470,13 @@ export declare const spacePatchSchema: z.ZodObject<{
|
|
|
468
470
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
469
471
|
dataLocation: z.ZodOptional<z.ZodString>;
|
|
470
472
|
placement: z.ZodOptional<z.ZodObject<{
|
|
471
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
472
|
-
shared: "shared";
|
|
473
|
-
dedicated: "dedicated";
|
|
474
|
-
}>>;
|
|
475
473
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
476
474
|
}, z.core.$strict>>;
|
|
477
475
|
noindex: z.ZodOptional<z.ZodBoolean>;
|
|
478
476
|
}, z.core.$strict>;
|
|
479
|
-
export declare const
|
|
480
|
-
|
|
481
|
-
teamId: z.ZodOptional<z.ZodString>;
|
|
482
|
-
targetTeamId: z.ZodOptional<z.ZodString>;
|
|
483
|
-
agentContinuation: z.ZodOptional<z.ZodBoolean>;
|
|
484
|
-
}, z.core.$strip>;
|
|
485
|
-
export declare const anonymousClaimAssignSchema: z.ZodObject<{
|
|
477
|
+
export declare const anonymousClaimSchema: z.ZodObject<{
|
|
478
|
+
key: z.ZodOptional<z.ZodString>;
|
|
486
479
|
teamId: z.ZodOptional<z.ZodString>;
|
|
487
|
-
nonce: z.ZodOptional<z.ZodString>;
|
|
488
|
-
agentContinuation: z.ZodOptional<z.ZodBoolean>;
|
|
489
|
-
}, z.core.$strip>;
|
|
490
|
-
export declare const anonymousClaimResolveSchema: z.ZodObject<{
|
|
491
|
-
nonce: z.ZodOptional<z.ZodString>;
|
|
492
480
|
agentContinuation: z.ZodOptional<z.ZodBoolean>;
|
|
493
481
|
}, z.core.$strip>;
|
|
494
482
|
export declare const anonymousClaimTeamSchema: z.ZodObject<{
|
|
@@ -537,7 +525,7 @@ export declare const anonymousClaimResponseSchema: z.ZodObject<{
|
|
|
537
525
|
claimed: "claimed";
|
|
538
526
|
login_required: "login_required";
|
|
539
527
|
team_required: "team_required";
|
|
540
|
-
|
|
528
|
+
consent_required: "consent_required";
|
|
541
529
|
}>;
|
|
542
530
|
space: z.ZodObject<{
|
|
543
531
|
id: z.ZodString;
|
|
@@ -549,11 +537,11 @@ export declare const anonymousClaimResponseSchema: z.ZodObject<{
|
|
|
549
537
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
550
538
|
claimedAt: z.ZodNullable<z.ZodString>;
|
|
551
539
|
}, z.core.$strip>;
|
|
552
|
-
access: z.ZodObject<{
|
|
540
|
+
access: z.ZodOptional<z.ZodObject<{
|
|
553
541
|
url: z.ZodString;
|
|
554
542
|
token: z.ZodString;
|
|
555
543
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
556
|
-
}, z.core.$strip
|
|
544
|
+
}, z.core.$strip>>;
|
|
557
545
|
continuation: z.ZodObject<{
|
|
558
546
|
eligible: z.ZodBoolean;
|
|
559
547
|
granted: z.ZodBoolean;
|
|
@@ -638,11 +626,6 @@ export declare const anonymousClaimStatusResponseSchema: z.ZodObject<{
|
|
|
638
626
|
unavailable: "unavailable";
|
|
639
627
|
}>>;
|
|
640
628
|
}, z.core.$strip>;
|
|
641
|
-
access: z.ZodObject<{
|
|
642
|
-
url: z.ZodString;
|
|
643
|
-
token: z.ZodString;
|
|
644
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
645
|
-
}, z.core.$strip>;
|
|
646
629
|
}, z.core.$strip>;
|
|
647
630
|
export declare const anonymousClaimExchangeResponseSchema: z.ZodObject<{
|
|
648
631
|
space: z.ZodObject<{
|
|
@@ -662,10 +645,12 @@ export declare const anonymousClaimRotateSchema: z.ZodObject<{
|
|
|
662
645
|
}, z.core.$strip>;
|
|
663
646
|
export declare const anonymousClaimRotateResponseSchema: z.ZodObject<{
|
|
664
647
|
spaceId: z.ZodString;
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
648
|
+
claim: z.ZodObject<{
|
|
649
|
+
key: z.ZodString;
|
|
650
|
+
url: z.ZodString;
|
|
651
|
+
claimUrl: z.ZodString;
|
|
652
|
+
expiresAt: z.ZodString;
|
|
653
|
+
}, z.core.$strip>;
|
|
669
654
|
}, z.core.$strip>;
|
|
670
655
|
export declare const spaceClaimReminderSchema: z.ZodObject<{
|
|
671
656
|
email: z.ZodString;
|
|
@@ -721,13 +706,19 @@ export declare const spaceVersionCreateSchema: z.ZodObject<{
|
|
|
721
706
|
finalize: z.ZodOptional<z.ZodObject<{
|
|
722
707
|
channel: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"live">>>;
|
|
723
708
|
}, z.core.$strip>>;
|
|
724
|
-
files: z.ZodArray<z.ZodObject<{
|
|
709
|
+
files: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
725
710
|
path: z.ZodString;
|
|
726
711
|
size: z.ZodNumber;
|
|
727
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
728
712
|
contentType: z.ZodOptional<z.ZodString>;
|
|
729
713
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
730
|
-
|
|
714
|
+
sha256: z.ZodString;
|
|
715
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
716
|
+
path: z.ZodString;
|
|
717
|
+
size: z.ZodNumber;
|
|
718
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
719
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
720
|
+
sourceUrl: z.ZodString;
|
|
721
|
+
}, z.core.$strip>]>>;
|
|
731
722
|
}, z.core.$strip>;
|
|
732
723
|
export declare const spaceVersionListSchema: z.ZodObject<{
|
|
733
724
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -787,6 +778,9 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
787
778
|
variables: z.ZodNull;
|
|
788
779
|
fileCount: z.ZodNullable<z.ZodNumber>;
|
|
789
780
|
totalBytes: z.ZodNullable<z.ZodNumber>;
|
|
781
|
+
filesAddedCount: z.ZodNumber;
|
|
782
|
+
filesChangedCount: z.ZodNumber;
|
|
783
|
+
filesRemovedCount: z.ZodNumber;
|
|
790
784
|
pendingUploads: z.ZodArray<z.ZodObject<{
|
|
791
785
|
path: z.ZodString;
|
|
792
786
|
size: z.ZodNumber;
|
|
@@ -813,6 +807,7 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
813
807
|
title: z.ZodOptional<z.ZodString>;
|
|
814
808
|
description: z.ZodOptional<z.ZodString>;
|
|
815
809
|
image: z.ZodOptional<z.ZodString>;
|
|
810
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
816
811
|
}, z.core.$strip>>;
|
|
817
812
|
superpowers: z.ZodOptional<z.ZodObject<{
|
|
818
813
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -865,10 +860,6 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
865
860
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
866
861
|
}, z.core.$strict>>;
|
|
867
862
|
placement: z.ZodOptional<z.ZodObject<{
|
|
868
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
869
|
-
shared: "shared";
|
|
870
|
-
dedicated: "dedicated";
|
|
871
|
-
}>>;
|
|
872
863
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
873
864
|
}, z.core.$strict>>;
|
|
874
865
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -908,8 +899,8 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
908
899
|
code: z.ZodString;
|
|
909
900
|
severity: z.ZodEnum<{
|
|
910
901
|
info: "info";
|
|
911
|
-
error: "error";
|
|
912
902
|
warning: "warning";
|
|
903
|
+
error: "error";
|
|
913
904
|
}>;
|
|
914
905
|
message: z.ZodString;
|
|
915
906
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -935,8 +926,8 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
935
926
|
code: z.ZodString;
|
|
936
927
|
severity: z.ZodEnum<{
|
|
937
928
|
info: "info";
|
|
938
|
-
error: "error";
|
|
939
929
|
warning: "warning";
|
|
930
|
+
error: "error";
|
|
940
931
|
}>;
|
|
941
932
|
message: z.ZodString;
|
|
942
933
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -955,7 +946,6 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
955
946
|
}, z.core.$strip>>>;
|
|
956
947
|
createdAt: z.ZodString;
|
|
957
948
|
readyAt: z.ZodNullable<z.ZodString>;
|
|
958
|
-
retainedUntil: z.ZodNullable<z.ZodString>;
|
|
959
949
|
updatedAt: z.ZodString;
|
|
960
950
|
}, z.core.$strip>>;
|
|
961
951
|
pagination: z.ZodObject<{
|
|
@@ -967,7 +957,8 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
967
957
|
data: z.ZodArray<z.ZodObject<{
|
|
968
958
|
id: z.ZodString;
|
|
969
959
|
tenantId: z.ZodString;
|
|
970
|
-
|
|
960
|
+
providerRef: z.ZodNullable<z.ZodString>;
|
|
961
|
+
providerClientId: z.ZodNullable<z.ZodString>;
|
|
971
962
|
teamId: z.ZodNullable<z.ZodString>;
|
|
972
963
|
teamSlug: z.ZodNullable<z.ZodString>;
|
|
973
964
|
principal: z.ZodNullable<z.ZodObject<{
|
|
@@ -985,7 +976,6 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
985
976
|
active: "active";
|
|
986
977
|
provisioning: "provisioning";
|
|
987
978
|
updating: "updating";
|
|
988
|
-
moving: "moving";
|
|
989
979
|
deleting: "deleting";
|
|
990
980
|
failed: "failed";
|
|
991
981
|
}>;
|
|
@@ -996,6 +986,7 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
996
986
|
abuse_takedown: "abuse_takedown";
|
|
997
987
|
tenant_suspended: "tenant_suspended";
|
|
998
988
|
site_suspended: "site_suspended";
|
|
989
|
+
author_removed: "author_removed";
|
|
999
990
|
}>;
|
|
1000
991
|
}, z.core.$strip>>;
|
|
1001
992
|
claimState: z.ZodNullable<z.ZodObject<{
|
|
@@ -1023,17 +1014,8 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1023
1014
|
}, z.core.$strip>>;
|
|
1024
1015
|
dataLocation: z.ZodString;
|
|
1025
1016
|
region: z.ZodString;
|
|
1026
|
-
placementMode: z.ZodEnum<{
|
|
1027
|
-
shared: "shared";
|
|
1028
|
-
dedicated: "dedicated";
|
|
1029
|
-
}>;
|
|
1030
1017
|
burstable: z.ZodNullable<z.ZodBoolean>;
|
|
1031
1018
|
archivedBytes: z.ZodNumber;
|
|
1032
|
-
tierPolicy: z.ZodEnum<{
|
|
1033
|
-
auto: "auto";
|
|
1034
|
-
always_hot: "always_hot";
|
|
1035
|
-
}>;
|
|
1036
|
-
moving: z.ZodBoolean;
|
|
1037
1019
|
hasRuntime: z.ZodBoolean;
|
|
1038
1020
|
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1039
1021
|
versionId: z.ZodString;
|
|
@@ -1051,6 +1033,7 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1051
1033
|
title: z.ZodOptional<z.ZodString>;
|
|
1052
1034
|
description: z.ZodOptional<z.ZodString>;
|
|
1053
1035
|
image: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
1054
1037
|
}, z.core.$strip>>;
|
|
1055
1038
|
superpowers: z.ZodOptional<z.ZodObject<{
|
|
1056
1039
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1103,10 +1086,6 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1103
1086
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1104
1087
|
}, z.core.$strict>>;
|
|
1105
1088
|
placement: z.ZodOptional<z.ZodObject<{
|
|
1106
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1107
|
-
shared: "shared";
|
|
1108
|
-
dedicated: "dedicated";
|
|
1109
|
-
}>>;
|
|
1110
1089
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
1111
1090
|
}, z.core.$strict>>;
|
|
1112
1091
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1148,8 +1127,8 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1148
1127
|
code: z.ZodString;
|
|
1149
1128
|
severity: z.ZodEnum<{
|
|
1150
1129
|
info: "info";
|
|
1151
|
-
error: "error";
|
|
1152
1130
|
warning: "warning";
|
|
1131
|
+
error: "error";
|
|
1153
1132
|
}>;
|
|
1154
1133
|
message: z.ZodString;
|
|
1155
1134
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1648,47 +1627,48 @@ export declare const spaceFilesResponseSchema: z.ZodObject<{
|
|
|
1648
1627
|
export declare const spaceVersionFilePathQuerySchema: z.ZodObject<{
|
|
1649
1628
|
path: z.ZodString;
|
|
1650
1629
|
}, z.core.$strip>;
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1630
|
+
/**
|
|
1631
|
+
* Which representation of a path the runtime should hand back: `source` is the
|
|
1632
|
+
* uploaded, pre-substitution object; `served` is the immutable byte the
|
|
1633
|
+
* version actually serves. A private config input exists in `source` and is
|
|
1634
|
+
* absent from `served`.
|
|
1635
|
+
*/
|
|
1636
|
+
export declare const spaceVersionFileViewSchema: z.ZodEnum<{
|
|
1637
|
+
source: "source";
|
|
1638
|
+
served: "served";
|
|
1639
|
+
}>;
|
|
1640
|
+
export declare const VERSION_FILE_LINKS_MAX_PATHS = 200;
|
|
1641
|
+
/**
|
|
1642
|
+
* Repeated `path` query parameters — `?path=index.html&path=about.html`. One
|
|
1643
|
+
* path arrives as a bare string, so it is lifted into the batch shape before
|
|
1644
|
+
* the per-path rules run.
|
|
1645
|
+
*/
|
|
1646
|
+
export declare const spaceVersionFileLinksQuerySchema: z.ZodObject<{
|
|
1647
|
+
path: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<z.ZodString>>;
|
|
1648
|
+
view: z.ZodDefault<z.ZodEnum<{
|
|
1649
|
+
source: "source";
|
|
1650
|
+
served: "served";
|
|
1651
|
+
}>>;
|
|
1654
1652
|
}, z.core.$strip>;
|
|
1655
|
-
export declare const
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
size: z.ZodNumber;
|
|
1659
|
-
contentType: z.ZodNullable<z.ZodString>;
|
|
1660
|
-
sha256: z.ZodNullable<z.ZodString>;
|
|
1661
|
-
encoding: z.ZodEnum<{
|
|
1662
|
-
utf8: "utf8";
|
|
1663
|
-
base64: "base64";
|
|
1664
|
-
}>;
|
|
1665
|
-
content: z.ZodString;
|
|
1666
|
-
truncated: z.ZodBoolean;
|
|
1667
|
-
cached: z.ZodBoolean;
|
|
1653
|
+
export declare const spaceVersionFileLinkSchema: z.ZodObject<{
|
|
1654
|
+
url: z.ZodString;
|
|
1655
|
+
expiresAt: z.ZodString;
|
|
1668
1656
|
}, z.core.$strip>;
|
|
1669
|
-
|
|
1657
|
+
/**
|
|
1658
|
+
* Minting is blind to path validity — the control plane authorizes the version,
|
|
1659
|
+
* not the path. A path that is not in the selected catalog view answers
|
|
1660
|
+
* `version_file_not_found` when the link is followed.
|
|
1661
|
+
*/
|
|
1662
|
+
export declare const spaceVersionFileLinksResponseSchema: z.ZodObject<{
|
|
1670
1663
|
versionId: z.ZodString;
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
"internet-shortcut": "internet-shortcut";
|
|
1675
|
-
webloc: "webloc";
|
|
1676
|
-
"plain-url": "plain-url";
|
|
1677
|
-
}>;
|
|
1678
|
-
url: z.ZodString;
|
|
1679
|
-
fetchedUrl: z.ZodNullable<z.ZodString>;
|
|
1680
|
-
title: z.ZodNullable<z.ZodString>;
|
|
1681
|
-
description: z.ZodNullable<z.ZodString>;
|
|
1682
|
-
siteName: z.ZodNullable<z.ZodString>;
|
|
1683
|
-
providerName: z.ZodNullable<z.ZodString>;
|
|
1684
|
-
authorName: z.ZodNullable<z.ZodString>;
|
|
1685
|
-
imageUrl: z.ZodNullable<z.ZodString>;
|
|
1686
|
-
oEmbedUrl: z.ZodNullable<z.ZodString>;
|
|
1687
|
-
status: z.ZodEnum<{
|
|
1688
|
-
ready: "ready";
|
|
1689
|
-
unavailable: "unavailable";
|
|
1664
|
+
view: z.ZodEnum<{
|
|
1665
|
+
source: "source";
|
|
1666
|
+
served: "served";
|
|
1690
1667
|
}>;
|
|
1691
|
-
|
|
1668
|
+
links: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1669
|
+
url: z.ZodString;
|
|
1670
|
+
expiresAt: z.ZodString;
|
|
1671
|
+
}, z.core.$strip>>;
|
|
1692
1672
|
}, z.core.$strip>;
|
|
1693
1673
|
export declare const spaceVersionConventionArtifactKindSchema: z.ZodEnum<{
|
|
1694
1674
|
redirects: "redirects";
|
|
@@ -1830,8 +1810,8 @@ export declare const spaceVersionRoutingDiagnosticSchema: z.ZodObject<{
|
|
|
1830
1810
|
}>;
|
|
1831
1811
|
line: z.ZodNumber;
|
|
1832
1812
|
severity: z.ZodEnum<{
|
|
1833
|
-
error: "error";
|
|
1834
1813
|
warning: "warning";
|
|
1814
|
+
error: "error";
|
|
1835
1815
|
}>;
|
|
1836
1816
|
code: z.ZodString;
|
|
1837
1817
|
message: z.ZodString;
|
|
@@ -1868,8 +1848,6 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
|
1868
1848
|
compiled: z.ZodObject<{
|
|
1869
1849
|
redirectRuleCount: z.ZodNumber;
|
|
1870
1850
|
headerRuleCount: z.ZodNumber;
|
|
1871
|
-
staticRedirectCount: z.ZodNumber;
|
|
1872
|
-
dynamicRedirectCount: z.ZodNumber;
|
|
1873
1851
|
proxyRuleCount: z.ZodNumber;
|
|
1874
1852
|
}, z.core.$strip>;
|
|
1875
1853
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
@@ -1886,188 +1864,14 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
|
1886
1864
|
}>;
|
|
1887
1865
|
line: z.ZodNumber;
|
|
1888
1866
|
severity: z.ZodEnum<{
|
|
1889
|
-
error: "error";
|
|
1890
1867
|
warning: "warning";
|
|
1868
|
+
error: "error";
|
|
1891
1869
|
}>;
|
|
1892
1870
|
code: z.ZodString;
|
|
1893
1871
|
message: z.ZodString;
|
|
1894
1872
|
source: z.ZodString;
|
|
1895
1873
|
}, z.core.$strip>>;
|
|
1896
1874
|
}, z.core.$strip>;
|
|
1897
|
-
export declare const spaceVersionFileDiffStatusSchema: z.ZodEnum<{
|
|
1898
|
-
binary: "binary";
|
|
1899
|
-
deleted: "deleted";
|
|
1900
|
-
added: "added";
|
|
1901
|
-
modified: "modified";
|
|
1902
|
-
renamed: "renamed";
|
|
1903
|
-
unchanged: "unchanged";
|
|
1904
|
-
too_large: "too_large";
|
|
1905
|
-
}>;
|
|
1906
|
-
export declare const spaceVersionFileDiffEntrySchema: z.ZodObject<{
|
|
1907
|
-
path: z.ZodString;
|
|
1908
|
-
oldPath: z.ZodNullable<z.ZodString>;
|
|
1909
|
-
status: z.ZodEnum<{
|
|
1910
|
-
binary: "binary";
|
|
1911
|
-
deleted: "deleted";
|
|
1912
|
-
added: "added";
|
|
1913
|
-
modified: "modified";
|
|
1914
|
-
renamed: "renamed";
|
|
1915
|
-
unchanged: "unchanged";
|
|
1916
|
-
too_large: "too_large";
|
|
1917
|
-
}>;
|
|
1918
|
-
before: z.ZodNullable<z.ZodObject<{
|
|
1919
|
-
path: z.ZodString;
|
|
1920
|
-
size: z.ZodNumber;
|
|
1921
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
1922
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
1923
|
-
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
1924
|
-
previewable: z.ZodBoolean;
|
|
1925
|
-
generatedPreview: z.ZodNullable<z.ZodObject<{
|
|
1926
|
-
kind: z.ZodLiteral<"image">;
|
|
1927
|
-
status: z.ZodEnum<{
|
|
1928
|
-
ready: "ready";
|
|
1929
|
-
pending: "pending";
|
|
1930
|
-
}>;
|
|
1931
|
-
key: z.ZodString;
|
|
1932
|
-
cacheScope: z.ZodEnum<{
|
|
1933
|
-
hash: "hash";
|
|
1934
|
-
"version-path": "version-path";
|
|
1935
|
-
}>;
|
|
1936
|
-
contentType: z.ZodLiteral<"image/webp">;
|
|
1937
|
-
width: z.ZodNumber;
|
|
1938
|
-
height: z.ZodNumber;
|
|
1939
|
-
}, z.core.$strip>>;
|
|
1940
|
-
}, z.core.$strip>>;
|
|
1941
|
-
after: z.ZodNullable<z.ZodObject<{
|
|
1942
|
-
path: z.ZodString;
|
|
1943
|
-
size: z.ZodNumber;
|
|
1944
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
1945
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
1946
|
-
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
1947
|
-
previewable: z.ZodBoolean;
|
|
1948
|
-
generatedPreview: z.ZodNullable<z.ZodObject<{
|
|
1949
|
-
kind: z.ZodLiteral<"image">;
|
|
1950
|
-
status: z.ZodEnum<{
|
|
1951
|
-
ready: "ready";
|
|
1952
|
-
pending: "pending";
|
|
1953
|
-
}>;
|
|
1954
|
-
key: z.ZodString;
|
|
1955
|
-
cacheScope: z.ZodEnum<{
|
|
1956
|
-
hash: "hash";
|
|
1957
|
-
"version-path": "version-path";
|
|
1958
|
-
}>;
|
|
1959
|
-
contentType: z.ZodLiteral<"image/webp">;
|
|
1960
|
-
width: z.ZodNumber;
|
|
1961
|
-
height: z.ZodNumber;
|
|
1962
|
-
}, z.core.$strip>>;
|
|
1963
|
-
}, z.core.$strip>>;
|
|
1964
|
-
patch: z.ZodNullable<z.ZodObject<{
|
|
1965
|
-
format: z.ZodLiteral<"unified">;
|
|
1966
|
-
content: z.ZodString;
|
|
1967
|
-
truncated: z.ZodBoolean;
|
|
1968
|
-
truncationReason: z.ZodNullable<z.ZodLiteral<"patch_byte_limit">>;
|
|
1969
|
-
}, z.core.$strip>>;
|
|
1970
|
-
patchOmission: z.ZodNullable<z.ZodEnum<{
|
|
1971
|
-
input_too_large: "input_too_large";
|
|
1972
|
-
not_previewable: "not_previewable";
|
|
1973
|
-
content_unavailable: "content_unavailable";
|
|
1974
|
-
patch_budget_exhausted: "patch_budget_exhausted";
|
|
1975
|
-
}>>;
|
|
1976
|
-
}, z.core.$strip>;
|
|
1977
|
-
export declare const spaceVersionFileDiffQuerySchema: z.ZodObject<{
|
|
1978
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1979
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1980
|
-
baseVersionId: z.ZodOptional<z.ZodString>;
|
|
1981
|
-
}, z.core.$strip>;
|
|
1982
|
-
export declare const spaceVersionFileDiffResponseSchema: z.ZodObject<{
|
|
1983
|
-
versionId: z.ZodString;
|
|
1984
|
-
baseVersionId: z.ZodNullable<z.ZodString>;
|
|
1985
|
-
files: z.ZodArray<z.ZodObject<{
|
|
1986
|
-
path: z.ZodString;
|
|
1987
|
-
oldPath: z.ZodNullable<z.ZodString>;
|
|
1988
|
-
status: z.ZodEnum<{
|
|
1989
|
-
binary: "binary";
|
|
1990
|
-
deleted: "deleted";
|
|
1991
|
-
added: "added";
|
|
1992
|
-
modified: "modified";
|
|
1993
|
-
renamed: "renamed";
|
|
1994
|
-
unchanged: "unchanged";
|
|
1995
|
-
too_large: "too_large";
|
|
1996
|
-
}>;
|
|
1997
|
-
before: z.ZodNullable<z.ZodObject<{
|
|
1998
|
-
path: z.ZodString;
|
|
1999
|
-
size: z.ZodNumber;
|
|
2000
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2001
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
2002
|
-
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
2003
|
-
previewable: z.ZodBoolean;
|
|
2004
|
-
generatedPreview: z.ZodNullable<z.ZodObject<{
|
|
2005
|
-
kind: z.ZodLiteral<"image">;
|
|
2006
|
-
status: z.ZodEnum<{
|
|
2007
|
-
ready: "ready";
|
|
2008
|
-
pending: "pending";
|
|
2009
|
-
}>;
|
|
2010
|
-
key: z.ZodString;
|
|
2011
|
-
cacheScope: z.ZodEnum<{
|
|
2012
|
-
hash: "hash";
|
|
2013
|
-
"version-path": "version-path";
|
|
2014
|
-
}>;
|
|
2015
|
-
contentType: z.ZodLiteral<"image/webp">;
|
|
2016
|
-
width: z.ZodNumber;
|
|
2017
|
-
height: z.ZodNumber;
|
|
2018
|
-
}, z.core.$strip>>;
|
|
2019
|
-
}, z.core.$strip>>;
|
|
2020
|
-
after: z.ZodNullable<z.ZodObject<{
|
|
2021
|
-
path: z.ZodString;
|
|
2022
|
-
size: z.ZodNumber;
|
|
2023
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2024
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
2025
|
-
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
2026
|
-
previewable: z.ZodBoolean;
|
|
2027
|
-
generatedPreview: z.ZodNullable<z.ZodObject<{
|
|
2028
|
-
kind: z.ZodLiteral<"image">;
|
|
2029
|
-
status: z.ZodEnum<{
|
|
2030
|
-
ready: "ready";
|
|
2031
|
-
pending: "pending";
|
|
2032
|
-
}>;
|
|
2033
|
-
key: z.ZodString;
|
|
2034
|
-
cacheScope: z.ZodEnum<{
|
|
2035
|
-
hash: "hash";
|
|
2036
|
-
"version-path": "version-path";
|
|
2037
|
-
}>;
|
|
2038
|
-
contentType: z.ZodLiteral<"image/webp">;
|
|
2039
|
-
width: z.ZodNumber;
|
|
2040
|
-
height: z.ZodNumber;
|
|
2041
|
-
}, z.core.$strip>>;
|
|
2042
|
-
}, z.core.$strip>>;
|
|
2043
|
-
patch: z.ZodNullable<z.ZodObject<{
|
|
2044
|
-
format: z.ZodLiteral<"unified">;
|
|
2045
|
-
content: z.ZodString;
|
|
2046
|
-
truncated: z.ZodBoolean;
|
|
2047
|
-
truncationReason: z.ZodNullable<z.ZodLiteral<"patch_byte_limit">>;
|
|
2048
|
-
}, z.core.$strip>>;
|
|
2049
|
-
patchOmission: z.ZodNullable<z.ZodEnum<{
|
|
2050
|
-
input_too_large: "input_too_large";
|
|
2051
|
-
not_previewable: "not_previewable";
|
|
2052
|
-
content_unavailable: "content_unavailable";
|
|
2053
|
-
patch_budget_exhausted: "patch_budget_exhausted";
|
|
2054
|
-
}>>;
|
|
2055
|
-
}, z.core.$strip>>;
|
|
2056
|
-
pagination: z.ZodObject<{
|
|
2057
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
2058
|
-
hasMore: z.ZodBoolean;
|
|
2059
|
-
}, z.core.$strip>;
|
|
2060
|
-
limits: z.ZodObject<{
|
|
2061
|
-
maxFiles: z.ZodNumber;
|
|
2062
|
-
maxInputBytes: z.ZodNumber;
|
|
2063
|
-
maxPatchBytes: z.ZodNumber;
|
|
2064
|
-
readConcurrency: z.ZodNumber;
|
|
2065
|
-
}, z.core.$strip>;
|
|
2066
|
-
usage: z.ZodObject<{
|
|
2067
|
-
inputBytes: z.ZodNumber;
|
|
2068
|
-
patchBytes: z.ZodNumber;
|
|
2069
|
-
}, z.core.$strip>;
|
|
2070
|
-
}, z.core.$strip>;
|
|
2071
1875
|
export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
|
|
2072
1876
|
versionId: z.ZodNullable<z.ZodString>;
|
|
2073
1877
|
upload: z.ZodNullable<z.ZodObject<{
|
|
@@ -2116,8 +1920,8 @@ export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
|
|
|
2116
1920
|
code: z.ZodString;
|
|
2117
1921
|
severity: z.ZodEnum<{
|
|
2118
1922
|
info: "info";
|
|
2119
|
-
error: "error";
|
|
2120
1923
|
warning: "warning";
|
|
1924
|
+
error: "error";
|
|
2121
1925
|
}>;
|
|
2122
1926
|
message: z.ZodString;
|
|
2123
1927
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2194,6 +1998,7 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
2194
1998
|
title: z.ZodOptional<z.ZodString>;
|
|
2195
1999
|
description: z.ZodOptional<z.ZodString>;
|
|
2196
2000
|
image: z.ZodOptional<z.ZodString>;
|
|
2001
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
2197
2002
|
}, z.core.$strip>>;
|
|
2198
2003
|
superpowers: z.ZodOptional<z.ZodObject<{
|
|
2199
2004
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2246,10 +2051,6 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
2246
2051
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2247
2052
|
}, z.core.$strict>>;
|
|
2248
2053
|
placement: z.ZodOptional<z.ZodObject<{
|
|
2249
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
2250
|
-
shared: "shared";
|
|
2251
|
-
dedicated: "dedicated";
|
|
2252
|
-
}>>;
|
|
2253
2054
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
2254
2055
|
}, z.core.$strict>>;
|
|
2255
2056
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2269,7 +2070,6 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
2269
2070
|
deletePaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2270
2071
|
immutableAssetPrefixes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2271
2072
|
spaceId: z.ZodOptional<z.ZodString>;
|
|
2272
|
-
siteId: z.ZodOptional<z.ZodString>;
|
|
2273
2073
|
teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2274
2074
|
principal: z.ZodOptional<z.ZodObject<{
|
|
2275
2075
|
type: z.ZodEnum<{
|
|
@@ -2278,13 +2078,19 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
2278
2078
|
}>;
|
|
2279
2079
|
id: z.ZodString;
|
|
2280
2080
|
}, z.core.$strip>>;
|
|
2281
|
-
files: z.ZodArray<z.ZodObject<{
|
|
2081
|
+
files: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2282
2082
|
path: z.ZodString;
|
|
2283
2083
|
size: z.ZodNumber;
|
|
2284
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2285
2084
|
contentType: z.ZodOptional<z.ZodString>;
|
|
2286
2085
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
2287
|
-
|
|
2086
|
+
sha256: z.ZodString;
|
|
2087
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2088
|
+
path: z.ZodString;
|
|
2089
|
+
size: z.ZodNumber;
|
|
2090
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
2091
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
2092
|
+
sourceUrl: z.ZodString;
|
|
2093
|
+
}, z.core.$strip>]>>;
|
|
2288
2094
|
}, z.core.$strip>;
|
|
2289
2095
|
export declare const publishUploadReceiptSchema: z.ZodObject<{
|
|
2290
2096
|
id: z.ZodString;
|
|
@@ -2332,8 +2138,8 @@ export declare const publishUploadReceiptSchema: z.ZodObject<{
|
|
|
2332
2138
|
code: z.ZodString;
|
|
2333
2139
|
severity: z.ZodEnum<{
|
|
2334
2140
|
info: "info";
|
|
2335
|
-
error: "error";
|
|
2336
2141
|
warning: "warning";
|
|
2142
|
+
error: "error";
|
|
2337
2143
|
}>;
|
|
2338
2144
|
message: z.ZodString;
|
|
2339
2145
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2478,8 +2284,8 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2478
2284
|
code: z.ZodString;
|
|
2479
2285
|
severity: z.ZodEnum<{
|
|
2480
2286
|
info: "info";
|
|
2481
|
-
error: "error";
|
|
2482
2287
|
warning: "warning";
|
|
2288
|
+
error: "error";
|
|
2483
2289
|
}>;
|
|
2484
2290
|
message: z.ZodString;
|
|
2485
2291
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2542,8 +2348,8 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2542
2348
|
code: z.ZodString;
|
|
2543
2349
|
severity: z.ZodEnum<{
|
|
2544
2350
|
info: "info";
|
|
2545
|
-
error: "error";
|
|
2546
2351
|
warning: "warning";
|
|
2352
|
+
error: "error";
|
|
2547
2353
|
}>;
|
|
2548
2354
|
message: z.ZodString;
|
|
2549
2355
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2560,16 +2366,17 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2560
2366
|
}, z.core.$strip>>;
|
|
2561
2367
|
}, z.core.$strip>>;
|
|
2562
2368
|
claim: z.ZodOptional<z.ZodObject<{
|
|
2563
|
-
|
|
2369
|
+
key: z.ZodString;
|
|
2564
2370
|
url: z.ZodString;
|
|
2371
|
+
claimUrl: z.ZodString;
|
|
2565
2372
|
expiresAt: z.ZodString;
|
|
2566
2373
|
}, z.core.$strip>>;
|
|
2567
2374
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2568
2375
|
code: z.ZodString;
|
|
2569
2376
|
severity: z.ZodEnum<{
|
|
2570
2377
|
info: "info";
|
|
2571
|
-
error: "error";
|
|
2572
2378
|
warning: "warning";
|
|
2379
|
+
error: "error";
|
|
2573
2380
|
}>;
|
|
2574
2381
|
message: z.ZodString;
|
|
2575
2382
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2641,8 +2448,8 @@ export declare const spaceVersionResumeResponseSchema: z.ZodObject<{
|
|
|
2641
2448
|
code: z.ZodString;
|
|
2642
2449
|
severity: z.ZodEnum<{
|
|
2643
2450
|
info: "info";
|
|
2644
|
-
error: "error";
|
|
2645
2451
|
warning: "warning";
|
|
2452
|
+
error: "error";
|
|
2646
2453
|
}>;
|
|
2647
2454
|
message: z.ZodString;
|
|
2648
2455
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2681,7 +2488,6 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2681
2488
|
active: "active";
|
|
2682
2489
|
provisioning: "provisioning";
|
|
2683
2490
|
updating: "updating";
|
|
2684
|
-
moving: "moving";
|
|
2685
2491
|
deleting: "deleting";
|
|
2686
2492
|
failed: "failed";
|
|
2687
2493
|
}>;
|
|
@@ -2697,11 +2503,6 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2697
2503
|
finalizing: "finalizing";
|
|
2698
2504
|
ready: "ready";
|
|
2699
2505
|
}>>;
|
|
2700
|
-
liveRuntimeKind: z.ZodNullable<z.ZodEnum<{
|
|
2701
|
-
zero: "zero";
|
|
2702
|
-
functions: "functions";
|
|
2703
|
-
static: "static";
|
|
2704
|
-
}>>;
|
|
2705
2506
|
pendingVersionStatus: z.ZodNullable<z.ZodEnum<{
|
|
2706
2507
|
failed: "failed";
|
|
2707
2508
|
canceled: "canceled";
|
|
@@ -2737,8 +2538,8 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2737
2538
|
code: z.ZodString;
|
|
2738
2539
|
severity: z.ZodEnum<{
|
|
2739
2540
|
info: "info";
|
|
2740
|
-
error: "error";
|
|
2741
2541
|
warning: "warning";
|
|
2542
|
+
error: "error";
|
|
2742
2543
|
}>;
|
|
2743
2544
|
message: z.ZodString;
|
|
2744
2545
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2755,126 +2556,130 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2755
2556
|
createdAt: z.ZodString;
|
|
2756
2557
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
2757
2558
|
}, z.core.$strip>>;
|
|
2758
|
-
app: z.ZodNullable<z.
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2559
|
+
app: z.ZodNullable<z.ZodObject<{
|
|
2560
|
+
capsule: z.ZodNullable<z.ZodObject<{
|
|
2561
|
+
artifactId: z.ZodString;
|
|
2562
|
+
appName: z.ZodString;
|
|
2563
|
+
serverRuntime: z.ZodLiteral<"quickjs-rust">;
|
|
2564
|
+
inspect: z.ZodObject<{
|
|
2565
|
+
policy: z.ZodEnum<{
|
|
2566
|
+
public: "public";
|
|
2567
|
+
private: "private";
|
|
2568
|
+
}>;
|
|
2569
|
+
}, z.core.$strict>;
|
|
2570
|
+
install: z.ZodObject<{
|
|
2571
|
+
runtimeKind: z.ZodLiteral<"zero">;
|
|
2572
|
+
engine: z.ZodLiteral<"quickjs-rust">;
|
|
2573
|
+
storageRoot: z.ZodLiteral<"__spacefast/zero">;
|
|
2574
|
+
artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
|
|
2575
|
+
configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
|
|
2576
|
+
binary: z.ZodObject<{
|
|
2577
|
+
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
2578
|
+
compatibilityTarget: z.ZodObject<{
|
|
2579
|
+
profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
|
|
2580
|
+
os: z.ZodLiteral<"linux">;
|
|
2581
|
+
cpu: z.ZodLiteral<"x86_64">;
|
|
2582
|
+
libc: z.ZodLiteral<"glibc">;
|
|
2583
|
+
linking: z.ZodLiteral<"dynamic">;
|
|
2584
|
+
requireExecutableBit: z.ZodLiteral<true>;
|
|
2585
|
+
}, z.core.$strict>;
|
|
2586
|
+
sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2587
|
+
required: z.ZodLiteral<true>;
|
|
2588
|
+
}, z.core.$strict>;
|
|
2589
|
+
mysql: z.ZodObject<{
|
|
2590
|
+
migrateAtFinalize: z.ZodLiteral<true>;
|
|
2591
|
+
blockIncompatibleRollback: z.ZodLiteral<true>;
|
|
2592
|
+
}, z.core.$strict>;
|
|
2593
|
+
realtime: z.ZodObject<{
|
|
2594
|
+
production: z.ZodLiteral<"central">;
|
|
2595
|
+
local: z.ZodLiteral<"foreground-cli-ws">;
|
|
2784
2596
|
}, z.core.$strict>;
|
|
2785
|
-
sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2786
|
-
required: z.ZodLiteral<true>;
|
|
2787
2597
|
}, z.core.$strict>;
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2598
|
+
tables: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2599
|
+
queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2600
|
+
mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2601
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2602
|
+
endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2603
|
+
method: z.ZodEnum<{
|
|
2604
|
+
POST: "POST";
|
|
2605
|
+
PUT: "PUT";
|
|
2606
|
+
GET: "GET";
|
|
2607
|
+
HEAD: "HEAD";
|
|
2608
|
+
PATCH: "PATCH";
|
|
2609
|
+
DELETE: "DELETE";
|
|
2610
|
+
OPTIONS: "OPTIONS";
|
|
2611
|
+
}>;
|
|
2612
|
+
path: z.ZodString;
|
|
2613
|
+
}, z.core.$strict>>>;
|
|
2614
|
+
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2615
|
+
migrationCount: z.ZodNumber;
|
|
2616
|
+
schemaHash: z.ZodNullable<z.ZodString>;
|
|
2617
|
+
variables: z.ZodObject<{
|
|
2618
|
+
source: z.ZodLiteral<"stattic-variables">;
|
|
2619
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2791
2620
|
}, z.core.$strict>;
|
|
2792
2621
|
realtime: z.ZodObject<{
|
|
2793
|
-
|
|
2794
|
-
|
|
2622
|
+
mode: z.ZodEnum<{
|
|
2623
|
+
local: "local";
|
|
2624
|
+
cast: "cast";
|
|
2625
|
+
central: "central";
|
|
2626
|
+
}>;
|
|
2627
|
+
centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2628
|
+
path: z.ZodOptional<z.ZodString>;
|
|
2629
|
+
replayPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2630
|
+
replayUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2631
|
+
runPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2632
|
+
runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2633
|
+
resourceKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2634
|
+
ticketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2635
|
+
socketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2636
|
+
spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2637
|
+
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2795
2638
|
}, z.core.$strict>;
|
|
2796
|
-
}, z.core.$strict
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2639
|
+
}, z.core.$strict>>;
|
|
2640
|
+
worker: z.ZodNullable<z.ZodObject<{
|
|
2641
|
+
artifactId: z.ZodString;
|
|
2642
|
+
appName: z.ZodString;
|
|
2643
|
+
entry: z.ZodString;
|
|
2644
|
+
compatibilityDate: z.ZodString;
|
|
2645
|
+
compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2646
|
+
routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2647
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
2648
|
+
POST: "POST";
|
|
2649
|
+
PUT: "PUT";
|
|
2650
|
+
GET: "GET";
|
|
2651
|
+
HEAD: "HEAD";
|
|
2652
|
+
PATCH: "PATCH";
|
|
2653
|
+
DELETE: "DELETE";
|
|
2654
|
+
OPTIONS: "OPTIONS";
|
|
2655
|
+
}>>>;
|
|
2656
|
+
path: z.ZodString;
|
|
2657
|
+
subtree: z.ZodDefault<z.ZodBoolean>;
|
|
2658
|
+
}, z.core.$strict>>>;
|
|
2659
|
+
capabilities: z.ZodDefault<z.ZodObject<{
|
|
2660
|
+
db: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2661
|
+
fetch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2662
|
+
auth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2663
|
+
env: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2664
|
+
realtime: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2665
|
+
logging: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2666
|
+
gravatar: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2667
|
+
spam: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2668
|
+
email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2669
|
+
}, z.core.$strip>>;
|
|
2670
|
+
executionState: z.ZodEnum<{
|
|
2671
|
+
ready: "ready";
|
|
2672
|
+
absent: "absent";
|
|
2673
|
+
serving: "serving";
|
|
2825
2674
|
}>;
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
socketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2835
|
-
spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2836
|
-
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2837
|
-
}, z.core.$strict>;
|
|
2838
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2839
|
-
runtimeKind: z.ZodLiteral<"functions">;
|
|
2840
|
-
artifactId: z.ZodString;
|
|
2841
|
-
appName: z.ZodString;
|
|
2842
|
-
entry: z.ZodString;
|
|
2843
|
-
compatibilityDate: z.ZodString;
|
|
2844
|
-
compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2845
|
-
routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2846
|
-
method: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
2847
|
-
POST: "POST";
|
|
2848
|
-
PUT: "PUT";
|
|
2849
|
-
GET: "GET";
|
|
2850
|
-
HEAD: "HEAD";
|
|
2851
|
-
PATCH: "PATCH";
|
|
2852
|
-
DELETE: "DELETE";
|
|
2853
|
-
OPTIONS: "OPTIONS";
|
|
2854
|
-
}>>>;
|
|
2855
|
-
path: z.ZodString;
|
|
2856
|
-
subtree: z.ZodDefault<z.ZodBoolean>;
|
|
2857
|
-
}, z.core.$strict>>>;
|
|
2858
|
-
capabilities: z.ZodDefault<z.ZodObject<{
|
|
2859
|
-
db: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2860
|
-
fetch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2861
|
-
auth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2862
|
-
env: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2863
|
-
realtime: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2864
|
-
logging: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2865
|
-
}, z.core.$strip>>;
|
|
2866
|
-
executionState: z.ZodEnum<{
|
|
2867
|
-
ready: "ready";
|
|
2868
|
-
absent: "absent";
|
|
2869
|
-
serving: "serving";
|
|
2870
|
-
}>;
|
|
2871
|
-
bundleSize: z.ZodNumber;
|
|
2872
|
-
bundleSha256: z.ZodString;
|
|
2873
|
-
variables: z.ZodObject<{
|
|
2874
|
-
source: z.ZodLiteral<"spacefast-variables">;
|
|
2875
|
-
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2876
|
-
}, z.core.$strict>;
|
|
2877
|
-
}, z.core.$strict>], "runtimeKind">>;
|
|
2675
|
+
bundleSize: z.ZodNumber;
|
|
2676
|
+
bundleSha256: z.ZodString;
|
|
2677
|
+
variables: z.ZodObject<{
|
|
2678
|
+
source: z.ZodLiteral<"spacefast-variables">;
|
|
2679
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2680
|
+
}, z.core.$strict>;
|
|
2681
|
+
}, z.core.$strict>>;
|
|
2682
|
+
}, z.core.$strict>>;
|
|
2878
2683
|
}, z.core.$strip>;
|
|
2879
2684
|
export declare const spaceApplyChangeBaseSchema: z.ZodObject<{
|
|
2880
2685
|
kind: z.ZodEnum<{
|
|
@@ -2961,8 +2766,8 @@ export declare const spaceApplyStateSchema: z.ZodObject<{
|
|
|
2961
2766
|
code: z.ZodString;
|
|
2962
2767
|
severity: z.ZodEnum<{
|
|
2963
2768
|
info: "info";
|
|
2964
|
-
error: "error";
|
|
2965
2769
|
warning: "warning";
|
|
2770
|
+
error: "error";
|
|
2966
2771
|
}>;
|
|
2967
2772
|
message: z.ZodString;
|
|
2968
2773
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3036,8 +2841,8 @@ export declare const spaceApplyResponseSchema: z.ZodObject<{
|
|
|
3036
2841
|
code: z.ZodString;
|
|
3037
2842
|
severity: z.ZodEnum<{
|
|
3038
2843
|
info: "info";
|
|
3039
|
-
error: "error";
|
|
3040
2844
|
warning: "warning";
|
|
2845
|
+
error: "error";
|
|
3041
2846
|
}>;
|
|
3042
2847
|
message: z.ZodString;
|
|
3043
2848
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|