@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
|
@@ -17,12 +17,6 @@ export declare const runtimeVersionCreateRequestSchema: z.ZodObject<{
|
|
|
17
17
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
18
18
|
}, z.core.$strip>>>;
|
|
19
19
|
reusable_version_id: z.ZodOptional<z.ZodString>;
|
|
20
|
-
session_mode: z.ZodDefault<z.ZodEnum<{
|
|
21
|
-
open: "open";
|
|
22
|
-
declared: "declared";
|
|
23
|
-
}>>;
|
|
24
|
-
max_total_bytes: z.ZodOptional<z.ZodNumber>;
|
|
25
|
-
max_file_count: z.ZodOptional<z.ZodNumber>;
|
|
26
20
|
manifest_hash: z.ZodOptional<z.ZodString>;
|
|
27
21
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
28
22
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -37,14 +31,40 @@ export declare const runtimeVersionCreateResponseSchema: z.ZodObject<{
|
|
|
37
31
|
upload_id: z.ZodString;
|
|
38
32
|
created_at: z.ZodString;
|
|
39
33
|
}, z.core.$strip>;
|
|
34
|
+
export declare const runtimeUploadSessionDescriptorSchema: z.ZodObject<{
|
|
35
|
+
upload_id: z.ZodString;
|
|
36
|
+
space_id: z.ZodString;
|
|
37
|
+
version_id: z.ZodString;
|
|
38
|
+
expires_at: z.ZodString;
|
|
39
|
+
manifest_hash: z.ZodOptional<z.ZodString>;
|
|
40
|
+
files: z.ZodArray<z.ZodObject<{
|
|
41
|
+
path: z.ZodString;
|
|
42
|
+
size: z.ZodNumber;
|
|
43
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
44
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
45
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
retained_files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48
|
+
path: z.ZodString;
|
|
49
|
+
size: z.ZodNumber;
|
|
50
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
51
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
52
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
53
|
+
}, z.core.$strip>>>;
|
|
54
|
+
reusable_version_id: z.ZodOptional<z.ZodString>;
|
|
55
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
56
|
+
convention_files: z.ZodDefault<z.ZodObject<{
|
|
57
|
+
redirects: z.ZodOptional<z.ZodString>;
|
|
58
|
+
headers: z.ZodOptional<z.ZodString>;
|
|
59
|
+
}, z.core.$strict>>;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
export type RuntimeUploadSessionDescriptor = z.infer<typeof runtimeUploadSessionDescriptorSchema>;
|
|
62
|
+
export declare const RUNTIME_UPLOAD_SESSION_DESCRIPTOR_MAX_BYTES = 4096;
|
|
63
|
+
export declare const RUNTIME_UPLOAD_SESSION_STORED_MAX_BYTES: number;
|
|
40
64
|
export declare const runtimeUploadSessionResponseSchema: z.ZodObject<{
|
|
41
65
|
space_id: z.ZodString;
|
|
42
66
|
version_id: z.ZodString;
|
|
43
67
|
upload_id: z.ZodString;
|
|
44
|
-
session_mode: z.ZodEnum<{
|
|
45
|
-
open: "open";
|
|
46
|
-
declared: "declared";
|
|
47
|
-
}>;
|
|
48
68
|
created_at: z.ZodNullable<z.ZodString>;
|
|
49
69
|
expires_at: z.ZodNullable<z.ZodString>;
|
|
50
70
|
manifest_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -57,6 +77,114 @@ export declare const runtimeUploadSessionResponseSchema: z.ZodObject<{
|
|
|
57
77
|
pending_paths: z.ZodArray<z.ZodString>;
|
|
58
78
|
chunks: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNumber>>;
|
|
59
79
|
}, z.core.$strip>;
|
|
80
|
+
export declare const visitorJwkSchema: z.ZodObject<{
|
|
81
|
+
kty: z.ZodLiteral<"OKP">;
|
|
82
|
+
crv: z.ZodLiteral<"Ed25519">;
|
|
83
|
+
kid: z.ZodString;
|
|
84
|
+
alg: z.ZodLiteral<"EdDSA">;
|
|
85
|
+
x: z.ZodString;
|
|
86
|
+
use: z.ZodOptional<z.ZodLiteral<"sig">>;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
export declare const visitorJwksSchema: z.ZodObject<{
|
|
89
|
+
keys: z.ZodArray<z.ZodObject<{
|
|
90
|
+
kty: z.ZodLiteral<"OKP">;
|
|
91
|
+
crv: z.ZodLiteral<"Ed25519">;
|
|
92
|
+
kid: z.ZodString;
|
|
93
|
+
alg: z.ZodLiteral<"EdDSA">;
|
|
94
|
+
x: z.ZodString;
|
|
95
|
+
use: z.ZodOptional<z.ZodLiteral<"sig">>;
|
|
96
|
+
}, z.core.$strip>>;
|
|
97
|
+
}, z.core.$strip>;
|
|
98
|
+
export declare const runtimePublicExposureDescriptorSchema: z.ZodObject<{
|
|
99
|
+
v: z.ZodNumber;
|
|
100
|
+
public: z.ZodBoolean;
|
|
101
|
+
authorizationDigest: z.ZodString;
|
|
102
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
103
|
+
externalProxy: z.ZodBoolean;
|
|
104
|
+
unmodeled: z.ZodString;
|
|
105
|
+
}, z.core.$strip>;
|
|
106
|
+
export type RuntimePublicExposureDescriptor = z.infer<typeof runtimePublicExposureDescriptorSchema>;
|
|
107
|
+
export declare const runtimeAuthorizationProjectionSchema: z.ZodObject<{
|
|
108
|
+
generation: z.ZodNumber;
|
|
109
|
+
sessionVersion: z.ZodNumber;
|
|
110
|
+
fence: z.ZodEnum<{
|
|
111
|
+
none: "none";
|
|
112
|
+
ownership: "ownership";
|
|
113
|
+
exposure: "exposure";
|
|
114
|
+
}>;
|
|
115
|
+
acquireUrl: z.ZodString;
|
|
116
|
+
spaceClaimed: z.ZodBoolean;
|
|
117
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
118
|
+
name: z.ZodOptional<z.ZodString>;
|
|
119
|
+
audience: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
120
|
+
kind: z.ZodLiteral<"public">;
|
|
121
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
122
|
+
kind: z.ZodLiteral<"team">;
|
|
123
|
+
teamId: z.ZodString;
|
|
124
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
125
|
+
kind: z.ZodLiteral<"person">;
|
|
126
|
+
personId: z.ZodString;
|
|
127
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
128
|
+
kind: z.ZodLiteral<"link">;
|
|
129
|
+
linkId: z.ZodString;
|
|
130
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
131
|
+
kind: z.ZodLiteral<"password">;
|
|
132
|
+
credentialId: z.ZodString;
|
|
133
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
134
|
+
kind: z.ZodLiteral<"machine">;
|
|
135
|
+
machineId: z.ZodString;
|
|
136
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
137
|
+
kind: z.ZodLiteral<"external">;
|
|
138
|
+
issuer: z.ZodString;
|
|
139
|
+
subject: z.ZodString;
|
|
140
|
+
}, z.core.$strict>], "kind">;
|
|
141
|
+
resources: z.ZodObject<{
|
|
142
|
+
include: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
143
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
144
|
+
}, z.core.$strict>;
|
|
145
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
146
|
+
"page.view": "page.view";
|
|
147
|
+
"comments.read": "comments.read";
|
|
148
|
+
"comments.write": "comments.write";
|
|
149
|
+
"content.publish": "content.publish";
|
|
150
|
+
"access.manage": "access.manage";
|
|
151
|
+
}>>;
|
|
152
|
+
constraints: z.ZodDefault<z.ZodObject<{
|
|
153
|
+
notBefore: z.ZodOptional<z.ZodString>;
|
|
154
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
155
|
+
maxUses: z.ZodOptional<z.ZodNumber>;
|
|
156
|
+
requireVerifiedEmail: z.ZodOptional<z.ZodBoolean>;
|
|
157
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
158
|
+
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
159
|
+
countries: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
160
|
+
excludedCountries: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
161
|
+
excludedUserAgentSubstrings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
162
|
+
}, z.core.$strict>>;
|
|
163
|
+
}, z.core.$strict>>;
|
|
164
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
165
|
+
kind: z.ZodLiteral<"live">;
|
|
166
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
167
|
+
kind: z.ZodLiteral<"version">;
|
|
168
|
+
versionId: z.ZodString;
|
|
169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
+
kind: z.ZodLiteral<"branch">;
|
|
171
|
+
branch: z.ZodString;
|
|
172
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
173
|
+
kind: z.ZodLiteral<"all_versions">;
|
|
174
|
+
}, z.core.$strict>], "kind">;
|
|
175
|
+
id: z.ZodString;
|
|
176
|
+
source: z.ZodObject<{
|
|
177
|
+
kind: z.ZodEnum<{
|
|
178
|
+
config: "config";
|
|
179
|
+
system: "system";
|
|
180
|
+
managed: "managed";
|
|
181
|
+
}>;
|
|
182
|
+
reference: z.ZodString;
|
|
183
|
+
}, z.core.$strict>;
|
|
184
|
+
generation: z.ZodNumber;
|
|
185
|
+
}, z.core.$strict>>;
|
|
186
|
+
}, z.core.$strict>;
|
|
187
|
+
export type RuntimeAuthorizationProjection = z.infer<typeof runtimeAuthorizationProjectionSchema>;
|
|
60
188
|
export declare const runtimeZeroModeSchema: z.ZodEnum<{
|
|
61
189
|
active: "active";
|
|
62
190
|
activating: "activating";
|
|
@@ -64,11 +192,369 @@ export declare const runtimeZeroModeSchema: z.ZodEnum<{
|
|
|
64
192
|
export type RuntimeZeroMode = z.infer<typeof runtimeZeroModeSchema>;
|
|
65
193
|
export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
66
194
|
upload_id: z.ZodString;
|
|
195
|
+
session: z.ZodOptional<z.ZodObject<{
|
|
196
|
+
upload_id: z.ZodString;
|
|
197
|
+
space_id: z.ZodString;
|
|
198
|
+
version_id: z.ZodString;
|
|
199
|
+
expires_at: z.ZodString;
|
|
200
|
+
manifest_hash: z.ZodOptional<z.ZodString>;
|
|
201
|
+
files: z.ZodArray<z.ZodObject<{
|
|
202
|
+
path: z.ZodString;
|
|
203
|
+
size: z.ZodNumber;
|
|
204
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
205
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
206
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
207
|
+
}, z.core.$strip>>;
|
|
208
|
+
retained_files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
209
|
+
path: z.ZodString;
|
|
210
|
+
size: z.ZodNumber;
|
|
211
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
212
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
213
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
214
|
+
}, z.core.$strip>>>;
|
|
215
|
+
reusable_version_id: z.ZodOptional<z.ZodString>;
|
|
216
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
217
|
+
convention_files: z.ZodDefault<z.ZodObject<{
|
|
218
|
+
redirects: z.ZodOptional<z.ZodString>;
|
|
219
|
+
headers: z.ZodOptional<z.ZodString>;
|
|
220
|
+
}, z.core.$strict>>;
|
|
221
|
+
}, z.core.$strip>>;
|
|
67
222
|
zero_mode: z.ZodOptional<z.ZodEnum<{
|
|
68
223
|
active: "active";
|
|
69
224
|
activating: "activating";
|
|
70
225
|
}>>;
|
|
71
|
-
|
|
226
|
+
zero: z.ZodOptional<z.ZodObject<{
|
|
227
|
+
auth: z.ZodDefault<z.ZodObject<{
|
|
228
|
+
provider: z.ZodDefault<z.ZodLiteral<"wpcom">>;
|
|
229
|
+
signInPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/wpcom/start">>>;
|
|
230
|
+
signInUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
231
|
+
signOutPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/sign-out">>>;
|
|
232
|
+
signOutUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
233
|
+
returnToParam: z.ZodDefault<z.ZodString>;
|
|
234
|
+
}, z.core.$strict>>;
|
|
235
|
+
realtime: z.ZodObject<{
|
|
236
|
+
mode: z.ZodEnum<{
|
|
237
|
+
"stattic-central": "stattic-central";
|
|
238
|
+
"spacefast-cast": "spacefast-cast";
|
|
239
|
+
"local-dev": "local-dev";
|
|
240
|
+
}>;
|
|
241
|
+
centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
242
|
+
replayUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
243
|
+
castResourceKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
244
|
+
eventCallback: z.ZodOptional<z.ZodObject<{
|
|
245
|
+
url: z.ZodString;
|
|
246
|
+
token: z.ZodString;
|
|
247
|
+
}, z.core.$strict>>;
|
|
248
|
+
}, z.core.$strict>;
|
|
249
|
+
variables: z.ZodObject<{
|
|
250
|
+
source: z.ZodLiteral<"stattic-variables">;
|
|
251
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
252
|
+
}, z.core.$strict>;
|
|
253
|
+
artifact: z.ZodObject<{
|
|
254
|
+
format: z.ZodLiteral<"stattic.zero.capsule.v1">;
|
|
255
|
+
appName: z.ZodString;
|
|
256
|
+
serverRuntime: z.ZodLiteral<"quickjs-rust">;
|
|
257
|
+
client: z.ZodObject<{
|
|
258
|
+
bundlePath: z.ZodString;
|
|
259
|
+
basePathAware: z.ZodDefault<z.ZodBoolean>;
|
|
260
|
+
}, z.core.$strict>;
|
|
261
|
+
server: z.ZodObject<{
|
|
262
|
+
bundlePath: z.ZodString;
|
|
263
|
+
schema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
264
|
+
name: z.ZodString;
|
|
265
|
+
columns: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
266
|
+
name: z.ZodString;
|
|
267
|
+
type: z.ZodEnum<{
|
|
268
|
+
string: "string";
|
|
269
|
+
number: "number";
|
|
270
|
+
boolean: "boolean";
|
|
271
|
+
json: "json";
|
|
272
|
+
}>;
|
|
273
|
+
nullable: z.ZodDefault<z.ZodBoolean>;
|
|
274
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
275
|
+
}, z.core.$strict>>>;
|
|
276
|
+
}, z.core.$strict>>>;
|
|
277
|
+
queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
278
|
+
mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
279
|
+
endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
280
|
+
method: z.ZodEnum<{
|
|
281
|
+
POST: "POST";
|
|
282
|
+
PUT: "PUT";
|
|
283
|
+
GET: "GET";
|
|
284
|
+
HEAD: "HEAD";
|
|
285
|
+
PATCH: "PATCH";
|
|
286
|
+
DELETE: "DELETE";
|
|
287
|
+
OPTIONS: "OPTIONS";
|
|
288
|
+
}>;
|
|
289
|
+
path: z.ZodString;
|
|
290
|
+
}, z.core.$strict>>>;
|
|
291
|
+
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
292
|
+
}, z.core.$strict>;
|
|
293
|
+
db: z.ZodObject<{
|
|
294
|
+
backend: z.ZodLiteral<"wpcloud-mysql">;
|
|
295
|
+
migrations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
296
|
+
op: z.ZodLiteral<"create_table">;
|
|
297
|
+
table: z.ZodString;
|
|
298
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
299
|
+
op: z.ZodLiteral<"add_column">;
|
|
300
|
+
table: z.ZodString;
|
|
301
|
+
column: z.ZodObject<{
|
|
302
|
+
name: z.ZodString;
|
|
303
|
+
type: z.ZodEnum<{
|
|
304
|
+
string: "string";
|
|
305
|
+
number: "number";
|
|
306
|
+
boolean: "boolean";
|
|
307
|
+
json: "json";
|
|
308
|
+
}>;
|
|
309
|
+
nullable: z.ZodDefault<z.ZodBoolean>;
|
|
310
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
311
|
+
}, z.core.$strict>;
|
|
312
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
313
|
+
op: z.ZodLiteral<"add_index">;
|
|
314
|
+
table: z.ZodString;
|
|
315
|
+
columns: z.ZodArray<z.ZodString>;
|
|
316
|
+
unique: z.ZodDefault<z.ZodBoolean>;
|
|
317
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
318
|
+
op: z.ZodLiteral<"drop_table">;
|
|
319
|
+
table: z.ZodString;
|
|
320
|
+
explicit: z.ZodLiteral<"drop">;
|
|
321
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
322
|
+
op: z.ZodLiteral<"drop_column">;
|
|
323
|
+
table: z.ZodString;
|
|
324
|
+
column: z.ZodString;
|
|
325
|
+
explicit: z.ZodLiteral<"drop">;
|
|
326
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
327
|
+
op: z.ZodLiteral<"rename_table">;
|
|
328
|
+
from: z.ZodString;
|
|
329
|
+
to: z.ZodString;
|
|
330
|
+
explicit: z.ZodLiteral<"rename">;
|
|
331
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
332
|
+
op: z.ZodLiteral<"rename_column">;
|
|
333
|
+
table: z.ZodString;
|
|
334
|
+
from: z.ZodString;
|
|
335
|
+
to: z.ZodString;
|
|
336
|
+
explicit: z.ZodLiteral<"rename">;
|
|
337
|
+
}, z.core.$strict>], "op">>>;
|
|
338
|
+
}, z.core.$strict>;
|
|
339
|
+
realtime: z.ZodObject<{
|
|
340
|
+
mode: z.ZodEnum<{
|
|
341
|
+
"stattic-central": "stattic-central";
|
|
342
|
+
"spacefast-cast": "spacefast-cast";
|
|
343
|
+
"local-dev": "local-dev";
|
|
344
|
+
}>;
|
|
345
|
+
mutationEvents: z.ZodDefault<z.ZodBoolean>;
|
|
346
|
+
}, z.core.$strict>;
|
|
347
|
+
limits: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
348
|
+
futureCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
349
|
+
ai: "ai";
|
|
350
|
+
blob: "blob";
|
|
351
|
+
"generalized-js": "generalized-js";
|
|
352
|
+
}>>>;
|
|
353
|
+
sourceManifest: z.ZodObject<{
|
|
354
|
+
entries: z.ZodObject<{
|
|
355
|
+
client: z.ZodLiteral<"client/index.tsx">;
|
|
356
|
+
server: z.ZodLiteral<"server/index.ts">;
|
|
357
|
+
}, z.core.$strict>;
|
|
358
|
+
sourceRoot: z.ZodString;
|
|
359
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
360
|
+
path: z.ZodString;
|
|
361
|
+
size: z.ZodNumber;
|
|
362
|
+
sha256: z.ZodString;
|
|
363
|
+
}, z.core.$strict>>>;
|
|
364
|
+
env: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
365
|
+
file: z.ZodLiteral<".env.zero.server">;
|
|
366
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
367
|
+
}, z.core.$strip>>>;
|
|
368
|
+
sourceConfig: z.ZodDefault<z.ZodObject<{
|
|
369
|
+
configFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
370
|
+
path: z.ZodLiteral<"zero.json">;
|
|
371
|
+
appName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
372
|
+
deployId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
373
|
+
name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
374
|
+
title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
375
|
+
}, z.core.$strip>>>;
|
|
376
|
+
deployFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
377
|
+
path: z.ZodLiteral<".zero/deploy.json">;
|
|
378
|
+
keys: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
379
|
+
}, z.core.$strip>>>;
|
|
380
|
+
}, z.core.$strip>>;
|
|
381
|
+
}, z.core.$strict>;
|
|
382
|
+
}, z.core.$strict>;
|
|
383
|
+
runtimeKind: z.ZodLiteral<"zero">;
|
|
384
|
+
inspect: z.ZodDefault<z.ZodObject<{
|
|
385
|
+
policy: z.ZodDefault<z.ZodEnum<{
|
|
386
|
+
public: "public";
|
|
387
|
+
private: "private";
|
|
388
|
+
}>>;
|
|
389
|
+
}, z.core.$strict>>;
|
|
390
|
+
migrations: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
391
|
+
format: z.ZodLiteral<"stattic.zero.migrations.v1">;
|
|
392
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
393
|
+
safe: "safe";
|
|
394
|
+
drop: "drop";
|
|
395
|
+
rename: "rename";
|
|
396
|
+
}>>;
|
|
397
|
+
schemaHash: z.ZodString;
|
|
398
|
+
operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
399
|
+
op: z.ZodLiteral<"create_table">;
|
|
400
|
+
table: z.ZodString;
|
|
401
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
402
|
+
op: z.ZodLiteral<"add_column">;
|
|
403
|
+
table: z.ZodString;
|
|
404
|
+
column: z.ZodObject<{
|
|
405
|
+
name: z.ZodString;
|
|
406
|
+
type: z.ZodEnum<{
|
|
407
|
+
string: "string";
|
|
408
|
+
number: "number";
|
|
409
|
+
boolean: "boolean";
|
|
410
|
+
json: "json";
|
|
411
|
+
}>;
|
|
412
|
+
nullable: z.ZodDefault<z.ZodBoolean>;
|
|
413
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
414
|
+
}, z.core.$strict>;
|
|
415
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
416
|
+
op: z.ZodLiteral<"add_index">;
|
|
417
|
+
table: z.ZodString;
|
|
418
|
+
columns: z.ZodArray<z.ZodString>;
|
|
419
|
+
unique: z.ZodDefault<z.ZodBoolean>;
|
|
420
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
421
|
+
op: z.ZodLiteral<"drop_table">;
|
|
422
|
+
table: z.ZodString;
|
|
423
|
+
explicit: z.ZodLiteral<"drop">;
|
|
424
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
425
|
+
op: z.ZodLiteral<"drop_column">;
|
|
426
|
+
table: z.ZodString;
|
|
427
|
+
column: z.ZodString;
|
|
428
|
+
explicit: z.ZodLiteral<"drop">;
|
|
429
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
430
|
+
op: z.ZodLiteral<"rename_table">;
|
|
431
|
+
from: z.ZodString;
|
|
432
|
+
to: z.ZodString;
|
|
433
|
+
explicit: z.ZodLiteral<"rename">;
|
|
434
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
435
|
+
op: z.ZodLiteral<"rename_column">;
|
|
436
|
+
table: z.ZodString;
|
|
437
|
+
from: z.ZodString;
|
|
438
|
+
to: z.ZodString;
|
|
439
|
+
explicit: z.ZodLiteral<"rename">;
|
|
440
|
+
}, z.core.$strict>], "op">>;
|
|
441
|
+
}, z.core.$strict>>>;
|
|
442
|
+
install: z.ZodObject<{
|
|
443
|
+
runtimeKind: z.ZodLiteral<"zero">;
|
|
444
|
+
engine: z.ZodLiteral<"quickjs-rust">;
|
|
445
|
+
storageRoot: z.ZodLiteral<"__spacefast/zero">;
|
|
446
|
+
artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
|
|
447
|
+
configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
|
|
448
|
+
binary: z.ZodObject<{
|
|
449
|
+
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
450
|
+
compatibilityTarget: z.ZodObject<{
|
|
451
|
+
profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
|
|
452
|
+
os: z.ZodLiteral<"linux">;
|
|
453
|
+
cpu: z.ZodLiteral<"x86_64">;
|
|
454
|
+
libc: z.ZodLiteral<"glibc">;
|
|
455
|
+
linking: z.ZodLiteral<"dynamic">;
|
|
456
|
+
requireExecutableBit: z.ZodLiteral<true>;
|
|
457
|
+
}, z.core.$strict>;
|
|
458
|
+
sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
459
|
+
required: z.ZodLiteral<true>;
|
|
460
|
+
}, z.core.$strict>;
|
|
461
|
+
mysql: z.ZodObject<{
|
|
462
|
+
migrateAtFinalize: z.ZodLiteral<true>;
|
|
463
|
+
blockIncompatibleRollback: z.ZodLiteral<true>;
|
|
464
|
+
}, z.core.$strict>;
|
|
465
|
+
realtime: z.ZodObject<{
|
|
466
|
+
production: z.ZodLiteral<"stattic-central">;
|
|
467
|
+
local: z.ZodLiteral<"foreground-cli-ws">;
|
|
468
|
+
}, z.core.$strict>;
|
|
469
|
+
}, z.core.$strict>;
|
|
470
|
+
variableValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
471
|
+
}, z.core.$strict>>;
|
|
472
|
+
functions: z.ZodOptional<z.ZodObject<{
|
|
473
|
+
runtimeKind: z.ZodLiteral<"functions">;
|
|
474
|
+
artifact: z.ZodObject<{
|
|
475
|
+
format: z.ZodLiteral<"spacefast.functions.worker.v1">;
|
|
476
|
+
appName: z.ZodString;
|
|
477
|
+
entry: z.ZodString;
|
|
478
|
+
mainModule: z.ZodString;
|
|
479
|
+
bundle: z.ZodObject<{
|
|
480
|
+
path: z.ZodString;
|
|
481
|
+
sha256: z.ZodString;
|
|
482
|
+
size: z.ZodNumber;
|
|
483
|
+
}, z.core.$strict>;
|
|
484
|
+
compatibilityDate: z.ZodString;
|
|
485
|
+
compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
486
|
+
routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
487
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
488
|
+
POST: "POST";
|
|
489
|
+
PUT: "PUT";
|
|
490
|
+
GET: "GET";
|
|
491
|
+
HEAD: "HEAD";
|
|
492
|
+
PATCH: "PATCH";
|
|
493
|
+
DELETE: "DELETE";
|
|
494
|
+
OPTIONS: "OPTIONS";
|
|
495
|
+
}>>>;
|
|
496
|
+
path: z.ZodString;
|
|
497
|
+
subtree: z.ZodDefault<z.ZodBoolean>;
|
|
498
|
+
}, z.core.$strict>>>;
|
|
499
|
+
capabilities: z.ZodDefault<z.ZodObject<{
|
|
500
|
+
db: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
501
|
+
fetch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
502
|
+
auth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
503
|
+
env: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
504
|
+
realtime: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
505
|
+
logging: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
506
|
+
}, z.core.$strip>>;
|
|
507
|
+
endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
508
|
+
method: z.ZodEnum<{
|
|
509
|
+
POST: "POST";
|
|
510
|
+
PUT: "PUT";
|
|
511
|
+
GET: "GET";
|
|
512
|
+
HEAD: "HEAD";
|
|
513
|
+
PATCH: "PATCH";
|
|
514
|
+
DELETE: "DELETE";
|
|
515
|
+
OPTIONS: "OPTIONS";
|
|
516
|
+
}>;
|
|
517
|
+
path: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
518
|
+
endpointId: z.ZodString;
|
|
519
|
+
source: z.ZodString;
|
|
520
|
+
capabilities: z.ZodDefault<z.ZodObject<{
|
|
521
|
+
db: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
522
|
+
fetch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
523
|
+
auth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
524
|
+
env: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
525
|
+
realtime: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
526
|
+
logging: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
527
|
+
}, z.core.$strip>>;
|
|
528
|
+
}, z.core.$strict>>>;
|
|
529
|
+
}, z.core.$strict>;
|
|
530
|
+
variables: z.ZodDefault<z.ZodObject<{
|
|
531
|
+
source: z.ZodLiteral<"spacefast-variables">;
|
|
532
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
533
|
+
}, z.core.$strict>>;
|
|
534
|
+
inspect: z.ZodDefault<z.ZodObject<{
|
|
535
|
+
policy: z.ZodDefault<z.ZodEnum<{
|
|
536
|
+
public: "public";
|
|
537
|
+
private: "private";
|
|
538
|
+
}>>;
|
|
539
|
+
}, z.core.$strict>>;
|
|
540
|
+
host: z.ZodObject<{
|
|
541
|
+
hostname: z.ZodString;
|
|
542
|
+
bundleUrl: z.ZodString;
|
|
543
|
+
}, z.core.$strict>;
|
|
544
|
+
grantedCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
545
|
+
fetch: "fetch";
|
|
546
|
+
"db.read": "db.read";
|
|
547
|
+
"db.write": "db.write";
|
|
548
|
+
log: "log";
|
|
549
|
+
}>>>;
|
|
550
|
+
relay: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
551
|
+
url: z.ZodString;
|
|
552
|
+
token: z.ZodString;
|
|
553
|
+
maxBatchStatements: z.ZodNumber;
|
|
554
|
+
maxConcurrentCalls: z.ZodNumber;
|
|
555
|
+
}, z.core.$strict>>>;
|
|
556
|
+
variableValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
557
|
+
}, z.core.$strict>>;
|
|
72
558
|
convention_files: z.ZodOptional<z.ZodObject<{
|
|
73
559
|
redirects: z.ZodOptional<z.ZodString>;
|
|
74
560
|
headers: z.ZodOptional<z.ZodString>;
|
|
@@ -98,8 +584,6 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
98
584
|
pages: z.ZodOptional<z.ZodObject<{
|
|
99
585
|
routes: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
100
586
|
pages: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
101
|
-
login: "login";
|
|
102
|
-
password: "password";
|
|
103
587
|
denied: "denied";
|
|
104
588
|
404: "404";
|
|
105
589
|
}>, z.ZodString>>;
|
|
@@ -123,9 +607,10 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
123
607
|
}, z.core.$strip>>;
|
|
124
608
|
zero_endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
125
609
|
method: z.ZodEnum<{
|
|
126
|
-
PUT: "PUT";
|
|
127
610
|
POST: "POST";
|
|
611
|
+
PUT: "PUT";
|
|
128
612
|
GET: "GET";
|
|
613
|
+
HEAD: "HEAD";
|
|
129
614
|
PATCH: "PATCH";
|
|
130
615
|
DELETE: "DELETE";
|
|
131
616
|
OPTIONS: "OPTIONS";
|
|
@@ -162,71 +647,107 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
162
647
|
activate: z.ZodOptional<z.ZodObject<{
|
|
163
648
|
route_name: z.ZodDefault<z.ZodString>;
|
|
164
649
|
config: z.ZodOptional<z.ZodObject<{
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
managedBy: z.ZodOptional<z.ZodEnum<{
|
|
210
|
-
sharing: "sharing";
|
|
211
|
-
firewall: "firewall";
|
|
212
|
-
file_share: "file_share";
|
|
213
|
-
cast_reviewer: "cast_reviewer";
|
|
214
|
-
team_default: "team_default";
|
|
650
|
+
authorization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
651
|
+
generation: z.ZodNumber;
|
|
652
|
+
sessionVersion: z.ZodNumber;
|
|
653
|
+
fence: z.ZodEnum<{
|
|
654
|
+
none: "none";
|
|
655
|
+
ownership: "ownership";
|
|
656
|
+
exposure: "exposure";
|
|
657
|
+
}>;
|
|
658
|
+
acquireUrl: z.ZodString;
|
|
659
|
+
spaceClaimed: z.ZodBoolean;
|
|
660
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
661
|
+
name: z.ZodOptional<z.ZodString>;
|
|
662
|
+
audience: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
663
|
+
kind: z.ZodLiteral<"public">;
|
|
664
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
665
|
+
kind: z.ZodLiteral<"team">;
|
|
666
|
+
teamId: z.ZodString;
|
|
667
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
668
|
+
kind: z.ZodLiteral<"person">;
|
|
669
|
+
personId: z.ZodString;
|
|
670
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
671
|
+
kind: z.ZodLiteral<"link">;
|
|
672
|
+
linkId: z.ZodString;
|
|
673
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
674
|
+
kind: z.ZodLiteral<"password">;
|
|
675
|
+
credentialId: z.ZodString;
|
|
676
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
677
|
+
kind: z.ZodLiteral<"machine">;
|
|
678
|
+
machineId: z.ZodString;
|
|
679
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
680
|
+
kind: z.ZodLiteral<"external">;
|
|
681
|
+
issuer: z.ZodString;
|
|
682
|
+
subject: z.ZodString;
|
|
683
|
+
}, z.core.$strict>], "kind">;
|
|
684
|
+
resources: z.ZodObject<{
|
|
685
|
+
include: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
686
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
687
|
+
}, z.core.$strict>;
|
|
688
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
689
|
+
"page.view": "page.view";
|
|
690
|
+
"comments.read": "comments.read";
|
|
691
|
+
"comments.write": "comments.write";
|
|
692
|
+
"content.publish": "content.publish";
|
|
693
|
+
"access.manage": "access.manage";
|
|
215
694
|
}>>;
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
695
|
+
constraints: z.ZodDefault<z.ZodObject<{
|
|
696
|
+
notBefore: z.ZodOptional<z.ZodString>;
|
|
697
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
698
|
+
maxUses: z.ZodOptional<z.ZodNumber>;
|
|
699
|
+
requireVerifiedEmail: z.ZodOptional<z.ZodBoolean>;
|
|
700
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
701
|
+
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
702
|
+
countries: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
703
|
+
excludedCountries: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
704
|
+
excludedUserAgentSubstrings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
705
|
+
}, z.core.$strict>>;
|
|
706
|
+
}, z.core.$strict>>;
|
|
707
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
708
|
+
kind: z.ZodLiteral<"live">;
|
|
709
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
710
|
+
kind: z.ZodLiteral<"version">;
|
|
711
|
+
versionId: z.ZodString;
|
|
712
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
713
|
+
kind: z.ZodLiteral<"branch">;
|
|
714
|
+
branch: z.ZodString;
|
|
715
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
716
|
+
kind: z.ZodLiteral<"all_versions">;
|
|
717
|
+
}, z.core.$strict>], "kind">;
|
|
718
|
+
id: z.ZodString;
|
|
719
|
+
source: z.ZodObject<{
|
|
720
|
+
kind: z.ZodEnum<{
|
|
721
|
+
config: "config";
|
|
722
|
+
system: "system";
|
|
723
|
+
managed: "managed";
|
|
724
|
+
}>;
|
|
725
|
+
reference: z.ZodString;
|
|
726
|
+
}, z.core.$strict>;
|
|
727
|
+
generation: z.ZodNumber;
|
|
728
|
+
}, z.core.$strict>>;
|
|
729
|
+
}, z.core.$strict>>>;
|
|
730
|
+
public_exposure_digest: z.ZodOptional<z.ZodString>;
|
|
731
|
+
public_exposure: z.ZodOptional<z.ZodObject<{
|
|
732
|
+
v: z.ZodNumber;
|
|
733
|
+
public: z.ZodBoolean;
|
|
734
|
+
authorizationDigest: z.ZodString;
|
|
735
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
736
|
+
externalProxy: z.ZodBoolean;
|
|
737
|
+
unmodeled: z.ZodString;
|
|
738
|
+
}, z.core.$strip>>;
|
|
739
|
+
projection_generation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
740
|
+
visitor_issuer: z.ZodOptional<z.ZodString>;
|
|
741
|
+
visitor_jwks: z.ZodOptional<z.ZodObject<{
|
|
742
|
+
keys: z.ZodArray<z.ZodObject<{
|
|
743
|
+
kty: z.ZodLiteral<"OKP">;
|
|
744
|
+
crv: z.ZodLiteral<"Ed25519">;
|
|
221
745
|
kid: z.ZodString;
|
|
222
746
|
alg: z.ZodLiteral<"EdDSA">;
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
}, z.core.$strip
|
|
226
|
-
|
|
227
|
-
}, z.core.$strip>>>;
|
|
228
|
-
secrets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
229
|
-
session_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
747
|
+
x: z.ZodString;
|
|
748
|
+
use: z.ZodOptional<z.ZodLiteral<"sig">>;
|
|
749
|
+
}, z.core.$strip>>;
|
|
750
|
+
}, z.core.$strip>>;
|
|
230
751
|
anonymous_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
231
752
|
content_types: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
232
753
|
allowed: z.ZodArray<z.ZodString>;
|
|
@@ -235,11 +756,15 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
235
756
|
admission: z.ZodOptional<z.ZodObject<{
|
|
236
757
|
concurrency: z.ZodNumber;
|
|
237
758
|
}, z.core.$strip>>;
|
|
238
|
-
|
|
759
|
+
tag_sdk: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
760
|
+
revision: z.ZodString;
|
|
761
|
+
body: z.ZodString;
|
|
762
|
+
}, z.core.$strip>>>;
|
|
239
763
|
entitlements: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
240
764
|
externalProxy: z.ZodBoolean;
|
|
241
765
|
}, z.core.$strip>>>;
|
|
242
766
|
}, z.core.$strip>>;
|
|
767
|
+
config_digest: z.ZodOptional<z.ZodString>;
|
|
243
768
|
changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
244
769
|
previous_version_id: z.ZodOptional<z.ZodString>;
|
|
245
770
|
production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -251,16 +776,20 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
251
776
|
host_canonical_redirects: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
252
777
|
from: z.ZodString;
|
|
253
778
|
to: z.ZodString;
|
|
254
|
-
status: z.ZodDefault<z.ZodLiteral<308>>;
|
|
779
|
+
status: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
255
780
|
}, z.core.$strip>>>;
|
|
256
|
-
|
|
781
|
+
static_mount_routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
257
782
|
hostname: z.ZodString;
|
|
258
|
-
path_prefix: z.
|
|
259
|
-
|
|
260
|
-
|
|
783
|
+
path_prefix: z.ZodString;
|
|
784
|
+
target_space_id: z.ZodString;
|
|
785
|
+
target_version_id: z.ZodString;
|
|
261
786
|
}, z.core.$strip>>>;
|
|
262
787
|
}, z.core.$strip>>;
|
|
263
788
|
}, z.core.$strip>;
|
|
789
|
+
export declare const runtimeReadinessTargetSchema: z.ZodObject<{
|
|
790
|
+
path: z.ZodString;
|
|
791
|
+
expected_statuses: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<200>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<307>, z.ZodLiteral<308>, z.ZodLiteral<401>, z.ZodLiteral<403>]>, z.ZodLiteral<404>]>>;
|
|
792
|
+
}, z.core.$strip>;
|
|
264
793
|
export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
|
|
265
794
|
space_id: z.ZodString;
|
|
266
795
|
version_id: z.ZodString;
|
|
@@ -273,75 +802,116 @@ export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
|
|
|
273
802
|
contentType: z.ZodOptional<z.ZodString>;
|
|
274
803
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
275
804
|
}, z.core.$strip>>>;
|
|
805
|
+
readiness_target: z.ZodObject<{
|
|
806
|
+
path: z.ZodString;
|
|
807
|
+
expected_statuses: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<200>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<307>, z.ZodLiteral<308>, z.ZodLiteral<401>, z.ZodLiteral<403>]>, z.ZodLiteral<404>]>>;
|
|
808
|
+
}, z.core.$strip>;
|
|
809
|
+
activation_event_id: z.ZodOptional<z.ZodString>;
|
|
276
810
|
}, z.core.$strip>;
|
|
277
811
|
export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
278
812
|
version_id: z.ZodString;
|
|
279
813
|
config: z.ZodOptional<z.ZodObject<{
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
managedBy: z.ZodOptional<z.ZodEnum<{
|
|
325
|
-
sharing: "sharing";
|
|
326
|
-
firewall: "firewall";
|
|
327
|
-
file_share: "file_share";
|
|
328
|
-
cast_reviewer: "cast_reviewer";
|
|
329
|
-
team_default: "team_default";
|
|
814
|
+
authorization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
815
|
+
generation: z.ZodNumber;
|
|
816
|
+
sessionVersion: z.ZodNumber;
|
|
817
|
+
fence: z.ZodEnum<{
|
|
818
|
+
none: "none";
|
|
819
|
+
ownership: "ownership";
|
|
820
|
+
exposure: "exposure";
|
|
821
|
+
}>;
|
|
822
|
+
acquireUrl: z.ZodString;
|
|
823
|
+
spaceClaimed: z.ZodBoolean;
|
|
824
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
825
|
+
name: z.ZodOptional<z.ZodString>;
|
|
826
|
+
audience: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
827
|
+
kind: z.ZodLiteral<"public">;
|
|
828
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
829
|
+
kind: z.ZodLiteral<"team">;
|
|
830
|
+
teamId: z.ZodString;
|
|
831
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
832
|
+
kind: z.ZodLiteral<"person">;
|
|
833
|
+
personId: z.ZodString;
|
|
834
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
835
|
+
kind: z.ZodLiteral<"link">;
|
|
836
|
+
linkId: z.ZodString;
|
|
837
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
838
|
+
kind: z.ZodLiteral<"password">;
|
|
839
|
+
credentialId: z.ZodString;
|
|
840
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
841
|
+
kind: z.ZodLiteral<"machine">;
|
|
842
|
+
machineId: z.ZodString;
|
|
843
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
844
|
+
kind: z.ZodLiteral<"external">;
|
|
845
|
+
issuer: z.ZodString;
|
|
846
|
+
subject: z.ZodString;
|
|
847
|
+
}, z.core.$strict>], "kind">;
|
|
848
|
+
resources: z.ZodObject<{
|
|
849
|
+
include: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
850
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
851
|
+
}, z.core.$strict>;
|
|
852
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
853
|
+
"page.view": "page.view";
|
|
854
|
+
"comments.read": "comments.read";
|
|
855
|
+
"comments.write": "comments.write";
|
|
856
|
+
"content.publish": "content.publish";
|
|
857
|
+
"access.manage": "access.manage";
|
|
330
858
|
}>>;
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
859
|
+
constraints: z.ZodDefault<z.ZodObject<{
|
|
860
|
+
notBefore: z.ZodOptional<z.ZodString>;
|
|
861
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
862
|
+
maxUses: z.ZodOptional<z.ZodNumber>;
|
|
863
|
+
requireVerifiedEmail: z.ZodOptional<z.ZodBoolean>;
|
|
864
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
865
|
+
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
866
|
+
countries: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
867
|
+
excludedCountries: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
868
|
+
excludedUserAgentSubstrings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
869
|
+
}, z.core.$strict>>;
|
|
870
|
+
}, z.core.$strict>>;
|
|
871
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
872
|
+
kind: z.ZodLiteral<"live">;
|
|
873
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
874
|
+
kind: z.ZodLiteral<"version">;
|
|
875
|
+
versionId: z.ZodString;
|
|
876
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
877
|
+
kind: z.ZodLiteral<"branch">;
|
|
878
|
+
branch: z.ZodString;
|
|
879
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
880
|
+
kind: z.ZodLiteral<"all_versions">;
|
|
881
|
+
}, z.core.$strict>], "kind">;
|
|
882
|
+
id: z.ZodString;
|
|
883
|
+
source: z.ZodObject<{
|
|
884
|
+
kind: z.ZodEnum<{
|
|
885
|
+
config: "config";
|
|
886
|
+
system: "system";
|
|
887
|
+
managed: "managed";
|
|
888
|
+
}>;
|
|
889
|
+
reference: z.ZodString;
|
|
890
|
+
}, z.core.$strict>;
|
|
891
|
+
generation: z.ZodNumber;
|
|
892
|
+
}, z.core.$strict>>;
|
|
893
|
+
}, z.core.$strict>>>;
|
|
894
|
+
public_exposure_digest: z.ZodOptional<z.ZodString>;
|
|
895
|
+
public_exposure: z.ZodOptional<z.ZodObject<{
|
|
896
|
+
v: z.ZodNumber;
|
|
897
|
+
public: z.ZodBoolean;
|
|
898
|
+
authorizationDigest: z.ZodString;
|
|
899
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
900
|
+
externalProxy: z.ZodBoolean;
|
|
901
|
+
unmodeled: z.ZodString;
|
|
902
|
+
}, z.core.$strip>>;
|
|
903
|
+
projection_generation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
904
|
+
visitor_issuer: z.ZodOptional<z.ZodString>;
|
|
905
|
+
visitor_jwks: z.ZodOptional<z.ZodObject<{
|
|
906
|
+
keys: z.ZodArray<z.ZodObject<{
|
|
907
|
+
kty: z.ZodLiteral<"OKP">;
|
|
908
|
+
crv: z.ZodLiteral<"Ed25519">;
|
|
336
909
|
kid: z.ZodString;
|
|
337
910
|
alg: z.ZodLiteral<"EdDSA">;
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
}, z.core.$strip
|
|
341
|
-
|
|
342
|
-
}, z.core.$strip>>>;
|
|
343
|
-
secrets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
344
|
-
session_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
911
|
+
x: z.ZodString;
|
|
912
|
+
use: z.ZodOptional<z.ZodLiteral<"sig">>;
|
|
913
|
+
}, z.core.$strip>>;
|
|
914
|
+
}, z.core.$strip>>;
|
|
345
915
|
anonymous_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
346
916
|
content_types: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
347
917
|
allowed: z.ZodArray<z.ZodString>;
|
|
@@ -350,11 +920,15 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
|
350
920
|
admission: z.ZodOptional<z.ZodObject<{
|
|
351
921
|
concurrency: z.ZodNumber;
|
|
352
922
|
}, z.core.$strip>>;
|
|
353
|
-
|
|
923
|
+
tag_sdk: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
924
|
+
revision: z.ZodString;
|
|
925
|
+
body: z.ZodString;
|
|
926
|
+
}, z.core.$strip>>>;
|
|
354
927
|
entitlements: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
355
928
|
externalProxy: z.ZodBoolean;
|
|
356
929
|
}, z.core.$strip>>>;
|
|
357
930
|
}, z.core.$strip>>;
|
|
931
|
+
config_digest: z.ZodOptional<z.ZodString>;
|
|
358
932
|
changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
359
933
|
previous_version_id: z.ZodOptional<z.ZodString>;
|
|
360
934
|
production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -366,13 +940,13 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
|
366
940
|
host_canonical_redirects: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
367
941
|
from: z.ZodString;
|
|
368
942
|
to: z.ZodString;
|
|
369
|
-
status: z.ZodDefault<z.ZodLiteral<308>>;
|
|
943
|
+
status: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
370
944
|
}, z.core.$strip>>>;
|
|
371
|
-
|
|
945
|
+
static_mount_routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
372
946
|
hostname: z.ZodString;
|
|
373
|
-
path_prefix: z.
|
|
374
|
-
|
|
375
|
-
|
|
947
|
+
path_prefix: z.ZodString;
|
|
948
|
+
target_space_id: z.ZodString;
|
|
949
|
+
target_version_id: z.ZodString;
|
|
376
950
|
}, z.core.$strip>>>;
|
|
377
951
|
}, z.core.$strip>;
|
|
378
952
|
export declare const runtimeHostnameIntentUpdateRequestSchema: z.ZodObject<{
|
|
@@ -385,19 +959,21 @@ export declare const runtimeHostnameIntentUpdateRequestSchema: z.ZodObject<{
|
|
|
385
959
|
host_canonical_redirects: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
386
960
|
from: z.ZodString;
|
|
387
961
|
to: z.ZodString;
|
|
388
|
-
status: z.ZodDefault<z.ZodLiteral<308>>;
|
|
962
|
+
status: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
389
963
|
}, z.core.$strip>>>;
|
|
390
|
-
|
|
964
|
+
static_mount_routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
391
965
|
hostname: z.ZodString;
|
|
392
|
-
path_prefix: z.
|
|
393
|
-
|
|
394
|
-
|
|
966
|
+
path_prefix: z.ZodString;
|
|
967
|
+
target_space_id: z.ZodString;
|
|
968
|
+
target_version_id: z.ZodString;
|
|
395
969
|
}, z.core.$strip>>>;
|
|
396
970
|
}, z.core.$strip>;
|
|
397
971
|
export declare const runtimeRouteUpdateResponseSchema: z.ZodObject<{
|
|
398
972
|
space_id: z.ZodString;
|
|
399
973
|
route_name: z.ZodString;
|
|
400
974
|
version_id: z.ZodString;
|
|
975
|
+
unchanged: z.ZodOptional<z.ZodBoolean>;
|
|
976
|
+
activation_event_id: z.ZodOptional<z.ZodString>;
|
|
401
977
|
}, z.core.$strip>;
|
|
402
978
|
export declare const runtimeHostnameIntentUpdateResponseSchema: z.ZodObject<{
|
|
403
979
|
space_id: z.ZodString;
|
|
@@ -424,15 +1000,6 @@ export declare const runtimeRetentionPolicyUpdateResponseSchema: z.ZodObject<{
|
|
|
424
1000
|
space_id: z.ZodString;
|
|
425
1001
|
prunable_count: z.ZodNumber;
|
|
426
1002
|
}, z.core.$strip>;
|
|
427
|
-
export declare const runtimeGrantRevocationRequestSchema: z.ZodObject<{
|
|
428
|
-
grant: z.ZodString;
|
|
429
|
-
}, z.core.$strip>;
|
|
430
|
-
export declare const runtimeGrantRevocationResponseSchema: z.ZodObject<{
|
|
431
|
-
space_id: z.ZodString;
|
|
432
|
-
target_type: z.ZodLiteral<"grant">;
|
|
433
|
-
grant: z.ZodString;
|
|
434
|
-
revoked: z.ZodBoolean;
|
|
435
|
-
}, z.core.$strip>;
|
|
436
1003
|
export declare const runtimeSpaceDeleteResponseSchema: z.ZodObject<{
|
|
437
1004
|
space_id: z.ZodString;
|
|
438
1005
|
status: z.ZodLiteral<"deleted">;
|
|
@@ -449,7 +1016,6 @@ export declare const runtimeSpaceRepairResponseSchema: z.ZodObject<{
|
|
|
449
1016
|
export declare const runtimeSpaceExportStartRequestSchema: z.ZodObject<{
|
|
450
1017
|
version_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
451
1018
|
include_files: z.ZodOptional<z.ZodBoolean>;
|
|
452
|
-
include_explicit_config: z.ZodOptional<z.ZodBoolean>;
|
|
453
1019
|
}, z.core.$strict>;
|
|
454
1020
|
export declare const runtimeSpaceExportResponseSchema: z.ZodObject<{
|
|
455
1021
|
type: z.ZodLiteral<"space_export">;
|
|
@@ -507,6 +1073,7 @@ export declare const runtimeTransferBundleSourceRequestSchema: z.ZodObject<{
|
|
|
507
1073
|
space_id: z.ZodString;
|
|
508
1074
|
version_ids: z.ZodArray<z.ZodString>;
|
|
509
1075
|
cursor: z.ZodNullable<z.ZodString>;
|
|
1076
|
+
include_serving_state: z.ZodOptional<z.ZodBoolean>;
|
|
510
1077
|
}, z.core.$strip>;
|
|
511
1078
|
export declare const runtimeTransferBundleTargetRequestSchema: z.ZodObject<{
|
|
512
1079
|
space_id: z.ZodString;
|
|
@@ -533,6 +1100,7 @@ export declare const runtimeTransferCommitRequestSchema: z.ZodObject<{
|
|
|
533
1100
|
space_id: z.ZodString;
|
|
534
1101
|
version_ids: z.ZodArray<z.ZodString>;
|
|
535
1102
|
live_version_id: z.ZodNullable<z.ZodString>;
|
|
1103
|
+
install_serving_state: z.ZodOptional<z.ZodBoolean>;
|
|
536
1104
|
}, z.core.$strip>;
|
|
537
1105
|
export declare const runtimeTransferCommitResponseSchema: z.ZodObject<{
|
|
538
1106
|
installed: z.ZodLiteral<true>;
|
|
@@ -579,13 +1147,43 @@ export declare const runtimeCallbackEventSchema: z.ZodObject<{
|
|
|
579
1147
|
changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
580
1148
|
changed_paths_known: z.ZodOptional<z.ZodBoolean>;
|
|
581
1149
|
previous_version_id: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
previous_public_exposure_digest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1151
|
+
public_exposure_digest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1152
|
+
previous_public_exposure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1153
|
+
v: z.ZodNumber;
|
|
1154
|
+
public: z.ZodBoolean;
|
|
1155
|
+
authorizationDigest: z.ZodString;
|
|
1156
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1157
|
+
externalProxy: z.ZodBoolean;
|
|
1158
|
+
unmodeled: z.ZodString;
|
|
1159
|
+
}, z.core.$strip>>>;
|
|
1160
|
+
public_exposure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1161
|
+
v: z.ZodNumber;
|
|
1162
|
+
public: z.ZodBoolean;
|
|
1163
|
+
authorizationDigest: z.ZodString;
|
|
1164
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1165
|
+
externalProxy: z.ZodBoolean;
|
|
1166
|
+
unmodeled: z.ZodString;
|
|
1167
|
+
}, z.core.$strip>>>;
|
|
582
1168
|
}, z.core.$loose>;
|
|
1169
|
+
export declare const runtimeEventsDrainRequestSchema: z.ZodObject<{
|
|
1170
|
+
session_id: z.ZodString;
|
|
1171
|
+
page_id: z.ZodOptional<z.ZodString>;
|
|
1172
|
+
target_event_id: z.ZodOptional<z.ZodString>;
|
|
1173
|
+
exclude_deliveries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1174
|
+
event_id: z.ZodString;
|
|
1175
|
+
delivery_id: z.ZodString;
|
|
1176
|
+
}, z.core.$strip>>>;
|
|
1177
|
+
finish_session: z.ZodOptional<z.ZodBoolean>;
|
|
1178
|
+
}, z.core.$strip>;
|
|
583
1179
|
export declare const runtimeEventsDrainResponseSchema: z.ZodObject<{
|
|
584
1180
|
delivered_count: z.ZodNumber;
|
|
585
1181
|
failed_count: z.ZodNumber;
|
|
586
1182
|
expired_count: z.ZodOptional<z.ZodNumber>;
|
|
587
1183
|
returned_count: z.ZodOptional<z.ZodNumber>;
|
|
1184
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
588
1185
|
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1186
|
+
delivery_id: z.ZodString;
|
|
589
1187
|
operation_id: z.ZodOptional<z.ZodString>;
|
|
590
1188
|
event: z.ZodObject<{
|
|
591
1189
|
event: z.ZodString;
|
|
@@ -598,9 +1196,39 @@ export declare const runtimeEventsDrainResponseSchema: z.ZodObject<{
|
|
|
598
1196
|
changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
599
1197
|
changed_paths_known: z.ZodOptional<z.ZodBoolean>;
|
|
600
1198
|
previous_version_id: z.ZodOptional<z.ZodString>;
|
|
1199
|
+
previous_public_exposure_digest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1200
|
+
public_exposure_digest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1201
|
+
previous_public_exposure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1202
|
+
v: z.ZodNumber;
|
|
1203
|
+
public: z.ZodBoolean;
|
|
1204
|
+
authorizationDigest: z.ZodString;
|
|
1205
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1206
|
+
externalProxy: z.ZodBoolean;
|
|
1207
|
+
unmodeled: z.ZodString;
|
|
1208
|
+
}, z.core.$strip>>>;
|
|
1209
|
+
public_exposure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1210
|
+
v: z.ZodNumber;
|
|
1211
|
+
public: z.ZodBoolean;
|
|
1212
|
+
authorizationDigest: z.ZodString;
|
|
1213
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1214
|
+
externalProxy: z.ZodBoolean;
|
|
1215
|
+
unmodeled: z.ZodString;
|
|
1216
|
+
}, z.core.$strip>>>;
|
|
601
1217
|
}, z.core.$loose>;
|
|
602
1218
|
}, z.core.$strip>>>;
|
|
603
1219
|
}, z.core.$strip>;
|
|
1220
|
+
export declare const runtimeEventsAckRequestSchema: z.ZodObject<{
|
|
1221
|
+
session_id: z.ZodString;
|
|
1222
|
+
deliveries: z.ZodArray<z.ZodObject<{
|
|
1223
|
+
event_id: z.ZodString;
|
|
1224
|
+
delivery_id: z.ZodString;
|
|
1225
|
+
}, z.core.$strip>>;
|
|
1226
|
+
}, z.core.$strip>;
|
|
1227
|
+
export declare const runtimeEventsAckResponseSchema: z.ZodObject<{
|
|
1228
|
+
acknowledged_count: z.ZodNumber;
|
|
1229
|
+
idempotent_count: z.ZodNumber;
|
|
1230
|
+
stale_count: z.ZodNumber;
|
|
1231
|
+
}, z.core.$strip>;
|
|
604
1232
|
export declare const runtimeEngineJobLaneSchema: z.ZodEnum<{
|
|
605
1233
|
interactive: "interactive";
|
|
606
1234
|
bulk: "bulk";
|
|
@@ -716,40 +1344,14 @@ export declare const runtimeEngineJobTickResponseSchema: z.ZodObject<{
|
|
|
716
1344
|
}, z.core.$strip>>>;
|
|
717
1345
|
drained: z.ZodOptional<z.ZodBoolean>;
|
|
718
1346
|
}, z.core.$strip>;
|
|
719
|
-
export declare const runtimeAccessEventsCursorSchema: z.ZodObject<{
|
|
720
|
-
file: z.ZodNullable<z.ZodString>;
|
|
721
|
-
offset: z.ZodNumber;
|
|
722
|
-
}, z.core.$strip>;
|
|
723
|
-
export declare const runtimeAccessEventsResponseSchema: z.ZodObject<{
|
|
724
|
-
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
725
|
-
sub: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
726
|
-
grantsHash: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
727
|
-
ruleId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
728
|
-
effect: z.ZodEnum<{
|
|
729
|
-
allow: "allow";
|
|
730
|
-
deny: "deny";
|
|
731
|
-
challenge: "challenge";
|
|
732
|
-
}>;
|
|
733
|
-
reasonCode: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
734
|
-
host: z.ZodString;
|
|
735
|
-
path: z.ZodString;
|
|
736
|
-
ts: z.ZodNumber;
|
|
737
|
-
}, z.core.$strip>>>;
|
|
738
|
-
cursor: z.ZodObject<{
|
|
739
|
-
file: z.ZodNullable<z.ZodString>;
|
|
740
|
-
offset: z.ZodNumber;
|
|
741
|
-
}, z.core.$strip>;
|
|
742
|
-
done: z.ZodBoolean;
|
|
743
|
-
dropped: z.ZodDefault<z.ZodNumber>;
|
|
744
|
-
}, z.core.$strip>;
|
|
745
1347
|
export type RuntimeVersionCreateRequest = z.infer<typeof runtimeVersionCreateRequestSchema>;
|
|
746
1348
|
export type RuntimeVersionFinalizeRequest = z.infer<typeof runtimeVersionFinalizeRequestSchema>;
|
|
1349
|
+
export type RuntimeReadinessTarget = z.infer<typeof runtimeReadinessTargetSchema>;
|
|
747
1350
|
export type RuntimeHostnameIntentUpdateRequest = z.infer<typeof runtimeHostnameIntentUpdateRequestSchema>;
|
|
748
1351
|
export type RuntimeRouteUpdateRequest = z.infer<typeof runtimeRouteUpdateRequestSchema>;
|
|
749
1352
|
export type RuntimeTombstonesUpdateRequest = z.infer<typeof runtimeTombstonesUpdateRequestSchema>;
|
|
750
1353
|
export type RuntimeRetentionPolicyUpdateRequest = z.infer<typeof runtimeRetentionPolicyUpdateRequestSchema>;
|
|
751
1354
|
export type RuntimeRetentionPolicyUpdateResponse = z.infer<typeof runtimeRetentionPolicyUpdateResponseSchema>;
|
|
752
|
-
export type RuntimeGrantRevocationRequest = z.infer<typeof runtimeGrantRevocationRequestSchema>;
|
|
753
1355
|
export type RuntimeTransferBundleSourceRequest = z.infer<typeof runtimeTransferBundleSourceRequestSchema>;
|
|
754
1356
|
export type RuntimeTransferBundleTargetRequest = z.infer<typeof runtimeTransferBundleTargetRequestSchema>;
|
|
755
1357
|
export type RuntimeTransferBundleResponse = z.infer<typeof runtimeTransferBundleResponseSchema>;
|
|
@@ -763,6 +1365,11 @@ export type RuntimeSpaceImportStartRequest = z.infer<typeof runtimeSpaceImportSt
|
|
|
763
1365
|
export type RuntimeSpaceImportMapRequest = z.infer<typeof runtimeSpaceImportMapRequestSchema>;
|
|
764
1366
|
export type RuntimeSpaceState = z.infer<typeof runtimeSpaceStateSchema>;
|
|
765
1367
|
export type RuntimeCallbackEvent = z.infer<typeof runtimeCallbackEventSchema>;
|
|
1368
|
+
export type RuntimeEventsDrainRequest = z.infer<typeof runtimeEventsDrainRequestSchema>;
|
|
1369
|
+
export type RuntimeEventsDrainResponse = z.infer<typeof runtimeEventsDrainResponseSchema>;
|
|
1370
|
+
export type RuntimeDrainedEvent = NonNullable<RuntimeEventsDrainResponse["events"]>[number];
|
|
1371
|
+
export type RuntimeEventsAckRequest = z.infer<typeof runtimeEventsAckRequestSchema>;
|
|
1372
|
+
export type RuntimeEventsAckResponse = z.infer<typeof runtimeEventsAckResponseSchema>;
|
|
766
1373
|
export type RuntimeEngineJobLane = z.infer<typeof runtimeEngineJobLaneSchema>;
|
|
767
1374
|
export type RuntimeEngineJobStatus = z.infer<typeof runtimeEngineJobStatusSchema>;
|
|
768
1375
|
export type RuntimeEngineJobRecord = z.infer<typeof runtimeEngineJobRecordSchema>;
|