ankka-console 0.10.0 → 0.12.0
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/client/control-plane.d.ts +87 -1
- package/dist/client/control-plane.js +201 -1
- package/dist/client/schemas.d.ts +1835 -0
- package/dist/client/schemas.js +595 -0
- package/dist/context.d.ts +98 -0
- package/dist/context.js +73 -0
- package/dist/extensions/render.d.ts +2 -0
- package/dist/extensions/render.js +5 -0
- package/dist/extensions/types.d.ts +1 -1
- package/dist/extensions/types.js +29 -0
- package/dist/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/dist/index.d.ts +9 -2
- package/dist/index.js +7 -1
- package/dist/routes/auth.sign-out.js +8 -3
- package/dist/routes/front.d.ts +62 -2
- package/dist/routes/front.js +45 -10
- package/dist/routes/logs.d.ts +92 -0
- package/dist/routes/logs.js +15 -14
- package/dist/routes/machines.d.ts +78 -0
- package/dist/routes/machines.js +78 -0
- package/dist/routes/members.js +11 -8
- package/dist/routes/organization-new.js +7 -4
- package/dist/routes/organization.d.ts +29 -1
- package/dist/routes/organization.js +38 -9
- package/dist/routes/project-new.js +8 -4
- package/dist/routes/project.d.ts +347 -2
- package/dist/routes/project.js +182 -9
- package/dist/routes/service-apply.d.ts +5 -2
- package/dist/routes/service-apply.js +17 -14
- package/dist/routes/service-history.d.ts +32 -0
- package/dist/routes/service-history.js +82 -0
- package/dist/routes/service-topology.d.ts +210 -0
- package/dist/routes/service-topology.js +54 -0
- package/dist/routes/service.d.ts +91 -10
- package/dist/routes/service.js +87 -23
- package/dist/routes/stream.service.js +18 -1
- package/dist/routes/tokens.js +8 -6
- package/dist/routes.js +3 -0
- package/dist/runtime.d.ts +3 -1
- package/dist/runtime.js +1 -0
- package/dist/styles.css +2 -481
- package/dist/testing/fake-control-plane.d.ts +334 -1
- package/dist/testing/fake-control-plane.js +1194 -15
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/scenarios.js +6 -0
- package/dist/theme.css +66 -0
- package/dist/ui/console.d.ts +19 -6
- package/dist/ui/console.js +9 -2
- package/dist/ui/errors.js +7 -5
- package/dist/ui/grants.d.ts +3 -0
- package/dist/ui/grants.js +13 -0
- package/dist/ui/hosting.d.ts +11 -0
- package/dist/ui/hosting.js +20 -0
- package/dist/ui/primitives/button.d.ts +11 -0
- package/dist/ui/primitives/button.js +21 -0
- package/dist/ui/primitives/select.d.ts +10 -0
- package/dist/ui/primitives/select.js +4 -0
- package/dist/ui/primitives/switch.d.ts +9 -0
- package/dist/ui/primitives/switch.js +4 -0
- package/dist/ui/shape.d.ts +4 -0
- package/dist/ui/shape.js +36 -0
- package/dist/ui/shell.d.ts +76 -0
- package/dist/ui/shell.js +114 -0
- package/dist/ui/tokens.d.ts +82 -0
- package/dist/ui/tokens.js +172 -0
- package/dist/ui/topology/Graph.d.ts +13 -0
- package/dist/ui/topology/Graph.js +56 -0
- package/dist/ui/topology/Table.d.ts +10 -0
- package/dist/ui/topology/Table.js +14 -0
- package/dist/ui/topology/layout.d.ts +113 -0
- package/dist/ui/topology/layout.js +177 -0
- package/dist/ui/use-stream.d.ts +251 -1
- package/dist/ui/use-stream.js +11 -1
- package/package.json +11 -3
package/dist/client/schemas.d.ts
CHANGED
|
@@ -53,6 +53,166 @@ export declare const whoamiSchema: z.ZodObject<{
|
|
|
53
53
|
}, z.core.$strip>>>;
|
|
54
54
|
}, z.core.$strip>;
|
|
55
55
|
export type Whoami = z.infer<typeof whoamiSchema>;
|
|
56
|
+
/** The installation's cloud: its provider, account and location, and its key for an owner alone. */
|
|
57
|
+
export declare const cloudInstallationSchema: z.ZodObject<{
|
|
58
|
+
provider: z.ZodString;
|
|
59
|
+
account: z.ZodString;
|
|
60
|
+
location: z.ZodString;
|
|
61
|
+
kmsKey: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
export type CloudInstallation = z.infer<typeof cloudInstallationSchema>;
|
|
64
|
+
/** Where the installation keeps its secrets, and how long the record of reads is kept (feature 038). */
|
|
65
|
+
export declare const installationSecretsSchema: z.ZodObject<{
|
|
66
|
+
backend: z.ZodString;
|
|
67
|
+
recordRetention: z.ZodString;
|
|
68
|
+
auditLog: z.ZodDefault<z.ZodString>;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
export type InstallationSecrets = z.infer<typeof installationSecretsSchema>;
|
|
71
|
+
/**
|
|
72
|
+
* `GET /installation`: the platform's version, and its cloud when it names a provider; and its
|
|
73
|
+
* backups (feature 041); and where it keeps its secrets (feature 038).
|
|
74
|
+
*/
|
|
75
|
+
export declare const installationSchema: z.ZodObject<{
|
|
76
|
+
platformVersion: z.ZodString;
|
|
77
|
+
cloud: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
78
|
+
provider: z.ZodString;
|
|
79
|
+
account: z.ZodString;
|
|
80
|
+
location: z.ZodString;
|
|
81
|
+
kmsKey: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
82
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
83
|
+
provider: string;
|
|
84
|
+
account: string;
|
|
85
|
+
location: string;
|
|
86
|
+
kmsKey: string | undefined;
|
|
87
|
+
} | undefined, {
|
|
88
|
+
provider: string;
|
|
89
|
+
account: string;
|
|
90
|
+
location: string;
|
|
91
|
+
kmsKey: string | undefined;
|
|
92
|
+
} | null | undefined>>;
|
|
93
|
+
backups: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
94
|
+
backupTarget: z.ZodString;
|
|
95
|
+
retentionDays: z.ZodNumber;
|
|
96
|
+
copyRequired: z.ZodBoolean;
|
|
97
|
+
sharesFailureDomain: z.ZodBoolean;
|
|
98
|
+
encryption: z.ZodString;
|
|
99
|
+
controlPlane: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
100
|
+
line: z.ZodString;
|
|
101
|
+
cluster: z.ZodString;
|
|
102
|
+
phase: z.ZodString;
|
|
103
|
+
lastBaseBackup: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
104
|
+
firstRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
105
|
+
lastRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
106
|
+
archiveLagSeconds: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
107
|
+
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
108
|
+
copiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
109
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
110
|
+
line: string;
|
|
111
|
+
cluster: string;
|
|
112
|
+
phase: string;
|
|
113
|
+
lastBaseBackup: string | undefined;
|
|
114
|
+
firstRestorable: string | undefined;
|
|
115
|
+
lastRestorable: string | undefined;
|
|
116
|
+
archiveLagSeconds: number | undefined;
|
|
117
|
+
failing: string | undefined;
|
|
118
|
+
copiedAt: string | undefined;
|
|
119
|
+
} | undefined, {
|
|
120
|
+
line: string;
|
|
121
|
+
cluster: string;
|
|
122
|
+
phase: string;
|
|
123
|
+
lastBaseBackup: string | undefined;
|
|
124
|
+
firstRestorable: string | undefined;
|
|
125
|
+
lastRestorable: string | undefined;
|
|
126
|
+
archiveLagSeconds: number | undefined;
|
|
127
|
+
failing: string | undefined;
|
|
128
|
+
copiedAt: string | undefined;
|
|
129
|
+
} | null | undefined>>;
|
|
130
|
+
notBackedUp: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
131
|
+
secondaryStore: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
132
|
+
lastCompleted: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
133
|
+
lastFailed: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
134
|
+
failure: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
135
|
+
buckets: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
136
|
+
deletedObjects: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
137
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
138
|
+
lastCompleted: string | undefined;
|
|
139
|
+
lastFailed: string | undefined;
|
|
140
|
+
failure: string | undefined;
|
|
141
|
+
buckets: number | undefined;
|
|
142
|
+
deletedObjects: number | undefined;
|
|
143
|
+
} | undefined, {
|
|
144
|
+
lastCompleted: string | undefined;
|
|
145
|
+
lastFailed: string | undefined;
|
|
146
|
+
failure: string | undefined;
|
|
147
|
+
buckets: number | undefined;
|
|
148
|
+
deletedObjects: number | undefined;
|
|
149
|
+
} | null | undefined>>;
|
|
150
|
+
}, z.core.$strip>>>>, z.ZodTransform<{
|
|
151
|
+
backupTarget: string;
|
|
152
|
+
retentionDays: number;
|
|
153
|
+
copyRequired: boolean;
|
|
154
|
+
sharesFailureDomain: boolean;
|
|
155
|
+
encryption: string;
|
|
156
|
+
controlPlane: {
|
|
157
|
+
line: string;
|
|
158
|
+
cluster: string;
|
|
159
|
+
phase: string;
|
|
160
|
+
lastBaseBackup: string | undefined;
|
|
161
|
+
firstRestorable: string | undefined;
|
|
162
|
+
lastRestorable: string | undefined;
|
|
163
|
+
archiveLagSeconds: number | undefined;
|
|
164
|
+
failing: string | undefined;
|
|
165
|
+
copiedAt: string | undefined;
|
|
166
|
+
} | undefined;
|
|
167
|
+
notBackedUp: string | undefined;
|
|
168
|
+
secondaryStore: {
|
|
169
|
+
lastCompleted: string | undefined;
|
|
170
|
+
lastFailed: string | undefined;
|
|
171
|
+
failure: string | undefined;
|
|
172
|
+
buckets: number | undefined;
|
|
173
|
+
deletedObjects: number | undefined;
|
|
174
|
+
} | undefined;
|
|
175
|
+
} | undefined, {
|
|
176
|
+
backupTarget: string;
|
|
177
|
+
retentionDays: number;
|
|
178
|
+
copyRequired: boolean;
|
|
179
|
+
sharesFailureDomain: boolean;
|
|
180
|
+
encryption: string;
|
|
181
|
+
controlPlane: {
|
|
182
|
+
line: string;
|
|
183
|
+
cluster: string;
|
|
184
|
+
phase: string;
|
|
185
|
+
lastBaseBackup: string | undefined;
|
|
186
|
+
firstRestorable: string | undefined;
|
|
187
|
+
lastRestorable: string | undefined;
|
|
188
|
+
archiveLagSeconds: number | undefined;
|
|
189
|
+
failing: string | undefined;
|
|
190
|
+
copiedAt: string | undefined;
|
|
191
|
+
} | undefined;
|
|
192
|
+
notBackedUp: string | undefined;
|
|
193
|
+
secondaryStore: {
|
|
194
|
+
lastCompleted: string | undefined;
|
|
195
|
+
lastFailed: string | undefined;
|
|
196
|
+
failure: string | undefined;
|
|
197
|
+
buckets: number | undefined;
|
|
198
|
+
deletedObjects: number | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
} | null | undefined>>;
|
|
201
|
+
secrets: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
202
|
+
backend: z.ZodString;
|
|
203
|
+
recordRetention: z.ZodString;
|
|
204
|
+
auditLog: z.ZodDefault<z.ZodString>;
|
|
205
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
206
|
+
backend: string;
|
|
207
|
+
recordRetention: string;
|
|
208
|
+
auditLog: string;
|
|
209
|
+
} | undefined, {
|
|
210
|
+
backend: string;
|
|
211
|
+
recordRetention: string;
|
|
212
|
+
auditLog: string;
|
|
213
|
+
} | null | undefined>>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
export type Installation = z.infer<typeof installationSchema>;
|
|
56
216
|
export declare const quotaSchema: z.ZodObject<{
|
|
57
217
|
projects: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
58
218
|
services: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
@@ -170,6 +330,86 @@ export declare const projectSummarySchema: z.ZodObject<{
|
|
|
170
330
|
} | null | undefined>>;
|
|
171
331
|
}, z.core.$strip>;
|
|
172
332
|
export type ProjectSummary = z.infer<typeof projectSummarySchema>;
|
|
333
|
+
export declare const mountStatusSchema: z.ZodObject<{
|
|
334
|
+
path: z.ZodString;
|
|
335
|
+
service: z.ZodString;
|
|
336
|
+
state: z.ZodDefault<z.ZodString>;
|
|
337
|
+
}, z.core.$strip>;
|
|
338
|
+
export type MountStatus = z.infer<typeof mountStatusSchema>;
|
|
339
|
+
/** One name in a move of a service's secrets to Secret Manager, and how the two compare. */
|
|
340
|
+
export declare const secretMoveNameSchema: z.ZodObject<{
|
|
341
|
+
name: z.ZodString;
|
|
342
|
+
state: z.ZodString;
|
|
343
|
+
}, z.core.$strip>;
|
|
344
|
+
/** What a move of a service's secrets did when its instance started; names and states, never a value. */
|
|
345
|
+
export declare const secretMoveReportSchema: z.ZodObject<{
|
|
346
|
+
phase: z.ZodString;
|
|
347
|
+
outcome: z.ZodString;
|
|
348
|
+
names: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
349
|
+
name: z.ZodString;
|
|
350
|
+
state: z.ZodString;
|
|
351
|
+
}, z.core.$strip>>>;
|
|
352
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
353
|
+
}, z.core.$strip>;
|
|
354
|
+
/** Where a service's instance keeps its secrets, and what a move of them did. */
|
|
355
|
+
export declare const secretStoreReportSchema: z.ZodObject<{
|
|
356
|
+
backend: z.ZodString;
|
|
357
|
+
keyRead: z.ZodBoolean;
|
|
358
|
+
move: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
359
|
+
phase: z.ZodString;
|
|
360
|
+
outcome: z.ZodString;
|
|
361
|
+
names: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
362
|
+
name: z.ZodString;
|
|
363
|
+
state: z.ZodString;
|
|
364
|
+
}, z.core.$strip>>>;
|
|
365
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
366
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
367
|
+
phase: string;
|
|
368
|
+
outcome: string;
|
|
369
|
+
names: {
|
|
370
|
+
name: string;
|
|
371
|
+
state: string;
|
|
372
|
+
}[];
|
|
373
|
+
detail: string | undefined;
|
|
374
|
+
} | undefined, {
|
|
375
|
+
phase: string;
|
|
376
|
+
outcome: string;
|
|
377
|
+
names: {
|
|
378
|
+
name: string;
|
|
379
|
+
state: string;
|
|
380
|
+
}[];
|
|
381
|
+
detail: string | undefined;
|
|
382
|
+
} | null | undefined>>;
|
|
383
|
+
}, z.core.$strip>;
|
|
384
|
+
export type SecretStoreReport = z.infer<typeof secretStoreReportSchema>;
|
|
385
|
+
/** A DNS record a member creates at their provider; the platform writes none. */
|
|
386
|
+
export declare const dnsRecordSchema: z.ZodObject<{
|
|
387
|
+
name: z.ZodString;
|
|
388
|
+
kind: z.ZodString;
|
|
389
|
+
value: z.ZodString;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
export type DnsRecord = z.infer<typeof dnsRecordSchema>;
|
|
392
|
+
/** One custom hostname of a service: where it stands, and the record that points it at the installation. */
|
|
393
|
+
export declare const customHostnameSchema: z.ZodObject<{
|
|
394
|
+
hostname: z.ZodString;
|
|
395
|
+
state: z.ZodDefault<z.ZodString>;
|
|
396
|
+
reason: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
397
|
+
record: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
398
|
+
name: z.ZodString;
|
|
399
|
+
kind: z.ZodString;
|
|
400
|
+
value: z.ZodString;
|
|
401
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
402
|
+
name: string;
|
|
403
|
+
kind: string;
|
|
404
|
+
value: string;
|
|
405
|
+
} | undefined, {
|
|
406
|
+
name: string;
|
|
407
|
+
kind: string;
|
|
408
|
+
value: string;
|
|
409
|
+
} | null | undefined>>;
|
|
410
|
+
note: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
411
|
+
}, z.core.$strip>;
|
|
412
|
+
export type CustomHostname = z.infer<typeof customHostnameSchema>;
|
|
173
413
|
export declare const serviceStatusSchema: z.ZodObject<{
|
|
174
414
|
name: z.ZodString;
|
|
175
415
|
projectId: z.ZodString;
|
|
@@ -187,8 +427,270 @@ export declare const serviceStatusSchema: z.ZodObject<{
|
|
|
187
427
|
paused: z.ZodDefault<z.ZodBoolean>;
|
|
188
428
|
hosting: z.ZodDefault<z.ZodString>;
|
|
189
429
|
protocol: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
430
|
+
mounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
431
|
+
path: z.ZodString;
|
|
432
|
+
service: z.ZodString;
|
|
433
|
+
state: z.ZodDefault<z.ZodString>;
|
|
434
|
+
}, z.core.$strip>>>;
|
|
435
|
+
callers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
436
|
+
processPort: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
437
|
+
broker: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
438
|
+
undeclaredTopics: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>, z.ZodTransform<string[] | undefined, string[] | null | undefined>>;
|
|
439
|
+
secretStore: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
440
|
+
backend: z.ZodString;
|
|
441
|
+
keyRead: z.ZodBoolean;
|
|
442
|
+
move: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
443
|
+
phase: z.ZodString;
|
|
444
|
+
outcome: z.ZodString;
|
|
445
|
+
names: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
446
|
+
name: z.ZodString;
|
|
447
|
+
state: z.ZodString;
|
|
448
|
+
}, z.core.$strip>>>;
|
|
449
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
450
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
451
|
+
phase: string;
|
|
452
|
+
outcome: string;
|
|
453
|
+
names: {
|
|
454
|
+
name: string;
|
|
455
|
+
state: string;
|
|
456
|
+
}[];
|
|
457
|
+
detail: string | undefined;
|
|
458
|
+
} | undefined, {
|
|
459
|
+
phase: string;
|
|
460
|
+
outcome: string;
|
|
461
|
+
names: {
|
|
462
|
+
name: string;
|
|
463
|
+
state: string;
|
|
464
|
+
}[];
|
|
465
|
+
detail: string | undefined;
|
|
466
|
+
} | null | undefined>>;
|
|
467
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
468
|
+
backend: string;
|
|
469
|
+
keyRead: boolean;
|
|
470
|
+
move: {
|
|
471
|
+
phase: string;
|
|
472
|
+
outcome: string;
|
|
473
|
+
names: {
|
|
474
|
+
name: string;
|
|
475
|
+
state: string;
|
|
476
|
+
}[];
|
|
477
|
+
detail: string | undefined;
|
|
478
|
+
} | undefined;
|
|
479
|
+
} | undefined, {
|
|
480
|
+
backend: string;
|
|
481
|
+
keyRead: boolean;
|
|
482
|
+
move: {
|
|
483
|
+
phase: string;
|
|
484
|
+
outcome: string;
|
|
485
|
+
names: {
|
|
486
|
+
name: string;
|
|
487
|
+
state: string;
|
|
488
|
+
}[];
|
|
489
|
+
detail: string | undefined;
|
|
490
|
+
} | undefined;
|
|
491
|
+
} | null | undefined>>;
|
|
492
|
+
topicChecks: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
493
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
494
|
+
service: z.ZodString;
|
|
495
|
+
component: z.ZodString;
|
|
496
|
+
direction: z.ZodString;
|
|
497
|
+
stated: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
498
|
+
state: z.ZodString;
|
|
499
|
+
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
500
|
+
topic: string | undefined;
|
|
501
|
+
service: string;
|
|
502
|
+
component: string;
|
|
503
|
+
direction: string;
|
|
504
|
+
stated: string | undefined;
|
|
505
|
+
state: string;
|
|
506
|
+
}[] | undefined, {
|
|
507
|
+
topic: string | undefined;
|
|
508
|
+
service: string;
|
|
509
|
+
component: string;
|
|
510
|
+
direction: string;
|
|
511
|
+
stated: string | undefined;
|
|
512
|
+
state: string;
|
|
513
|
+
}[] | null | undefined>>;
|
|
514
|
+
topicSources: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
515
|
+
kind: z.ZodString;
|
|
516
|
+
component: z.ZodString;
|
|
517
|
+
topic: z.ZodString;
|
|
518
|
+
group: z.ZodString;
|
|
519
|
+
start: z.ZodString;
|
|
520
|
+
version: z.ZodNumber;
|
|
521
|
+
recordedVersion: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
522
|
+
behind: z.ZodDefault<z.ZodBoolean>;
|
|
523
|
+
broker: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
524
|
+
contract: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
525
|
+
lag: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
526
|
+
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
527
|
+
gap: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
528
|
+
partitions: z.ZodArray<z.ZodObject<{
|
|
529
|
+
partition: z.ZodNumber;
|
|
530
|
+
beginning: z.ZodNumber;
|
|
531
|
+
earliestRetained: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
532
|
+
}, z.core.$strip>>;
|
|
533
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
534
|
+
gone: z.ZodDefault<z.ZodBoolean>;
|
|
535
|
+
readAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
536
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
537
|
+
partitions: {
|
|
538
|
+
partition: number;
|
|
539
|
+
beginning: number;
|
|
540
|
+
earliestRetained: string | undefined;
|
|
541
|
+
}[];
|
|
542
|
+
compacted: boolean;
|
|
543
|
+
gone: boolean;
|
|
544
|
+
readAt: string | undefined;
|
|
545
|
+
} | undefined, {
|
|
546
|
+
partitions: {
|
|
547
|
+
partition: number;
|
|
548
|
+
beginning: number;
|
|
549
|
+
earliestRetained: string | undefined;
|
|
550
|
+
}[];
|
|
551
|
+
compacted: boolean;
|
|
552
|
+
gone: boolean;
|
|
553
|
+
readAt: string | undefined;
|
|
554
|
+
} | null | undefined>>;
|
|
555
|
+
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
556
|
+
kind: string;
|
|
557
|
+
component: string;
|
|
558
|
+
topic: string;
|
|
559
|
+
group: string;
|
|
560
|
+
start: string;
|
|
561
|
+
version: number;
|
|
562
|
+
recordedVersion: number | undefined;
|
|
563
|
+
behind: boolean;
|
|
564
|
+
broker: string | undefined;
|
|
565
|
+
contract: string | undefined;
|
|
566
|
+
lag: number | undefined;
|
|
567
|
+
failing: string | undefined;
|
|
568
|
+
gap: {
|
|
569
|
+
partitions: {
|
|
570
|
+
partition: number;
|
|
571
|
+
beginning: number;
|
|
572
|
+
earliestRetained: string | undefined;
|
|
573
|
+
}[];
|
|
574
|
+
compacted: boolean;
|
|
575
|
+
gone: boolean;
|
|
576
|
+
readAt: string | undefined;
|
|
577
|
+
} | undefined;
|
|
578
|
+
}[] | undefined, {
|
|
579
|
+
kind: string;
|
|
580
|
+
component: string;
|
|
581
|
+
topic: string;
|
|
582
|
+
group: string;
|
|
583
|
+
start: string;
|
|
584
|
+
version: number;
|
|
585
|
+
recordedVersion: number | undefined;
|
|
586
|
+
behind: boolean;
|
|
587
|
+
broker: string | undefined;
|
|
588
|
+
contract: string | undefined;
|
|
589
|
+
lag: number | undefined;
|
|
590
|
+
failing: string | undefined;
|
|
591
|
+
gap: {
|
|
592
|
+
partitions: {
|
|
593
|
+
partition: number;
|
|
594
|
+
beginning: number;
|
|
595
|
+
earliestRetained: string | undefined;
|
|
596
|
+
}[];
|
|
597
|
+
compacted: boolean;
|
|
598
|
+
gone: boolean;
|
|
599
|
+
readAt: string | undefined;
|
|
600
|
+
} | undefined;
|
|
601
|
+
}[] | null | undefined>>;
|
|
602
|
+
warnings: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
603
|
+
kind: z.ZodString;
|
|
604
|
+
component: z.ZodString;
|
|
605
|
+
topic: z.ZodString;
|
|
606
|
+
message: z.ZodString;
|
|
607
|
+
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
608
|
+
kind: string;
|
|
609
|
+
component: string;
|
|
610
|
+
topic: string;
|
|
611
|
+
message: string;
|
|
612
|
+
}[] | undefined, {
|
|
613
|
+
kind: string;
|
|
614
|
+
component: string;
|
|
615
|
+
topic: string;
|
|
616
|
+
message: string;
|
|
617
|
+
}[] | null | undefined>>;
|
|
618
|
+
objectStorage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
619
|
+
bucket: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
620
|
+
bucketAddress: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
621
|
+
objectStore: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
622
|
+
bucketLocation: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
623
|
+
softDeleteDays: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
624
|
+
storageMove: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
625
|
+
databaseCluster: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
626
|
+
grants: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
627
|
+
crossProjectTopics: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
628
|
+
project: z.ZodString;
|
|
629
|
+
topic: z.ZodString;
|
|
630
|
+
right: z.ZodString;
|
|
631
|
+
status: z.ZodString;
|
|
632
|
+
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
633
|
+
project: string;
|
|
634
|
+
topic: string;
|
|
635
|
+
right: string;
|
|
636
|
+
status: string;
|
|
637
|
+
}[] | undefined, {
|
|
638
|
+
project: string;
|
|
639
|
+
topic: string;
|
|
640
|
+
right: string;
|
|
641
|
+
status: string;
|
|
642
|
+
}[] | null | undefined>>;
|
|
643
|
+
customHostnames: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
644
|
+
hostname: z.ZodString;
|
|
645
|
+
state: z.ZodDefault<z.ZodString>;
|
|
646
|
+
reason: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
647
|
+
record: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
648
|
+
name: z.ZodString;
|
|
649
|
+
kind: z.ZodString;
|
|
650
|
+
value: z.ZodString;
|
|
651
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
652
|
+
name: string;
|
|
653
|
+
kind: string;
|
|
654
|
+
value: string;
|
|
655
|
+
} | undefined, {
|
|
656
|
+
name: string;
|
|
657
|
+
kind: string;
|
|
658
|
+
value: string;
|
|
659
|
+
} | null | undefined>>;
|
|
660
|
+
note: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
661
|
+
}, z.core.$strip>>>;
|
|
662
|
+
proofRecord: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
663
|
+
name: z.ZodString;
|
|
664
|
+
kind: z.ZodString;
|
|
665
|
+
value: z.ZodString;
|
|
666
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
667
|
+
name: string;
|
|
668
|
+
kind: string;
|
|
669
|
+
value: string;
|
|
670
|
+
} | undefined, {
|
|
671
|
+
name: string;
|
|
672
|
+
kind: string;
|
|
673
|
+
value: string;
|
|
674
|
+
} | null | undefined>>;
|
|
190
675
|
}, z.core.$strip>;
|
|
191
676
|
export type ServiceStatus = z.infer<typeof serviceStatusSchema>;
|
|
677
|
+
/** `POST /services/{project}/{name}/storage/move`: how long the service's writes may be paused. */
|
|
678
|
+
export declare const storageMoveRequestSchema: z.ZodObject<{
|
|
679
|
+
writePauseBound: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
680
|
+
}, z.core.$strip>;
|
|
681
|
+
export type StorageMoveRequest = z.infer<typeof storageMoveRequestSchema>;
|
|
682
|
+
/** `PUT /projects/{id}/location`. */
|
|
683
|
+
export declare const setProjectLocationSchema: z.ZodObject<{
|
|
684
|
+
location: z.ZodString;
|
|
685
|
+
}, z.core.$strip>;
|
|
686
|
+
export type SetProjectLocation = z.infer<typeof setProjectLocationSchema>;
|
|
687
|
+
export declare const crossProjectTopicSchema: z.ZodObject<{
|
|
688
|
+
project: z.ZodString;
|
|
689
|
+
topic: z.ZodString;
|
|
690
|
+
right: z.ZodString;
|
|
691
|
+
status: z.ZodString;
|
|
692
|
+
}, z.core.$strip>;
|
|
693
|
+
export type CrossProjectTopic = z.infer<typeof crossProjectTopicSchema>;
|
|
192
694
|
export declare const historyActorSchema: z.ZodObject<{
|
|
193
695
|
subject: z.ZodString;
|
|
194
696
|
display: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
@@ -212,8 +714,284 @@ export declare const historyEntrySchema: z.ZodObject<{
|
|
|
212
714
|
administrative: boolean;
|
|
213
715
|
} | null | undefined>>;
|
|
214
716
|
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
717
|
+
image: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
718
|
+
digest: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
719
|
+
hostname: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
720
|
+
rolledBackTo: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
721
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
215
722
|
}, z.core.$strip>;
|
|
216
723
|
export type HistoryEntry = z.infer<typeof historyEntrySchema>;
|
|
724
|
+
export declare const rollbackRequestSchema: z.ZodObject<{
|
|
725
|
+
generation: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
726
|
+
}, z.core.$strip>;
|
|
727
|
+
export type RollbackRequest = z.infer<typeof rollbackRequestSchema>;
|
|
728
|
+
export declare const rolledBackSchema: z.ZodObject<{
|
|
729
|
+
rolledBackTo: z.ZodNumber;
|
|
730
|
+
status: z.ZodObject<{
|
|
731
|
+
name: z.ZodString;
|
|
732
|
+
projectId: z.ZodString;
|
|
733
|
+
lifecycle: z.ZodString;
|
|
734
|
+
generation: z.ZodNumber;
|
|
735
|
+
image: z.ZodString;
|
|
736
|
+
readyInstances: z.ZodNumber;
|
|
737
|
+
desiredInstances: z.ZodNumber;
|
|
738
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
739
|
+
confirmed: z.ZodDefault<z.ZodBoolean>;
|
|
740
|
+
database: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
741
|
+
hostname: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
742
|
+
exposed: z.ZodDefault<z.ZodBoolean>;
|
|
743
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
744
|
+
paused: z.ZodDefault<z.ZodBoolean>;
|
|
745
|
+
hosting: z.ZodDefault<z.ZodString>;
|
|
746
|
+
protocol: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
747
|
+
mounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
748
|
+
path: z.ZodString;
|
|
749
|
+
service: z.ZodString;
|
|
750
|
+
state: z.ZodDefault<z.ZodString>;
|
|
751
|
+
}, z.core.$strip>>>;
|
|
752
|
+
callers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
753
|
+
processPort: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
754
|
+
broker: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
755
|
+
undeclaredTopics: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>, z.ZodTransform<string[] | undefined, string[] | null | undefined>>;
|
|
756
|
+
secretStore: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
757
|
+
backend: z.ZodString;
|
|
758
|
+
keyRead: z.ZodBoolean;
|
|
759
|
+
move: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
760
|
+
phase: z.ZodString;
|
|
761
|
+
outcome: z.ZodString;
|
|
762
|
+
names: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
763
|
+
name: z.ZodString;
|
|
764
|
+
state: z.ZodString;
|
|
765
|
+
}, z.core.$strip>>>;
|
|
766
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
767
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
768
|
+
phase: string;
|
|
769
|
+
outcome: string;
|
|
770
|
+
names: {
|
|
771
|
+
name: string;
|
|
772
|
+
state: string;
|
|
773
|
+
}[];
|
|
774
|
+
detail: string | undefined;
|
|
775
|
+
} | undefined, {
|
|
776
|
+
phase: string;
|
|
777
|
+
outcome: string;
|
|
778
|
+
names: {
|
|
779
|
+
name: string;
|
|
780
|
+
state: string;
|
|
781
|
+
}[];
|
|
782
|
+
detail: string | undefined;
|
|
783
|
+
} | null | undefined>>;
|
|
784
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
785
|
+
backend: string;
|
|
786
|
+
keyRead: boolean;
|
|
787
|
+
move: {
|
|
788
|
+
phase: string;
|
|
789
|
+
outcome: string;
|
|
790
|
+
names: {
|
|
791
|
+
name: string;
|
|
792
|
+
state: string;
|
|
793
|
+
}[];
|
|
794
|
+
detail: string | undefined;
|
|
795
|
+
} | undefined;
|
|
796
|
+
} | undefined, {
|
|
797
|
+
backend: string;
|
|
798
|
+
keyRead: boolean;
|
|
799
|
+
move: {
|
|
800
|
+
phase: string;
|
|
801
|
+
outcome: string;
|
|
802
|
+
names: {
|
|
803
|
+
name: string;
|
|
804
|
+
state: string;
|
|
805
|
+
}[];
|
|
806
|
+
detail: string | undefined;
|
|
807
|
+
} | undefined;
|
|
808
|
+
} | null | undefined>>;
|
|
809
|
+
topicChecks: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
810
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
811
|
+
service: z.ZodString;
|
|
812
|
+
component: z.ZodString;
|
|
813
|
+
direction: z.ZodString;
|
|
814
|
+
stated: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
815
|
+
state: z.ZodString;
|
|
816
|
+
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
817
|
+
topic: string | undefined;
|
|
818
|
+
service: string;
|
|
819
|
+
component: string;
|
|
820
|
+
direction: string;
|
|
821
|
+
stated: string | undefined;
|
|
822
|
+
state: string;
|
|
823
|
+
}[] | undefined, {
|
|
824
|
+
topic: string | undefined;
|
|
825
|
+
service: string;
|
|
826
|
+
component: string;
|
|
827
|
+
direction: string;
|
|
828
|
+
stated: string | undefined;
|
|
829
|
+
state: string;
|
|
830
|
+
}[] | null | undefined>>;
|
|
831
|
+
topicSources: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
832
|
+
kind: z.ZodString;
|
|
833
|
+
component: z.ZodString;
|
|
834
|
+
topic: z.ZodString;
|
|
835
|
+
group: z.ZodString;
|
|
836
|
+
start: z.ZodString;
|
|
837
|
+
version: z.ZodNumber;
|
|
838
|
+
recordedVersion: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
839
|
+
behind: z.ZodDefault<z.ZodBoolean>;
|
|
840
|
+
broker: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
841
|
+
contract: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
842
|
+
lag: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
843
|
+
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
844
|
+
gap: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
845
|
+
partitions: z.ZodArray<z.ZodObject<{
|
|
846
|
+
partition: z.ZodNumber;
|
|
847
|
+
beginning: z.ZodNumber;
|
|
848
|
+
earliestRetained: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
849
|
+
}, z.core.$strip>>;
|
|
850
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
851
|
+
gone: z.ZodDefault<z.ZodBoolean>;
|
|
852
|
+
readAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
853
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
854
|
+
partitions: {
|
|
855
|
+
partition: number;
|
|
856
|
+
beginning: number;
|
|
857
|
+
earliestRetained: string | undefined;
|
|
858
|
+
}[];
|
|
859
|
+
compacted: boolean;
|
|
860
|
+
gone: boolean;
|
|
861
|
+
readAt: string | undefined;
|
|
862
|
+
} | undefined, {
|
|
863
|
+
partitions: {
|
|
864
|
+
partition: number;
|
|
865
|
+
beginning: number;
|
|
866
|
+
earliestRetained: string | undefined;
|
|
867
|
+
}[];
|
|
868
|
+
compacted: boolean;
|
|
869
|
+
gone: boolean;
|
|
870
|
+
readAt: string | undefined;
|
|
871
|
+
} | null | undefined>>;
|
|
872
|
+
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
873
|
+
kind: string;
|
|
874
|
+
component: string;
|
|
875
|
+
topic: string;
|
|
876
|
+
group: string;
|
|
877
|
+
start: string;
|
|
878
|
+
version: number;
|
|
879
|
+
recordedVersion: number | undefined;
|
|
880
|
+
behind: boolean;
|
|
881
|
+
broker: string | undefined;
|
|
882
|
+
contract: string | undefined;
|
|
883
|
+
lag: number | undefined;
|
|
884
|
+
failing: string | undefined;
|
|
885
|
+
gap: {
|
|
886
|
+
partitions: {
|
|
887
|
+
partition: number;
|
|
888
|
+
beginning: number;
|
|
889
|
+
earliestRetained: string | undefined;
|
|
890
|
+
}[];
|
|
891
|
+
compacted: boolean;
|
|
892
|
+
gone: boolean;
|
|
893
|
+
readAt: string | undefined;
|
|
894
|
+
} | undefined;
|
|
895
|
+
}[] | undefined, {
|
|
896
|
+
kind: string;
|
|
897
|
+
component: string;
|
|
898
|
+
topic: string;
|
|
899
|
+
group: string;
|
|
900
|
+
start: string;
|
|
901
|
+
version: number;
|
|
902
|
+
recordedVersion: number | undefined;
|
|
903
|
+
behind: boolean;
|
|
904
|
+
broker: string | undefined;
|
|
905
|
+
contract: string | undefined;
|
|
906
|
+
lag: number | undefined;
|
|
907
|
+
failing: string | undefined;
|
|
908
|
+
gap: {
|
|
909
|
+
partitions: {
|
|
910
|
+
partition: number;
|
|
911
|
+
beginning: number;
|
|
912
|
+
earliestRetained: string | undefined;
|
|
913
|
+
}[];
|
|
914
|
+
compacted: boolean;
|
|
915
|
+
gone: boolean;
|
|
916
|
+
readAt: string | undefined;
|
|
917
|
+
} | undefined;
|
|
918
|
+
}[] | null | undefined>>;
|
|
919
|
+
warnings: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
920
|
+
kind: z.ZodString;
|
|
921
|
+
component: z.ZodString;
|
|
922
|
+
topic: z.ZodString;
|
|
923
|
+
message: z.ZodString;
|
|
924
|
+
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
925
|
+
kind: string;
|
|
926
|
+
component: string;
|
|
927
|
+
topic: string;
|
|
928
|
+
message: string;
|
|
929
|
+
}[] | undefined, {
|
|
930
|
+
kind: string;
|
|
931
|
+
component: string;
|
|
932
|
+
topic: string;
|
|
933
|
+
message: string;
|
|
934
|
+
}[] | null | undefined>>;
|
|
935
|
+
objectStorage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
936
|
+
bucket: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
937
|
+
bucketAddress: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
938
|
+
objectStore: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
939
|
+
bucketLocation: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
940
|
+
softDeleteDays: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
941
|
+
storageMove: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
942
|
+
databaseCluster: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
943
|
+
grants: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
944
|
+
crossProjectTopics: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
945
|
+
project: z.ZodString;
|
|
946
|
+
topic: z.ZodString;
|
|
947
|
+
right: z.ZodString;
|
|
948
|
+
status: z.ZodString;
|
|
949
|
+
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
950
|
+
project: string;
|
|
951
|
+
topic: string;
|
|
952
|
+
right: string;
|
|
953
|
+
status: string;
|
|
954
|
+
}[] | undefined, {
|
|
955
|
+
project: string;
|
|
956
|
+
topic: string;
|
|
957
|
+
right: string;
|
|
958
|
+
status: string;
|
|
959
|
+
}[] | null | undefined>>;
|
|
960
|
+
customHostnames: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
961
|
+
hostname: z.ZodString;
|
|
962
|
+
state: z.ZodDefault<z.ZodString>;
|
|
963
|
+
reason: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
964
|
+
record: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
965
|
+
name: z.ZodString;
|
|
966
|
+
kind: z.ZodString;
|
|
967
|
+
value: z.ZodString;
|
|
968
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
969
|
+
name: string;
|
|
970
|
+
kind: string;
|
|
971
|
+
value: string;
|
|
972
|
+
} | undefined, {
|
|
973
|
+
name: string;
|
|
974
|
+
kind: string;
|
|
975
|
+
value: string;
|
|
976
|
+
} | null | undefined>>;
|
|
977
|
+
note: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
978
|
+
}, z.core.$strip>>>;
|
|
979
|
+
proofRecord: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
980
|
+
name: z.ZodString;
|
|
981
|
+
kind: z.ZodString;
|
|
982
|
+
value: z.ZodString;
|
|
983
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
984
|
+
name: string;
|
|
985
|
+
kind: string;
|
|
986
|
+
value: string;
|
|
987
|
+
} | undefined, {
|
|
988
|
+
name: string;
|
|
989
|
+
kind: string;
|
|
990
|
+
value: string;
|
|
991
|
+
} | null | undefined>>;
|
|
992
|
+
}, z.core.$strip>;
|
|
993
|
+
}, z.core.$strip>;
|
|
994
|
+
export type RolledBack = z.infer<typeof rolledBackSchema>;
|
|
217
995
|
export declare const instanceLogsSchema: z.ZodObject<{
|
|
218
996
|
instance: z.ZodString;
|
|
219
997
|
output: z.ZodString;
|
|
@@ -228,6 +1006,237 @@ export declare const logsResponseSchema: z.ZodObject<{
|
|
|
228
1006
|
}, z.core.$strip>>;
|
|
229
1007
|
}, z.core.$strip>;
|
|
230
1008
|
export type LogsResponse = z.infer<typeof logsResponseSchema>;
|
|
1009
|
+
export declare const topologyHandlerSchema: z.ZodObject<{
|
|
1010
|
+
name: z.ZodString;
|
|
1011
|
+
type: z.ZodString;
|
|
1012
|
+
streaming: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1013
|
+
}, z.core.$strip>;
|
|
1014
|
+
export type TopologyHandler = z.infer<typeof topologyHandlerSchema>;
|
|
1015
|
+
export declare const topologyNodeSchema: z.ZodObject<{
|
|
1016
|
+
id: z.ZodString;
|
|
1017
|
+
kind: z.ZodString;
|
|
1018
|
+
layer: z.ZodNumber;
|
|
1019
|
+
platform: z.ZodBoolean;
|
|
1020
|
+
handlers: z.ZodArray<z.ZodObject<{
|
|
1021
|
+
name: z.ZodString;
|
|
1022
|
+
type: z.ZodString;
|
|
1023
|
+
streaming: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1024
|
+
}, z.core.$strip>>;
|
|
1025
|
+
}, z.core.$strip>;
|
|
1026
|
+
export type TopologyNode = z.infer<typeof topologyNodeSchema>;
|
|
1027
|
+
export declare const declaredEdgeSchema: z.ZodObject<{
|
|
1028
|
+
from: z.ZodString;
|
|
1029
|
+
to: z.ZodString;
|
|
1030
|
+
kind: z.ZodString;
|
|
1031
|
+
}, z.core.$strip>;
|
|
1032
|
+
export type DeclaredEdge = z.infer<typeof declaredEdgeSchema>;
|
|
1033
|
+
export declare const callPairSchema: z.ZodObject<{
|
|
1034
|
+
caller: z.ZodString;
|
|
1035
|
+
callee: z.ZodString;
|
|
1036
|
+
handled: z.ZodObject<{
|
|
1037
|
+
ok: z.ZodNumber;
|
|
1038
|
+
refused: z.ZodNumber;
|
|
1039
|
+
failed: z.ZodNumber;
|
|
1040
|
+
}, z.core.$strip>;
|
|
1041
|
+
unanswered: z.ZodObject<{
|
|
1042
|
+
timedOut: z.ZodNumber;
|
|
1043
|
+
undelivered: z.ZodNumber;
|
|
1044
|
+
}, z.core.$strip>;
|
|
1045
|
+
durationMillis: z.ZodObject<{
|
|
1046
|
+
p50: z.ZodNumber;
|
|
1047
|
+
p99: z.ZodNumber;
|
|
1048
|
+
max: z.ZodNumber;
|
|
1049
|
+
bucketed: z.ZodDefault<z.ZodBoolean>;
|
|
1050
|
+
}, z.core.$strip>;
|
|
1051
|
+
streaming: z.ZodDefault<z.ZodBoolean>;
|
|
1052
|
+
histogram: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
|
|
1053
|
+
}, z.core.$strip>;
|
|
1054
|
+
export type CallPair = z.infer<typeof callPairSchema>;
|
|
1055
|
+
export declare const callEdgeSchema: z.ZodObject<{
|
|
1056
|
+
from: z.ZodString;
|
|
1057
|
+
to: z.ZodString;
|
|
1058
|
+
pairs: z.ZodArray<z.ZodObject<{
|
|
1059
|
+
caller: z.ZodString;
|
|
1060
|
+
callee: z.ZodString;
|
|
1061
|
+
handled: z.ZodObject<{
|
|
1062
|
+
ok: z.ZodNumber;
|
|
1063
|
+
refused: z.ZodNumber;
|
|
1064
|
+
failed: z.ZodNumber;
|
|
1065
|
+
}, z.core.$strip>;
|
|
1066
|
+
unanswered: z.ZodObject<{
|
|
1067
|
+
timedOut: z.ZodNumber;
|
|
1068
|
+
undelivered: z.ZodNumber;
|
|
1069
|
+
}, z.core.$strip>;
|
|
1070
|
+
durationMillis: z.ZodObject<{
|
|
1071
|
+
p50: z.ZodNumber;
|
|
1072
|
+
p99: z.ZodNumber;
|
|
1073
|
+
max: z.ZodNumber;
|
|
1074
|
+
bucketed: z.ZodDefault<z.ZodBoolean>;
|
|
1075
|
+
}, z.core.$strip>;
|
|
1076
|
+
streaming: z.ZodDefault<z.ZodBoolean>;
|
|
1077
|
+
histogram: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
|
|
1078
|
+
}, z.core.$strip>>;
|
|
1079
|
+
}, z.core.$strip>;
|
|
1080
|
+
export type CallEdge = z.infer<typeof callEdgeSchema>;
|
|
1081
|
+
export declare const topologyWindowSchema: z.ZodObject<{
|
|
1082
|
+
seconds: z.ZodNumber;
|
|
1083
|
+
since: z.ZodString;
|
|
1084
|
+
calls: z.ZodNumber;
|
|
1085
|
+
unanswered: z.ZodDefault<z.ZodNumber>;
|
|
1086
|
+
}, z.core.$strip>;
|
|
1087
|
+
export type TopologyWindow = z.infer<typeof topologyWindowSchema>;
|
|
1088
|
+
export declare const instanceTopologyDocumentSchema: z.ZodObject<{
|
|
1089
|
+
service: z.ZodObject<{
|
|
1090
|
+
name: z.ZodString;
|
|
1091
|
+
runtime: z.ZodString;
|
|
1092
|
+
instance: z.ZodString;
|
|
1093
|
+
startedAt: z.ZodString;
|
|
1094
|
+
}, z.core.$strip>;
|
|
1095
|
+
window: z.ZodObject<{
|
|
1096
|
+
seconds: z.ZodNumber;
|
|
1097
|
+
since: z.ZodString;
|
|
1098
|
+
calls: z.ZodNumber;
|
|
1099
|
+
unanswered: z.ZodDefault<z.ZodNumber>;
|
|
1100
|
+
}, z.core.$strip>;
|
|
1101
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
1102
|
+
id: z.ZodString;
|
|
1103
|
+
kind: z.ZodString;
|
|
1104
|
+
layer: z.ZodNumber;
|
|
1105
|
+
platform: z.ZodBoolean;
|
|
1106
|
+
handlers: z.ZodArray<z.ZodObject<{
|
|
1107
|
+
name: z.ZodString;
|
|
1108
|
+
type: z.ZodString;
|
|
1109
|
+
streaming: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1110
|
+
}, z.core.$strip>>;
|
|
1111
|
+
}, z.core.$strip>>;
|
|
1112
|
+
declared: z.ZodArray<z.ZodObject<{
|
|
1113
|
+
from: z.ZodString;
|
|
1114
|
+
to: z.ZodString;
|
|
1115
|
+
kind: z.ZodString;
|
|
1116
|
+
}, z.core.$strip>>;
|
|
1117
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
1118
|
+
from: z.ZodString;
|
|
1119
|
+
to: z.ZodString;
|
|
1120
|
+
pairs: z.ZodArray<z.ZodObject<{
|
|
1121
|
+
caller: z.ZodString;
|
|
1122
|
+
callee: z.ZodString;
|
|
1123
|
+
handled: z.ZodObject<{
|
|
1124
|
+
ok: z.ZodNumber;
|
|
1125
|
+
refused: z.ZodNumber;
|
|
1126
|
+
failed: z.ZodNumber;
|
|
1127
|
+
}, z.core.$strip>;
|
|
1128
|
+
unanswered: z.ZodObject<{
|
|
1129
|
+
timedOut: z.ZodNumber;
|
|
1130
|
+
undelivered: z.ZodNumber;
|
|
1131
|
+
}, z.core.$strip>;
|
|
1132
|
+
durationMillis: z.ZodObject<{
|
|
1133
|
+
p50: z.ZodNumber;
|
|
1134
|
+
p99: z.ZodNumber;
|
|
1135
|
+
max: z.ZodNumber;
|
|
1136
|
+
bucketed: z.ZodDefault<z.ZodBoolean>;
|
|
1137
|
+
}, z.core.$strip>;
|
|
1138
|
+
streaming: z.ZodDefault<z.ZodBoolean>;
|
|
1139
|
+
histogram: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
|
|
1140
|
+
}, z.core.$strip>>;
|
|
1141
|
+
}, z.core.$strip>>;
|
|
1142
|
+
}, z.core.$strip>;
|
|
1143
|
+
export type InstanceTopologyDocument = z.infer<typeof instanceTopologyDocumentSchema>;
|
|
1144
|
+
export declare const instanceStatusSchema: z.ZodEnum<{
|
|
1145
|
+
failed: "failed";
|
|
1146
|
+
ok: "ok";
|
|
1147
|
+
unreachable: "unreachable";
|
|
1148
|
+
unsupported: "unsupported";
|
|
1149
|
+
}>;
|
|
1150
|
+
export type InstanceStatus = z.infer<typeof instanceStatusSchema>;
|
|
1151
|
+
export declare const instanceTopologySchema: z.ZodObject<{
|
|
1152
|
+
pod: z.ZodString;
|
|
1153
|
+
status: z.ZodEnum<{
|
|
1154
|
+
failed: "failed";
|
|
1155
|
+
ok: "ok";
|
|
1156
|
+
unreachable: "unreachable";
|
|
1157
|
+
unsupported: "unsupported";
|
|
1158
|
+
}>;
|
|
1159
|
+
problem: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1160
|
+
runtime: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1161
|
+
readAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1162
|
+
}, z.core.$strip>;
|
|
1163
|
+
export type InstanceTopology = z.infer<typeof instanceTopologySchema>;
|
|
1164
|
+
export declare const topologyDifferenceSchema: z.ZodObject<{
|
|
1165
|
+
node: z.ZodString;
|
|
1166
|
+
presentOn: z.ZodArray<z.ZodString>;
|
|
1167
|
+
}, z.core.$strip>;
|
|
1168
|
+
export type TopologyDifference = z.infer<typeof topologyDifferenceSchema>;
|
|
1169
|
+
/** `GET /services/{projectId}/{name}/topology`: every instance's topology, merged. */
|
|
1170
|
+
export declare const serviceTopologySchema: z.ZodObject<{
|
|
1171
|
+
service: z.ZodString;
|
|
1172
|
+
running: z.ZodNumber;
|
|
1173
|
+
contributing: z.ZodNumber;
|
|
1174
|
+
partial: z.ZodBoolean;
|
|
1175
|
+
instances: z.ZodArray<z.ZodObject<{
|
|
1176
|
+
pod: z.ZodString;
|
|
1177
|
+
status: z.ZodEnum<{
|
|
1178
|
+
failed: "failed";
|
|
1179
|
+
ok: "ok";
|
|
1180
|
+
unreachable: "unreachable";
|
|
1181
|
+
unsupported: "unsupported";
|
|
1182
|
+
}>;
|
|
1183
|
+
problem: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1184
|
+
runtime: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1185
|
+
readAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1186
|
+
}, z.core.$strip>>;
|
|
1187
|
+
window: z.ZodObject<{
|
|
1188
|
+
seconds: z.ZodNumber;
|
|
1189
|
+
since: z.ZodString;
|
|
1190
|
+
calls: z.ZodNumber;
|
|
1191
|
+
unanswered: z.ZodDefault<z.ZodNumber>;
|
|
1192
|
+
}, z.core.$strip>;
|
|
1193
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
1194
|
+
id: z.ZodString;
|
|
1195
|
+
kind: z.ZodString;
|
|
1196
|
+
layer: z.ZodNumber;
|
|
1197
|
+
platform: z.ZodBoolean;
|
|
1198
|
+
handlers: z.ZodArray<z.ZodObject<{
|
|
1199
|
+
name: z.ZodString;
|
|
1200
|
+
type: z.ZodString;
|
|
1201
|
+
streaming: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
1202
|
+
}, z.core.$strip>>;
|
|
1203
|
+
}, z.core.$strip>>;
|
|
1204
|
+
declared: z.ZodArray<z.ZodObject<{
|
|
1205
|
+
from: z.ZodString;
|
|
1206
|
+
to: z.ZodString;
|
|
1207
|
+
kind: z.ZodString;
|
|
1208
|
+
}, z.core.$strip>>;
|
|
1209
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
1210
|
+
from: z.ZodString;
|
|
1211
|
+
to: z.ZodString;
|
|
1212
|
+
pairs: z.ZodArray<z.ZodObject<{
|
|
1213
|
+
caller: z.ZodString;
|
|
1214
|
+
callee: z.ZodString;
|
|
1215
|
+
handled: z.ZodObject<{
|
|
1216
|
+
ok: z.ZodNumber;
|
|
1217
|
+
refused: z.ZodNumber;
|
|
1218
|
+
failed: z.ZodNumber;
|
|
1219
|
+
}, z.core.$strip>;
|
|
1220
|
+
unanswered: z.ZodObject<{
|
|
1221
|
+
timedOut: z.ZodNumber;
|
|
1222
|
+
undelivered: z.ZodNumber;
|
|
1223
|
+
}, z.core.$strip>;
|
|
1224
|
+
durationMillis: z.ZodObject<{
|
|
1225
|
+
p50: z.ZodNumber;
|
|
1226
|
+
p99: z.ZodNumber;
|
|
1227
|
+
max: z.ZodNumber;
|
|
1228
|
+
bucketed: z.ZodDefault<z.ZodBoolean>;
|
|
1229
|
+
}, z.core.$strip>;
|
|
1230
|
+
streaming: z.ZodDefault<z.ZodBoolean>;
|
|
1231
|
+
histogram: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
|
|
1232
|
+
}, z.core.$strip>>;
|
|
1233
|
+
}, z.core.$strip>>;
|
|
1234
|
+
differences: z.ZodArray<z.ZodObject<{
|
|
1235
|
+
node: z.ZodString;
|
|
1236
|
+
presentOn: z.ZodArray<z.ZodString>;
|
|
1237
|
+
}, z.core.$strip>>;
|
|
1238
|
+
}, z.core.$strip>;
|
|
1239
|
+
export type ServiceTopology = z.infer<typeof serviceTopologySchema>;
|
|
231
1240
|
export declare const memberSummarySchema: z.ZodObject<{
|
|
232
1241
|
subject: z.ZodString;
|
|
233
1242
|
role: z.ZodEnum<{
|
|
@@ -361,5 +1370,831 @@ export declare const setRegistrySchema: z.ZodObject<{
|
|
|
361
1370
|
password: z.ZodString;
|
|
362
1371
|
}, z.core.$strip>;
|
|
363
1372
|
export type SetRegistry = z.input<typeof setRegistrySchema>;
|
|
1373
|
+
/** `PUT /projects/{id}/secrets/{name}`: entries merged into a project secret. */
|
|
1374
|
+
export declare const setProjectSecretSchema: z.ZodObject<{
|
|
1375
|
+
entries: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1376
|
+
}, z.core.$strip>;
|
|
1377
|
+
export type SetProjectSecret = z.input<typeof setProjectSecretSchema>;
|
|
1378
|
+
/** A contract as declared on a topic: its name and the fingerprint of its schema document. */
|
|
1379
|
+
export declare const contractSchema: z.ZodObject<{
|
|
1380
|
+
name: z.ZodString;
|
|
1381
|
+
fingerprint: z.ZodString;
|
|
1382
|
+
}, z.core.$strip>;
|
|
1383
|
+
export type Contract = z.infer<typeof contractSchema>;
|
|
1384
|
+
/** One side of a declared topic as a running service states it, against the declared contract. */
|
|
1385
|
+
export declare const topicCheckSchema: z.ZodObject<{
|
|
1386
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1387
|
+
service: z.ZodString;
|
|
1388
|
+
component: z.ZodString;
|
|
1389
|
+
direction: z.ZodString;
|
|
1390
|
+
stated: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1391
|
+
state: z.ZodString;
|
|
1392
|
+
}, z.core.$strip>;
|
|
1393
|
+
export type TopicCheck = z.infer<typeof topicCheckSchema>;
|
|
1394
|
+
/**
|
|
1395
|
+
* `PUT /projects/{id}/topics/{name}`: the partitions a declared topic has, whether the broker keeps
|
|
1396
|
+
* only the last message under each key, and the contract it carries with its schema document; and
|
|
1397
|
+
* how long it keeps, how it is cleaned and how many copies it has, each in the words a member types.
|
|
1398
|
+
* A new topic needs its partitions and takes every setting left out from the installation; a topic
|
|
1399
|
+
* already declared keeps what is left out. `removes` restates what a change that removes messages
|
|
1400
|
+
* removes, in the control plane's own words.
|
|
1401
|
+
*/
|
|
1402
|
+
export declare const topicDeclarationRequestSchema: z.ZodObject<{
|
|
1403
|
+
partitions: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1404
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
1405
|
+
contract: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1406
|
+
name: z.ZodString;
|
|
1407
|
+
schema: z.ZodUnknown;
|
|
1408
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1409
|
+
name: string;
|
|
1410
|
+
schema: unknown;
|
|
1411
|
+
} | undefined, {
|
|
1412
|
+
name: string;
|
|
1413
|
+
schema: unknown;
|
|
1414
|
+
} | null | undefined>>;
|
|
1415
|
+
retention: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1416
|
+
retentionSize: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1417
|
+
cleanup: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1418
|
+
tombstoneWindow: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1419
|
+
minCompactionLag: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1420
|
+
maxCompactionLag: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1421
|
+
copies: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1422
|
+
minInSync: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1423
|
+
removes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1424
|
+
}, z.core.$strip>;
|
|
1425
|
+
export type TopicDeclarationRequest = z.input<typeof topicDeclarationRequestSchema>;
|
|
1426
|
+
/** A declared topic's every setting in words, and the ones the installation supplied. */
|
|
1427
|
+
export declare const topicSettingsViewSchema: z.ZodObject<{
|
|
1428
|
+
retention: z.ZodString;
|
|
1429
|
+
retentionSize: z.ZodString;
|
|
1430
|
+
cleanup: z.ZodString;
|
|
1431
|
+
tombstoneWindow: z.ZodString;
|
|
1432
|
+
minCompactionLag: z.ZodString;
|
|
1433
|
+
maxCompactionLag: z.ZodString;
|
|
1434
|
+
copies: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1435
|
+
minInSync: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1436
|
+
defaulted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1437
|
+
}, z.core.$strip>;
|
|
1438
|
+
export type TopicSettingsView = z.infer<typeof topicSettingsViewSchema>;
|
|
1439
|
+
/** A topic a project declares, and how far the platform has got with it. */
|
|
1440
|
+
export declare const projectTopicSchema: z.ZodObject<{
|
|
1441
|
+
name: z.ZodString;
|
|
1442
|
+
partitions: z.ZodNumber;
|
|
1443
|
+
phase: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1444
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1445
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
1446
|
+
contract: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1447
|
+
name: z.ZodString;
|
|
1448
|
+
fingerprint: z.ZodString;
|
|
1449
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1450
|
+
name: string;
|
|
1451
|
+
fingerprint: string;
|
|
1452
|
+
} | undefined, {
|
|
1453
|
+
name: string;
|
|
1454
|
+
fingerprint: string;
|
|
1455
|
+
} | null | undefined>>;
|
|
1456
|
+
checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1457
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1458
|
+
service: z.ZodString;
|
|
1459
|
+
component: z.ZodString;
|
|
1460
|
+
direction: z.ZodString;
|
|
1461
|
+
stated: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1462
|
+
state: z.ZodString;
|
|
1463
|
+
}, z.core.$strip>>>;
|
|
1464
|
+
settings: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1465
|
+
retention: z.ZodString;
|
|
1466
|
+
retentionSize: z.ZodString;
|
|
1467
|
+
cleanup: z.ZodString;
|
|
1468
|
+
tombstoneWindow: z.ZodString;
|
|
1469
|
+
minCompactionLag: z.ZodString;
|
|
1470
|
+
maxCompactionLag: z.ZodString;
|
|
1471
|
+
copies: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1472
|
+
minInSync: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1473
|
+
defaulted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1474
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1475
|
+
retention: string;
|
|
1476
|
+
retentionSize: string;
|
|
1477
|
+
cleanup: string;
|
|
1478
|
+
tombstoneWindow: string;
|
|
1479
|
+
minCompactionLag: string;
|
|
1480
|
+
maxCompactionLag: string;
|
|
1481
|
+
copies: number | undefined;
|
|
1482
|
+
minInSync: number | undefined;
|
|
1483
|
+
defaulted: string[];
|
|
1484
|
+
} | undefined, {
|
|
1485
|
+
retention: string;
|
|
1486
|
+
retentionSize: string;
|
|
1487
|
+
cleanup: string;
|
|
1488
|
+
tombstoneWindow: string;
|
|
1489
|
+
minCompactionLag: string;
|
|
1490
|
+
maxCompactionLag: string;
|
|
1491
|
+
copies: number | undefined;
|
|
1492
|
+
minInSync: number | undefined;
|
|
1493
|
+
defaulted: string[];
|
|
1494
|
+
} | null | undefined>>;
|
|
1495
|
+
copiesHeld: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1496
|
+
brokerNodes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1497
|
+
}, z.core.$strip>;
|
|
1498
|
+
export type ProjectTopic = z.infer<typeof projectTopicSchema>;
|
|
1499
|
+
/** One setting a declaration changed, from what to what. */
|
|
1500
|
+
export declare const settingChangeSchema: z.ZodObject<{
|
|
1501
|
+
setting: z.ZodString;
|
|
1502
|
+
from: z.ZodString;
|
|
1503
|
+
to: z.ZodString;
|
|
1504
|
+
}, z.core.$strip>;
|
|
1505
|
+
export type SettingChange = z.infer<typeof settingChangeSchema>;
|
|
1506
|
+
/** Where a partition begins on the broker, and when that message was published. */
|
|
1507
|
+
export declare const partitionGapReportSchema: z.ZodObject<{
|
|
1508
|
+
partition: z.ZodNumber;
|
|
1509
|
+
beginning: z.ZodNumber;
|
|
1510
|
+
earliestRetained: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1511
|
+
}, z.core.$strip>;
|
|
1512
|
+
export type PartitionGapReport = z.infer<typeof partitionGapReportSchema>;
|
|
1513
|
+
/** What a topic source's topic no longer holds, per partition, and whether earlier messages are gone. */
|
|
1514
|
+
export declare const retentionGapReportSchema: z.ZodObject<{
|
|
1515
|
+
partitions: z.ZodArray<z.ZodObject<{
|
|
1516
|
+
partition: z.ZodNumber;
|
|
1517
|
+
beginning: z.ZodNumber;
|
|
1518
|
+
earliestRetained: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1519
|
+
}, z.core.$strip>>;
|
|
1520
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
1521
|
+
gone: z.ZodDefault<z.ZodBoolean>;
|
|
1522
|
+
readAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1523
|
+
}, z.core.$strip>;
|
|
1524
|
+
export type RetentionGapReport = z.infer<typeof retentionGapReportSchema>;
|
|
1525
|
+
/** Something about a service a member should know: a view over a topic that keeps too little. */
|
|
1526
|
+
export declare const serviceWarningSchema: z.ZodObject<{
|
|
1527
|
+
kind: z.ZodString;
|
|
1528
|
+
component: z.ZodString;
|
|
1529
|
+
topic: z.ZodString;
|
|
1530
|
+
message: z.ZodString;
|
|
1531
|
+
}, z.core.$strip>;
|
|
1532
|
+
export type ServiceWarning = z.infer<typeof serviceWarningSchema>;
|
|
1533
|
+
/**
|
|
1534
|
+
* A topic source as a service's instances report it: what reads which topic under which group, the
|
|
1535
|
+
* declared broker and contract it states, `lag` (messages past the last one handled, as of the last
|
|
1536
|
+
* poll) and `failing` (the reason of the change being delivered again, until one succeeds).
|
|
1537
|
+
*/
|
|
1538
|
+
export declare const topicSourceReportSchema: z.ZodObject<{
|
|
1539
|
+
kind: z.ZodString;
|
|
1540
|
+
component: z.ZodString;
|
|
1541
|
+
topic: z.ZodString;
|
|
1542
|
+
group: z.ZodString;
|
|
1543
|
+
start: z.ZodString;
|
|
1544
|
+
version: z.ZodNumber;
|
|
1545
|
+
recordedVersion: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1546
|
+
behind: z.ZodDefault<z.ZodBoolean>;
|
|
1547
|
+
broker: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1548
|
+
contract: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1549
|
+
lag: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1550
|
+
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1551
|
+
gap: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1552
|
+
partitions: z.ZodArray<z.ZodObject<{
|
|
1553
|
+
partition: z.ZodNumber;
|
|
1554
|
+
beginning: z.ZodNumber;
|
|
1555
|
+
earliestRetained: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1556
|
+
}, z.core.$strip>>;
|
|
1557
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
1558
|
+
gone: z.ZodDefault<z.ZodBoolean>;
|
|
1559
|
+
readAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1560
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1561
|
+
partitions: {
|
|
1562
|
+
partition: number;
|
|
1563
|
+
beginning: number;
|
|
1564
|
+
earliestRetained: string | undefined;
|
|
1565
|
+
}[];
|
|
1566
|
+
compacted: boolean;
|
|
1567
|
+
gone: boolean;
|
|
1568
|
+
readAt: string | undefined;
|
|
1569
|
+
} | undefined, {
|
|
1570
|
+
partitions: {
|
|
1571
|
+
partition: number;
|
|
1572
|
+
beginning: number;
|
|
1573
|
+
earliestRetained: string | undefined;
|
|
1574
|
+
}[];
|
|
1575
|
+
compacted: boolean;
|
|
1576
|
+
gone: boolean;
|
|
1577
|
+
readAt: string | undefined;
|
|
1578
|
+
} | null | undefined>>;
|
|
1579
|
+
}, z.core.$strip>;
|
|
1580
|
+
export type TopicSourceReport = z.infer<typeof topicSourceReportSchema>;
|
|
1581
|
+
/** `PUT /projects/{id}/brokers/{name}`: a broker declared beside the installation's, and how it is reached. */
|
|
1582
|
+
export declare const brokerDeclarationRequestSchema: z.ZodObject<{
|
|
1583
|
+
bootstrap: z.ZodString;
|
|
1584
|
+
shape: z.ZodString;
|
|
1585
|
+
secret: z.ZodString;
|
|
1586
|
+
}, z.core.$strip>;
|
|
1587
|
+
export type BrokerDeclarationRequest = z.input<typeof brokerDeclarationRequestSchema>;
|
|
1588
|
+
/** A broker a project declares, as listed: where it is, the shape of its credential, and the project secret holding it. */
|
|
1589
|
+
export declare const projectBrokerSchema: z.ZodObject<{
|
|
1590
|
+
name: z.ZodString;
|
|
1591
|
+
bootstrap: z.ZodString;
|
|
1592
|
+
shape: z.ZodString;
|
|
1593
|
+
secret: z.ZodString;
|
|
1594
|
+
declaredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1595
|
+
}, z.core.$strip>;
|
|
1596
|
+
export type ProjectBroker = z.infer<typeof projectBrokerSchema>;
|
|
1597
|
+
/** A project secret as the control plane lists it: entries' names, never a value. */
|
|
1598
|
+
export declare const projectSecretSummarySchema: z.ZodObject<{
|
|
1599
|
+
name: z.ZodString;
|
|
1600
|
+
entries: z.ZodArray<z.ZodString>;
|
|
1601
|
+
setAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1602
|
+
setBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1603
|
+
}, z.core.$strip>;
|
|
1604
|
+
export type ProjectSecretSummary = z.infer<typeof projectSecretSummarySchema>;
|
|
1605
|
+
/** The record of one read, keep or removal of a service secret: never its value. */
|
|
1606
|
+
export declare const readRecordSchema: z.ZodObject<{
|
|
1607
|
+
at: z.ZodString;
|
|
1608
|
+
project: z.ZodString;
|
|
1609
|
+
service: z.ZodString;
|
|
1610
|
+
hosting: z.ZodString;
|
|
1611
|
+
name: z.ZodString;
|
|
1612
|
+
operation: z.ZodString;
|
|
1613
|
+
outcome: z.ZodString;
|
|
1614
|
+
backend: z.ZodString;
|
|
1615
|
+
traceId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1616
|
+
spanId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1617
|
+
component: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1618
|
+
componentKind: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1619
|
+
latestSkipped: z.ZodDefault<z.ZodBoolean>;
|
|
1620
|
+
}, z.core.$strip>;
|
|
1621
|
+
export type ReadRecord = z.infer<typeof readRecordSchema>;
|
|
1622
|
+
/** The record of a project's secret reads, newest first, as an owner reads it. */
|
|
1623
|
+
export declare const secretReadsPageSchema: z.ZodObject<{
|
|
1624
|
+
records: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1625
|
+
at: z.ZodString;
|
|
1626
|
+
project: z.ZodString;
|
|
1627
|
+
service: z.ZodString;
|
|
1628
|
+
hosting: z.ZodString;
|
|
1629
|
+
name: z.ZodString;
|
|
1630
|
+
operation: z.ZodString;
|
|
1631
|
+
outcome: z.ZodString;
|
|
1632
|
+
backend: z.ZodString;
|
|
1633
|
+
traceId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1634
|
+
spanId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1635
|
+
component: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1636
|
+
componentKind: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1637
|
+
latestSkipped: z.ZodDefault<z.ZodBoolean>;
|
|
1638
|
+
}, z.core.$strip>>>;
|
|
1639
|
+
}, z.core.$strip>;
|
|
1640
|
+
export type SecretReadsPage = z.infer<typeof secretReadsPageSchema>;
|
|
1641
|
+
/** One line of history's backups: `phase` is `backing up`, `failing` or `not backed up`. */
|
|
1642
|
+
export declare const backupLineSchema: z.ZodObject<{
|
|
1643
|
+
line: z.ZodString;
|
|
1644
|
+
cluster: z.ZodString;
|
|
1645
|
+
phase: z.ZodString;
|
|
1646
|
+
lastBaseBackup: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1647
|
+
firstRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1648
|
+
lastRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1649
|
+
archiveLagSeconds: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1650
|
+
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1651
|
+
copiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1652
|
+
}, z.core.$strip>;
|
|
1653
|
+
export type BackupLine = z.infer<typeof backupLineSchema>;
|
|
1654
|
+
export declare const projectDatabaseSchema: z.ZodObject<{
|
|
1655
|
+
cluster: z.ZodString;
|
|
1656
|
+
instances: z.ZodNumber;
|
|
1657
|
+
readyInstances: z.ZodNumber;
|
|
1658
|
+
primary: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1659
|
+
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
1660
|
+
writesWaitingOn: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1661
|
+
}, z.core.$strip>;
|
|
1662
|
+
export type ProjectDatabase = z.infer<typeof projectDatabaseSchema>;
|
|
1663
|
+
/** One of the project's database clusters: `live`, a `restore`, or `left` once every service has left it. */
|
|
1664
|
+
export declare const projectClusterSchema: z.ZodObject<{
|
|
1665
|
+
name: z.ZodString;
|
|
1666
|
+
line: z.ZodString;
|
|
1667
|
+
phase: z.ZodString;
|
|
1668
|
+
services: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1669
|
+
since: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1670
|
+
leftAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1671
|
+
}, z.core.$strip>;
|
|
1672
|
+
export type ProjectCluster = z.infer<typeof projectClusterSchema>;
|
|
1673
|
+
/** What one service's database holds in a restore or a rehearsal; secrets by name only. */
|
|
1674
|
+
export declare const serviceVerificationSchema: z.ZodObject<{
|
|
1675
|
+
name: z.ZodString;
|
|
1676
|
+
present: z.ZodBoolean;
|
|
1677
|
+
journalRows: z.ZodDefault<z.ZodNumber>;
|
|
1678
|
+
stateRows: z.ZodDefault<z.ZodNumber>;
|
|
1679
|
+
offsetRows: z.ZodDefault<z.ZodNumber>;
|
|
1680
|
+
timerRows: z.ZodDefault<z.ZodNumber>;
|
|
1681
|
+
highestSequence: z.ZodDefault<z.ZodNumber>;
|
|
1682
|
+
changedSecrets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1683
|
+
}, z.core.$strip>;
|
|
1684
|
+
export type ServiceVerification = z.infer<typeof serviceVerificationSchema>;
|
|
1685
|
+
/** A topic past a restore's moment: messages newer than it, and how many of them a group has read. */
|
|
1686
|
+
export declare const topicDivergenceSchema: z.ZodObject<{
|
|
1687
|
+
topic: z.ZodString;
|
|
1688
|
+
group: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1689
|
+
after: z.ZodDefault<z.ZodNumber>;
|
|
1690
|
+
read: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1691
|
+
services: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1692
|
+
}, z.core.$strip>;
|
|
1693
|
+
export type TopicDivergence = z.infer<typeof topicDivergenceSchema>;
|
|
1694
|
+
/** A restore: `Restoring`, `Verified`, `Failed` or `InUse`, with what each service's database holds. */
|
|
1695
|
+
export declare const restoreViewSchema: z.ZodObject<{
|
|
1696
|
+
name: z.ZodString;
|
|
1697
|
+
line: z.ZodString;
|
|
1698
|
+
moment: z.ZodString;
|
|
1699
|
+
phase: z.ZodString;
|
|
1700
|
+
requestedBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1701
|
+
requestedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1702
|
+
reachedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1703
|
+
services: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1704
|
+
name: z.ZodString;
|
|
1705
|
+
present: z.ZodBoolean;
|
|
1706
|
+
journalRows: z.ZodDefault<z.ZodNumber>;
|
|
1707
|
+
stateRows: z.ZodDefault<z.ZodNumber>;
|
|
1708
|
+
offsetRows: z.ZodDefault<z.ZodNumber>;
|
|
1709
|
+
timerRows: z.ZodDefault<z.ZodNumber>;
|
|
1710
|
+
highestSequence: z.ZodDefault<z.ZodNumber>;
|
|
1711
|
+
changedSecrets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1712
|
+
}, z.core.$strip>>>;
|
|
1713
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1714
|
+
broker: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1715
|
+
topic: z.ZodString;
|
|
1716
|
+
group: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1717
|
+
after: z.ZodDefault<z.ZodNumber>;
|
|
1718
|
+
read: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1719
|
+
services: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1720
|
+
}, z.core.$strip>>>;
|
|
1721
|
+
notAsked: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1722
|
+
note: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1723
|
+
}, z.core.$strip>;
|
|
1724
|
+
export type RestoreView = z.infer<typeof restoreViewSchema>;
|
|
1725
|
+
/** A rehearsal: `Running`, `Completed`, `Failed` or `NotRemoved`, and how long it took. */
|
|
1726
|
+
export declare const rehearsalViewSchema: z.ZodObject<{
|
|
1727
|
+
name: z.ZodString;
|
|
1728
|
+
line: z.ZodString;
|
|
1729
|
+
moment: z.ZodString;
|
|
1730
|
+
outcome: z.ZodString;
|
|
1731
|
+
requestedBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1732
|
+
requestedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1733
|
+
elapsedSeconds: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1734
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1735
|
+
services: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1736
|
+
name: z.ZodString;
|
|
1737
|
+
present: z.ZodBoolean;
|
|
1738
|
+
journalRows: z.ZodDefault<z.ZodNumber>;
|
|
1739
|
+
stateRows: z.ZodDefault<z.ZodNumber>;
|
|
1740
|
+
offsetRows: z.ZodDefault<z.ZodNumber>;
|
|
1741
|
+
timerRows: z.ZodDefault<z.ZodNumber>;
|
|
1742
|
+
highestSequence: z.ZodDefault<z.ZodNumber>;
|
|
1743
|
+
changedSecrets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1744
|
+
}, z.core.$strip>>>;
|
|
1745
|
+
}, z.core.$strip>;
|
|
1746
|
+
export type RehearsalView = z.infer<typeof rehearsalViewSchema>;
|
|
1747
|
+
export declare const projectStatusSchema: z.ZodObject<{
|
|
1748
|
+
id: z.ZodString;
|
|
1749
|
+
backedUp: z.ZodBoolean;
|
|
1750
|
+
target: z.ZodString;
|
|
1751
|
+
lines: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1752
|
+
line: z.ZodString;
|
|
1753
|
+
cluster: z.ZodString;
|
|
1754
|
+
phase: z.ZodString;
|
|
1755
|
+
lastBaseBackup: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1756
|
+
firstRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1757
|
+
lastRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1758
|
+
archiveLagSeconds: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1759
|
+
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1760
|
+
copiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1761
|
+
}, z.core.$strip>>>;
|
|
1762
|
+
database: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1763
|
+
cluster: z.ZodString;
|
|
1764
|
+
instances: z.ZodNumber;
|
|
1765
|
+
readyInstances: z.ZodNumber;
|
|
1766
|
+
primary: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1767
|
+
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
1768
|
+
writesWaitingOn: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1769
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1770
|
+
cluster: string;
|
|
1771
|
+
instances: number;
|
|
1772
|
+
readyInstances: number;
|
|
1773
|
+
primary: string | undefined;
|
|
1774
|
+
synchronous: boolean;
|
|
1775
|
+
writesWaitingOn: string | undefined;
|
|
1776
|
+
} | undefined, {
|
|
1777
|
+
cluster: string;
|
|
1778
|
+
instances: number;
|
|
1779
|
+
readyInstances: number;
|
|
1780
|
+
primary: string | undefined;
|
|
1781
|
+
synchronous: boolean;
|
|
1782
|
+
writesWaitingOn: string | undefined;
|
|
1783
|
+
} | null | undefined>>;
|
|
1784
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1785
|
+
clusters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1786
|
+
name: z.ZodString;
|
|
1787
|
+
line: z.ZodString;
|
|
1788
|
+
phase: z.ZodString;
|
|
1789
|
+
services: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1790
|
+
since: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1791
|
+
leftAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1792
|
+
}, z.core.$strip>>>;
|
|
1793
|
+
restores: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1794
|
+
name: z.ZodString;
|
|
1795
|
+
line: z.ZodString;
|
|
1796
|
+
moment: z.ZodString;
|
|
1797
|
+
phase: z.ZodString;
|
|
1798
|
+
requestedBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1799
|
+
requestedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1800
|
+
reachedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1801
|
+
services: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1802
|
+
name: z.ZodString;
|
|
1803
|
+
present: z.ZodBoolean;
|
|
1804
|
+
journalRows: z.ZodDefault<z.ZodNumber>;
|
|
1805
|
+
stateRows: z.ZodDefault<z.ZodNumber>;
|
|
1806
|
+
offsetRows: z.ZodDefault<z.ZodNumber>;
|
|
1807
|
+
timerRows: z.ZodDefault<z.ZodNumber>;
|
|
1808
|
+
highestSequence: z.ZodDefault<z.ZodNumber>;
|
|
1809
|
+
changedSecrets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1810
|
+
}, z.core.$strip>>>;
|
|
1811
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1812
|
+
broker: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1813
|
+
topic: z.ZodString;
|
|
1814
|
+
group: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1815
|
+
after: z.ZodDefault<z.ZodNumber>;
|
|
1816
|
+
read: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1817
|
+
services: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1818
|
+
}, z.core.$strip>>>;
|
|
1819
|
+
notAsked: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1820
|
+
note: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1821
|
+
}, z.core.$strip>>>;
|
|
1822
|
+
rehearsal: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1823
|
+
name: z.ZodString;
|
|
1824
|
+
line: z.ZodString;
|
|
1825
|
+
moment: z.ZodString;
|
|
1826
|
+
outcome: z.ZodString;
|
|
1827
|
+
requestedBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1828
|
+
requestedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1829
|
+
elapsedSeconds: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1830
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1831
|
+
services: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1832
|
+
name: z.ZodString;
|
|
1833
|
+
present: z.ZodBoolean;
|
|
1834
|
+
journalRows: z.ZodDefault<z.ZodNumber>;
|
|
1835
|
+
stateRows: z.ZodDefault<z.ZodNumber>;
|
|
1836
|
+
offsetRows: z.ZodDefault<z.ZodNumber>;
|
|
1837
|
+
timerRows: z.ZodDefault<z.ZodNumber>;
|
|
1838
|
+
highestSequence: z.ZodDefault<z.ZodNumber>;
|
|
1839
|
+
changedSecrets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1840
|
+
}, z.core.$strip>>>;
|
|
1841
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1842
|
+
name: string;
|
|
1843
|
+
line: string;
|
|
1844
|
+
moment: string;
|
|
1845
|
+
outcome: string;
|
|
1846
|
+
requestedBy: string | undefined;
|
|
1847
|
+
requestedAt: string | undefined;
|
|
1848
|
+
elapsedSeconds: number | undefined;
|
|
1849
|
+
detail: string | undefined;
|
|
1850
|
+
services: {
|
|
1851
|
+
name: string;
|
|
1852
|
+
present: boolean;
|
|
1853
|
+
journalRows: number;
|
|
1854
|
+
stateRows: number;
|
|
1855
|
+
offsetRows: number;
|
|
1856
|
+
timerRows: number;
|
|
1857
|
+
highestSequence: number;
|
|
1858
|
+
changedSecrets: string[];
|
|
1859
|
+
}[];
|
|
1860
|
+
} | undefined, {
|
|
1861
|
+
name: string;
|
|
1862
|
+
line: string;
|
|
1863
|
+
moment: string;
|
|
1864
|
+
outcome: string;
|
|
1865
|
+
requestedBy: string | undefined;
|
|
1866
|
+
requestedAt: string | undefined;
|
|
1867
|
+
elapsedSeconds: number | undefined;
|
|
1868
|
+
detail: string | undefined;
|
|
1869
|
+
services: {
|
|
1870
|
+
name: string;
|
|
1871
|
+
present: boolean;
|
|
1872
|
+
journalRows: number;
|
|
1873
|
+
stateRows: number;
|
|
1874
|
+
offsetRows: number;
|
|
1875
|
+
timerRows: number;
|
|
1876
|
+
highestSequence: number;
|
|
1877
|
+
changedSecrets: string[];
|
|
1878
|
+
}[];
|
|
1879
|
+
} | null | undefined>>;
|
|
1880
|
+
}, z.core.$strip>;
|
|
1881
|
+
export type ProjectStatus = z.infer<typeof projectStatusSchema>;
|
|
1882
|
+
export declare const secondaryStoreSchema: z.ZodObject<{
|
|
1883
|
+
lastCompleted: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1884
|
+
lastFailed: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1885
|
+
failure: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1886
|
+
buckets: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1887
|
+
deletedObjects: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1888
|
+
}, z.core.$strip>;
|
|
1889
|
+
export type SecondaryStore = z.infer<typeof secondaryStoreSchema>;
|
|
1890
|
+
export declare const installationStatusSchema: z.ZodObject<{
|
|
1891
|
+
backupTarget: z.ZodString;
|
|
1892
|
+
retentionDays: z.ZodNumber;
|
|
1893
|
+
copyRequired: z.ZodBoolean;
|
|
1894
|
+
sharesFailureDomain: z.ZodBoolean;
|
|
1895
|
+
encryption: z.ZodString;
|
|
1896
|
+
controlPlane: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1897
|
+
line: z.ZodString;
|
|
1898
|
+
cluster: z.ZodString;
|
|
1899
|
+
phase: z.ZodString;
|
|
1900
|
+
lastBaseBackup: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1901
|
+
firstRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1902
|
+
lastRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1903
|
+
archiveLagSeconds: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1904
|
+
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1905
|
+
copiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1906
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1907
|
+
line: string;
|
|
1908
|
+
cluster: string;
|
|
1909
|
+
phase: string;
|
|
1910
|
+
lastBaseBackup: string | undefined;
|
|
1911
|
+
firstRestorable: string | undefined;
|
|
1912
|
+
lastRestorable: string | undefined;
|
|
1913
|
+
archiveLagSeconds: number | undefined;
|
|
1914
|
+
failing: string | undefined;
|
|
1915
|
+
copiedAt: string | undefined;
|
|
1916
|
+
} | undefined, {
|
|
1917
|
+
line: string;
|
|
1918
|
+
cluster: string;
|
|
1919
|
+
phase: string;
|
|
1920
|
+
lastBaseBackup: string | undefined;
|
|
1921
|
+
firstRestorable: string | undefined;
|
|
1922
|
+
lastRestorable: string | undefined;
|
|
1923
|
+
archiveLagSeconds: number | undefined;
|
|
1924
|
+
failing: string | undefined;
|
|
1925
|
+
copiedAt: string | undefined;
|
|
1926
|
+
} | null | undefined>>;
|
|
1927
|
+
notBackedUp: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1928
|
+
secondaryStore: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1929
|
+
lastCompleted: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1930
|
+
lastFailed: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1931
|
+
failure: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1932
|
+
buckets: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1933
|
+
deletedObjects: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1934
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1935
|
+
lastCompleted: string | undefined;
|
|
1936
|
+
lastFailed: string | undefined;
|
|
1937
|
+
failure: string | undefined;
|
|
1938
|
+
buckets: number | undefined;
|
|
1939
|
+
deletedObjects: number | undefined;
|
|
1940
|
+
} | undefined, {
|
|
1941
|
+
lastCompleted: string | undefined;
|
|
1942
|
+
lastFailed: string | undefined;
|
|
1943
|
+
failure: string | undefined;
|
|
1944
|
+
buckets: number | undefined;
|
|
1945
|
+
deletedObjects: number | undefined;
|
|
1946
|
+
} | null | undefined>>;
|
|
1947
|
+
}, z.core.$strip>;
|
|
1948
|
+
export type InstallationStatus = z.infer<typeof installationStatusSchema>;
|
|
1949
|
+
export declare const serviceDifferenceSchema: z.ZodObject<{
|
|
1950
|
+
project: z.ZodString;
|
|
1951
|
+
service: z.ZodString;
|
|
1952
|
+
recordedGeneration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1953
|
+
clusterGeneration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1954
|
+
recordedImage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1955
|
+
clusterImage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1956
|
+
}, z.core.$strip>;
|
|
1957
|
+
export type ServiceDifference = z.infer<typeof serviceDifferenceSchema>;
|
|
1958
|
+
/** Whether the control plane is held after its own database was restored, and what differs. */
|
|
1959
|
+
export declare const restoreHoldStatusSchema: z.ZodObject<{
|
|
1960
|
+
held: z.ZodBoolean;
|
|
1961
|
+
restoredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1962
|
+
targetTime: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1963
|
+
releasedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1964
|
+
releasedBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1965
|
+
services: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1966
|
+
project: z.ZodString;
|
|
1967
|
+
service: z.ZodString;
|
|
1968
|
+
recordedGeneration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1969
|
+
clusterGeneration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1970
|
+
recordedImage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1971
|
+
clusterImage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1972
|
+
}, z.core.$strip>>>;
|
|
1973
|
+
topics: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1974
|
+
unknownProjects: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1975
|
+
reconciled: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1976
|
+
}, z.core.$strip>;
|
|
1977
|
+
export type RestoreHoldStatus = z.infer<typeof restoreHoldStatusSchema>;
|
|
1978
|
+
/** `POST /projects/{id}/restores`: the moment, and the line when services are on more than one. */
|
|
1979
|
+
export declare const restoreRequestSchema: z.ZodObject<{
|
|
1980
|
+
moment: z.ZodString;
|
|
1981
|
+
line: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1982
|
+
}, z.core.$strip>;
|
|
1983
|
+
export type RestoreRequest = z.input<typeof restoreRequestSchema>;
|
|
1984
|
+
/** `POST /services/{p}/{n}/switch`: the cluster to move the service to. */
|
|
1985
|
+
export declare const switchRequestSchema: z.ZodObject<{
|
|
1986
|
+
cluster: z.ZodString;
|
|
1987
|
+
}, z.core.$strip>;
|
|
1988
|
+
export type SwitchRequest = z.input<typeof switchRequestSchema>;
|
|
1989
|
+
/** `POST /projects/{id}/rehearsals`: both may be left out, for the latest restorable moment. */
|
|
1990
|
+
export declare const rehearsalRequestSchema: z.ZodObject<{
|
|
1991
|
+
moment: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1992
|
+
line: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1993
|
+
}, z.core.$strip>;
|
|
1994
|
+
export type RehearsalRequest = z.input<typeof rehearsalRequestSchema>;
|
|
1995
|
+
export declare const credentialReissuedSchema: z.ZodObject<{
|
|
1996
|
+
project: z.ZodString;
|
|
1997
|
+
generation: z.ZodNumber;
|
|
1998
|
+
}, z.core.$strip>;
|
|
1999
|
+
export type CredentialReissued = z.infer<typeof credentialReissuedSchema>;
|
|
2000
|
+
/** What a project asks of its database, whole. */
|
|
2001
|
+
export declare const databaseSettingSchema: z.ZodObject<{
|
|
2002
|
+
replicas: z.ZodDefault<z.ZodNumber>;
|
|
2003
|
+
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
2004
|
+
retentionDays: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2005
|
+
rehearse: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2006
|
+
}, z.core.$strip>;
|
|
2007
|
+
export type DatabaseSetting = z.infer<typeof databaseSettingSchema>;
|
|
2008
|
+
/**
|
|
2009
|
+
* Who did what to a project: to its database, or to the topic `topic` names, with each setting it
|
|
2010
|
+
* changed (feature 043).
|
|
2011
|
+
*/
|
|
2012
|
+
export declare const projectHistoryViewSchema: z.ZodObject<{
|
|
2013
|
+
kind: z.ZodString;
|
|
2014
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2015
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2016
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2017
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2018
|
+
changes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2019
|
+
setting: z.ZodString;
|
|
2020
|
+
from: z.ZodString;
|
|
2021
|
+
to: z.ZodString;
|
|
2022
|
+
}, z.core.$strip>>>;
|
|
2023
|
+
}, z.core.$strip>;
|
|
2024
|
+
export type ProjectHistoryView = z.infer<typeof projectHistoryViewSchema>;
|
|
2025
|
+
/** What a grant opens: one route, one gRPC method, one topic with one right, or the erasure. */
|
|
2026
|
+
export declare const grantTargetSchema: z.ZodObject<{
|
|
2027
|
+
kind: z.ZodString;
|
|
2028
|
+
service: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2029
|
+
method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2030
|
+
path: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2031
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2032
|
+
right: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2033
|
+
decrypt: z.ZodDefault<z.ZodBoolean>;
|
|
2034
|
+
}, z.core.$strip>;
|
|
2035
|
+
export type GrantTarget = z.infer<typeof grantTargetSchema>;
|
|
2036
|
+
/** Who did something to a grant, and when. */
|
|
2037
|
+
export declare const grantActSchema: z.ZodObject<{
|
|
2038
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2039
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2040
|
+
}, z.core.$strip>;
|
|
2041
|
+
export type GrantAct = z.infer<typeof grantActSchema>;
|
|
2042
|
+
export declare const grantRequestSchema: z.ZodObject<{
|
|
2043
|
+
grantee: z.ZodString;
|
|
2044
|
+
target: z.ZodObject<{
|
|
2045
|
+
kind: z.ZodString;
|
|
2046
|
+
service: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2047
|
+
method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2048
|
+
path: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2049
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2050
|
+
right: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2051
|
+
decrypt: z.ZodDefault<z.ZodBoolean>;
|
|
2052
|
+
}, z.core.$strip>;
|
|
2053
|
+
}, z.core.$strip>;
|
|
2054
|
+
export type GrantRequest = z.infer<typeof grantRequestSchema>;
|
|
2055
|
+
/** A grant as its project lists it; `effect` is `in effect`, or why not. */
|
|
2056
|
+
export declare const grantDetailSchema: z.ZodObject<{
|
|
2057
|
+
id: z.ZodString;
|
|
2058
|
+
grantee: z.ZodString;
|
|
2059
|
+
target: z.ZodObject<{
|
|
2060
|
+
kind: z.ZodString;
|
|
2061
|
+
service: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2062
|
+
method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2063
|
+
path: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2064
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2065
|
+
right: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2066
|
+
decrypt: z.ZodDefault<z.ZodBoolean>;
|
|
2067
|
+
}, z.core.$strip>;
|
|
2068
|
+
state: z.ZodString;
|
|
2069
|
+
effect: z.ZodString;
|
|
2070
|
+
granted: z.ZodObject<{
|
|
2071
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2072
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2073
|
+
}, z.core.$strip>;
|
|
2074
|
+
answered: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2075
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2076
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2077
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
2078
|
+
by: string | undefined;
|
|
2079
|
+
at: string | undefined;
|
|
2080
|
+
} | undefined, {
|
|
2081
|
+
by: string | undefined;
|
|
2082
|
+
at: string | undefined;
|
|
2083
|
+
} | null | undefined>>;
|
|
2084
|
+
ended: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2085
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2086
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2087
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
2088
|
+
by: string | undefined;
|
|
2089
|
+
at: string | undefined;
|
|
2090
|
+
} | undefined, {
|
|
2091
|
+
by: string | undefined;
|
|
2092
|
+
at: string | undefined;
|
|
2093
|
+
} | null | undefined>>;
|
|
2094
|
+
}, z.core.$strip>;
|
|
2095
|
+
export type GrantDetail = z.infer<typeof grantDetailSchema>;
|
|
2096
|
+
export declare const grantChangeRecordSchema: z.ZodObject<{
|
|
2097
|
+
change: z.ZodString;
|
|
2098
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2099
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2100
|
+
}, z.core.$strip>;
|
|
2101
|
+
export declare const topicSettingsSchema: z.ZodObject<{
|
|
2102
|
+
partitions: z.ZodNumber;
|
|
2103
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
2104
|
+
retention: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2105
|
+
copies: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2106
|
+
}, z.core.$strip>;
|
|
2107
|
+
/** A grant as its grantee's side records it. */
|
|
2108
|
+
export declare const receivedGrantDetailSchema: z.ZodObject<{
|
|
2109
|
+
id: z.ZodString;
|
|
2110
|
+
grantingProject: z.ZodString;
|
|
2111
|
+
grantingOrganization: z.ZodString;
|
|
2112
|
+
grantee: z.ZodString;
|
|
2113
|
+
target: z.ZodObject<{
|
|
2114
|
+
kind: z.ZodString;
|
|
2115
|
+
service: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2116
|
+
method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2117
|
+
path: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2118
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2119
|
+
right: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2120
|
+
decrypt: z.ZodDefault<z.ZodBoolean>;
|
|
2121
|
+
}, z.core.$strip>;
|
|
2122
|
+
state: z.ZodString;
|
|
2123
|
+
changes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2124
|
+
change: z.ZodString;
|
|
2125
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2126
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2127
|
+
}, z.core.$strip>>>;
|
|
2128
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2129
|
+
partitions: z.ZodNumber;
|
|
2130
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
2131
|
+
retention: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2132
|
+
copies: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2133
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
2134
|
+
partitions: number;
|
|
2135
|
+
compacted: boolean;
|
|
2136
|
+
retention: string | undefined;
|
|
2137
|
+
copies: number | undefined;
|
|
2138
|
+
} | undefined, {
|
|
2139
|
+
partitions: number;
|
|
2140
|
+
compacted: boolean;
|
|
2141
|
+
retention: string | undefined;
|
|
2142
|
+
copies: number | undefined;
|
|
2143
|
+
} | null | undefined>>;
|
|
2144
|
+
}, z.core.$strip>;
|
|
2145
|
+
export type ReceivedGrantDetail = z.infer<typeof receivedGrantDetailSchema>;
|
|
2146
|
+
export declare const machineRegistrationSchema: z.ZodObject<{
|
|
2147
|
+
name: z.ZodString;
|
|
2148
|
+
}, z.core.$strip>;
|
|
2149
|
+
/** A machine just registered: its secret, shown this once. */
|
|
2150
|
+
export declare const machineRegisteredSchema: z.ZodObject<{
|
|
2151
|
+
name: z.ZodString;
|
|
2152
|
+
clientId: z.ZodString;
|
|
2153
|
+
clientSecret: z.ZodString;
|
|
2154
|
+
tokenUrl: z.ZodString;
|
|
2155
|
+
brokerBootstrap: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2156
|
+
}, z.core.$strip>;
|
|
2157
|
+
export type MachineRegistered = z.infer<typeof machineRegisteredSchema>;
|
|
2158
|
+
export declare const byteRatesRequestSchema: z.ZodObject<{
|
|
2159
|
+
produceBytesPerSecond: z.ZodNumber;
|
|
2160
|
+
consumeBytesPerSecond: z.ZodNumber;
|
|
2161
|
+
requestPercentage: z.ZodNumber;
|
|
2162
|
+
}, z.core.$strip>;
|
|
2163
|
+
export type ByteRatesRequest = z.infer<typeof byteRatesRequestSchema>;
|
|
2164
|
+
export declare const machineSummarySchema: z.ZodObject<{
|
|
2165
|
+
name: z.ZodString;
|
|
2166
|
+
clientId: z.ZodString;
|
|
2167
|
+
registeredBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2168
|
+
registeredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2169
|
+
byteRates: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2170
|
+
produceBytesPerSecond: z.ZodNumber;
|
|
2171
|
+
consumeBytesPerSecond: z.ZodNumber;
|
|
2172
|
+
requestPercentage: z.ZodNumber;
|
|
2173
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
2174
|
+
produceBytesPerSecond: number;
|
|
2175
|
+
consumeBytesPerSecond: number;
|
|
2176
|
+
requestPercentage: number;
|
|
2177
|
+
} | undefined, {
|
|
2178
|
+
produceBytesPerSecond: number;
|
|
2179
|
+
consumeBytesPerSecond: number;
|
|
2180
|
+
requestPercentage: number;
|
|
2181
|
+
} | null | undefined>>;
|
|
2182
|
+
}, z.core.$strip>;
|
|
2183
|
+
export type MachineSummary = z.infer<typeof machineSummarySchema>;
|
|
2184
|
+
export declare const tokenResponseSchema: z.ZodObject<{
|
|
2185
|
+
access_token: z.ZodString;
|
|
2186
|
+
token_type: z.ZodString;
|
|
2187
|
+
expires_in: z.ZodNumber;
|
|
2188
|
+
}, z.core.$strip>;
|
|
2189
|
+
export declare const jsonWebKeySetSchema: z.ZodObject<{
|
|
2190
|
+
keys: z.ZodArray<z.ZodObject<{
|
|
2191
|
+
kty: z.ZodString;
|
|
2192
|
+
use: z.ZodString;
|
|
2193
|
+
alg: z.ZodString;
|
|
2194
|
+
kid: z.ZodString;
|
|
2195
|
+
n: z.ZodString;
|
|
2196
|
+
e: z.ZodString;
|
|
2197
|
+
}, z.core.$strip>>;
|
|
2198
|
+
}, z.core.$strip>;
|
|
364
2199
|
/** Every schema by the Scala type's name, as the fixture files name them. */
|
|
365
2200
|
export declare const schemasByType: Record<string, z.ZodType>;
|