@spacefast/common 0.0.11 → 0.0.13
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 +4 -4
- package/dist/agents/connect-targets.js +3 -3
- package/dist/agents/private-key-oauth.d.ts +37 -0
- package/dist/agents/private-key-oauth.js +158 -0
- package/dist/config/domains.js +1 -1
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.js +1 -0
- package/dist/config/postgres-budget.d.ts +126 -0
- package/dist/config/postgres-budget.js +135 -0
- package/dist/config/postgres-budget.json +50 -0
- package/dist/contracts/access.d.ts +386 -1183
- package/dist/contracts/access.js +240 -1018
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +11 -19
- package/dist/contracts/api-keys.d.ts +69 -45
- package/dist/contracts/api-keys.js +3 -0
- package/dist/contracts/archives.d.ts +9 -10
- package/dist/contracts/archives.js +4 -6
- package/dist/contracts/builds.d.ts +8 -8
- package/dist/contracts/builds.js +28 -48
- package/dist/contracts/channels.js +1 -2
- package/dist/contracts/comments.d.ts +102 -93
- package/dist/contracts/comments.js +121 -63
- package/dist/contracts/common.d.ts +4 -3
- package/dist/contracts/common.js +2 -0
- package/dist/contracts/countries.js +2 -7
- package/dist/contracts/data-source-routes.d.ts +20 -0
- package/dist/contracts/data-source-routes.js +15 -0
- package/dist/contracts/deployments.d.ts +3 -3
- package/dist/contracts/device-auth.d.ts +21 -15
- package/dist/contracts/docs.d.ts +5 -5
- package/dist/contracts/domains.d.ts +261 -1330
- package/dist/contracts/domains.js +39 -301
- package/dist/contracts/email-preferences.d.ts +50 -0
- package/dist/contracts/email-preferences.js +44 -0
- package/dist/contracts/enums.d.ts +3 -5
- package/dist/contracts/enums.js +3 -8
- package/dist/contracts/error-code-meta.d.ts +99 -33
- package/dist/contracts/error-code-meta.js +36 -9
- package/dist/contracts/error-codes.d.ts +1 -1
- package/dist/contracts/error-codes.js +28 -11
- package/dist/contracts/execution.d.ts +212 -0
- package/dist/contracts/execution.js +288 -0
- package/dist/contracts/feature-lifecycle.d.ts +498 -2
- package/dist/contracts/feature-lifecycle.js +539 -2
- package/dist/contracts/features.d.ts +184 -74
- package/dist/contracts/features.js +4 -303
- package/dist/contracts/functions.d.ts +729 -0
- package/dist/contracts/functions.js +485 -0
- package/dist/contracts/git.d.ts +1 -1
- package/dist/contracts/grants.d.ts +1158 -0
- package/dist/contracts/grants.js +696 -0
- package/dist/contracts/ids.d.ts +6 -5
- package/dist/contracts/ids.js +6 -5
- package/dist/contracts/internal.d.ts +3 -3
- package/dist/contracts/mcp.d.ts +12 -12
- package/dist/contracts/me.js +1 -1
- package/dist/contracts/mounts.d.ts +142 -0
- package/dist/contracts/mounts.js +56 -0
- package/dist/contracts/oauth-resources.d.ts +5 -5
- package/dist/contracts/oauth-resources.js +2 -0
- package/dist/contracts/operations.d.ts +4 -4
- package/dist/contracts/pages.d.ts +6 -14
- package/dist/contracts/pages.js +11 -23
- package/dist/contracts/plan-policy.d.ts +2 -9
- package/dist/contracts/plan-policy.js +1 -4
- package/dist/contracts/platform.d.ts +80 -32
- package/dist/contracts/platform.js +59 -12
- package/dist/contracts/push-new.d.ts +26 -2
- package/dist/contracts/push-new.js +8 -0
- package/dist/contracts/quotas.d.ts +0 -1
- package/dist/contracts/quotas.js +0 -5
- package/dist/contracts/repository-connections.d.ts +1 -1
- package/dist/contracts/resources.d.ts +21 -85
- package/dist/contracts/resources.js +17 -47
- package/dist/contracts/runtime-api.d.ts +799 -192
- package/dist/contracts/runtime-api.js +231 -100
- package/dist/contracts/runtime-app.d.ts +138 -0
- package/dist/contracts/runtime-app.js +21 -0
- package/dist/contracts/sf-config-v1.d.ts +5 -0
- package/dist/contracts/sf-config-v1.js +1 -1
- package/dist/contracts/sites.d.ts +17 -12
- package/dist/contracts/sites.js +30 -12
- package/dist/contracts/space-config.d.ts +46 -117
- package/dist/contracts/space-config.js +323 -25
- package/dist/contracts/spaces.d.ts +392 -256
- package/dist/contracts/spaces.js +163 -83
- package/dist/contracts/superadmin-emails.d.ts +27 -3
- package/dist/contracts/superadmin-emails.js +10 -15
- package/dist/contracts/superadmin-runtime.d.ts +2 -2
- package/dist/contracts/superadmin-spaces.d.ts +19 -142
- package/dist/contracts/superadmin-spaces.js +7 -0
- package/dist/contracts/tags.d.ts +66 -36
- package/dist/contracts/tags.js +195 -11
- package/dist/contracts/teams.d.ts +9 -9
- package/dist/contracts/transfers.d.ts +1 -2
- package/dist/contracts/variables.d.ts +4 -4
- package/dist/contracts/variables.js +4 -3
- package/dist/contracts/webhooks.d.ts +2 -2
- package/dist/contracts/zero.d.ts +437 -193
- package/dist/contracts/zero.js +149 -158
- package/dist/dashboard-paths/index.d.ts +3 -3
- package/dist/dashboard-paths/index.js +1 -0
- package/dist/docs/agent-prose.js +10 -8
- package/dist/docs/agent-setup.d.ts +6 -4
- package/dist/docs/agent-setup.js +26 -16
- package/dist/docs/agent-solutions.js +1 -1
- package/dist/docs/catalog.d.ts +35 -37
- package/dist/docs/catalog.js +36 -38
- package/dist/docs/error-docs.js +108 -44
- package/dist/utils/asset-fingerprint.d.ts +11 -0
- package/dist/utils/asset-fingerprint.js +46 -0
- package/dist/utils/auth-redirect.d.ts +1 -3
- package/dist/utils/auth-redirect.js +1 -21
- package/dist/utils/build-settings.d.ts +2 -0
- package/dist/utils/build-settings.js +61 -9
- package/dist/utils/credential-policy.d.ts +1 -1
- package/dist/utils/credential-policy.js +4 -0
- package/dist/utils/dns-instructions.d.ts +29 -0
- package/dist/utils/dns-instructions.js +78 -0
- package/dist/utils/domain-diagnostics.d.ts +29 -0
- package/dist/utils/domain-diagnostics.js +63 -0
- package/dist/utils/egress-policy.fixtures.json +51 -0
- package/dist/utils/grants.d.ts +53 -0
- package/dist/utils/grants.js +160 -0
- package/dist/utils/id-hints.d.ts +1 -0
- package/dist/utils/id-hints.js +55 -13
- package/dist/utils/local-space-state.js +1 -0
- package/dist/utils/page-colors.d.ts +50 -0
- package/dist/utils/page-colors.js +167 -0
- package/dist/utils/page-fonts.d.ts +2 -0
- package/dist/utils/page-fonts.js +4 -0
- package/dist/utils/pages.d.ts +19 -6
- package/dist/utils/pages.js +122 -49
- package/dist/utils/production-runtime.d.ts +18 -0
- package/dist/utils/production-runtime.js +28 -0
- package/dist/utils/publish-policy.d.ts +34 -4
- package/dist/utils/publish-policy.js +132 -61
- package/dist/utils/query-keys.d.ts +7 -13
- package/dist/utils/query-keys.js +12 -18
- package/dist/utils/source-archive-policy.d.ts +2 -0
- package/dist/utils/source-archive-policy.js +2 -0
- package/dist/utils/space-config.d.ts +5 -1
- package/dist/utils/space-config.js +35 -0
- package/dist/utils/static-runtime-policy.d.ts +5 -0
- package/dist/utils/static-runtime-policy.fixtures.json +57 -0
- package/dist/utils/static-runtime-policy.js +54 -10
- package/dist/utils/upload-session.d.ts +3 -0
- package/dist/utils/upload-session.js +31 -0
- package/package.json +6 -4
- package/dist/contracts/annotations.d.ts +0 -327
- package/dist/contracts/annotations.js +0 -235
- package/dist/contracts/generated-feature-launch-entries.d.ts +0 -2
- package/dist/contracts/generated-feature-launch-entries.js +0 -518
- package/dist/contracts/publishes.d.ts +0 -135
- package/dist/contracts/publishes.js +0 -162
- package/dist/utils/access-match.d.ts +0 -39
- package/dist/utils/access-match.js +0 -296
- package/dist/utils/sf-config-v1.d.ts +0 -2
- package/dist/utils/sf-config-v1.js +0 -542
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
expiresAt: z.
|
|
6
|
-
warning: z.ZodString;
|
|
2
|
+
export declare const spaceClaimReceiptSchema: z.ZodObject<{
|
|
3
|
+
token: z.ZodString;
|
|
4
|
+
url: z.ZodString;
|
|
5
|
+
expiresAt: z.ZodString;
|
|
7
6
|
}, z.core.$strip>;
|
|
8
7
|
export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
9
8
|
space: z.ZodObject<{
|
|
@@ -38,7 +37,6 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
38
37
|
abuse_takedown: "abuse_takedown";
|
|
39
38
|
tenant_suspended: "tenant_suspended";
|
|
40
39
|
site_suspended: "site_suspended";
|
|
41
|
-
visit_cap_exceeded: "visit_cap_exceeded";
|
|
42
40
|
}>;
|
|
43
41
|
}, z.core.$strip>>;
|
|
44
42
|
claimState: z.ZodNullable<z.ZodObject<{
|
|
@@ -78,11 +76,7 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
78
76
|
}>;
|
|
79
77
|
moving: z.ZodBoolean;
|
|
80
78
|
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
81
|
-
versionId: z.
|
|
82
|
-
weighted: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
83
|
-
versionId: z.ZodString;
|
|
84
|
-
percentage: z.ZodNumber;
|
|
85
|
-
}, z.core.$strip>>>;
|
|
79
|
+
versionId: z.ZodString;
|
|
86
80
|
updatedAt: z.ZodString;
|
|
87
81
|
}, z.core.$strip>>;
|
|
88
82
|
config: z.ZodNullable<z.ZodObject<{
|
|
@@ -149,7 +143,6 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
149
143
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
150
144
|
}, z.core.$strict>>;
|
|
151
145
|
placement: z.ZodOptional<z.ZodObject<{
|
|
152
|
-
region: z.ZodOptional<z.ZodString>;
|
|
153
146
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
154
147
|
shared: "shared";
|
|
155
148
|
dedicated: "dedicated";
|
|
@@ -164,72 +157,14 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
164
157
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
165
158
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
166
159
|
}, z.core.$strip>>;
|
|
160
|
+
dataSources: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
161
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
162
|
+
url: z.ZodString;
|
|
163
|
+
}, z.core.$strict>>>>;
|
|
164
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
167
165
|
}, z.core.$strip>>;
|
|
168
166
|
settingsDigest: z.ZodString;
|
|
169
167
|
noindex: z.ZodBoolean;
|
|
170
|
-
policy: z.ZodNullable<z.ZodObject<{
|
|
171
|
-
rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
172
|
-
id: z.ZodOptional<z.ZodString>;
|
|
173
|
-
match: z.ZodDefault<z.ZodObject<{
|
|
174
|
-
host: z.ZodOptional<z.ZodString>;
|
|
175
|
-
hostPattern: z.ZodOptional<z.ZodString>;
|
|
176
|
-
hostTemplate: z.ZodOptional<z.ZodString>;
|
|
177
|
-
pathPattern: z.ZodOptional<z.ZodString>;
|
|
178
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
179
|
-
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
180
|
-
agent: z.ZodOptional<z.ZodString>;
|
|
181
|
-
country: z.ZodOptional<z.ZodString>;
|
|
182
|
-
header: z.ZodOptional<z.ZodObject<{
|
|
183
|
-
name: z.ZodString;
|
|
184
|
-
value: z.ZodString;
|
|
185
|
-
}, z.core.$strip>>;
|
|
186
|
-
}, z.core.$strip>>;
|
|
187
|
-
effect: z.ZodEnum<{
|
|
188
|
-
allow: "allow";
|
|
189
|
-
deny: "deny";
|
|
190
|
-
challenge: "challenge";
|
|
191
|
-
}>;
|
|
192
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
193
|
-
requiredGrants: z.ZodArray<z.ZodString>;
|
|
194
|
-
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
195
|
-
kid: z.ZodString;
|
|
196
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
197
|
-
publicKey: z.ZodString;
|
|
198
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
199
|
-
}, z.core.$strip>>>;
|
|
200
|
-
acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
201
|
-
type: z.ZodLiteral<"password">;
|
|
202
|
-
ref: z.ZodString;
|
|
203
|
-
transport: z.ZodEnum<{
|
|
204
|
-
basic: "basic";
|
|
205
|
-
form: "form";
|
|
206
|
-
}>;
|
|
207
|
-
username: z.ZodOptional<z.ZodString>;
|
|
208
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
209
|
-
type: z.ZodLiteral<"login">;
|
|
210
|
-
url: z.ZodString;
|
|
211
|
-
label: z.ZodOptional<z.ZodString>;
|
|
212
|
-
}, z.core.$strip>], "type">>>;
|
|
213
|
-
}, z.core.$strip>>;
|
|
214
|
-
managedBy: z.ZodOptional<z.ZodEnum<{
|
|
215
|
-
sharing: "sharing";
|
|
216
|
-
firewall: "firewall";
|
|
217
|
-
file_share: "file_share";
|
|
218
|
-
cast_reviewer: "cast_reviewer";
|
|
219
|
-
team_default: "team_default";
|
|
220
|
-
}>>;
|
|
221
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
222
|
-
reasonCode: z.ZodOptional<z.ZodString>;
|
|
223
|
-
message: z.ZodOptional<z.ZodString>;
|
|
224
|
-
}, z.core.$strip>>>;
|
|
225
|
-
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
226
|
-
kid: z.ZodString;
|
|
227
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
228
|
-
publicKey: z.ZodString;
|
|
229
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
230
|
-
}, z.core.$strip>>>;
|
|
231
|
-
sessionVersion: z.ZodOptional<z.ZodNumber>;
|
|
232
|
-
}, z.core.$strip>>;
|
|
233
168
|
operation: z.ZodNullable<z.ZodObject<{
|
|
234
169
|
id: z.ZodString;
|
|
235
170
|
kind: z.ZodString;
|
|
@@ -253,8 +188,8 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
253
188
|
code: z.ZodString;
|
|
254
189
|
severity: z.ZodEnum<{
|
|
255
190
|
info: "info";
|
|
256
|
-
warning: "warning";
|
|
257
191
|
error: "error";
|
|
192
|
+
warning: "warning";
|
|
258
193
|
}>;
|
|
259
194
|
message: z.ZodString;
|
|
260
195
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -274,19 +209,27 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
274
209
|
createdAt: z.ZodString;
|
|
275
210
|
updatedAt: z.ZodString;
|
|
276
211
|
}, z.core.$strip>;
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
212
|
+
open: z.ZodObject<{
|
|
213
|
+
url: z.ZodString;
|
|
214
|
+
expiresAt: z.ZodString;
|
|
215
|
+
kind: z.ZodEnum<{
|
|
216
|
+
management: "management";
|
|
217
|
+
person: "person";
|
|
218
|
+
claim_preview: "claim_preview";
|
|
219
|
+
}>;
|
|
220
|
+
}, z.core.$strip>;
|
|
221
|
+
claim: z.ZodOptional<z.ZodObject<{
|
|
222
|
+
token: z.ZodString;
|
|
223
|
+
url: z.ZodString;
|
|
224
|
+
expiresAt: z.ZodString;
|
|
282
225
|
}, z.core.$strip>>;
|
|
283
226
|
}, z.core.$strip>;
|
|
284
227
|
export declare const spaceDiagnosticSchema: z.ZodObject<{
|
|
285
228
|
code: z.ZodString;
|
|
286
229
|
severity: z.ZodEnum<{
|
|
287
230
|
info: "info";
|
|
288
|
-
warning: "warning";
|
|
289
231
|
error: "error";
|
|
232
|
+
warning: "warning";
|
|
290
233
|
}>;
|
|
291
234
|
message: z.ZodString;
|
|
292
235
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -309,8 +252,8 @@ export declare const spaceDiagnosticListResponseSchema: z.ZodObject<{
|
|
|
309
252
|
code: z.ZodString;
|
|
310
253
|
severity: z.ZodEnum<{
|
|
311
254
|
info: "info";
|
|
312
|
-
warning: "warning";
|
|
313
255
|
error: "error";
|
|
256
|
+
warning: "warning";
|
|
314
257
|
}>;
|
|
315
258
|
message: z.ZodString;
|
|
316
259
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -415,7 +358,6 @@ export declare const spaceCreateSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
|
415
358
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
416
359
|
}, z.core.$strict>>;
|
|
417
360
|
placement: z.ZodOptional<z.ZodObject<{
|
|
418
|
-
region: z.ZodOptional<z.ZodString>;
|
|
419
361
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
420
362
|
shared: "shared";
|
|
421
363
|
dedicated: "dedicated";
|
|
@@ -430,11 +372,17 @@ export declare const spaceCreateSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
|
430
372
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
431
373
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
432
374
|
}, z.core.$strip>>;
|
|
375
|
+
dataSources: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
376
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
377
|
+
url: z.ZodString;
|
|
378
|
+
}, z.core.$strict>>>>;
|
|
379
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
433
380
|
}, z.core.$strip>>;
|
|
434
381
|
dataLocation: z.ZodOptional<z.ZodString>;
|
|
435
382
|
}, z.core.$strip>>>;
|
|
436
383
|
export declare const spacePatchSchema: z.ZodObject<{
|
|
437
384
|
title: z.ZodOptional<z.ZodString>;
|
|
385
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
438
386
|
config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
439
387
|
index: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
440
388
|
fallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -499,7 +447,6 @@ export declare const spacePatchSchema: z.ZodObject<{
|
|
|
499
447
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
500
448
|
}, z.core.$strict>>;
|
|
501
449
|
placement: z.ZodOptional<z.ZodObject<{
|
|
502
|
-
region: z.ZodOptional<z.ZodString>;
|
|
503
450
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
504
451
|
shared: "shared";
|
|
505
452
|
dedicated: "dedicated";
|
|
@@ -514,12 +461,16 @@ export declare const spacePatchSchema: z.ZodObject<{
|
|
|
514
461
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
515
462
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
516
463
|
}, z.core.$strip>>;
|
|
464
|
+
dataSources: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
465
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
466
|
+
url: z.ZodString;
|
|
467
|
+
}, z.core.$strict>>>>;
|
|
468
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
517
469
|
}, z.core.$strip>>>;
|
|
518
470
|
baseSettingsDigest: z.ZodOptional<z.ZodString>;
|
|
519
471
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
520
472
|
dataLocation: z.ZodOptional<z.ZodString>;
|
|
521
473
|
placement: z.ZodOptional<z.ZodObject<{
|
|
522
|
-
region: z.ZodOptional<z.ZodString>;
|
|
523
474
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
524
475
|
shared: "shared";
|
|
525
476
|
dedicated: "dedicated";
|
|
@@ -527,7 +478,6 @@ export declare const spacePatchSchema: z.ZodObject<{
|
|
|
527
478
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
528
479
|
}, z.core.$strict>>;
|
|
529
480
|
noindex: z.ZodOptional<z.ZodBoolean>;
|
|
530
|
-
password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
531
481
|
}, z.core.$strict>;
|
|
532
482
|
export declare const spaceClaimSchema: z.ZodObject<{
|
|
533
483
|
claimToken: z.ZodString;
|
|
@@ -555,6 +505,31 @@ export declare const anonymousClaimSpacePreviewSchema: z.ZodObject<{
|
|
|
555
505
|
liveUrl: z.ZodNullable<z.ZodString>;
|
|
556
506
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
557
507
|
}, z.core.$strip>;
|
|
508
|
+
export declare const anonymousClaimSharingSummarySchema: z.ZodObject<{
|
|
509
|
+
people: z.ZodArray<z.ZodObject<{
|
|
510
|
+
id: z.ZodString;
|
|
511
|
+
displayName: z.ZodString;
|
|
512
|
+
status: z.ZodEnum<{
|
|
513
|
+
pending: "pending";
|
|
514
|
+
accepted: "accepted";
|
|
515
|
+
}>;
|
|
516
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
517
|
+
scope: z.ZodString;
|
|
518
|
+
role: z.ZodEnum<{
|
|
519
|
+
viewer: "viewer";
|
|
520
|
+
commenter: "commenter";
|
|
521
|
+
editor: "editor";
|
|
522
|
+
}>;
|
|
523
|
+
}, z.core.$strip>>;
|
|
524
|
+
}, z.core.$strip>>;
|
|
525
|
+
links: z.ZodArray<z.ZodObject<{
|
|
526
|
+
id: z.ZodString;
|
|
527
|
+
name: z.ZodString;
|
|
528
|
+
landingPath: z.ZodString;
|
|
529
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
530
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
531
|
+
}, z.core.$strip>>;
|
|
532
|
+
}, z.core.$strip>;
|
|
558
533
|
export declare const anonymousClaimResponseSchema: z.ZodObject<{
|
|
559
534
|
state: z.ZodEnum<{
|
|
560
535
|
unclaimed: "unclaimed";
|
|
@@ -585,7 +560,33 @@ export declare const anonymousClaimResponseSchema: z.ZodObject<{
|
|
|
585
560
|
slug: z.ZodString;
|
|
586
561
|
name: z.ZodString;
|
|
587
562
|
}, z.core.$strip>>>;
|
|
563
|
+
sharing: z.ZodObject<{
|
|
564
|
+
people: z.ZodArray<z.ZodObject<{
|
|
565
|
+
id: z.ZodString;
|
|
566
|
+
displayName: z.ZodString;
|
|
567
|
+
status: z.ZodEnum<{
|
|
568
|
+
pending: "pending";
|
|
569
|
+
accepted: "accepted";
|
|
570
|
+
}>;
|
|
571
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
572
|
+
scope: z.ZodString;
|
|
573
|
+
role: z.ZodEnum<{
|
|
574
|
+
viewer: "viewer";
|
|
575
|
+
commenter: "commenter";
|
|
576
|
+
editor: "editor";
|
|
577
|
+
}>;
|
|
578
|
+
}, z.core.$strip>>;
|
|
579
|
+
}, z.core.$strip>>;
|
|
580
|
+
links: z.ZodArray<z.ZodObject<{
|
|
581
|
+
id: z.ZodString;
|
|
582
|
+
name: z.ZodString;
|
|
583
|
+
landingPath: z.ZodString;
|
|
584
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
585
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
586
|
+
}, z.core.$strip>>;
|
|
587
|
+
}, z.core.$strip>;
|
|
588
588
|
}, z.core.$strip>;
|
|
589
|
+
export type AnonymousClaimResponse = z.infer<typeof anonymousClaimResponseSchema>;
|
|
589
590
|
export declare const anonymousClaimStatusResponseSchema: z.ZodObject<{
|
|
590
591
|
publish: z.ZodObject<{
|
|
591
592
|
status: z.ZodEnum<{
|
|
@@ -647,6 +648,16 @@ export declare const anonymousClaimExchangeResponseSchema: z.ZodObject<{
|
|
|
647
648
|
teamId: z.ZodString;
|
|
648
649
|
}, z.core.$strip>;
|
|
649
650
|
}, z.core.$strip>;
|
|
651
|
+
export declare const anonymousClaimRotateSchema: z.ZodObject<{
|
|
652
|
+
spaceId: z.ZodString;
|
|
653
|
+
}, z.core.$strip>;
|
|
654
|
+
export declare const anonymousClaimRotateResponseSchema: z.ZodObject<{
|
|
655
|
+
spaceId: z.ZodString;
|
|
656
|
+
claimToken: z.ZodString;
|
|
657
|
+
claimNonce: z.ZodString;
|
|
658
|
+
claimUrl: z.ZodString;
|
|
659
|
+
expiresAt: z.ZodString;
|
|
660
|
+
}, z.core.$strip>;
|
|
650
661
|
export declare const spaceClaimReminderSchema: z.ZodObject<{
|
|
651
662
|
email: z.ZodString;
|
|
652
663
|
}, z.core.$strip>;
|
|
@@ -654,6 +665,8 @@ export declare const spaceClaimReminderResponseSchema: z.ZodObject<{
|
|
|
654
665
|
accepted: z.ZodLiteral<true>;
|
|
655
666
|
}, z.core.$strip>;
|
|
656
667
|
export declare const spaceVersionCreateSchema: z.ZodObject<{
|
|
668
|
+
deletePaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
669
|
+
immutableAssetPrefixes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
657
670
|
source: z.ZodOptional<z.ZodObject<{
|
|
658
671
|
kind: z.ZodEnum<{
|
|
659
672
|
api: "api";
|
|
@@ -696,14 +709,16 @@ export declare const spaceVersionCreateSchema: z.ZodObject<{
|
|
|
696
709
|
headers: z.ZodOptional<z.ZodString>;
|
|
697
710
|
routes: z.ZodOptional<z.ZodString>;
|
|
698
711
|
}, z.core.$strip>>;
|
|
699
|
-
|
|
712
|
+
finalize: z.ZodOptional<z.ZodObject<{
|
|
713
|
+
channel: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"live">>>;
|
|
714
|
+
}, z.core.$strip>>;
|
|
715
|
+
files: z.ZodArray<z.ZodObject<{
|
|
700
716
|
path: z.ZodString;
|
|
701
717
|
size: z.ZodNumber;
|
|
702
718
|
sha256: z.ZodOptional<z.ZodString>;
|
|
703
719
|
contentType: z.ZodOptional<z.ZodString>;
|
|
704
720
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
705
|
-
}, z.core.$strip
|
|
706
|
-
deletePaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
721
|
+
}, z.core.$strip>>;
|
|
707
722
|
}, z.core.$strip>;
|
|
708
723
|
export declare const spaceVersionListSchema: z.ZodObject<{
|
|
709
724
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -760,10 +775,7 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
760
775
|
manifestHash: z.ZodNullable<z.ZodString>;
|
|
761
776
|
buildId: z.ZodNullable<z.ZodString>;
|
|
762
777
|
importedFromVersionId: z.ZodNullable<z.ZodString>;
|
|
763
|
-
variables: z.
|
|
764
|
-
name: z.ZodString;
|
|
765
|
-
valueHash: z.ZodString;
|
|
766
|
-
}, z.core.$strip>>>;
|
|
778
|
+
variables: z.ZodNull;
|
|
767
779
|
fileCount: z.ZodNullable<z.ZodNumber>;
|
|
768
780
|
totalBytes: z.ZodNullable<z.ZodNumber>;
|
|
769
781
|
pendingUploads: z.ZodArray<z.ZodObject<{
|
|
@@ -774,6 +786,10 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
774
786
|
}, z.core.$strip>>;
|
|
775
787
|
skippedPaths: z.ZodArray<z.ZodString>;
|
|
776
788
|
immutableUrl: z.ZodNullable<z.ZodString>;
|
|
789
|
+
immutableUrlStatus: z.ZodNullable<z.ZodEnum<{
|
|
790
|
+
ready: "ready";
|
|
791
|
+
converging: "converging";
|
|
792
|
+
}>>;
|
|
777
793
|
isCurrentProduction: z.ZodBoolean;
|
|
778
794
|
siteTitle: z.ZodString;
|
|
779
795
|
config: z.ZodNullable<z.ZodObject<{
|
|
@@ -840,7 +856,6 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
840
856
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
841
857
|
}, z.core.$strict>>;
|
|
842
858
|
placement: z.ZodOptional<z.ZodObject<{
|
|
843
|
-
region: z.ZodOptional<z.ZodString>;
|
|
844
859
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
845
860
|
shared: "shared";
|
|
846
861
|
dedicated: "dedicated";
|
|
@@ -855,6 +870,11 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
855
870
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
856
871
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
857
872
|
}, z.core.$strip>>;
|
|
873
|
+
dataSources: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
874
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
875
|
+
url: z.ZodString;
|
|
876
|
+
}, z.core.$strict>>>>;
|
|
877
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
858
878
|
}, z.core.$strip>>;
|
|
859
879
|
operation: z.ZodNullable<z.ZodObject<{
|
|
860
880
|
id: z.ZodString;
|
|
@@ -879,8 +899,8 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
879
899
|
code: z.ZodString;
|
|
880
900
|
severity: z.ZodEnum<{
|
|
881
901
|
info: "info";
|
|
882
|
-
warning: "warning";
|
|
883
902
|
error: "error";
|
|
903
|
+
warning: "warning";
|
|
884
904
|
}>;
|
|
885
905
|
message: z.ZodString;
|
|
886
906
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -906,8 +926,8 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
906
926
|
code: z.ZodString;
|
|
907
927
|
severity: z.ZodEnum<{
|
|
908
928
|
info: "info";
|
|
909
|
-
warning: "warning";
|
|
910
929
|
error: "error";
|
|
930
|
+
warning: "warning";
|
|
911
931
|
}>;
|
|
912
932
|
message: z.ZodString;
|
|
913
933
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -926,7 +946,6 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
926
946
|
}, z.core.$strip>>>;
|
|
927
947
|
createdAt: z.ZodString;
|
|
928
948
|
readyAt: z.ZodNullable<z.ZodString>;
|
|
929
|
-
accessibleUntil: z.ZodNullable<z.ZodString>;
|
|
930
949
|
retainedUntil: z.ZodNullable<z.ZodString>;
|
|
931
950
|
updatedAt: z.ZodString;
|
|
932
951
|
}, z.core.$strip>>;
|
|
@@ -968,7 +987,6 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
968
987
|
abuse_takedown: "abuse_takedown";
|
|
969
988
|
tenant_suspended: "tenant_suspended";
|
|
970
989
|
site_suspended: "site_suspended";
|
|
971
|
-
visit_cap_exceeded: "visit_cap_exceeded";
|
|
972
990
|
}>;
|
|
973
991
|
}, z.core.$strip>>;
|
|
974
992
|
claimState: z.ZodNullable<z.ZodObject<{
|
|
@@ -1008,11 +1026,7 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1008
1026
|
}>;
|
|
1009
1027
|
moving: z.ZodBoolean;
|
|
1010
1028
|
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1011
|
-
versionId: z.
|
|
1012
|
-
weighted: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1013
|
-
versionId: z.ZodString;
|
|
1014
|
-
percentage: z.ZodNumber;
|
|
1015
|
-
}, z.core.$strip>>>;
|
|
1029
|
+
versionId: z.ZodString;
|
|
1016
1030
|
updatedAt: z.ZodString;
|
|
1017
1031
|
}, z.core.$strip>>;
|
|
1018
1032
|
config: z.ZodNullable<z.ZodObject<{
|
|
@@ -1079,7 +1093,6 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1079
1093
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1080
1094
|
}, z.core.$strict>>;
|
|
1081
1095
|
placement: z.ZodOptional<z.ZodObject<{
|
|
1082
|
-
region: z.ZodOptional<z.ZodString>;
|
|
1083
1096
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1084
1097
|
shared: "shared";
|
|
1085
1098
|
dedicated: "dedicated";
|
|
@@ -1094,72 +1107,14 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1094
1107
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1095
1108
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1096
1109
|
}, z.core.$strip>>;
|
|
1110
|
+
dataSources: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1111
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
1112
|
+
url: z.ZodString;
|
|
1113
|
+
}, z.core.$strict>>>>;
|
|
1114
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
1097
1115
|
}, z.core.$strip>>;
|
|
1098
1116
|
settingsDigest: z.ZodString;
|
|
1099
1117
|
noindex: z.ZodBoolean;
|
|
1100
|
-
policy: z.ZodNullable<z.ZodObject<{
|
|
1101
|
-
rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1102
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1103
|
-
match: z.ZodDefault<z.ZodObject<{
|
|
1104
|
-
host: z.ZodOptional<z.ZodString>;
|
|
1105
|
-
hostPattern: z.ZodOptional<z.ZodString>;
|
|
1106
|
-
hostTemplate: z.ZodOptional<z.ZodString>;
|
|
1107
|
-
pathPattern: z.ZodOptional<z.ZodString>;
|
|
1108
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
1109
|
-
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1110
|
-
agent: z.ZodOptional<z.ZodString>;
|
|
1111
|
-
country: z.ZodOptional<z.ZodString>;
|
|
1112
|
-
header: z.ZodOptional<z.ZodObject<{
|
|
1113
|
-
name: z.ZodString;
|
|
1114
|
-
value: z.ZodString;
|
|
1115
|
-
}, z.core.$strip>>;
|
|
1116
|
-
}, z.core.$strip>>;
|
|
1117
|
-
effect: z.ZodEnum<{
|
|
1118
|
-
allow: "allow";
|
|
1119
|
-
deny: "deny";
|
|
1120
|
-
challenge: "challenge";
|
|
1121
|
-
}>;
|
|
1122
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
1123
|
-
requiredGrants: z.ZodArray<z.ZodString>;
|
|
1124
|
-
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1125
|
-
kid: z.ZodString;
|
|
1126
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
1127
|
-
publicKey: z.ZodString;
|
|
1128
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
1129
|
-
}, z.core.$strip>>>;
|
|
1130
|
-
acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1131
|
-
type: z.ZodLiteral<"password">;
|
|
1132
|
-
ref: z.ZodString;
|
|
1133
|
-
transport: z.ZodEnum<{
|
|
1134
|
-
basic: "basic";
|
|
1135
|
-
form: "form";
|
|
1136
|
-
}>;
|
|
1137
|
-
username: z.ZodOptional<z.ZodString>;
|
|
1138
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1139
|
-
type: z.ZodLiteral<"login">;
|
|
1140
|
-
url: z.ZodString;
|
|
1141
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1142
|
-
}, z.core.$strip>], "type">>>;
|
|
1143
|
-
}, z.core.$strip>>;
|
|
1144
|
-
managedBy: z.ZodOptional<z.ZodEnum<{
|
|
1145
|
-
sharing: "sharing";
|
|
1146
|
-
firewall: "firewall";
|
|
1147
|
-
file_share: "file_share";
|
|
1148
|
-
cast_reviewer: "cast_reviewer";
|
|
1149
|
-
team_default: "team_default";
|
|
1150
|
-
}>>;
|
|
1151
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
1152
|
-
reasonCode: z.ZodOptional<z.ZodString>;
|
|
1153
|
-
message: z.ZodOptional<z.ZodString>;
|
|
1154
|
-
}, z.core.$strip>>>;
|
|
1155
|
-
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1156
|
-
kid: z.ZodString;
|
|
1157
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
1158
|
-
publicKey: z.ZodString;
|
|
1159
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
1160
|
-
}, z.core.$strip>>>;
|
|
1161
|
-
sessionVersion: z.ZodOptional<z.ZodNumber>;
|
|
1162
|
-
}, z.core.$strip>>;
|
|
1163
1118
|
operation: z.ZodNullable<z.ZodObject<{
|
|
1164
1119
|
id: z.ZodString;
|
|
1165
1120
|
kind: z.ZodString;
|
|
@@ -1183,8 +1138,8 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1183
1138
|
code: z.ZodString;
|
|
1184
1139
|
severity: z.ZodEnum<{
|
|
1185
1140
|
info: "info";
|
|
1186
|
-
warning: "warning";
|
|
1187
1141
|
error: "error";
|
|
1142
|
+
warning: "warning";
|
|
1188
1143
|
}>;
|
|
1189
1144
|
message: z.ZodString;
|
|
1190
1145
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1691,8 +1646,8 @@ export declare const spaceVersionFileResponseSchema: z.ZodObject<{
|
|
|
1691
1646
|
contentType: z.ZodNullable<z.ZodString>;
|
|
1692
1647
|
sha256: z.ZodNullable<z.ZodString>;
|
|
1693
1648
|
encoding: z.ZodEnum<{
|
|
1694
|
-
base64: "base64";
|
|
1695
1649
|
utf8: "utf8";
|
|
1650
|
+
base64: "base64";
|
|
1696
1651
|
}>;
|
|
1697
1652
|
content: z.ZodString;
|
|
1698
1653
|
truncated: z.ZodBoolean;
|
|
@@ -1829,8 +1784,8 @@ export declare const spaceVersionConventionArtifactContentResponseSchema: z.ZodO
|
|
|
1829
1784
|
warningCount: z.ZodNumber;
|
|
1830
1785
|
errorCount: z.ZodNumber;
|
|
1831
1786
|
encoding: z.ZodEnum<{
|
|
1832
|
-
base64: "base64";
|
|
1833
1787
|
utf8: "utf8";
|
|
1788
|
+
base64: "base64";
|
|
1834
1789
|
}>;
|
|
1835
1790
|
content: z.ZodString;
|
|
1836
1791
|
truncated: z.ZodBoolean;
|
|
@@ -1842,8 +1797,8 @@ export declare const spaceVersionRoutingDiagnosticSchema: z.ZodObject<{
|
|
|
1842
1797
|
}>;
|
|
1843
1798
|
line: z.ZodNumber;
|
|
1844
1799
|
severity: z.ZodEnum<{
|
|
1845
|
-
warning: "warning";
|
|
1846
1800
|
error: "error";
|
|
1801
|
+
warning: "warning";
|
|
1847
1802
|
}>;
|
|
1848
1803
|
code: z.ZodString;
|
|
1849
1804
|
message: z.ZodString;
|
|
@@ -1882,7 +1837,6 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
|
1882
1837
|
headerRuleCount: z.ZodNumber;
|
|
1883
1838
|
staticRedirectCount: z.ZodNumber;
|
|
1884
1839
|
dynamicRedirectCount: z.ZodNumber;
|
|
1885
|
-
basicAuthRuleCount: z.ZodNumber;
|
|
1886
1840
|
proxyRuleCount: z.ZodNumber;
|
|
1887
1841
|
}, z.core.$strip>;
|
|
1888
1842
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
@@ -1892,8 +1846,8 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
|
1892
1846
|
}>;
|
|
1893
1847
|
line: z.ZodNumber;
|
|
1894
1848
|
severity: z.ZodEnum<{
|
|
1895
|
-
warning: "warning";
|
|
1896
1849
|
error: "error";
|
|
1850
|
+
warning: "warning";
|
|
1897
1851
|
}>;
|
|
1898
1852
|
code: z.ZodString;
|
|
1899
1853
|
message: z.ZodString;
|
|
@@ -1901,24 +1855,24 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
|
1901
1855
|
}, z.core.$strip>>;
|
|
1902
1856
|
}, z.core.$strip>;
|
|
1903
1857
|
export declare const spaceVersionFileDiffStatusSchema: z.ZodEnum<{
|
|
1904
|
-
deleted: "deleted";
|
|
1905
|
-
unchanged: "unchanged";
|
|
1906
1858
|
binary: "binary";
|
|
1859
|
+
deleted: "deleted";
|
|
1907
1860
|
added: "added";
|
|
1908
1861
|
modified: "modified";
|
|
1909
1862
|
renamed: "renamed";
|
|
1863
|
+
unchanged: "unchanged";
|
|
1910
1864
|
too_large: "too_large";
|
|
1911
1865
|
}>;
|
|
1912
1866
|
export declare const spaceVersionFileDiffEntrySchema: z.ZodObject<{
|
|
1913
1867
|
path: z.ZodString;
|
|
1914
1868
|
oldPath: z.ZodNullable<z.ZodString>;
|
|
1915
1869
|
status: z.ZodEnum<{
|
|
1916
|
-
deleted: "deleted";
|
|
1917
|
-
unchanged: "unchanged";
|
|
1918
1870
|
binary: "binary";
|
|
1871
|
+
deleted: "deleted";
|
|
1919
1872
|
added: "added";
|
|
1920
1873
|
modified: "modified";
|
|
1921
1874
|
renamed: "renamed";
|
|
1875
|
+
unchanged: "unchanged";
|
|
1922
1876
|
too_large: "too_large";
|
|
1923
1877
|
}>;
|
|
1924
1878
|
before: z.ZodNullable<z.ZodObject<{
|
|
@@ -1971,9 +1925,18 @@ export declare const spaceVersionFileDiffEntrySchema: z.ZodObject<{
|
|
|
1971
1925
|
format: z.ZodLiteral<"unified">;
|
|
1972
1926
|
content: z.ZodString;
|
|
1973
1927
|
truncated: z.ZodBoolean;
|
|
1928
|
+
truncationReason: z.ZodNullable<z.ZodLiteral<"patch_byte_limit">>;
|
|
1974
1929
|
}, z.core.$strip>>;
|
|
1930
|
+
patchOmission: z.ZodNullable<z.ZodEnum<{
|
|
1931
|
+
input_too_large: "input_too_large";
|
|
1932
|
+
not_previewable: "not_previewable";
|
|
1933
|
+
content_unavailable: "content_unavailable";
|
|
1934
|
+
patch_budget_exhausted: "patch_budget_exhausted";
|
|
1935
|
+
}>>;
|
|
1975
1936
|
}, z.core.$strip>;
|
|
1976
1937
|
export declare const spaceVersionFileDiffQuerySchema: z.ZodObject<{
|
|
1938
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1939
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1977
1940
|
baseVersionId: z.ZodOptional<z.ZodString>;
|
|
1978
1941
|
}, z.core.$strip>;
|
|
1979
1942
|
export declare const spaceVersionFileDiffResponseSchema: z.ZodObject<{
|
|
@@ -1983,12 +1946,12 @@ export declare const spaceVersionFileDiffResponseSchema: z.ZodObject<{
|
|
|
1983
1946
|
path: z.ZodString;
|
|
1984
1947
|
oldPath: z.ZodNullable<z.ZodString>;
|
|
1985
1948
|
status: z.ZodEnum<{
|
|
1986
|
-
deleted: "deleted";
|
|
1987
|
-
unchanged: "unchanged";
|
|
1988
1949
|
binary: "binary";
|
|
1950
|
+
deleted: "deleted";
|
|
1989
1951
|
added: "added";
|
|
1990
1952
|
modified: "modified";
|
|
1991
1953
|
renamed: "renamed";
|
|
1954
|
+
unchanged: "unchanged";
|
|
1992
1955
|
too_large: "too_large";
|
|
1993
1956
|
}>;
|
|
1994
1957
|
before: z.ZodNullable<z.ZodObject<{
|
|
@@ -2041,8 +2004,29 @@ export declare const spaceVersionFileDiffResponseSchema: z.ZodObject<{
|
|
|
2041
2004
|
format: z.ZodLiteral<"unified">;
|
|
2042
2005
|
content: z.ZodString;
|
|
2043
2006
|
truncated: z.ZodBoolean;
|
|
2007
|
+
truncationReason: z.ZodNullable<z.ZodLiteral<"patch_byte_limit">>;
|
|
2044
2008
|
}, z.core.$strip>>;
|
|
2009
|
+
patchOmission: z.ZodNullable<z.ZodEnum<{
|
|
2010
|
+
input_too_large: "input_too_large";
|
|
2011
|
+
not_previewable: "not_previewable";
|
|
2012
|
+
content_unavailable: "content_unavailable";
|
|
2013
|
+
patch_budget_exhausted: "patch_budget_exhausted";
|
|
2014
|
+
}>>;
|
|
2045
2015
|
}, z.core.$strip>>;
|
|
2016
|
+
pagination: z.ZodObject<{
|
|
2017
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
2018
|
+
hasMore: z.ZodBoolean;
|
|
2019
|
+
}, z.core.$strip>;
|
|
2020
|
+
limits: z.ZodObject<{
|
|
2021
|
+
maxFiles: z.ZodNumber;
|
|
2022
|
+
maxInputBytes: z.ZodNumber;
|
|
2023
|
+
maxPatchBytes: z.ZodNumber;
|
|
2024
|
+
readConcurrency: z.ZodNumber;
|
|
2025
|
+
}, z.core.$strip>;
|
|
2026
|
+
usage: z.ZodObject<{
|
|
2027
|
+
inputBytes: z.ZodNumber;
|
|
2028
|
+
patchBytes: z.ZodNumber;
|
|
2029
|
+
}, z.core.$strip>;
|
|
2046
2030
|
}, z.core.$strip>;
|
|
2047
2031
|
export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
|
|
2048
2032
|
versionId: z.ZodNullable<z.ZodString>;
|
|
@@ -2061,8 +2045,8 @@ export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
|
|
|
2061
2045
|
targets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2062
2046
|
path: z.ZodString;
|
|
2063
2047
|
method: z.ZodEnum<{
|
|
2064
|
-
PUT: "PUT";
|
|
2065
2048
|
POST: "POST";
|
|
2049
|
+
PUT: "PUT";
|
|
2066
2050
|
}>;
|
|
2067
2051
|
url: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2068
2052
|
headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2092,8 +2076,8 @@ export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
|
|
|
2092
2076
|
code: z.ZodString;
|
|
2093
2077
|
severity: z.ZodEnum<{
|
|
2094
2078
|
info: "info";
|
|
2095
|
-
warning: "warning";
|
|
2096
2079
|
error: "error";
|
|
2080
|
+
warning: "warning";
|
|
2097
2081
|
}>;
|
|
2098
2082
|
message: z.ZodString;
|
|
2099
2083
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2112,24 +2096,6 @@ export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
|
|
|
2112
2096
|
ignoredPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2113
2097
|
}, z.core.$strip>;
|
|
2114
2098
|
export declare const publishRequestSchema: z.ZodObject<{
|
|
2115
|
-
spaceId: z.ZodOptional<z.ZodString>;
|
|
2116
|
-
siteId: z.ZodOptional<z.ZodString>;
|
|
2117
|
-
teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2118
|
-
principal: z.ZodOptional<z.ZodObject<{
|
|
2119
|
-
type: z.ZodEnum<{
|
|
2120
|
-
team: "team";
|
|
2121
|
-
external: "external";
|
|
2122
|
-
}>;
|
|
2123
|
-
id: z.ZodString;
|
|
2124
|
-
}, z.core.$strip>>;
|
|
2125
|
-
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2126
|
-
path: z.ZodString;
|
|
2127
|
-
size: z.ZodNumber;
|
|
2128
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2129
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
2130
|
-
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
2131
|
-
}, z.core.$strip>>>;
|
|
2132
|
-
deletePaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2133
2099
|
source: z.ZodOptional<z.ZodObject<{
|
|
2134
2100
|
kind: z.ZodEnum<{
|
|
2135
2101
|
api: "api";
|
|
@@ -2161,6 +2127,8 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
2161
2127
|
pullRequestNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2162
2128
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2163
2129
|
}, z.core.$strip>>;
|
|
2130
|
+
sourceMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2131
|
+
buildLog: z.ZodOptional<z.ZodString>;
|
|
2164
2132
|
publishMode: z.ZodDefault<z.ZodEnum<{
|
|
2165
2133
|
additive: "additive";
|
|
2166
2134
|
snapshot: "snapshot";
|
|
@@ -2238,7 +2206,6 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
2238
2206
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2239
2207
|
}, z.core.$strict>>;
|
|
2240
2208
|
placement: z.ZodOptional<z.ZodObject<{
|
|
2241
|
-
region: z.ZodOptional<z.ZodString>;
|
|
2242
2209
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
2243
2210
|
shared: "shared";
|
|
2244
2211
|
dedicated: "dedicated";
|
|
@@ -2253,6 +2220,30 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
2253
2220
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2254
2221
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2255
2222
|
}, z.core.$strip>>;
|
|
2223
|
+
dataSources: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2224
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
2225
|
+
url: z.ZodString;
|
|
2226
|
+
}, z.core.$strict>>>>;
|
|
2227
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
2228
|
+
}, z.core.$strip>>;
|
|
2229
|
+
deletePaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2230
|
+
immutableAssetPrefixes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2231
|
+
spaceId: z.ZodOptional<z.ZodString>;
|
|
2232
|
+
siteId: z.ZodOptional<z.ZodString>;
|
|
2233
|
+
teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2234
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
2235
|
+
type: z.ZodEnum<{
|
|
2236
|
+
team: "team";
|
|
2237
|
+
external: "external";
|
|
2238
|
+
}>;
|
|
2239
|
+
id: z.ZodString;
|
|
2240
|
+
}, z.core.$strip>>;
|
|
2241
|
+
files: z.ZodArray<z.ZodObject<{
|
|
2242
|
+
path: z.ZodString;
|
|
2243
|
+
size: z.ZodNumber;
|
|
2244
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
2245
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
2246
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
2256
2247
|
}, z.core.$strip>>;
|
|
2257
2248
|
}, z.core.$strip>;
|
|
2258
2249
|
export declare const publishUploadReceiptSchema: z.ZodObject<{
|
|
@@ -2270,8 +2261,8 @@ export declare const publishUploadReceiptSchema: z.ZodObject<{
|
|
|
2270
2261
|
targets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2271
2262
|
path: z.ZodString;
|
|
2272
2263
|
method: z.ZodEnum<{
|
|
2273
|
-
PUT: "PUT";
|
|
2274
2264
|
POST: "POST";
|
|
2265
|
+
PUT: "PUT";
|
|
2275
2266
|
}>;
|
|
2276
2267
|
url: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2277
2268
|
headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2301,8 +2292,8 @@ export declare const publishUploadReceiptSchema: z.ZodObject<{
|
|
|
2301
2292
|
code: z.ZodString;
|
|
2302
2293
|
severity: z.ZodEnum<{
|
|
2303
2294
|
info: "info";
|
|
2304
|
-
warning: "warning";
|
|
2305
2295
|
error: "error";
|
|
2296
|
+
warning: "warning";
|
|
2306
2297
|
}>;
|
|
2307
2298
|
message: z.ZodString;
|
|
2308
2299
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2344,6 +2335,31 @@ export declare const publishReceiptVersionSchema: z.ZodObject<{
|
|
|
2344
2335
|
number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2345
2336
|
manifestHash: z.ZodNullable<z.ZodString>;
|
|
2346
2337
|
}, z.core.$strip>;
|
|
2338
|
+
export declare const publishActivationSchema: z.ZodObject<{
|
|
2339
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
2340
|
+
live: "live";
|
|
2341
|
+
}>>;
|
|
2342
|
+
outcome: z.ZodEnum<{
|
|
2343
|
+
pending: "pending";
|
|
2344
|
+
activated: "activated";
|
|
2345
|
+
unpromoted: "unpromoted";
|
|
2346
|
+
superseded: "superseded";
|
|
2347
|
+
}>;
|
|
2348
|
+
currentLiveVersionId: z.ZodNullable<z.ZodString>;
|
|
2349
|
+
}, z.core.$strip>;
|
|
2350
|
+
export declare const publishNextSchema: z.ZodObject<{
|
|
2351
|
+
action: z.ZodEnum<{
|
|
2352
|
+
upload: "upload";
|
|
2353
|
+
finalize: "finalize";
|
|
2354
|
+
done: "done";
|
|
2355
|
+
poll: "poll";
|
|
2356
|
+
}>;
|
|
2357
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2358
|
+
retryAfter: z.ZodOptional<z.ZodNumber>;
|
|
2359
|
+
hint: z.ZodString;
|
|
2360
|
+
}, z.core.$strip>;
|
|
2361
|
+
export type PublishActivation = z.infer<typeof publishActivationSchema>;
|
|
2362
|
+
export type PublishNext = z.infer<typeof publishNextSchema>;
|
|
2347
2363
|
export declare const publishReceiptSchema: z.ZodObject<{
|
|
2348
2364
|
space: z.ZodObject<{
|
|
2349
2365
|
id: z.ZodString;
|
|
@@ -2352,6 +2368,15 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2352
2368
|
defaultHostname: z.ZodString;
|
|
2353
2369
|
liveUrl: z.ZodNullable<z.ZodString>;
|
|
2354
2370
|
}, z.core.$strip>;
|
|
2371
|
+
open: z.ZodOptional<z.ZodObject<{
|
|
2372
|
+
url: z.ZodString;
|
|
2373
|
+
expiresAt: z.ZodString;
|
|
2374
|
+
kind: z.ZodEnum<{
|
|
2375
|
+
management: "management";
|
|
2376
|
+
person: "person";
|
|
2377
|
+
claim_preview: "claim_preview";
|
|
2378
|
+
}>;
|
|
2379
|
+
}, z.core.$strip>>;
|
|
2355
2380
|
version: z.ZodObject<{
|
|
2356
2381
|
id: z.ZodString;
|
|
2357
2382
|
status: z.ZodEnum<{
|
|
@@ -2371,6 +2396,29 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2371
2396
|
number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2372
2397
|
manifestHash: z.ZodNullable<z.ZodString>;
|
|
2373
2398
|
}, z.core.$strip>;
|
|
2399
|
+
activation: z.ZodObject<{
|
|
2400
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
2401
|
+
live: "live";
|
|
2402
|
+
}>>;
|
|
2403
|
+
outcome: z.ZodEnum<{
|
|
2404
|
+
pending: "pending";
|
|
2405
|
+
activated: "activated";
|
|
2406
|
+
unpromoted: "unpromoted";
|
|
2407
|
+
superseded: "superseded";
|
|
2408
|
+
}>;
|
|
2409
|
+
currentLiveVersionId: z.ZodNullable<z.ZodString>;
|
|
2410
|
+
}, z.core.$strip>;
|
|
2411
|
+
next: z.ZodObject<{
|
|
2412
|
+
action: z.ZodEnum<{
|
|
2413
|
+
upload: "upload";
|
|
2414
|
+
finalize: "finalize";
|
|
2415
|
+
done: "done";
|
|
2416
|
+
poll: "poll";
|
|
2417
|
+
}>;
|
|
2418
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2419
|
+
retryAfter: z.ZodOptional<z.ZodNumber>;
|
|
2420
|
+
hint: z.ZodString;
|
|
2421
|
+
}, z.core.$strip>;
|
|
2374
2422
|
operation: z.ZodOptional<z.ZodObject<{
|
|
2375
2423
|
id: z.ZodString;
|
|
2376
2424
|
kind: z.ZodString;
|
|
@@ -2394,8 +2442,8 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2394
2442
|
code: z.ZodString;
|
|
2395
2443
|
severity: z.ZodEnum<{
|
|
2396
2444
|
info: "info";
|
|
2397
|
-
warning: "warning";
|
|
2398
2445
|
error: "error";
|
|
2446
|
+
warning: "warning";
|
|
2399
2447
|
}>;
|
|
2400
2448
|
message: z.ZodString;
|
|
2401
2449
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2412,7 +2460,6 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2412
2460
|
createdAt: z.ZodString;
|
|
2413
2461
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
2414
2462
|
}, z.core.$strip>>;
|
|
2415
|
-
shareBlurb: z.ZodString;
|
|
2416
2463
|
upload: z.ZodOptional<z.ZodObject<{
|
|
2417
2464
|
id: z.ZodString;
|
|
2418
2465
|
mode: z.ZodEnum<{
|
|
@@ -2428,8 +2475,8 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2428
2475
|
targets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2429
2476
|
path: z.ZodString;
|
|
2430
2477
|
method: z.ZodEnum<{
|
|
2431
|
-
PUT: "PUT";
|
|
2432
2478
|
POST: "POST";
|
|
2479
|
+
PUT: "PUT";
|
|
2433
2480
|
}>;
|
|
2434
2481
|
url: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2435
2482
|
headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2459,8 +2506,8 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2459
2506
|
code: z.ZodString;
|
|
2460
2507
|
severity: z.ZodEnum<{
|
|
2461
2508
|
info: "info";
|
|
2462
|
-
warning: "warning";
|
|
2463
2509
|
error: "error";
|
|
2510
|
+
warning: "warning";
|
|
2464
2511
|
}>;
|
|
2465
2512
|
message: z.ZodString;
|
|
2466
2513
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2477,7 +2524,7 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2477
2524
|
}, z.core.$strip>>;
|
|
2478
2525
|
}, z.core.$strip>>;
|
|
2479
2526
|
claim: z.ZodOptional<z.ZodObject<{
|
|
2480
|
-
token: z.
|
|
2527
|
+
token: z.ZodString;
|
|
2481
2528
|
url: z.ZodString;
|
|
2482
2529
|
expiresAt: z.ZodString;
|
|
2483
2530
|
}, z.core.$strip>>;
|
|
@@ -2485,8 +2532,8 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2485
2532
|
code: z.ZodString;
|
|
2486
2533
|
severity: z.ZodEnum<{
|
|
2487
2534
|
info: "info";
|
|
2488
|
-
warning: "warning";
|
|
2489
2535
|
error: "error";
|
|
2536
|
+
warning: "warning";
|
|
2490
2537
|
}>;
|
|
2491
2538
|
message: z.ZodString;
|
|
2492
2539
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2527,8 +2574,8 @@ export declare const spaceVersionResumeResponseSchema: z.ZodObject<{
|
|
|
2527
2574
|
targets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2528
2575
|
path: z.ZodString;
|
|
2529
2576
|
method: z.ZodEnum<{
|
|
2530
|
-
PUT: "PUT";
|
|
2531
2577
|
POST: "POST";
|
|
2578
|
+
PUT: "PUT";
|
|
2532
2579
|
}>;
|
|
2533
2580
|
url: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2534
2581
|
headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2558,8 +2605,8 @@ export declare const spaceVersionResumeResponseSchema: z.ZodObject<{
|
|
|
2558
2605
|
code: z.ZodString;
|
|
2559
2606
|
severity: z.ZodEnum<{
|
|
2560
2607
|
info: "info";
|
|
2561
|
-
warning: "warning";
|
|
2562
2608
|
error: "error";
|
|
2609
|
+
warning: "warning";
|
|
2563
2610
|
}>;
|
|
2564
2611
|
message: z.ZodString;
|
|
2565
2612
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2616,10 +2663,8 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2616
2663
|
}>>;
|
|
2617
2664
|
liveRuntimeKind: z.ZodNullable<z.ZodEnum<{
|
|
2618
2665
|
zero: "zero";
|
|
2666
|
+
functions: "functions";
|
|
2619
2667
|
static: "static";
|
|
2620
|
-
php: "php";
|
|
2621
|
-
node: "node";
|
|
2622
|
-
workers: "workers";
|
|
2623
2668
|
}>>;
|
|
2624
2669
|
pendingVersionStatus: z.ZodNullable<z.ZodEnum<{
|
|
2625
2670
|
failed: "failed";
|
|
@@ -2656,8 +2701,8 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2656
2701
|
code: z.ZodString;
|
|
2657
2702
|
severity: z.ZodEnum<{
|
|
2658
2703
|
info: "info";
|
|
2659
|
-
warning: "warning";
|
|
2660
2704
|
error: "error";
|
|
2705
|
+
warning: "warning";
|
|
2661
2706
|
}>;
|
|
2662
2707
|
message: z.ZodString;
|
|
2663
2708
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2674,41 +2719,135 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2674
2719
|
createdAt: z.ZodString;
|
|
2675
2720
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
2676
2721
|
}, z.core.$strip>>;
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2722
|
+
app: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2723
|
+
runtimeKind: z.ZodLiteral<"zero">;
|
|
2724
|
+
artifactId: z.ZodString;
|
|
2725
|
+
appName: z.ZodString;
|
|
2726
|
+
serverRuntime: z.ZodLiteral<"quickjs-rust">;
|
|
2727
|
+
inspect: z.ZodObject<{
|
|
2728
|
+
policy: z.ZodEnum<{
|
|
2729
|
+
public: "public";
|
|
2730
|
+
private: "private";
|
|
2731
|
+
}>;
|
|
2732
|
+
}, z.core.$strict>;
|
|
2733
|
+
install: z.ZodObject<{
|
|
2734
|
+
runtimeKind: z.ZodLiteral<"zero">;
|
|
2735
|
+
engine: z.ZodLiteral<"quickjs-rust">;
|
|
2736
|
+
storageRoot: z.ZodLiteral<"__spacefast/zero">;
|
|
2737
|
+
artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
|
|
2738
|
+
configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
|
|
2739
|
+
binary: z.ZodObject<{
|
|
2740
|
+
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
2741
|
+
compatibilityTarget: z.ZodObject<{
|
|
2742
|
+
profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
|
|
2743
|
+
os: z.ZodLiteral<"linux">;
|
|
2744
|
+
cpu: z.ZodLiteral<"x86_64">;
|
|
2745
|
+
libc: z.ZodLiteral<"glibc">;
|
|
2746
|
+
linking: z.ZodLiteral<"dynamic">;
|
|
2747
|
+
requireExecutableBit: z.ZodLiteral<true>;
|
|
2748
|
+
}, z.core.$strict>;
|
|
2749
|
+
sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2750
|
+
required: z.ZodLiteral<true>;
|
|
2751
|
+
}, z.core.$strict>;
|
|
2752
|
+
mysql: z.ZodObject<{
|
|
2753
|
+
migrateAtFinalize: z.ZodLiteral<true>;
|
|
2754
|
+
blockIncompatibleRollback: z.ZodLiteral<true>;
|
|
2755
|
+
}, z.core.$strict>;
|
|
2756
|
+
realtime: z.ZodObject<{
|
|
2757
|
+
production: z.ZodLiteral<"stattic-central">;
|
|
2758
|
+
local: z.ZodLiteral<"foreground-cli-ws">;
|
|
2759
|
+
}, z.core.$strict>;
|
|
2760
|
+
}, z.core.$strict>;
|
|
2761
|
+
tables: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2762
|
+
queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2763
|
+
mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2764
|
+
endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2765
|
+
method: z.ZodEnum<{
|
|
2766
|
+
POST: "POST";
|
|
2767
|
+
PUT: "PUT";
|
|
2768
|
+
GET: "GET";
|
|
2769
|
+
HEAD: "HEAD";
|
|
2770
|
+
PATCH: "PATCH";
|
|
2771
|
+
DELETE: "DELETE";
|
|
2772
|
+
OPTIONS: "OPTIONS";
|
|
2773
|
+
}>;
|
|
2774
|
+
path: z.ZodString;
|
|
2775
|
+
}, z.core.$strict>>>;
|
|
2776
|
+
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2777
|
+
variables: z.ZodObject<{
|
|
2778
|
+
source: z.ZodLiteral<"stattic-variables">;
|
|
2779
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2780
|
+
}, z.core.$strict>;
|
|
2781
|
+
realtime: z.ZodObject<{
|
|
2782
|
+
mode: z.ZodEnum<{
|
|
2783
|
+
"stattic-central": "stattic-central";
|
|
2784
|
+
"spacefast-cast": "spacefast-cast";
|
|
2785
|
+
"local-dev": "local-dev";
|
|
2786
|
+
"local-websocket": "local-websocket";
|
|
2787
|
+
}>;
|
|
2788
|
+
centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2789
|
+
path: z.ZodOptional<z.ZodString>;
|
|
2790
|
+
replayPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2791
|
+
replayUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2792
|
+
runPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2793
|
+
runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2794
|
+
resourceKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2795
|
+
socketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2796
|
+
spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2797
|
+
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2798
|
+
}, z.core.$strict>;
|
|
2799
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2800
|
+
runtimeKind: z.ZodLiteral<"functions">;
|
|
2801
|
+
artifactId: z.ZodString;
|
|
2802
|
+
appName: z.ZodString;
|
|
2803
|
+
entry: z.ZodString;
|
|
2804
|
+
compatibilityDate: z.ZodString;
|
|
2805
|
+
compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2806
|
+
routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2807
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
2808
|
+
POST: "POST";
|
|
2809
|
+
PUT: "PUT";
|
|
2810
|
+
GET: "GET";
|
|
2811
|
+
HEAD: "HEAD";
|
|
2812
|
+
PATCH: "PATCH";
|
|
2813
|
+
DELETE: "DELETE";
|
|
2814
|
+
OPTIONS: "OPTIONS";
|
|
2815
|
+
}>>>;
|
|
2816
|
+
path: z.ZodString;
|
|
2817
|
+
subtree: z.ZodDefault<z.ZodBoolean>;
|
|
2818
|
+
}, z.core.$strict>>>;
|
|
2819
|
+
capabilities: z.ZodDefault<z.ZodObject<{
|
|
2820
|
+
db: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2821
|
+
fetch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2822
|
+
auth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2823
|
+
env: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2824
|
+
realtime: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2825
|
+
logging: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2826
|
+
}, z.core.$strip>>;
|
|
2827
|
+
executionState: z.ZodEnum<{
|
|
2828
|
+
ready: "ready";
|
|
2829
|
+
absent: "absent";
|
|
2830
|
+
serving: "serving";
|
|
2831
|
+
}>;
|
|
2832
|
+
bundleSize: z.ZodNumber;
|
|
2833
|
+
variables: z.ZodObject<{
|
|
2834
|
+
source: z.ZodLiteral<"spacefast-variables">;
|
|
2835
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2836
|
+
}, z.core.$strict>;
|
|
2837
|
+
inspect: z.ZodObject<{
|
|
2838
|
+
policy: z.ZodEnum<{
|
|
2839
|
+
public: "public";
|
|
2840
|
+
private: "private";
|
|
2841
|
+
}>;
|
|
2842
|
+
}, z.core.$strict>;
|
|
2843
|
+
}, z.core.$strict>], "runtimeKind">>;
|
|
2705
2844
|
}, z.core.$strip>;
|
|
2706
2845
|
export declare const spaceApplyChangeBaseSchema: z.ZodObject<{
|
|
2707
2846
|
kind: z.ZodEnum<{
|
|
2708
2847
|
routing: "routing";
|
|
2709
|
-
|
|
2710
|
-
settings: "settings";
|
|
2848
|
+
access: "access";
|
|
2711
2849
|
variable: "variable";
|
|
2850
|
+
settings: "settings";
|
|
2712
2851
|
}>;
|
|
2713
2852
|
name: z.ZodString;
|
|
2714
2853
|
label: z.ZodString;
|
|
@@ -2720,9 +2859,9 @@ export declare const spaceApplyModeSchema: z.ZodEnum<{
|
|
|
2720
2859
|
export declare const spaceApplyChangeSchema: z.ZodObject<{
|
|
2721
2860
|
kind: z.ZodEnum<{
|
|
2722
2861
|
routing: "routing";
|
|
2723
|
-
|
|
2724
|
-
settings: "settings";
|
|
2862
|
+
access: "access";
|
|
2725
2863
|
variable: "variable";
|
|
2864
|
+
settings: "settings";
|
|
2726
2865
|
}>;
|
|
2727
2866
|
name: z.ZodString;
|
|
2728
2867
|
label: z.ZodString;
|
|
@@ -2732,7 +2871,6 @@ export declare const spaceApplyChangeSchema: z.ZodObject<{
|
|
|
2732
2871
|
stage: "stage";
|
|
2733
2872
|
apply: "apply";
|
|
2734
2873
|
}>;
|
|
2735
|
-
changesetId: z.ZodOptional<z.ZodString>;
|
|
2736
2874
|
before: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2737
2875
|
after: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2738
2876
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2750,9 +2888,9 @@ export declare const spaceApplyStateSchema: z.ZodObject<{
|
|
|
2750
2888
|
changes: z.ZodArray<z.ZodObject<{
|
|
2751
2889
|
kind: z.ZodEnum<{
|
|
2752
2890
|
routing: "routing";
|
|
2753
|
-
|
|
2754
|
-
settings: "settings";
|
|
2891
|
+
access: "access";
|
|
2755
2892
|
variable: "variable";
|
|
2893
|
+
settings: "settings";
|
|
2756
2894
|
}>;
|
|
2757
2895
|
name: z.ZodString;
|
|
2758
2896
|
label: z.ZodString;
|
|
@@ -2762,7 +2900,6 @@ export declare const spaceApplyStateSchema: z.ZodObject<{
|
|
|
2762
2900
|
stage: "stage";
|
|
2763
2901
|
apply: "apply";
|
|
2764
2902
|
}>;
|
|
2765
|
-
changesetId: z.ZodOptional<z.ZodString>;
|
|
2766
2903
|
before: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2767
2904
|
after: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2768
2905
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2790,8 +2927,8 @@ export declare const spaceApplyStateSchema: z.ZodObject<{
|
|
|
2790
2927
|
code: z.ZodString;
|
|
2791
2928
|
severity: z.ZodEnum<{
|
|
2792
2929
|
info: "info";
|
|
2793
|
-
warning: "warning";
|
|
2794
2930
|
error: "error";
|
|
2931
|
+
warning: "warning";
|
|
2795
2932
|
}>;
|
|
2796
2933
|
message: z.ZodString;
|
|
2797
2934
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2826,9 +2963,9 @@ export declare const spaceApplyResponseSchema: z.ZodObject<{
|
|
|
2826
2963
|
changes: z.ZodArray<z.ZodObject<{
|
|
2827
2964
|
kind: z.ZodEnum<{
|
|
2828
2965
|
routing: "routing";
|
|
2829
|
-
|
|
2830
|
-
settings: "settings";
|
|
2966
|
+
access: "access";
|
|
2831
2967
|
variable: "variable";
|
|
2968
|
+
settings: "settings";
|
|
2832
2969
|
}>;
|
|
2833
2970
|
name: z.ZodString;
|
|
2834
2971
|
label: z.ZodString;
|
|
@@ -2838,7 +2975,6 @@ export declare const spaceApplyResponseSchema: z.ZodObject<{
|
|
|
2838
2975
|
stage: "stage";
|
|
2839
2976
|
apply: "apply";
|
|
2840
2977
|
}>;
|
|
2841
|
-
changesetId: z.ZodOptional<z.ZodString>;
|
|
2842
2978
|
before: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2843
2979
|
after: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2844
2980
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2866,8 +3002,8 @@ export declare const spaceApplyResponseSchema: z.ZodObject<{
|
|
|
2866
3002
|
code: z.ZodString;
|
|
2867
3003
|
severity: z.ZodEnum<{
|
|
2868
3004
|
info: "info";
|
|
2869
|
-
warning: "warning";
|
|
2870
3005
|
error: "error";
|
|
3006
|
+
warning: "warning";
|
|
2871
3007
|
}>;
|
|
2872
3008
|
message: z.ZodString;
|
|
2873
3009
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|