@spacefast/common 0.0.12 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/client-registry.d.ts +22 -0
- package/dist/agents/client-registry.js +41 -0
- package/dist/agents/connect-targets.d.ts +51 -6
- package/dist/agents/connect-targets.js +93 -28
- package/dist/brand.d.ts +0 -11
- package/dist/brand.js +0 -20
- package/dist/config/domains.d.ts +15 -6
- package/dist/config/domains.js +24 -10
- package/dist/config/postgres-budget.d.ts +3 -0
- package/dist/config/postgres-budget.js +6 -1
- package/dist/config/postgres-budget.json +2 -1
- package/dist/contracts/abuse.js +1 -1
- package/dist/contracts/access.d.ts +486 -1196
- package/dist/contracts/access.js +323 -1054
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +11 -15
- package/dist/contracts/api-keys.d.ts +16 -0
- package/dist/contracts/api-keys.js +11 -9
- package/dist/contracts/archives.d.ts +1 -2
- package/dist/contracts/archives.js +15 -17
- package/dist/contracts/beta.js +1 -1
- package/dist/contracts/builds.js +14 -14
- package/dist/contracts/channels.js +2 -2
- package/dist/contracts/comments.d.ts +143 -99
- package/dist/contracts/comments.js +194 -79
- package/dist/contracts/common.d.ts +12 -12
- package/dist/contracts/common.js +33 -30
- package/dist/contracts/continuation.js +5 -5
- 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/device-auth.d.ts +13 -9
- package/dist/contracts/device-auth.js +12 -12
- package/dist/contracts/docs.d.ts +10 -10
- package/dist/contracts/domains.js +39 -33
- package/dist/contracts/enums.d.ts +4 -14
- package/dist/contracts/enums.js +3 -10
- package/dist/contracts/error-code-meta.d.ts +122 -56
- package/dist/contracts/error-code-meta.js +43 -19
- package/dist/contracts/error-codes.d.ts +7 -4
- package/dist/contracts/error-codes.js +48 -24
- package/dist/contracts/events.d.ts +22 -15
- package/dist/contracts/events.js +33 -5
- package/dist/contracts/execution.d.ts +238 -0
- package/dist/contracts/execution.js +309 -0
- package/dist/contracts/feature-lifecycle.d.ts +39 -188
- package/dist/contracts/feature-lifecycle.js +52 -196
- package/dist/contracts/features.d.ts +13 -115
- package/dist/contracts/features.js +5 -35
- package/dist/contracts/functions.d.ts +597 -0
- package/dist/contracts/functions.js +475 -0
- package/dist/contracts/grants.d.ts +1175 -0
- package/dist/contracts/grants.js +783 -0
- package/dist/contracts/ids.d.ts +7 -5
- package/dist/contracts/ids.js +7 -7
- package/dist/contracts/internal.js +2 -2
- package/dist/contracts/mcp.d.ts +17 -556
- package/dist/contracts/mcp.js +9 -103
- package/dist/contracts/me.js +3 -4
- package/dist/contracts/notifications.d.ts +108 -0
- package/dist/contracts/notifications.js +54 -0
- package/dist/contracts/oauth-resources.d.ts +22 -5
- package/dist/contracts/oauth-resources.js +23 -2
- package/dist/contracts/operations.d.ts +0 -48
- package/dist/contracts/operations.js +0 -19
- package/dist/contracts/pages.d.ts +10 -14
- package/dist/contracts/pages.js +17 -21
- package/dist/contracts/plan-policy.d.ts +1 -8
- package/dist/contracts/plan-policy.js +1 -4
- package/dist/contracts/platform.d.ts +78 -30
- package/dist/contracts/platform.js +69 -20
- package/dist/contracts/problem-document.d.ts +14 -0
- package/dist/contracts/problem-document.js +35 -0
- package/dist/contracts/push-new.d.ts +41 -2
- package/dist/contracts/push-new.js +4 -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 +16 -71
- package/dist/contracts/resources.js +13 -16
- package/dist/contracts/runtime-api.d.ts +666 -303
- package/dist/contracts/runtime-api.js +272 -113
- package/dist/contracts/runtime-app.d.ts +168 -0
- package/dist/contracts/runtime-app.js +42 -0
- package/dist/contracts/runtime-db.d.ts +424 -0
- package/dist/contracts/runtime-db.js +108 -0
- package/dist/contracts/runtime-storage.d.ts +120 -0
- package/dist/contracts/runtime-storage.js +40 -0
- package/dist/contracts/sf-config-v1.d.ts +54 -1
- package/dist/contracts/sf-config-v1.js +2 -2
- package/dist/contracts/sites.d.ts +6 -0
- package/dist/contracts/sites.js +30 -11
- package/dist/contracts/space-config.d.ts +91 -121
- package/dist/contracts/space-config.js +464 -42
- package/dist/contracts/spaces.d.ts +300 -171
- package/dist/contracts/spaces.js +128 -98
- package/dist/contracts/superadmin-emails.d.ts +2 -2
- package/dist/contracts/superadmin-spaces.d.ts +26 -130
- package/dist/contracts/superadmin-spaces.js +22 -0
- package/dist/contracts/superadmin-tenants.js +4 -4
- package/dist/contracts/superadmin.d.ts +4 -0
- package/dist/contracts/superadmin.js +14 -1
- package/dist/contracts/tags.d.ts +6 -6
- package/dist/contracts/tags.js +1 -1
- package/dist/contracts/teams.d.ts +9 -9
- package/dist/contracts/teams.js +25 -16
- package/dist/contracts/theme-json.js +1 -1
- package/dist/contracts/transfers.d.ts +0 -1
- package/dist/contracts/transfers.js +4 -4
- package/dist/contracts/variables.js +3 -3
- package/dist/contracts/zero.d.ts +384 -596
- package/dist/contracts/zero.js +167 -299
- package/dist/dashboard-paths/index.d.ts +18 -3
- package/dist/dashboard-paths/index.js +19 -0
- package/dist/docs/agent-handoff-document.d.ts +2 -2
- package/dist/docs/agent-handoff-document.js +8 -7
- package/dist/docs/agent-prose.d.ts +22 -3
- package/dist/docs/agent-prose.js +227 -55
- package/dist/docs/agent-setup.d.ts +14 -11
- package/dist/docs/agent-setup.js +289 -61
- package/dist/docs/agent-solutions.d.ts +6 -6
- package/dist/docs/agent-solutions.js +24 -22
- package/dist/docs/catalog.d.ts +53 -98
- package/dist/docs/catalog.js +90 -117
- package/dist/docs/error-docs.js +304 -236
- package/dist/docs/skill-distribution.d.ts +2 -0
- package/dist/docs/skill-distribution.js +7 -4
- package/dist/docs/skills.d.ts +546 -0
- package/dist/docs/skills.js +340 -0
- package/dist/utils/auth-redirect.d.ts +1 -3
- package/dist/utils/auth-redirect.js +1 -21
- package/dist/utils/browser-credential.d.ts +19 -0
- package/dist/utils/browser-credential.js +62 -0
- package/dist/utils/build-settings.d.ts +2 -0
- package/dist/utils/build-settings.js +61 -9
- package/dist/utils/comment-avatars.d.ts +7 -0
- package/dist/utils/comment-avatars.js +42 -0
- package/dist/utils/content-type.d.ts +3 -3
- package/dist/utils/content-type.js +38 -61
- package/dist/utils/credential-policy.d.ts +1 -1
- package/dist/utils/credential-policy.js +4 -0
- package/dist/utils/domain-diagnostics.d.ts +5 -5
- package/dist/utils/domain-diagnostics.js +21 -10
- package/dist/utils/egress-policy.fixtures.json +1 -1
- package/dist/utils/grants.d.ts +53 -0
- package/dist/utils/grants.js +160 -0
- package/dist/utils/local-space-state.d.ts +78 -4
- package/dist/utils/local-space-state.js +384 -82
- package/dist/utils/one-shot-replay.d.ts +14 -0
- package/dist/utils/one-shot-replay.js +21 -0
- package/dist/utils/page-preview.d.ts +7 -0
- package/dist/utils/page-preview.js +9 -0
- package/dist/utils/pages.d.ts +2 -5
- package/dist/utils/pages.js +64 -33
- package/dist/utils/publish-form-data.d.ts +22 -0
- package/dist/utils/publish-form-data.js +26 -0
- package/dist/utils/publish-policy.d.ts +34 -4
- package/dist/utils/publish-policy.js +149 -62
- package/dist/utils/query-keys.d.ts +8 -10
- package/dist/utils/query-keys.js +14 -10
- package/dist/utils/runtime-paths.d.ts +3 -0
- package/dist/utils/runtime-paths.js +7 -0
- package/dist/utils/secure-local-file.d.ts +73 -0
- package/dist/utils/secure-local-file.js +1373 -0
- package/dist/utils/space-config.d.ts +17 -4
- package/dist/utils/space-config.js +151 -8
- package/dist/utils/static-runtime-policy.d.ts +5 -0
- package/dist/utils/static-runtime-policy.js +54 -10
- package/dist/utils/storage-policy.d.ts +20 -0
- package/dist/utils/storage-policy.fixtures.json +174 -0
- package/dist/utils/storage-policy.js +193 -0
- package/dist/utils/upload-session.d.ts +15 -1
- package/dist/utils/upload-session.js +68 -2
- package/dist/utils/version-file-browser.d.ts +13 -0
- package/dist/utils/version-file-browser.js +59 -0
- package/package.json +20 -1
- package/dist/contracts/mounts.d.ts +0 -142
- package/dist/contracts/mounts.js +0 -56
- package/dist/utils/access-grant.d.ts +0 -14
- package/dist/utils/access-grant.js +0 -88
- package/dist/utils/access-match.d.ts +0 -46
- package/dist/utils/access-match.fixtures.json +0 -513
- package/dist/utils/access-match.js +0 -312
- package/dist/utils/access-verdict.fixtures.json +0 -421
- package/dist/utils/asset-fingerprint.d.ts +0 -53
- package/dist/utils/asset-fingerprint.js +0 -574
- package/dist/utils/sf-config-v1.d.ts +0 -2
- package/dist/utils/sf-config-v1.fixtures.json +0 -9
- package/dist/utils/sf-config-v1.js +0 -551
|
@@ -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>>;
|
|
@@ -41,7 +35,6 @@ export declare const runtimeUploadSessionDescriptorSchema: z.ZodObject<{
|
|
|
41
35
|
upload_id: z.ZodString;
|
|
42
36
|
space_id: z.ZodString;
|
|
43
37
|
version_id: z.ZodString;
|
|
44
|
-
session_mode: z.ZodLiteral<"declared">;
|
|
45
38
|
expires_at: z.ZodString;
|
|
46
39
|
manifest_hash: z.ZodOptional<z.ZodString>;
|
|
47
40
|
files: z.ZodArray<z.ZodObject<{
|
|
@@ -67,15 +60,12 @@ export declare const runtimeUploadSessionDescriptorSchema: z.ZodObject<{
|
|
|
67
60
|
}, z.core.$strip>;
|
|
68
61
|
export type RuntimeUploadSessionDescriptor = z.infer<typeof runtimeUploadSessionDescriptorSchema>;
|
|
69
62
|
export declare const RUNTIME_UPLOAD_SESSION_DESCRIPTOR_MAX_BYTES = 4096;
|
|
63
|
+
export declare const RUNTIME_UPLOAD_AUTHORIZATION_HEADER_MAX_BYTES: number;
|
|
70
64
|
export declare const RUNTIME_UPLOAD_SESSION_STORED_MAX_BYTES: number;
|
|
71
65
|
export declare const runtimeUploadSessionResponseSchema: z.ZodObject<{
|
|
72
66
|
space_id: z.ZodString;
|
|
73
67
|
version_id: z.ZodString;
|
|
74
68
|
upload_id: z.ZodString;
|
|
75
|
-
session_mode: z.ZodEnum<{
|
|
76
|
-
open: "open";
|
|
77
|
-
declared: "declared";
|
|
78
|
-
}>;
|
|
79
69
|
created_at: z.ZodNullable<z.ZodString>;
|
|
80
70
|
expires_at: z.ZodNullable<z.ZodString>;
|
|
81
71
|
manifest_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -88,6 +78,160 @@ export declare const runtimeUploadSessionResponseSchema: z.ZodObject<{
|
|
|
88
78
|
pending_paths: z.ZodArray<z.ZodString>;
|
|
89
79
|
chunks: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNumber>>;
|
|
90
80
|
}, z.core.$strip>;
|
|
81
|
+
export declare const visitorJwkSchema: z.ZodObject<{
|
|
82
|
+
kty: z.ZodLiteral<"OKP">;
|
|
83
|
+
crv: z.ZodLiteral<"Ed25519">;
|
|
84
|
+
kid: z.ZodString;
|
|
85
|
+
alg: z.ZodLiteral<"EdDSA">;
|
|
86
|
+
x: z.ZodString;
|
|
87
|
+
use: z.ZodOptional<z.ZodLiteral<"sig">>;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
export declare const visitorJwksSchema: z.ZodObject<{
|
|
90
|
+
keys: z.ZodArray<z.ZodObject<{
|
|
91
|
+
kty: z.ZodLiteral<"OKP">;
|
|
92
|
+
crv: z.ZodLiteral<"Ed25519">;
|
|
93
|
+
kid: z.ZodString;
|
|
94
|
+
alg: z.ZodLiteral<"EdDSA">;
|
|
95
|
+
x: z.ZodString;
|
|
96
|
+
use: z.ZodOptional<z.ZodLiteral<"sig">>;
|
|
97
|
+
}, z.core.$strip>>;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
export declare const runtimePublicExposureDescriptorSchema: z.ZodObject<{
|
|
100
|
+
v: z.ZodNumber;
|
|
101
|
+
public: z.ZodBoolean;
|
|
102
|
+
authorizationDigest: z.ZodString;
|
|
103
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
104
|
+
externalProxy: z.ZodBoolean;
|
|
105
|
+
unmodeled: z.ZodString;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
export type RuntimePublicExposureDescriptor = z.infer<typeof runtimePublicExposureDescriptorSchema>;
|
|
108
|
+
export declare const runtimeAccessPageDescriptorSchema: z.ZodObject<{
|
|
109
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
110
|
+
accountUrl: z.ZodNullable<z.ZodString>;
|
|
111
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
112
|
+
id: z.ZodString;
|
|
113
|
+
label: z.ZodString;
|
|
114
|
+
startUrl: z.ZodString;
|
|
115
|
+
}, z.core.$strip>>;
|
|
116
|
+
exchange: z.ZodNullable<z.ZodObject<{
|
|
117
|
+
passwordUrl: z.ZodString;
|
|
118
|
+
linkUrl: z.ZodString;
|
|
119
|
+
tokenUrl: z.ZodString;
|
|
120
|
+
emailUrl: z.ZodString;
|
|
121
|
+
requestUrl: z.ZodString;
|
|
122
|
+
logoutUrl: z.ZodString;
|
|
123
|
+
commentsConfigUrl: z.ZodOptional<z.ZodString>;
|
|
124
|
+
commentsTicketUrl: z.ZodOptional<z.ZodString>;
|
|
125
|
+
commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
|
|
126
|
+
zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
|
|
127
|
+
credential: z.ZodString;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
}, z.core.$strict>;
|
|
130
|
+
export type RuntimeAccessPageDescriptor = z.infer<typeof runtimeAccessPageDescriptorSchema>;
|
|
131
|
+
export declare const RUNTIME_AUTHORIZATION_GRANT_LIMIT = 1024;
|
|
132
|
+
export declare const runtimeAuthorizationProjectionSchema: z.ZodObject<{
|
|
133
|
+
generation: z.ZodNumber;
|
|
134
|
+
sessionVersion: z.ZodNumber;
|
|
135
|
+
fence: z.ZodEnum<{
|
|
136
|
+
none: "none";
|
|
137
|
+
ownership: "ownership";
|
|
138
|
+
exposure: "exposure";
|
|
139
|
+
}>;
|
|
140
|
+
acquireUrl: z.ZodString;
|
|
141
|
+
accessPage: z.ZodObject<{
|
|
142
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
143
|
+
accountUrl: z.ZodNullable<z.ZodString>;
|
|
144
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
145
|
+
id: z.ZodString;
|
|
146
|
+
label: z.ZodString;
|
|
147
|
+
startUrl: z.ZodString;
|
|
148
|
+
}, z.core.$strip>>;
|
|
149
|
+
exchange: z.ZodNullable<z.ZodObject<{
|
|
150
|
+
passwordUrl: z.ZodString;
|
|
151
|
+
linkUrl: z.ZodString;
|
|
152
|
+
tokenUrl: z.ZodString;
|
|
153
|
+
emailUrl: z.ZodString;
|
|
154
|
+
requestUrl: z.ZodString;
|
|
155
|
+
logoutUrl: z.ZodString;
|
|
156
|
+
commentsConfigUrl: z.ZodOptional<z.ZodString>;
|
|
157
|
+
commentsTicketUrl: z.ZodOptional<z.ZodString>;
|
|
158
|
+
commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
|
|
159
|
+
zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
|
|
160
|
+
credential: z.ZodString;
|
|
161
|
+
}, z.core.$strip>>;
|
|
162
|
+
}, z.core.$strict>;
|
|
163
|
+
spaceClaimed: z.ZodBoolean;
|
|
164
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
165
|
+
name: z.ZodOptional<z.ZodString>;
|
|
166
|
+
audience: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
167
|
+
kind: z.ZodLiteral<"public">;
|
|
168
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
169
|
+
kind: z.ZodLiteral<"team">;
|
|
170
|
+
teamId: z.ZodString;
|
|
171
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
172
|
+
kind: z.ZodLiteral<"person">;
|
|
173
|
+
personId: z.ZodString;
|
|
174
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
175
|
+
kind: z.ZodLiteral<"link">;
|
|
176
|
+
linkId: z.ZodString;
|
|
177
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
178
|
+
kind: z.ZodLiteral<"password">;
|
|
179
|
+
credentialId: z.ZodString;
|
|
180
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
181
|
+
kind: z.ZodLiteral<"machine">;
|
|
182
|
+
machineId: z.ZodString;
|
|
183
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
184
|
+
kind: z.ZodLiteral<"external">;
|
|
185
|
+
issuer: z.ZodString;
|
|
186
|
+
subject: z.ZodString;
|
|
187
|
+
}, z.core.$strict>], "kind">;
|
|
188
|
+
resources: z.ZodObject<{
|
|
189
|
+
include: z.ZodArray<z.ZodString>;
|
|
190
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
191
|
+
}, z.core.$strict>;
|
|
192
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
193
|
+
"page.view": "page.view";
|
|
194
|
+
"comments.read": "comments.read";
|
|
195
|
+
"comments.write": "comments.write";
|
|
196
|
+
"content.publish": "content.publish";
|
|
197
|
+
"access.manage": "access.manage";
|
|
198
|
+
}>>;
|
|
199
|
+
constraints: z.ZodDefault<z.ZodObject<{
|
|
200
|
+
notBefore: z.ZodOptional<z.ZodString>;
|
|
201
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
202
|
+
maxUses: z.ZodOptional<z.ZodNumber>;
|
|
203
|
+
requireVerifiedEmail: z.ZodOptional<z.ZodBoolean>;
|
|
204
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
205
|
+
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
206
|
+
countries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
207
|
+
excludedCountries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
208
|
+
excludedUserAgentSubstrings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
209
|
+
}, z.core.$strict>>;
|
|
210
|
+
}, z.core.$strict>>;
|
|
211
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
212
|
+
kind: z.ZodLiteral<"live">;
|
|
213
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
214
|
+
kind: z.ZodLiteral<"version">;
|
|
215
|
+
versionId: z.ZodString;
|
|
216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
217
|
+
kind: z.ZodLiteral<"branch">;
|
|
218
|
+
branch: z.ZodString;
|
|
219
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
220
|
+
kind: z.ZodLiteral<"all_versions">;
|
|
221
|
+
}, z.core.$strict>], "kind">;
|
|
222
|
+
id: z.ZodString;
|
|
223
|
+
source: z.ZodObject<{
|
|
224
|
+
kind: z.ZodEnum<{
|
|
225
|
+
config: "config";
|
|
226
|
+
system: "system";
|
|
227
|
+
managed: "managed";
|
|
228
|
+
}>;
|
|
229
|
+
reference: z.ZodString;
|
|
230
|
+
}, z.core.$strict>;
|
|
231
|
+
generation: z.ZodNumber;
|
|
232
|
+
}, z.core.$strict>>;
|
|
233
|
+
}, z.core.$strict>;
|
|
234
|
+
export type RuntimeAuthorizationProjection = z.infer<typeof runtimeAuthorizationProjectionSchema>;
|
|
91
235
|
export declare const runtimeZeroModeSchema: z.ZodEnum<{
|
|
92
236
|
active: "active";
|
|
93
237
|
activating: "activating";
|
|
@@ -99,7 +243,6 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
99
243
|
upload_id: z.ZodString;
|
|
100
244
|
space_id: z.ZodString;
|
|
101
245
|
version_id: z.ZodString;
|
|
102
|
-
session_mode: z.ZodLiteral<"declared">;
|
|
103
246
|
expires_at: z.ZodString;
|
|
104
247
|
manifest_hash: z.ZodOptional<z.ZodString>;
|
|
105
248
|
files: z.ZodArray<z.ZodObject<{
|
|
@@ -129,22 +272,18 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
129
272
|
}>>;
|
|
130
273
|
zero: z.ZodOptional<z.ZodObject<{
|
|
131
274
|
auth: z.ZodDefault<z.ZodObject<{
|
|
132
|
-
provider: z.ZodDefault<z.ZodLiteral<"
|
|
133
|
-
signInPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/
|
|
275
|
+
provider: z.ZodDefault<z.ZodLiteral<"gravatar">>;
|
|
276
|
+
signInPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/gravatar/start">>>;
|
|
134
277
|
signInUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
135
278
|
signOutPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/sign-out">>>;
|
|
136
279
|
signOutUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
137
280
|
returnToParam: z.ZodDefault<z.ZodString>;
|
|
138
281
|
}, z.core.$strict>>;
|
|
139
|
-
variables: z.ZodObject<{
|
|
140
|
-
source: z.ZodLiteral<"stattic-variables">;
|
|
141
|
-
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
142
|
-
}, z.core.$strict>;
|
|
143
282
|
realtime: z.ZodObject<{
|
|
144
283
|
mode: z.ZodEnum<{
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
284
|
+
local: "local";
|
|
285
|
+
cast: "cast";
|
|
286
|
+
central: "central";
|
|
148
287
|
}>;
|
|
149
288
|
centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
150
289
|
replayUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -154,86 +293,9 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
154
293
|
token: z.ZodString;
|
|
155
294
|
}, z.core.$strict>>;
|
|
156
295
|
}, z.core.$strict>;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
161
|
-
safe: "safe";
|
|
162
|
-
drop: "drop";
|
|
163
|
-
rename: "rename";
|
|
164
|
-
}>>;
|
|
165
|
-
schemaHash: z.ZodString;
|
|
166
|
-
operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
167
|
-
op: z.ZodLiteral<"create_table">;
|
|
168
|
-
table: z.ZodString;
|
|
169
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
-
op: z.ZodLiteral<"add_column">;
|
|
171
|
-
table: z.ZodString;
|
|
172
|
-
column: z.ZodObject<{
|
|
173
|
-
name: z.ZodString;
|
|
174
|
-
type: z.ZodEnum<{
|
|
175
|
-
string: "string";
|
|
176
|
-
number: "number";
|
|
177
|
-
boolean: "boolean";
|
|
178
|
-
json: "json";
|
|
179
|
-
}>;
|
|
180
|
-
nullable: z.ZodDefault<z.ZodBoolean>;
|
|
181
|
-
default: z.ZodOptional<z.ZodUnknown>;
|
|
182
|
-
}, z.core.$strict>;
|
|
183
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
184
|
-
op: z.ZodLiteral<"add_index">;
|
|
185
|
-
table: z.ZodString;
|
|
186
|
-
columns: z.ZodArray<z.ZodString>;
|
|
187
|
-
unique: z.ZodDefault<z.ZodBoolean>;
|
|
188
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
189
|
-
op: z.ZodLiteral<"drop_table">;
|
|
190
|
-
table: z.ZodString;
|
|
191
|
-
explicit: z.ZodLiteral<"drop">;
|
|
192
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
193
|
-
op: z.ZodLiteral<"drop_column">;
|
|
194
|
-
table: z.ZodString;
|
|
195
|
-
column: z.ZodString;
|
|
196
|
-
explicit: z.ZodLiteral<"drop">;
|
|
197
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
198
|
-
op: z.ZodLiteral<"rename_table">;
|
|
199
|
-
from: z.ZodString;
|
|
200
|
-
to: z.ZodString;
|
|
201
|
-
explicit: z.ZodLiteral<"rename">;
|
|
202
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
203
|
-
op: z.ZodLiteral<"rename_column">;
|
|
204
|
-
table: z.ZodString;
|
|
205
|
-
from: z.ZodString;
|
|
206
|
-
to: z.ZodString;
|
|
207
|
-
explicit: z.ZodLiteral<"rename">;
|
|
208
|
-
}, z.core.$strict>], "op">>;
|
|
209
|
-
}, z.core.$strict>>>;
|
|
210
|
-
install: z.ZodObject<{
|
|
211
|
-
runtimeKind: z.ZodLiteral<"zero">;
|
|
212
|
-
engine: z.ZodLiteral<"quickjs-rust">;
|
|
213
|
-
storageRoot: z.ZodLiteral<"__spacefast/zero">;
|
|
214
|
-
artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
|
|
215
|
-
configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
|
|
216
|
-
binary: z.ZodObject<{
|
|
217
|
-
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-zero-runner">;
|
|
218
|
-
compatibilityTarget: z.ZodObject<{
|
|
219
|
-
profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
|
|
220
|
-
os: z.ZodLiteral<"linux">;
|
|
221
|
-
cpu: z.ZodLiteral<"x86_64">;
|
|
222
|
-
libc: z.ZodLiteral<"glibc">;
|
|
223
|
-
linking: z.ZodLiteral<"dynamic">;
|
|
224
|
-
requireExecutableBit: z.ZodLiteral<true>;
|
|
225
|
-
}, z.core.$strict>;
|
|
226
|
-
sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
227
|
-
required: z.ZodLiteral<true>;
|
|
228
|
-
}, z.core.$strict>;
|
|
229
|
-
mysql: z.ZodObject<{
|
|
230
|
-
migrateAtFinalize: z.ZodLiteral<true>;
|
|
231
|
-
blockIncompatibleRollback: z.ZodLiteral<true>;
|
|
232
|
-
}, z.core.$strict>;
|
|
233
|
-
realtime: z.ZodObject<{
|
|
234
|
-
production: z.ZodLiteral<"stattic-central">;
|
|
235
|
-
local: z.ZodLiteral<"foreground-cli-ws">;
|
|
236
|
-
}, z.core.$strict>;
|
|
296
|
+
variables: z.ZodObject<{
|
|
297
|
+
source: z.ZodLiteral<"stattic-variables">;
|
|
298
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
237
299
|
}, z.core.$strict>;
|
|
238
300
|
artifact: z.ZodObject<{
|
|
239
301
|
format: z.ZodLiteral<"stattic.zero.capsule.v1">;
|
|
@@ -258,9 +320,14 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
258
320
|
nullable: z.ZodDefault<z.ZodBoolean>;
|
|
259
321
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
260
322
|
}, z.core.$strict>>>;
|
|
323
|
+
indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
324
|
+
name: z.ZodString;
|
|
325
|
+
fields: z.ZodArray<z.ZodString>;
|
|
326
|
+
}, z.core.$strict>>>;
|
|
261
327
|
}, z.core.$strict>>>;
|
|
262
328
|
queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
263
329
|
mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
330
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
264
331
|
endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
265
332
|
method: z.ZodEnum<{
|
|
266
333
|
POST: "POST";
|
|
@@ -297,8 +364,14 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
297
364
|
}, z.core.$strict>, z.ZodObject<{
|
|
298
365
|
op: z.ZodLiteral<"add_index">;
|
|
299
366
|
table: z.ZodString;
|
|
367
|
+
name: z.ZodString;
|
|
300
368
|
columns: z.ZodArray<z.ZodString>;
|
|
301
369
|
unique: z.ZodDefault<z.ZodBoolean>;
|
|
370
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
371
|
+
op: z.ZodLiteral<"drop_index">;
|
|
372
|
+
table: z.ZodString;
|
|
373
|
+
name: z.ZodString;
|
|
374
|
+
explicit: z.ZodLiteral<"drop">;
|
|
302
375
|
}, z.core.$strict>, z.ZodObject<{
|
|
303
376
|
op: z.ZodLiteral<"drop_table">;
|
|
304
377
|
table: z.ZodString;
|
|
@@ -323,9 +396,9 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
323
396
|
}, z.core.$strict>;
|
|
324
397
|
realtime: z.ZodObject<{
|
|
325
398
|
mode: z.ZodEnum<{
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
399
|
+
local: "local";
|
|
400
|
+
cast: "cast";
|
|
401
|
+
central: "central";
|
|
329
402
|
}>;
|
|
330
403
|
mutationEvents: z.ZodDefault<z.ZodBoolean>;
|
|
331
404
|
}, z.core.$strict>;
|
|
@@ -337,8 +410,8 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
337
410
|
}>>>;
|
|
338
411
|
sourceManifest: z.ZodObject<{
|
|
339
412
|
entries: z.ZodObject<{
|
|
340
|
-
client: z.
|
|
341
|
-
server: z.
|
|
413
|
+
client: z.ZodString;
|
|
414
|
+
server: z.ZodString;
|
|
342
415
|
}, z.core.$strict>;
|
|
343
416
|
sourceRoot: z.ZodString;
|
|
344
417
|
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -347,22 +420,99 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
347
420
|
sha256: z.ZodString;
|
|
348
421
|
}, z.core.$strict>>>;
|
|
349
422
|
env: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
350
|
-
file: z.
|
|
423
|
+
file: z.ZodEnum<{
|
|
424
|
+
".env.server": ".env.server";
|
|
425
|
+
".env.lakebed.server": ".env.lakebed.server";
|
|
426
|
+
}>;
|
|
351
427
|
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
352
428
|
}, z.core.$strip>>>;
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
429
|
+
}, z.core.$strict>;
|
|
430
|
+
}, z.core.$strict>;
|
|
431
|
+
runtimeKind: z.ZodLiteral<"zero">;
|
|
432
|
+
migrations: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
433
|
+
format: z.ZodLiteral<"stattic.zero.migrations.v1">;
|
|
434
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
435
|
+
safe: "safe";
|
|
436
|
+
drop: "drop";
|
|
437
|
+
rename: "rename";
|
|
438
|
+
}>>;
|
|
439
|
+
schemaHash: z.ZodString;
|
|
440
|
+
operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
441
|
+
op: z.ZodLiteral<"create_table">;
|
|
442
|
+
table: z.ZodString;
|
|
443
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
444
|
+
op: z.ZodLiteral<"add_column">;
|
|
445
|
+
table: z.ZodString;
|
|
446
|
+
column: z.ZodObject<{
|
|
447
|
+
name: z.ZodString;
|
|
448
|
+
type: z.ZodEnum<{
|
|
449
|
+
string: "string";
|
|
450
|
+
number: "number";
|
|
451
|
+
boolean: "boolean";
|
|
452
|
+
json: "json";
|
|
453
|
+
}>;
|
|
454
|
+
nullable: z.ZodDefault<z.ZodBoolean>;
|
|
455
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
456
|
+
}, z.core.$strict>;
|
|
457
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
458
|
+
op: z.ZodLiteral<"add_index">;
|
|
459
|
+
table: z.ZodString;
|
|
460
|
+
name: z.ZodString;
|
|
461
|
+
columns: z.ZodArray<z.ZodString>;
|
|
462
|
+
unique: z.ZodDefault<z.ZodBoolean>;
|
|
463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
464
|
+
op: z.ZodLiteral<"drop_index">;
|
|
465
|
+
table: z.ZodString;
|
|
466
|
+
name: z.ZodString;
|
|
467
|
+
explicit: z.ZodLiteral<"drop">;
|
|
468
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
469
|
+
op: z.ZodLiteral<"drop_table">;
|
|
470
|
+
table: z.ZodString;
|
|
471
|
+
explicit: z.ZodLiteral<"drop">;
|
|
472
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
473
|
+
op: z.ZodLiteral<"drop_column">;
|
|
474
|
+
table: z.ZodString;
|
|
475
|
+
column: z.ZodString;
|
|
476
|
+
explicit: z.ZodLiteral<"drop">;
|
|
477
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
478
|
+
op: z.ZodLiteral<"rename_table">;
|
|
479
|
+
from: z.ZodString;
|
|
480
|
+
to: z.ZodString;
|
|
481
|
+
explicit: z.ZodLiteral<"rename">;
|
|
482
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
483
|
+
op: z.ZodLiteral<"rename_column">;
|
|
484
|
+
table: z.ZodString;
|
|
485
|
+
from: z.ZodString;
|
|
486
|
+
to: z.ZodString;
|
|
487
|
+
explicit: z.ZodLiteral<"rename">;
|
|
488
|
+
}, z.core.$strict>], "op">>;
|
|
489
|
+
}, z.core.$strict>>>;
|
|
490
|
+
install: z.ZodObject<{
|
|
491
|
+
runtimeKind: z.ZodLiteral<"zero">;
|
|
492
|
+
engine: z.ZodLiteral<"quickjs-rust">;
|
|
493
|
+
storageRoot: z.ZodLiteral<"__spacefast/zero">;
|
|
494
|
+
artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
|
|
495
|
+
configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
|
|
496
|
+
binary: z.ZodObject<{
|
|
497
|
+
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
498
|
+
compatibilityTarget: z.ZodObject<{
|
|
499
|
+
profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
|
|
500
|
+
os: z.ZodLiteral<"linux">;
|
|
501
|
+
cpu: z.ZodLiteral<"x86_64">;
|
|
502
|
+
libc: z.ZodLiteral<"glibc">;
|
|
503
|
+
linking: z.ZodLiteral<"dynamic">;
|
|
504
|
+
requireExecutableBit: z.ZodLiteral<true>;
|
|
505
|
+
}, z.core.$strict>;
|
|
506
|
+
sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
507
|
+
required: z.ZodLiteral<true>;
|
|
508
|
+
}, z.core.$strict>;
|
|
509
|
+
mysql: z.ZodObject<{
|
|
510
|
+
migrateAtFinalize: z.ZodLiteral<true>;
|
|
511
|
+
blockIncompatibleRollback: z.ZodLiteral<true>;
|
|
512
|
+
}, z.core.$strict>;
|
|
513
|
+
realtime: z.ZodObject<{
|
|
514
|
+
production: z.ZodLiteral<"central">;
|
|
515
|
+
local: z.ZodLiteral<"foreground-cli-ws">;
|
|
366
516
|
}, z.core.$strict>;
|
|
367
517
|
}, z.core.$strict>;
|
|
368
518
|
inspect: z.ZodDefault<z.ZodObject<{
|
|
@@ -372,8 +522,69 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
372
522
|
}>>;
|
|
373
523
|
}, z.core.$strict>>;
|
|
374
524
|
variableValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
525
|
+
databaseUrlSource: z.ZodDefault<z.ZodEnum<{
|
|
526
|
+
provider: "provider";
|
|
527
|
+
application: "application";
|
|
528
|
+
}>>;
|
|
529
|
+
}, z.core.$strict>>;
|
|
530
|
+
functions: z.ZodOptional<z.ZodObject<{
|
|
531
|
+
runtimeKind: z.ZodLiteral<"functions">;
|
|
532
|
+
artifact: z.ZodObject<{
|
|
533
|
+
format: z.ZodLiteral<"spacefast.functions.worker.v1">;
|
|
534
|
+
appName: z.ZodString;
|
|
535
|
+
entry: z.ZodString;
|
|
536
|
+
mainModule: z.ZodString;
|
|
537
|
+
bundle: z.ZodObject<{
|
|
538
|
+
path: z.ZodString;
|
|
539
|
+
sha256: z.ZodString;
|
|
540
|
+
size: z.ZodNumber;
|
|
541
|
+
}, z.core.$strict>;
|
|
542
|
+
compatibilityDate: z.ZodString;
|
|
543
|
+
compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
544
|
+
routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
545
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
546
|
+
POST: "POST";
|
|
547
|
+
PUT: "PUT";
|
|
548
|
+
GET: "GET";
|
|
549
|
+
HEAD: "HEAD";
|
|
550
|
+
PATCH: "PATCH";
|
|
551
|
+
DELETE: "DELETE";
|
|
552
|
+
OPTIONS: "OPTIONS";
|
|
553
|
+
}>>>;
|
|
554
|
+
path: z.ZodString;
|
|
555
|
+
subtree: z.ZodDefault<z.ZodBoolean>;
|
|
556
|
+
}, z.core.$strict>>>;
|
|
557
|
+
capabilities: z.ZodDefault<z.ZodObject<{
|
|
558
|
+
db: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
559
|
+
fetch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
560
|
+
auth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
561
|
+
env: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
562
|
+
realtime: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
563
|
+
logging: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
564
|
+
}, z.core.$strip>>;
|
|
565
|
+
}, z.core.$strict>;
|
|
566
|
+
variables: z.ZodDefault<z.ZodObject<{
|
|
567
|
+
source: z.ZodLiteral<"spacefast-variables">;
|
|
568
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
569
|
+
}, z.core.$strict>>;
|
|
570
|
+
host: z.ZodObject<{
|
|
571
|
+
hostname: z.ZodString;
|
|
572
|
+
bundleUrl: z.ZodString;
|
|
573
|
+
}, z.core.$strict>;
|
|
574
|
+
grantedCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
575
|
+
fetch: "fetch";
|
|
576
|
+
"db.read": "db.read";
|
|
577
|
+
"db.write": "db.write";
|
|
578
|
+
log: "log";
|
|
579
|
+
}>>>;
|
|
580
|
+
relay: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
581
|
+
url: z.ZodString;
|
|
582
|
+
token: z.ZodString;
|
|
583
|
+
maxBatchStatements: z.ZodNumber;
|
|
584
|
+
maxConcurrentCalls: z.ZodNumber;
|
|
585
|
+
}, z.core.$strict>>>;
|
|
586
|
+
variableValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
375
587
|
}, z.core.$strict>>;
|
|
376
|
-
ready_at: z.ZodOptional<z.ZodNumber>;
|
|
377
588
|
convention_files: z.ZodOptional<z.ZodObject<{
|
|
378
589
|
redirects: z.ZodOptional<z.ZodString>;
|
|
379
590
|
headers: z.ZodOptional<z.ZodString>;
|
|
@@ -403,9 +614,8 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
403
614
|
pages: z.ZodOptional<z.ZodObject<{
|
|
404
615
|
routes: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
405
616
|
pages: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
406
|
-
login: "login";
|
|
407
|
-
password: "password";
|
|
408
617
|
denied: "denied";
|
|
618
|
+
access: "access";
|
|
409
619
|
404: "404";
|
|
410
620
|
}>, z.ZodString>>;
|
|
411
621
|
index: z.ZodOptional<z.ZodString>;
|
|
@@ -418,6 +628,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
418
628
|
cast_api_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
419
629
|
cast_ws_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
420
630
|
cast_resource_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
631
|
+
published_comments: z.ZodOptional<z.ZodBoolean>;
|
|
421
632
|
}, z.core.$strip>>;
|
|
422
633
|
inject: z.ZodOptional<z.ZodObject<{
|
|
423
634
|
head: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -468,72 +679,129 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
468
679
|
activate: z.ZodOptional<z.ZodObject<{
|
|
469
680
|
route_name: z.ZodDefault<z.ZodString>;
|
|
470
681
|
config: z.ZodOptional<z.ZodObject<{
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
}, z.core.$strip>>;
|
|
682
|
+
authorization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
683
|
+
generation: z.ZodNumber;
|
|
684
|
+
sessionVersion: z.ZodNumber;
|
|
685
|
+
fence: z.ZodEnum<{
|
|
686
|
+
none: "none";
|
|
687
|
+
ownership: "ownership";
|
|
688
|
+
exposure: "exposure";
|
|
689
|
+
}>;
|
|
690
|
+
acquireUrl: z.ZodString;
|
|
691
|
+
accessPage: z.ZodObject<{
|
|
692
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
693
|
+
accountUrl: z.ZodNullable<z.ZodString>;
|
|
694
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
695
|
+
id: z.ZodString;
|
|
696
|
+
label: z.ZodString;
|
|
697
|
+
startUrl: z.ZodString;
|
|
488
698
|
}, z.core.$strip>>;
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
}, z.core.$strip>>>;
|
|
502
|
-
acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
503
|
-
type: z.ZodLiteral<"password">;
|
|
504
|
-
ref: z.ZodString;
|
|
505
|
-
transport: z.ZodEnum<{
|
|
506
|
-
basic: "basic";
|
|
507
|
-
form: "form";
|
|
508
|
-
}>;
|
|
509
|
-
username: z.ZodOptional<z.ZodString>;
|
|
510
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
511
|
-
type: z.ZodLiteral<"login">;
|
|
512
|
-
url: z.ZodString;
|
|
513
|
-
label: z.ZodOptional<z.ZodString>;
|
|
514
|
-
}, z.core.$strip>], "type">>>;
|
|
699
|
+
exchange: z.ZodNullable<z.ZodObject<{
|
|
700
|
+
passwordUrl: z.ZodString;
|
|
701
|
+
linkUrl: z.ZodString;
|
|
702
|
+
tokenUrl: z.ZodString;
|
|
703
|
+
emailUrl: z.ZodString;
|
|
704
|
+
requestUrl: z.ZodString;
|
|
705
|
+
logoutUrl: z.ZodString;
|
|
706
|
+
commentsConfigUrl: z.ZodOptional<z.ZodString>;
|
|
707
|
+
commentsTicketUrl: z.ZodOptional<z.ZodString>;
|
|
708
|
+
commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
|
|
709
|
+
zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
|
|
710
|
+
credential: z.ZodString;
|
|
515
711
|
}, z.core.$strip>>;
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
712
|
+
}, z.core.$strict>;
|
|
713
|
+
spaceClaimed: z.ZodBoolean;
|
|
714
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
715
|
+
name: z.ZodOptional<z.ZodString>;
|
|
716
|
+
audience: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
717
|
+
kind: z.ZodLiteral<"public">;
|
|
718
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
719
|
+
kind: z.ZodLiteral<"team">;
|
|
720
|
+
teamId: z.ZodString;
|
|
721
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
722
|
+
kind: z.ZodLiteral<"person">;
|
|
723
|
+
personId: z.ZodString;
|
|
724
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
725
|
+
kind: z.ZodLiteral<"link">;
|
|
726
|
+
linkId: z.ZodString;
|
|
727
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
728
|
+
kind: z.ZodLiteral<"password">;
|
|
729
|
+
credentialId: z.ZodString;
|
|
730
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
731
|
+
kind: z.ZodLiteral<"machine">;
|
|
732
|
+
machineId: z.ZodString;
|
|
733
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
734
|
+
kind: z.ZodLiteral<"external">;
|
|
735
|
+
issuer: z.ZodString;
|
|
736
|
+
subject: z.ZodString;
|
|
737
|
+
}, z.core.$strict>], "kind">;
|
|
738
|
+
resources: z.ZodObject<{
|
|
739
|
+
include: z.ZodArray<z.ZodString>;
|
|
740
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
741
|
+
}, z.core.$strict>;
|
|
742
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
743
|
+
"page.view": "page.view";
|
|
744
|
+
"comments.read": "comments.read";
|
|
745
|
+
"comments.write": "comments.write";
|
|
746
|
+
"content.publish": "content.publish";
|
|
747
|
+
"access.manage": "access.manage";
|
|
522
748
|
}>>;
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
749
|
+
constraints: z.ZodDefault<z.ZodObject<{
|
|
750
|
+
notBefore: z.ZodOptional<z.ZodString>;
|
|
751
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
752
|
+
maxUses: z.ZodOptional<z.ZodNumber>;
|
|
753
|
+
requireVerifiedEmail: z.ZodOptional<z.ZodBoolean>;
|
|
754
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
755
|
+
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
756
|
+
countries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
757
|
+
excludedCountries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
758
|
+
excludedUserAgentSubstrings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
759
|
+
}, z.core.$strict>>;
|
|
760
|
+
}, z.core.$strict>>;
|
|
761
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
762
|
+
kind: z.ZodLiteral<"live">;
|
|
763
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
764
|
+
kind: z.ZodLiteral<"version">;
|
|
765
|
+
versionId: z.ZodString;
|
|
766
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
767
|
+
kind: z.ZodLiteral<"branch">;
|
|
768
|
+
branch: z.ZodString;
|
|
769
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
770
|
+
kind: z.ZodLiteral<"all_versions">;
|
|
771
|
+
}, z.core.$strict>], "kind">;
|
|
772
|
+
id: z.ZodString;
|
|
773
|
+
source: z.ZodObject<{
|
|
774
|
+
kind: z.ZodEnum<{
|
|
775
|
+
config: "config";
|
|
776
|
+
system: "system";
|
|
777
|
+
managed: "managed";
|
|
778
|
+
}>;
|
|
779
|
+
reference: z.ZodString;
|
|
780
|
+
}, z.core.$strict>;
|
|
781
|
+
generation: z.ZodNumber;
|
|
782
|
+
}, z.core.$strict>>;
|
|
783
|
+
}, z.core.$strict>>>;
|
|
784
|
+
public_exposure_digest: z.ZodOptional<z.ZodString>;
|
|
785
|
+
public_exposure: z.ZodOptional<z.ZodObject<{
|
|
786
|
+
v: z.ZodNumber;
|
|
787
|
+
public: z.ZodBoolean;
|
|
788
|
+
authorizationDigest: z.ZodString;
|
|
789
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
790
|
+
externalProxy: z.ZodBoolean;
|
|
791
|
+
unmodeled: z.ZodString;
|
|
792
|
+
}, z.core.$strip>>;
|
|
793
|
+
projection_generation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
794
|
+
visitor_issuer: z.ZodOptional<z.ZodString>;
|
|
795
|
+
visitor_jwks: z.ZodOptional<z.ZodObject<{
|
|
796
|
+
keys: z.ZodArray<z.ZodObject<{
|
|
797
|
+
kty: z.ZodLiteral<"OKP">;
|
|
798
|
+
crv: z.ZodLiteral<"Ed25519">;
|
|
528
799
|
kid: z.ZodString;
|
|
529
800
|
alg: z.ZodLiteral<"EdDSA">;
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
}, z.core.$strip
|
|
533
|
-
|
|
534
|
-
}, z.core.$strip>>>;
|
|
535
|
-
secrets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
536
|
-
session_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
801
|
+
x: z.ZodString;
|
|
802
|
+
use: z.ZodOptional<z.ZodLiteral<"sig">>;
|
|
803
|
+
}, z.core.$strip>>;
|
|
804
|
+
}, z.core.$strip>>;
|
|
537
805
|
anonymous_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
538
806
|
content_types: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
539
807
|
allowed: z.ZodArray<z.ZodString>;
|
|
@@ -542,7 +810,10 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
542
810
|
admission: z.ZodOptional<z.ZodObject<{
|
|
543
811
|
concurrency: z.ZodNumber;
|
|
544
812
|
}, z.core.$strip>>;
|
|
545
|
-
|
|
813
|
+
tag_sdk: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
814
|
+
revision: z.ZodString;
|
|
815
|
+
body: z.ZodString;
|
|
816
|
+
}, z.core.$strip>>>;
|
|
546
817
|
entitlements: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
547
818
|
externalProxy: z.ZodBoolean;
|
|
548
819
|
}, z.core.$strip>>>;
|
|
@@ -561,14 +832,12 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
561
832
|
to: z.ZodString;
|
|
562
833
|
status: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
563
834
|
}, z.core.$strip>>>;
|
|
564
|
-
static_mount_routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
565
|
-
hostname: z.ZodString;
|
|
566
|
-
path_prefix: z.ZodString;
|
|
567
|
-
target_space_id: z.ZodString;
|
|
568
|
-
target_version_id: z.ZodString;
|
|
569
|
-
}, z.core.$strip>>>;
|
|
570
835
|
}, z.core.$strip>>;
|
|
571
836
|
}, z.core.$strip>;
|
|
837
|
+
export declare const runtimeReadinessTargetSchema: z.ZodObject<{
|
|
838
|
+
path: z.ZodString;
|
|
839
|
+
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>]>>;
|
|
840
|
+
}, z.core.$strip>;
|
|
572
841
|
export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
|
|
573
842
|
space_id: z.ZodString;
|
|
574
843
|
version_id: z.ZodString;
|
|
@@ -581,76 +850,143 @@ export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
|
|
|
581
850
|
contentType: z.ZodOptional<z.ZodString>;
|
|
582
851
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
583
852
|
}, z.core.$strip>>>;
|
|
853
|
+
readiness_target: z.ZodObject<{
|
|
854
|
+
path: z.ZodString;
|
|
855
|
+
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>]>>;
|
|
856
|
+
}, z.core.$strip>;
|
|
857
|
+
activation_event_id: z.ZodOptional<z.ZodString>;
|
|
858
|
+
}, z.core.$strip>;
|
|
859
|
+
export declare const runtimeZeroMigrationsApplyResponseSchema: z.ZodObject<{
|
|
860
|
+
space_id: z.ZodString;
|
|
861
|
+
version_id: z.ZodString;
|
|
862
|
+
applied: z.ZodLiteral<true>;
|
|
584
863
|
}, z.core.$strip>;
|
|
585
864
|
export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
586
865
|
version_id: z.ZodString;
|
|
587
866
|
config: z.ZodOptional<z.ZodObject<{
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
}, z.core.$strip>>;
|
|
867
|
+
authorization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
868
|
+
generation: z.ZodNumber;
|
|
869
|
+
sessionVersion: z.ZodNumber;
|
|
870
|
+
fence: z.ZodEnum<{
|
|
871
|
+
none: "none";
|
|
872
|
+
ownership: "ownership";
|
|
873
|
+
exposure: "exposure";
|
|
874
|
+
}>;
|
|
875
|
+
acquireUrl: z.ZodString;
|
|
876
|
+
accessPage: z.ZodObject<{
|
|
877
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
878
|
+
accountUrl: z.ZodNullable<z.ZodString>;
|
|
879
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
880
|
+
id: z.ZodString;
|
|
881
|
+
label: z.ZodString;
|
|
882
|
+
startUrl: z.ZodString;
|
|
605
883
|
}, z.core.$strip>>;
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
}, z.core.$strip>>>;
|
|
619
|
-
acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
620
|
-
type: z.ZodLiteral<"password">;
|
|
621
|
-
ref: z.ZodString;
|
|
622
|
-
transport: z.ZodEnum<{
|
|
623
|
-
basic: "basic";
|
|
624
|
-
form: "form";
|
|
625
|
-
}>;
|
|
626
|
-
username: z.ZodOptional<z.ZodString>;
|
|
627
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
628
|
-
type: z.ZodLiteral<"login">;
|
|
629
|
-
url: z.ZodString;
|
|
630
|
-
label: z.ZodOptional<z.ZodString>;
|
|
631
|
-
}, z.core.$strip>], "type">>>;
|
|
884
|
+
exchange: z.ZodNullable<z.ZodObject<{
|
|
885
|
+
passwordUrl: z.ZodString;
|
|
886
|
+
linkUrl: z.ZodString;
|
|
887
|
+
tokenUrl: z.ZodString;
|
|
888
|
+
emailUrl: z.ZodString;
|
|
889
|
+
requestUrl: z.ZodString;
|
|
890
|
+
logoutUrl: z.ZodString;
|
|
891
|
+
commentsConfigUrl: z.ZodOptional<z.ZodString>;
|
|
892
|
+
commentsTicketUrl: z.ZodOptional<z.ZodString>;
|
|
893
|
+
commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
|
|
894
|
+
zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
|
|
895
|
+
credential: z.ZodString;
|
|
632
896
|
}, z.core.$strip>>;
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
897
|
+
}, z.core.$strict>;
|
|
898
|
+
spaceClaimed: z.ZodBoolean;
|
|
899
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
900
|
+
name: z.ZodOptional<z.ZodString>;
|
|
901
|
+
audience: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
902
|
+
kind: z.ZodLiteral<"public">;
|
|
903
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
904
|
+
kind: z.ZodLiteral<"team">;
|
|
905
|
+
teamId: z.ZodString;
|
|
906
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
907
|
+
kind: z.ZodLiteral<"person">;
|
|
908
|
+
personId: z.ZodString;
|
|
909
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
910
|
+
kind: z.ZodLiteral<"link">;
|
|
911
|
+
linkId: z.ZodString;
|
|
912
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
913
|
+
kind: z.ZodLiteral<"password">;
|
|
914
|
+
credentialId: z.ZodString;
|
|
915
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
916
|
+
kind: z.ZodLiteral<"machine">;
|
|
917
|
+
machineId: z.ZodString;
|
|
918
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
919
|
+
kind: z.ZodLiteral<"external">;
|
|
920
|
+
issuer: z.ZodString;
|
|
921
|
+
subject: z.ZodString;
|
|
922
|
+
}, z.core.$strict>], "kind">;
|
|
923
|
+
resources: z.ZodObject<{
|
|
924
|
+
include: z.ZodArray<z.ZodString>;
|
|
925
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
926
|
+
}, z.core.$strict>;
|
|
927
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
928
|
+
"page.view": "page.view";
|
|
929
|
+
"comments.read": "comments.read";
|
|
930
|
+
"comments.write": "comments.write";
|
|
931
|
+
"content.publish": "content.publish";
|
|
932
|
+
"access.manage": "access.manage";
|
|
639
933
|
}>>;
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
934
|
+
constraints: z.ZodDefault<z.ZodObject<{
|
|
935
|
+
notBefore: z.ZodOptional<z.ZodString>;
|
|
936
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
937
|
+
maxUses: z.ZodOptional<z.ZodNumber>;
|
|
938
|
+
requireVerifiedEmail: z.ZodOptional<z.ZodBoolean>;
|
|
939
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
940
|
+
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
941
|
+
countries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
942
|
+
excludedCountries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
943
|
+
excludedUserAgentSubstrings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
944
|
+
}, z.core.$strict>>;
|
|
945
|
+
}, z.core.$strict>>;
|
|
946
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
947
|
+
kind: z.ZodLiteral<"live">;
|
|
948
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
949
|
+
kind: z.ZodLiteral<"version">;
|
|
950
|
+
versionId: z.ZodString;
|
|
951
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
952
|
+
kind: z.ZodLiteral<"branch">;
|
|
953
|
+
branch: z.ZodString;
|
|
954
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
955
|
+
kind: z.ZodLiteral<"all_versions">;
|
|
956
|
+
}, z.core.$strict>], "kind">;
|
|
957
|
+
id: z.ZodString;
|
|
958
|
+
source: z.ZodObject<{
|
|
959
|
+
kind: z.ZodEnum<{
|
|
960
|
+
config: "config";
|
|
961
|
+
system: "system";
|
|
962
|
+
managed: "managed";
|
|
963
|
+
}>;
|
|
964
|
+
reference: z.ZodString;
|
|
965
|
+
}, z.core.$strict>;
|
|
966
|
+
generation: z.ZodNumber;
|
|
967
|
+
}, z.core.$strict>>;
|
|
968
|
+
}, z.core.$strict>>>;
|
|
969
|
+
public_exposure_digest: z.ZodOptional<z.ZodString>;
|
|
970
|
+
public_exposure: z.ZodOptional<z.ZodObject<{
|
|
971
|
+
v: z.ZodNumber;
|
|
972
|
+
public: z.ZodBoolean;
|
|
973
|
+
authorizationDigest: z.ZodString;
|
|
974
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
975
|
+
externalProxy: z.ZodBoolean;
|
|
976
|
+
unmodeled: z.ZodString;
|
|
977
|
+
}, z.core.$strip>>;
|
|
978
|
+
projection_generation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
979
|
+
visitor_issuer: z.ZodOptional<z.ZodString>;
|
|
980
|
+
visitor_jwks: z.ZodOptional<z.ZodObject<{
|
|
981
|
+
keys: z.ZodArray<z.ZodObject<{
|
|
982
|
+
kty: z.ZodLiteral<"OKP">;
|
|
983
|
+
crv: z.ZodLiteral<"Ed25519">;
|
|
645
984
|
kid: z.ZodString;
|
|
646
985
|
alg: z.ZodLiteral<"EdDSA">;
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
}, z.core.$strip
|
|
650
|
-
|
|
651
|
-
}, z.core.$strip>>>;
|
|
652
|
-
secrets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
653
|
-
session_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
986
|
+
x: z.ZodString;
|
|
987
|
+
use: z.ZodOptional<z.ZodLiteral<"sig">>;
|
|
988
|
+
}, z.core.$strip>>;
|
|
989
|
+
}, z.core.$strip>>;
|
|
654
990
|
anonymous_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
655
991
|
content_types: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
656
992
|
allowed: z.ZodArray<z.ZodString>;
|
|
@@ -659,7 +995,10 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
|
659
995
|
admission: z.ZodOptional<z.ZodObject<{
|
|
660
996
|
concurrency: z.ZodNumber;
|
|
661
997
|
}, z.core.$strip>>;
|
|
662
|
-
|
|
998
|
+
tag_sdk: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
999
|
+
revision: z.ZodString;
|
|
1000
|
+
body: z.ZodString;
|
|
1001
|
+
}, z.core.$strip>>>;
|
|
663
1002
|
entitlements: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
664
1003
|
externalProxy: z.ZodBoolean;
|
|
665
1004
|
}, z.core.$strip>>>;
|
|
@@ -678,12 +1017,6 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
|
678
1017
|
to: z.ZodString;
|
|
679
1018
|
status: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
680
1019
|
}, z.core.$strip>>>;
|
|
681
|
-
static_mount_routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
682
|
-
hostname: z.ZodString;
|
|
683
|
-
path_prefix: z.ZodString;
|
|
684
|
-
target_space_id: z.ZodString;
|
|
685
|
-
target_version_id: z.ZodString;
|
|
686
|
-
}, z.core.$strip>>>;
|
|
687
1020
|
}, z.core.$strip>;
|
|
688
1021
|
export declare const runtimeHostnameIntentUpdateRequestSchema: z.ZodObject<{
|
|
689
1022
|
production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -697,18 +1030,13 @@ export declare const runtimeHostnameIntentUpdateRequestSchema: z.ZodObject<{
|
|
|
697
1030
|
to: z.ZodString;
|
|
698
1031
|
status: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
699
1032
|
}, z.core.$strip>>>;
|
|
700
|
-
static_mount_routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
701
|
-
hostname: z.ZodString;
|
|
702
|
-
path_prefix: z.ZodString;
|
|
703
|
-
target_space_id: z.ZodString;
|
|
704
|
-
target_version_id: z.ZodString;
|
|
705
|
-
}, z.core.$strip>>>;
|
|
706
1033
|
}, z.core.$strip>;
|
|
707
1034
|
export declare const runtimeRouteUpdateResponseSchema: z.ZodObject<{
|
|
708
1035
|
space_id: z.ZodString;
|
|
709
1036
|
route_name: z.ZodString;
|
|
710
1037
|
version_id: z.ZodString;
|
|
711
1038
|
unchanged: z.ZodOptional<z.ZodBoolean>;
|
|
1039
|
+
activation_event_id: z.ZodOptional<z.ZodString>;
|
|
712
1040
|
}, z.core.$strip>;
|
|
713
1041
|
export declare const runtimeHostnameIntentUpdateResponseSchema: z.ZodObject<{
|
|
714
1042
|
space_id: z.ZodString;
|
|
@@ -735,15 +1063,6 @@ export declare const runtimeRetentionPolicyUpdateResponseSchema: z.ZodObject<{
|
|
|
735
1063
|
space_id: z.ZodString;
|
|
736
1064
|
prunable_count: z.ZodNumber;
|
|
737
1065
|
}, z.core.$strip>;
|
|
738
|
-
export declare const runtimeGrantRevocationRequestSchema: z.ZodObject<{
|
|
739
|
-
grant: z.ZodString;
|
|
740
|
-
}, z.core.$strip>;
|
|
741
|
-
export declare const runtimeGrantRevocationResponseSchema: z.ZodObject<{
|
|
742
|
-
space_id: z.ZodString;
|
|
743
|
-
target_type: z.ZodLiteral<"grant">;
|
|
744
|
-
grant: z.ZodString;
|
|
745
|
-
revoked: z.ZodBoolean;
|
|
746
|
-
}, z.core.$strip>;
|
|
747
1066
|
export declare const runtimeSpaceDeleteResponseSchema: z.ZodObject<{
|
|
748
1067
|
space_id: z.ZodString;
|
|
749
1068
|
status: z.ZodLiteral<"deleted">;
|
|
@@ -760,7 +1079,6 @@ export declare const runtimeSpaceRepairResponseSchema: z.ZodObject<{
|
|
|
760
1079
|
export declare const runtimeSpaceExportStartRequestSchema: z.ZodObject<{
|
|
761
1080
|
version_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
762
1081
|
include_files: z.ZodOptional<z.ZodBoolean>;
|
|
763
|
-
include_explicit_config: z.ZodOptional<z.ZodBoolean>;
|
|
764
1082
|
}, z.core.$strict>;
|
|
765
1083
|
export declare const runtimeSpaceExportResponseSchema: z.ZodObject<{
|
|
766
1084
|
type: z.ZodLiteral<"space_export">;
|
|
@@ -783,7 +1101,6 @@ export declare const runtimeSpaceExportResponseSchema: z.ZodObject<{
|
|
|
783
1101
|
completed_at: z.ZodOptional<z.ZodString>;
|
|
784
1102
|
}, z.core.$strip>;
|
|
785
1103
|
export declare const runtimeSpaceImportStartRequestSchema: z.ZodObject<{
|
|
786
|
-
install_access_policy: z.ZodOptional<z.ZodBoolean>;
|
|
787
1104
|
version_id_map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
788
1105
|
zero_mode: z.ZodOptional<z.ZodEnum<{
|
|
789
1106
|
active: "active";
|
|
@@ -861,6 +1178,8 @@ export declare const runtimeSpaceStateSchema: z.ZodObject<{
|
|
|
861
1178
|
space_id: z.ZodString;
|
|
862
1179
|
routes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
863
1180
|
tombstone_count: z.ZodNumber;
|
|
1181
|
+
intent_hostnames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1182
|
+
hostnames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
864
1183
|
}, z.core.$strip>;
|
|
865
1184
|
export declare const runtimeHealthResponseSchema: z.ZodObject<{
|
|
866
1185
|
ok: z.ZodLiteral<true>;
|
|
@@ -880,12 +1199,15 @@ export declare const runtimeStateResponseSchema: z.ZodObject<{
|
|
|
880
1199
|
space_id: z.ZodString;
|
|
881
1200
|
routes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
882
1201
|
tombstone_count: z.ZodNumber;
|
|
1202
|
+
intent_hostnames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1203
|
+
hostnames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
883
1204
|
}, z.core.$strip>>>;
|
|
884
1205
|
}, z.core.$strip>;
|
|
885
1206
|
export declare const runtimeCallbackEventSchema: z.ZodObject<{
|
|
886
1207
|
event: z.ZodString;
|
|
887
1208
|
event_id: z.ZodOptional<z.ZodString>;
|
|
888
1209
|
operation_id: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
operation_action: z.ZodOptional<z.ZodString>;
|
|
889
1211
|
space_id: z.ZodOptional<z.ZodString>;
|
|
890
1212
|
version_id: z.ZodOptional<z.ZodString>;
|
|
891
1213
|
route_name: z.ZodOptional<z.ZodString>;
|
|
@@ -893,18 +1215,50 @@ export declare const runtimeCallbackEventSchema: z.ZodObject<{
|
|
|
893
1215
|
changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
894
1216
|
changed_paths_known: z.ZodOptional<z.ZodBoolean>;
|
|
895
1217
|
previous_version_id: z.ZodOptional<z.ZodString>;
|
|
1218
|
+
previous_public_exposure_digest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1219
|
+
public_exposure_digest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1220
|
+
previous_public_exposure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1221
|
+
v: z.ZodNumber;
|
|
1222
|
+
public: z.ZodBoolean;
|
|
1223
|
+
authorizationDigest: z.ZodString;
|
|
1224
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1225
|
+
externalProxy: z.ZodBoolean;
|
|
1226
|
+
unmodeled: z.ZodString;
|
|
1227
|
+
}, z.core.$strip>>>;
|
|
1228
|
+
public_exposure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1229
|
+
v: z.ZodNumber;
|
|
1230
|
+
public: z.ZodBoolean;
|
|
1231
|
+
authorizationDigest: z.ZodString;
|
|
1232
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1233
|
+
externalProxy: z.ZodBoolean;
|
|
1234
|
+
unmodeled: z.ZodString;
|
|
1235
|
+
}, z.core.$strip>>>;
|
|
896
1236
|
}, z.core.$loose>;
|
|
1237
|
+
export declare const runtimeEventsDrainRequestSchema: z.ZodObject<{
|
|
1238
|
+
session_id: z.ZodString;
|
|
1239
|
+
page_id: z.ZodOptional<z.ZodString>;
|
|
1240
|
+
target_event_id: z.ZodOptional<z.ZodString>;
|
|
1241
|
+
exclude_deliveries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1242
|
+
event_id: z.ZodString;
|
|
1243
|
+
delivery_id: z.ZodString;
|
|
1244
|
+
}, z.core.$strip>>>;
|
|
1245
|
+
finish_session: z.ZodOptional<z.ZodBoolean>;
|
|
1246
|
+
}, z.core.$strip>;
|
|
897
1247
|
export declare const runtimeEventsDrainResponseSchema: z.ZodObject<{
|
|
898
1248
|
delivered_count: z.ZodNumber;
|
|
899
1249
|
failed_count: z.ZodNumber;
|
|
900
1250
|
expired_count: z.ZodOptional<z.ZodNumber>;
|
|
901
1251
|
returned_count: z.ZodOptional<z.ZodNumber>;
|
|
1252
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
902
1253
|
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1254
|
+
delivery_id: z.ZodString;
|
|
903
1255
|
operation_id: z.ZodOptional<z.ZodString>;
|
|
1256
|
+
callback_token: z.ZodString;
|
|
904
1257
|
event: z.ZodObject<{
|
|
905
1258
|
event: z.ZodString;
|
|
906
1259
|
event_id: z.ZodOptional<z.ZodString>;
|
|
907
1260
|
operation_id: z.ZodOptional<z.ZodString>;
|
|
1261
|
+
operation_action: z.ZodOptional<z.ZodString>;
|
|
908
1262
|
space_id: z.ZodOptional<z.ZodString>;
|
|
909
1263
|
version_id: z.ZodOptional<z.ZodString>;
|
|
910
1264
|
route_name: z.ZodOptional<z.ZodString>;
|
|
@@ -912,9 +1266,39 @@ export declare const runtimeEventsDrainResponseSchema: z.ZodObject<{
|
|
|
912
1266
|
changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
913
1267
|
changed_paths_known: z.ZodOptional<z.ZodBoolean>;
|
|
914
1268
|
previous_version_id: z.ZodOptional<z.ZodString>;
|
|
1269
|
+
previous_public_exposure_digest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1270
|
+
public_exposure_digest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1271
|
+
previous_public_exposure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1272
|
+
v: z.ZodNumber;
|
|
1273
|
+
public: z.ZodBoolean;
|
|
1274
|
+
authorizationDigest: z.ZodString;
|
|
1275
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1276
|
+
externalProxy: z.ZodBoolean;
|
|
1277
|
+
unmodeled: z.ZodString;
|
|
1278
|
+
}, z.core.$strip>>>;
|
|
1279
|
+
public_exposure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1280
|
+
v: z.ZodNumber;
|
|
1281
|
+
public: z.ZodBoolean;
|
|
1282
|
+
authorizationDigest: z.ZodString;
|
|
1283
|
+
contentTypes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1284
|
+
externalProxy: z.ZodBoolean;
|
|
1285
|
+
unmodeled: z.ZodString;
|
|
1286
|
+
}, z.core.$strip>>>;
|
|
915
1287
|
}, z.core.$loose>;
|
|
916
1288
|
}, z.core.$strip>>>;
|
|
917
1289
|
}, z.core.$strip>;
|
|
1290
|
+
export declare const runtimeEventsAckRequestSchema: z.ZodObject<{
|
|
1291
|
+
session_id: z.ZodString;
|
|
1292
|
+
deliveries: z.ZodArray<z.ZodObject<{
|
|
1293
|
+
event_id: z.ZodString;
|
|
1294
|
+
delivery_id: z.ZodString;
|
|
1295
|
+
}, z.core.$strip>>;
|
|
1296
|
+
}, z.core.$strip>;
|
|
1297
|
+
export declare const runtimeEventsAckResponseSchema: z.ZodObject<{
|
|
1298
|
+
acknowledged_count: z.ZodNumber;
|
|
1299
|
+
idempotent_count: z.ZodNumber;
|
|
1300
|
+
stale_count: z.ZodNumber;
|
|
1301
|
+
}, z.core.$strip>;
|
|
918
1302
|
export declare const runtimeEngineJobLaneSchema: z.ZodEnum<{
|
|
919
1303
|
interactive: "interactive";
|
|
920
1304
|
bulk: "bulk";
|
|
@@ -1030,40 +1414,14 @@ export declare const runtimeEngineJobTickResponseSchema: z.ZodObject<{
|
|
|
1030
1414
|
}, z.core.$strip>>>;
|
|
1031
1415
|
drained: z.ZodOptional<z.ZodBoolean>;
|
|
1032
1416
|
}, z.core.$strip>;
|
|
1033
|
-
export declare const runtimeAccessEventsCursorSchema: z.ZodObject<{
|
|
1034
|
-
file: z.ZodNullable<z.ZodString>;
|
|
1035
|
-
offset: z.ZodNumber;
|
|
1036
|
-
}, z.core.$strip>;
|
|
1037
|
-
export declare const runtimeAccessEventsResponseSchema: z.ZodObject<{
|
|
1038
|
-
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1039
|
-
sub: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1040
|
-
grantsHash: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1041
|
-
ruleId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1042
|
-
effect: z.ZodEnum<{
|
|
1043
|
-
allow: "allow";
|
|
1044
|
-
deny: "deny";
|
|
1045
|
-
challenge: "challenge";
|
|
1046
|
-
}>;
|
|
1047
|
-
reasonCode: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1048
|
-
host: z.ZodString;
|
|
1049
|
-
path: z.ZodString;
|
|
1050
|
-
ts: z.ZodNumber;
|
|
1051
|
-
}, z.core.$strip>>>;
|
|
1052
|
-
cursor: z.ZodObject<{
|
|
1053
|
-
file: z.ZodNullable<z.ZodString>;
|
|
1054
|
-
offset: z.ZodNumber;
|
|
1055
|
-
}, z.core.$strip>;
|
|
1056
|
-
done: z.ZodBoolean;
|
|
1057
|
-
dropped: z.ZodDefault<z.ZodNumber>;
|
|
1058
|
-
}, z.core.$strip>;
|
|
1059
1417
|
export type RuntimeVersionCreateRequest = z.infer<typeof runtimeVersionCreateRequestSchema>;
|
|
1060
1418
|
export type RuntimeVersionFinalizeRequest = z.infer<typeof runtimeVersionFinalizeRequestSchema>;
|
|
1419
|
+
export type RuntimeReadinessTarget = z.infer<typeof runtimeReadinessTargetSchema>;
|
|
1061
1420
|
export type RuntimeHostnameIntentUpdateRequest = z.infer<typeof runtimeHostnameIntentUpdateRequestSchema>;
|
|
1062
1421
|
export type RuntimeRouteUpdateRequest = z.infer<typeof runtimeRouteUpdateRequestSchema>;
|
|
1063
1422
|
export type RuntimeTombstonesUpdateRequest = z.infer<typeof runtimeTombstonesUpdateRequestSchema>;
|
|
1064
1423
|
export type RuntimeRetentionPolicyUpdateRequest = z.infer<typeof runtimeRetentionPolicyUpdateRequestSchema>;
|
|
1065
1424
|
export type RuntimeRetentionPolicyUpdateResponse = z.infer<typeof runtimeRetentionPolicyUpdateResponseSchema>;
|
|
1066
|
-
export type RuntimeGrantRevocationRequest = z.infer<typeof runtimeGrantRevocationRequestSchema>;
|
|
1067
1425
|
export type RuntimeTransferBundleSourceRequest = z.infer<typeof runtimeTransferBundleSourceRequestSchema>;
|
|
1068
1426
|
export type RuntimeTransferBundleTargetRequest = z.infer<typeof runtimeTransferBundleTargetRequestSchema>;
|
|
1069
1427
|
export type RuntimeTransferBundleResponse = z.infer<typeof runtimeTransferBundleResponseSchema>;
|
|
@@ -1077,6 +1435,11 @@ export type RuntimeSpaceImportStartRequest = z.infer<typeof runtimeSpaceImportSt
|
|
|
1077
1435
|
export type RuntimeSpaceImportMapRequest = z.infer<typeof runtimeSpaceImportMapRequestSchema>;
|
|
1078
1436
|
export type RuntimeSpaceState = z.infer<typeof runtimeSpaceStateSchema>;
|
|
1079
1437
|
export type RuntimeCallbackEvent = z.infer<typeof runtimeCallbackEventSchema>;
|
|
1438
|
+
export type RuntimeEventsDrainRequest = z.infer<typeof runtimeEventsDrainRequestSchema>;
|
|
1439
|
+
export type RuntimeEventsDrainResponse = z.infer<typeof runtimeEventsDrainResponseSchema>;
|
|
1440
|
+
export type RuntimeDrainedEvent = NonNullable<RuntimeEventsDrainResponse["events"]>[number];
|
|
1441
|
+
export type RuntimeEventsAckRequest = z.infer<typeof runtimeEventsAckRequestSchema>;
|
|
1442
|
+
export type RuntimeEventsAckResponse = z.infer<typeof runtimeEventsAckResponseSchema>;
|
|
1080
1443
|
export type RuntimeEngineJobLane = z.infer<typeof runtimeEngineJobLaneSchema>;
|
|
1081
1444
|
export type RuntimeEngineJobStatus = z.infer<typeof runtimeEngineJobStatusSchema>;
|
|
1082
1445
|
export type RuntimeEngineJobRecord = z.infer<typeof runtimeEngineJobRecordSchema>;
|