ankka-console 0.11.0 → 0.13.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/ankka-mark.png +0 -0
- package/dist/client/control-plane.d.ts +63 -1
- package/dist/client/control-plane.js +142 -1
- package/dist/client/schemas.d.ts +1460 -2
- package/dist/client/schemas.js +462 -2
- package/dist/context.d.ts +1 -1
- package/dist/context.js +1 -1
- package/dist/extensions/types.d.ts +1 -1
- package/dist/extensions/types.js +22 -0
- package/dist/routes/front.d.ts +76 -2
- package/dist/routes/front.js +37 -8
- package/dist/routes/logs.d.ts +67 -0
- package/dist/routes/machines.d.ts +78 -0
- package/dist/routes/machines.js +78 -0
- package/dist/routes/organization.d.ts +29 -1
- package/dist/routes/organization.js +27 -5
- package/dist/routes/project.d.ts +285 -1
- package/dist/routes/project.js +107 -6
- package/dist/routes/service-history.d.ts +2 -0
- package/dist/routes/service-history.js +3 -0
- package/dist/routes/service-topology.d.ts +67 -0
- package/dist/routes/service.d.ts +67 -0
- package/dist/routes/service.js +64 -4
- package/dist/routes.js +1 -0
- package/dist/runtime.d.ts +3 -1
- package/dist/runtime.js +1 -0
- package/dist/styles.css +1 -1
- package/dist/testing/fake-control-plane.d.ts +193 -1
- package/dist/testing/fake-control-plane.js +840 -7
- package/dist/ui/buckets.d.ts +14 -0
- package/dist/ui/buckets.js +9 -0
- package/dist/ui/grants.d.ts +3 -0
- package/dist/ui/grants.js +13 -0
- package/dist/ui/shell.d.ts +1 -1
- package/dist/ui/shell.js +14 -3
- package/dist/ui/topology/Table.d.ts +8 -0
- package/dist/ui/topology/Table.js +8 -1
- package/dist/ui/use-stream.d.ts +134 -0
- package/package.json +1 -1
package/dist/client/schemas.d.ts
CHANGED
|
@@ -53,6 +53,243 @@ 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
|
+
/** One model the installation's model server declares: its state, and its digest once served (feature 053). */
|
|
72
|
+
export declare const modelLineSchema: z.ZodObject<{
|
|
73
|
+
name: z.ZodString;
|
|
74
|
+
state: z.ZodString;
|
|
75
|
+
digest: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
76
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
export type ModelLine = z.infer<typeof modelLineSchema>;
|
|
79
|
+
/** One cluster's model server, read live through its door. */
|
|
80
|
+
export declare const clusterModelsSchema: z.ZodObject<{
|
|
81
|
+
cluster: z.ZodString;
|
|
82
|
+
server: z.ZodString;
|
|
83
|
+
ready: z.ZodBoolean;
|
|
84
|
+
models: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
85
|
+
name: z.ZodString;
|
|
86
|
+
state: z.ZodString;
|
|
87
|
+
digest: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
88
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
89
|
+
}, z.core.$strip>>>;
|
|
90
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
export type ClusterModels = z.infer<typeof clusterModelsSchema>;
|
|
93
|
+
export declare const installationModelsSchema: z.ZodObject<{
|
|
94
|
+
clusters: z.ZodArray<z.ZodObject<{
|
|
95
|
+
cluster: z.ZodString;
|
|
96
|
+
server: z.ZodString;
|
|
97
|
+
ready: z.ZodBoolean;
|
|
98
|
+
models: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
99
|
+
name: z.ZodString;
|
|
100
|
+
state: z.ZodString;
|
|
101
|
+
digest: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
102
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
103
|
+
}, z.core.$strip>>>;
|
|
104
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
105
|
+
}, z.core.$strip>>;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
export type InstallationModels = z.infer<typeof installationModelsSchema>;
|
|
108
|
+
/**
|
|
109
|
+
* `GET /installation`: the platform's version, and its cloud when it names a provider; and its
|
|
110
|
+
* backups (feature 041); where it keeps its secrets (feature 038); and its model server (feature 053).
|
|
111
|
+
*/
|
|
112
|
+
export declare const installationSchema: z.ZodObject<{
|
|
113
|
+
platformVersion: z.ZodString;
|
|
114
|
+
cloud: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
115
|
+
provider: z.ZodString;
|
|
116
|
+
account: z.ZodString;
|
|
117
|
+
location: z.ZodString;
|
|
118
|
+
kmsKey: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
119
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
120
|
+
provider: string;
|
|
121
|
+
account: string;
|
|
122
|
+
location: string;
|
|
123
|
+
kmsKey: string | undefined;
|
|
124
|
+
} | undefined, {
|
|
125
|
+
provider: string;
|
|
126
|
+
account: string;
|
|
127
|
+
location: string;
|
|
128
|
+
kmsKey: string | undefined;
|
|
129
|
+
} | null | undefined>>;
|
|
130
|
+
backups: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
131
|
+
backupTarget: z.ZodString;
|
|
132
|
+
retentionDays: z.ZodNumber;
|
|
133
|
+
copyRequired: z.ZodBoolean;
|
|
134
|
+
sharesFailureDomain: z.ZodBoolean;
|
|
135
|
+
encryption: z.ZodString;
|
|
136
|
+
controlPlane: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
137
|
+
line: z.ZodString;
|
|
138
|
+
cluster: z.ZodString;
|
|
139
|
+
phase: z.ZodString;
|
|
140
|
+
lastBaseBackup: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
141
|
+
firstRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
142
|
+
lastRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
143
|
+
archiveLagSeconds: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
144
|
+
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
145
|
+
copiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
146
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
147
|
+
line: string;
|
|
148
|
+
cluster: string;
|
|
149
|
+
phase: string;
|
|
150
|
+
lastBaseBackup: string | undefined;
|
|
151
|
+
firstRestorable: string | undefined;
|
|
152
|
+
lastRestorable: string | undefined;
|
|
153
|
+
archiveLagSeconds: number | undefined;
|
|
154
|
+
failing: string | undefined;
|
|
155
|
+
copiedAt: string | undefined;
|
|
156
|
+
} | undefined, {
|
|
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
|
+
} | null | undefined>>;
|
|
167
|
+
notBackedUp: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
168
|
+
secondaryStore: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
169
|
+
lastCompleted: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
170
|
+
lastFailed: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
171
|
+
failure: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
172
|
+
buckets: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
173
|
+
deletedObjects: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
174
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
175
|
+
lastCompleted: string | undefined;
|
|
176
|
+
lastFailed: string | undefined;
|
|
177
|
+
failure: string | undefined;
|
|
178
|
+
buckets: number | undefined;
|
|
179
|
+
deletedObjects: number | undefined;
|
|
180
|
+
} | undefined, {
|
|
181
|
+
lastCompleted: string | undefined;
|
|
182
|
+
lastFailed: string | undefined;
|
|
183
|
+
failure: string | undefined;
|
|
184
|
+
buckets: number | undefined;
|
|
185
|
+
deletedObjects: number | undefined;
|
|
186
|
+
} | null | undefined>>;
|
|
187
|
+
}, z.core.$strip>>>>, z.ZodTransform<{
|
|
188
|
+
backupTarget: string;
|
|
189
|
+
retentionDays: number;
|
|
190
|
+
copyRequired: boolean;
|
|
191
|
+
sharesFailureDomain: boolean;
|
|
192
|
+
encryption: string;
|
|
193
|
+
controlPlane: {
|
|
194
|
+
line: string;
|
|
195
|
+
cluster: string;
|
|
196
|
+
phase: string;
|
|
197
|
+
lastBaseBackup: string | undefined;
|
|
198
|
+
firstRestorable: string | undefined;
|
|
199
|
+
lastRestorable: string | undefined;
|
|
200
|
+
archiveLagSeconds: number | undefined;
|
|
201
|
+
failing: string | undefined;
|
|
202
|
+
copiedAt: string | undefined;
|
|
203
|
+
} | undefined;
|
|
204
|
+
notBackedUp: string | undefined;
|
|
205
|
+
secondaryStore: {
|
|
206
|
+
lastCompleted: string | undefined;
|
|
207
|
+
lastFailed: string | undefined;
|
|
208
|
+
failure: string | undefined;
|
|
209
|
+
buckets: number | undefined;
|
|
210
|
+
deletedObjects: number | undefined;
|
|
211
|
+
} | undefined;
|
|
212
|
+
} | undefined, {
|
|
213
|
+
backupTarget: string;
|
|
214
|
+
retentionDays: number;
|
|
215
|
+
copyRequired: boolean;
|
|
216
|
+
sharesFailureDomain: boolean;
|
|
217
|
+
encryption: string;
|
|
218
|
+
controlPlane: {
|
|
219
|
+
line: string;
|
|
220
|
+
cluster: string;
|
|
221
|
+
phase: string;
|
|
222
|
+
lastBaseBackup: string | undefined;
|
|
223
|
+
firstRestorable: string | undefined;
|
|
224
|
+
lastRestorable: string | undefined;
|
|
225
|
+
archiveLagSeconds: number | undefined;
|
|
226
|
+
failing: string | undefined;
|
|
227
|
+
copiedAt: string | undefined;
|
|
228
|
+
} | undefined;
|
|
229
|
+
notBackedUp: string | undefined;
|
|
230
|
+
secondaryStore: {
|
|
231
|
+
lastCompleted: string | undefined;
|
|
232
|
+
lastFailed: string | undefined;
|
|
233
|
+
failure: string | undefined;
|
|
234
|
+
buckets: number | undefined;
|
|
235
|
+
deletedObjects: number | undefined;
|
|
236
|
+
} | undefined;
|
|
237
|
+
} | null | undefined>>;
|
|
238
|
+
secrets: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
239
|
+
backend: z.ZodString;
|
|
240
|
+
recordRetention: z.ZodString;
|
|
241
|
+
auditLog: z.ZodDefault<z.ZodString>;
|
|
242
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
243
|
+
backend: string;
|
|
244
|
+
recordRetention: string;
|
|
245
|
+
auditLog: string;
|
|
246
|
+
} | undefined, {
|
|
247
|
+
backend: string;
|
|
248
|
+
recordRetention: string;
|
|
249
|
+
auditLog: string;
|
|
250
|
+
} | null | undefined>>;
|
|
251
|
+
models: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
252
|
+
clusters: z.ZodArray<z.ZodObject<{
|
|
253
|
+
cluster: z.ZodString;
|
|
254
|
+
server: z.ZodString;
|
|
255
|
+
ready: z.ZodBoolean;
|
|
256
|
+
models: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
257
|
+
name: z.ZodString;
|
|
258
|
+
state: z.ZodString;
|
|
259
|
+
digest: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
260
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
261
|
+
}, z.core.$strip>>>;
|
|
262
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
263
|
+
}, z.core.$strip>>;
|
|
264
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
265
|
+
clusters: {
|
|
266
|
+
cluster: string;
|
|
267
|
+
server: string;
|
|
268
|
+
ready: boolean;
|
|
269
|
+
models: {
|
|
270
|
+
name: string;
|
|
271
|
+
state: string;
|
|
272
|
+
digest: string | undefined;
|
|
273
|
+
detail: string | undefined;
|
|
274
|
+
}[];
|
|
275
|
+
detail: string | undefined;
|
|
276
|
+
}[];
|
|
277
|
+
} | undefined, {
|
|
278
|
+
clusters: {
|
|
279
|
+
cluster: string;
|
|
280
|
+
server: string;
|
|
281
|
+
ready: boolean;
|
|
282
|
+
models: {
|
|
283
|
+
name: string;
|
|
284
|
+
state: string;
|
|
285
|
+
digest: string | undefined;
|
|
286
|
+
detail: string | undefined;
|
|
287
|
+
}[];
|
|
288
|
+
detail: string | undefined;
|
|
289
|
+
}[];
|
|
290
|
+
} | null | undefined>>;
|
|
291
|
+
}, z.core.$strip>;
|
|
292
|
+
export type Installation = z.infer<typeof installationSchema>;
|
|
56
293
|
export declare const quotaSchema: z.ZodObject<{
|
|
57
294
|
projects: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
58
295
|
services: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
@@ -176,6 +413,95 @@ export declare const mountStatusSchema: z.ZodObject<{
|
|
|
176
413
|
state: z.ZodDefault<z.ZodString>;
|
|
177
414
|
}, z.core.$strip>;
|
|
178
415
|
export type MountStatus = z.infer<typeof mountStatusSchema>;
|
|
416
|
+
/** One name in a move of a service's secrets to Secret Manager, and how the two compare. */
|
|
417
|
+
export declare const secretMoveNameSchema: z.ZodObject<{
|
|
418
|
+
name: z.ZodString;
|
|
419
|
+
state: z.ZodString;
|
|
420
|
+
}, z.core.$strip>;
|
|
421
|
+
/** What a move of a service's secrets did when its instance started; names and states, never a value. */
|
|
422
|
+
export declare const secretMoveReportSchema: z.ZodObject<{
|
|
423
|
+
phase: z.ZodString;
|
|
424
|
+
outcome: z.ZodString;
|
|
425
|
+
names: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
426
|
+
name: z.ZodString;
|
|
427
|
+
state: z.ZodString;
|
|
428
|
+
}, z.core.$strip>>>;
|
|
429
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
430
|
+
}, z.core.$strip>;
|
|
431
|
+
/** Where a service's instance keeps its secrets, and what a move of them did. */
|
|
432
|
+
export declare const secretStoreReportSchema: z.ZodObject<{
|
|
433
|
+
backend: z.ZodString;
|
|
434
|
+
keyRead: z.ZodBoolean;
|
|
435
|
+
move: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
436
|
+
phase: z.ZodString;
|
|
437
|
+
outcome: z.ZodString;
|
|
438
|
+
names: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
439
|
+
name: z.ZodString;
|
|
440
|
+
state: z.ZodString;
|
|
441
|
+
}, z.core.$strip>>>;
|
|
442
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
443
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
444
|
+
phase: string;
|
|
445
|
+
outcome: string;
|
|
446
|
+
names: {
|
|
447
|
+
name: string;
|
|
448
|
+
state: string;
|
|
449
|
+
}[];
|
|
450
|
+
detail: string | undefined;
|
|
451
|
+
} | undefined, {
|
|
452
|
+
phase: string;
|
|
453
|
+
outcome: string;
|
|
454
|
+
names: {
|
|
455
|
+
name: string;
|
|
456
|
+
state: string;
|
|
457
|
+
}[];
|
|
458
|
+
detail: string | undefined;
|
|
459
|
+
} | null | undefined>>;
|
|
460
|
+
}, z.core.$strip>;
|
|
461
|
+
export type SecretStoreReport = z.infer<typeof secretStoreReportSchema>;
|
|
462
|
+
/** A DNS record a member creates at their provider; the platform writes none. */
|
|
463
|
+
export declare const dnsRecordSchema: z.ZodObject<{
|
|
464
|
+
name: z.ZodString;
|
|
465
|
+
kind: z.ZodString;
|
|
466
|
+
value: z.ZodString;
|
|
467
|
+
}, z.core.$strip>;
|
|
468
|
+
export type DnsRecord = z.infer<typeof dnsRecordSchema>;
|
|
469
|
+
/**
|
|
470
|
+
* One named bucket of a service, as the operator reported it (feature 055): kept ones are those the
|
|
471
|
+
* descriptor no longer names, which the platform never deletes.
|
|
472
|
+
*/
|
|
473
|
+
export declare const bucketReportSchema: z.ZodObject<{
|
|
474
|
+
name: z.ZodString;
|
|
475
|
+
phase: z.ZodString;
|
|
476
|
+
store: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
477
|
+
bucket: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
478
|
+
exposure: z.ZodDefault<z.ZodString>;
|
|
479
|
+
publicAddress: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
480
|
+
kept: z.ZodDefault<z.ZodBoolean>;
|
|
481
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
482
|
+
}, z.core.$strip>;
|
|
483
|
+
export type BucketReport = z.infer<typeof bucketReportSchema>;
|
|
484
|
+
/** One custom hostname of a service: where it stands, and the record that points it at the installation. */
|
|
485
|
+
export declare const customHostnameSchema: z.ZodObject<{
|
|
486
|
+
hostname: z.ZodString;
|
|
487
|
+
state: z.ZodDefault<z.ZodString>;
|
|
488
|
+
reason: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
489
|
+
record: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
490
|
+
name: z.ZodString;
|
|
491
|
+
kind: z.ZodString;
|
|
492
|
+
value: z.ZodString;
|
|
493
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
494
|
+
name: string;
|
|
495
|
+
kind: string;
|
|
496
|
+
value: string;
|
|
497
|
+
} | undefined, {
|
|
498
|
+
name: string;
|
|
499
|
+
kind: string;
|
|
500
|
+
value: string;
|
|
501
|
+
} | null | undefined>>;
|
|
502
|
+
note: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
503
|
+
}, z.core.$strip>;
|
|
504
|
+
export type CustomHostname = z.infer<typeof customHostnameSchema>;
|
|
179
505
|
export declare const serviceStatusSchema: z.ZodObject<{
|
|
180
506
|
name: z.ZodString;
|
|
181
507
|
projectId: z.ZodString;
|
|
@@ -202,6 +528,59 @@ export declare const serviceStatusSchema: z.ZodObject<{
|
|
|
202
528
|
processPort: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
203
529
|
broker: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
204
530
|
undeclaredTopics: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>, z.ZodTransform<string[] | undefined, string[] | null | undefined>>;
|
|
531
|
+
secretStore: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
532
|
+
backend: z.ZodString;
|
|
533
|
+
keyRead: z.ZodBoolean;
|
|
534
|
+
move: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
535
|
+
phase: z.ZodString;
|
|
536
|
+
outcome: z.ZodString;
|
|
537
|
+
names: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
538
|
+
name: z.ZodString;
|
|
539
|
+
state: z.ZodString;
|
|
540
|
+
}, z.core.$strip>>>;
|
|
541
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
542
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
543
|
+
phase: string;
|
|
544
|
+
outcome: string;
|
|
545
|
+
names: {
|
|
546
|
+
name: string;
|
|
547
|
+
state: string;
|
|
548
|
+
}[];
|
|
549
|
+
detail: string | undefined;
|
|
550
|
+
} | undefined, {
|
|
551
|
+
phase: string;
|
|
552
|
+
outcome: string;
|
|
553
|
+
names: {
|
|
554
|
+
name: string;
|
|
555
|
+
state: string;
|
|
556
|
+
}[];
|
|
557
|
+
detail: string | undefined;
|
|
558
|
+
} | null | undefined>>;
|
|
559
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
560
|
+
backend: string;
|
|
561
|
+
keyRead: boolean;
|
|
562
|
+
move: {
|
|
563
|
+
phase: string;
|
|
564
|
+
outcome: string;
|
|
565
|
+
names: {
|
|
566
|
+
name: string;
|
|
567
|
+
state: string;
|
|
568
|
+
}[];
|
|
569
|
+
detail: string | undefined;
|
|
570
|
+
} | undefined;
|
|
571
|
+
} | undefined, {
|
|
572
|
+
backend: string;
|
|
573
|
+
keyRead: boolean;
|
|
574
|
+
move: {
|
|
575
|
+
phase: string;
|
|
576
|
+
outcome: string;
|
|
577
|
+
names: {
|
|
578
|
+
name: string;
|
|
579
|
+
state: string;
|
|
580
|
+
}[];
|
|
581
|
+
detail: string | undefined;
|
|
582
|
+
} | undefined;
|
|
583
|
+
} | null | undefined>>;
|
|
205
584
|
topicChecks: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
206
585
|
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
207
586
|
service: z.ZodString;
|
|
@@ -237,6 +616,34 @@ export declare const serviceStatusSchema: z.ZodObject<{
|
|
|
237
616
|
contract: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
238
617
|
lag: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
239
618
|
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
619
|
+
gap: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
620
|
+
partitions: z.ZodArray<z.ZodObject<{
|
|
621
|
+
partition: z.ZodNumber;
|
|
622
|
+
beginning: z.ZodNumber;
|
|
623
|
+
earliestRetained: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
624
|
+
}, z.core.$strip>>;
|
|
625
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
626
|
+
gone: z.ZodDefault<z.ZodBoolean>;
|
|
627
|
+
readAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
628
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
629
|
+
partitions: {
|
|
630
|
+
partition: number;
|
|
631
|
+
beginning: number;
|
|
632
|
+
earliestRetained: string | undefined;
|
|
633
|
+
}[];
|
|
634
|
+
compacted: boolean;
|
|
635
|
+
gone: boolean;
|
|
636
|
+
readAt: string | undefined;
|
|
637
|
+
} | undefined, {
|
|
638
|
+
partitions: {
|
|
639
|
+
partition: number;
|
|
640
|
+
beginning: number;
|
|
641
|
+
earliestRetained: string | undefined;
|
|
642
|
+
}[];
|
|
643
|
+
compacted: boolean;
|
|
644
|
+
gone: boolean;
|
|
645
|
+
readAt: string | undefined;
|
|
646
|
+
} | null | undefined>>;
|
|
240
647
|
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
241
648
|
kind: string;
|
|
242
649
|
component: string;
|
|
@@ -250,6 +657,16 @@ export declare const serviceStatusSchema: z.ZodObject<{
|
|
|
250
657
|
contract: string | undefined;
|
|
251
658
|
lag: number | undefined;
|
|
252
659
|
failing: string | undefined;
|
|
660
|
+
gap: {
|
|
661
|
+
partitions: {
|
|
662
|
+
partition: number;
|
|
663
|
+
beginning: number;
|
|
664
|
+
earliestRetained: string | undefined;
|
|
665
|
+
}[];
|
|
666
|
+
compacted: boolean;
|
|
667
|
+
gone: boolean;
|
|
668
|
+
readAt: string | undefined;
|
|
669
|
+
} | undefined;
|
|
253
670
|
}[] | undefined, {
|
|
254
671
|
kind: string;
|
|
255
672
|
component: string;
|
|
@@ -263,12 +680,137 @@ export declare const serviceStatusSchema: z.ZodObject<{
|
|
|
263
680
|
contract: string | undefined;
|
|
264
681
|
lag: number | undefined;
|
|
265
682
|
failing: string | undefined;
|
|
683
|
+
gap: {
|
|
684
|
+
partitions: {
|
|
685
|
+
partition: number;
|
|
686
|
+
beginning: number;
|
|
687
|
+
earliestRetained: string | undefined;
|
|
688
|
+
}[];
|
|
689
|
+
compacted: boolean;
|
|
690
|
+
gone: boolean;
|
|
691
|
+
readAt: string | undefined;
|
|
692
|
+
} | undefined;
|
|
693
|
+
}[] | null | undefined>>;
|
|
694
|
+
warnings: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
695
|
+
kind: z.ZodString;
|
|
696
|
+
component: z.ZodString;
|
|
697
|
+
topic: z.ZodString;
|
|
698
|
+
message: z.ZodString;
|
|
699
|
+
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
700
|
+
kind: string;
|
|
701
|
+
component: string;
|
|
702
|
+
topic: string;
|
|
703
|
+
message: string;
|
|
704
|
+
}[] | undefined, {
|
|
705
|
+
kind: string;
|
|
706
|
+
component: string;
|
|
707
|
+
topic: string;
|
|
708
|
+
message: string;
|
|
266
709
|
}[] | null | undefined>>;
|
|
267
710
|
objectStorage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
268
711
|
bucket: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
269
712
|
bucketAddress: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
713
|
+
objectStore: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
714
|
+
bucketLocation: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
715
|
+
softDeleteDays: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
716
|
+
storageMove: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
717
|
+
buckets: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
718
|
+
name: z.ZodString;
|
|
719
|
+
phase: z.ZodString;
|
|
720
|
+
store: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
721
|
+
bucket: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
722
|
+
exposure: z.ZodDefault<z.ZodString>;
|
|
723
|
+
publicAddress: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
724
|
+
kept: z.ZodDefault<z.ZodBoolean>;
|
|
725
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
726
|
+
}, z.core.$strip>>>>, z.ZodTransform<{
|
|
727
|
+
name: string;
|
|
728
|
+
phase: string;
|
|
729
|
+
store: string | undefined;
|
|
730
|
+
bucket: string | undefined;
|
|
731
|
+
exposure: string;
|
|
732
|
+
publicAddress: string | undefined;
|
|
733
|
+
kept: boolean;
|
|
734
|
+
detail: string | undefined;
|
|
735
|
+
}[] | undefined, {
|
|
736
|
+
name: string;
|
|
737
|
+
phase: string;
|
|
738
|
+
store: string | undefined;
|
|
739
|
+
bucket: string | undefined;
|
|
740
|
+
exposure: string;
|
|
741
|
+
publicAddress: string | undefined;
|
|
742
|
+
kept: boolean;
|
|
743
|
+
detail: string | undefined;
|
|
744
|
+
}[] | null | undefined>>;
|
|
745
|
+
databaseCluster: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
746
|
+
grants: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
747
|
+
crossProjectTopics: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
748
|
+
project: z.ZodString;
|
|
749
|
+
topic: z.ZodString;
|
|
750
|
+
right: z.ZodString;
|
|
751
|
+
status: z.ZodString;
|
|
752
|
+
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
753
|
+
project: string;
|
|
754
|
+
topic: string;
|
|
755
|
+
right: string;
|
|
756
|
+
status: string;
|
|
757
|
+
}[] | undefined, {
|
|
758
|
+
project: string;
|
|
759
|
+
topic: string;
|
|
760
|
+
right: string;
|
|
761
|
+
status: string;
|
|
762
|
+
}[] | null | undefined>>;
|
|
763
|
+
customHostnames: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
764
|
+
hostname: z.ZodString;
|
|
765
|
+
state: z.ZodDefault<z.ZodString>;
|
|
766
|
+
reason: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
767
|
+
record: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
768
|
+
name: z.ZodString;
|
|
769
|
+
kind: z.ZodString;
|
|
770
|
+
value: z.ZodString;
|
|
771
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
772
|
+
name: string;
|
|
773
|
+
kind: string;
|
|
774
|
+
value: string;
|
|
775
|
+
} | undefined, {
|
|
776
|
+
name: string;
|
|
777
|
+
kind: string;
|
|
778
|
+
value: string;
|
|
779
|
+
} | null | undefined>>;
|
|
780
|
+
note: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
781
|
+
}, z.core.$strip>>>;
|
|
782
|
+
proofRecord: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
783
|
+
name: z.ZodString;
|
|
784
|
+
kind: z.ZodString;
|
|
785
|
+
value: z.ZodString;
|
|
786
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
787
|
+
name: string;
|
|
788
|
+
kind: string;
|
|
789
|
+
value: string;
|
|
790
|
+
} | undefined, {
|
|
791
|
+
name: string;
|
|
792
|
+
kind: string;
|
|
793
|
+
value: string;
|
|
794
|
+
} | null | undefined>>;
|
|
270
795
|
}, z.core.$strip>;
|
|
271
796
|
export type ServiceStatus = z.infer<typeof serviceStatusSchema>;
|
|
797
|
+
/** `POST /services/{project}/{name}/storage/move`: how long the service's writes may be paused. */
|
|
798
|
+
export declare const storageMoveRequestSchema: z.ZodObject<{
|
|
799
|
+
writePauseBound: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
800
|
+
}, z.core.$strip>;
|
|
801
|
+
export type StorageMoveRequest = z.infer<typeof storageMoveRequestSchema>;
|
|
802
|
+
/** `PUT /projects/{id}/location`. */
|
|
803
|
+
export declare const setProjectLocationSchema: z.ZodObject<{
|
|
804
|
+
location: z.ZodString;
|
|
805
|
+
}, z.core.$strip>;
|
|
806
|
+
export type SetProjectLocation = z.infer<typeof setProjectLocationSchema>;
|
|
807
|
+
export declare const crossProjectTopicSchema: z.ZodObject<{
|
|
808
|
+
project: z.ZodString;
|
|
809
|
+
topic: z.ZodString;
|
|
810
|
+
right: z.ZodString;
|
|
811
|
+
status: z.ZodString;
|
|
812
|
+
}, z.core.$strip>;
|
|
813
|
+
export type CrossProjectTopic = z.infer<typeof crossProjectTopicSchema>;
|
|
272
814
|
export declare const historyActorSchema: z.ZodObject<{
|
|
273
815
|
subject: z.ZodString;
|
|
274
816
|
display: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
@@ -294,7 +836,9 @@ export declare const historyEntrySchema: z.ZodObject<{
|
|
|
294
836
|
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
295
837
|
image: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
296
838
|
digest: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
839
|
+
hostname: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
297
840
|
rolledBackTo: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
841
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
298
842
|
}, z.core.$strip>;
|
|
299
843
|
export type HistoryEntry = z.infer<typeof historyEntrySchema>;
|
|
300
844
|
export declare const rollbackRequestSchema: z.ZodObject<{
|
|
@@ -329,6 +873,59 @@ export declare const rolledBackSchema: z.ZodObject<{
|
|
|
329
873
|
processPort: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
330
874
|
broker: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
331
875
|
undeclaredTopics: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>, z.ZodTransform<string[] | undefined, string[] | null | undefined>>;
|
|
876
|
+
secretStore: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
877
|
+
backend: z.ZodString;
|
|
878
|
+
keyRead: z.ZodBoolean;
|
|
879
|
+
move: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
880
|
+
phase: z.ZodString;
|
|
881
|
+
outcome: z.ZodString;
|
|
882
|
+
names: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
883
|
+
name: z.ZodString;
|
|
884
|
+
state: z.ZodString;
|
|
885
|
+
}, z.core.$strip>>>;
|
|
886
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
887
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
888
|
+
phase: string;
|
|
889
|
+
outcome: string;
|
|
890
|
+
names: {
|
|
891
|
+
name: string;
|
|
892
|
+
state: string;
|
|
893
|
+
}[];
|
|
894
|
+
detail: string | undefined;
|
|
895
|
+
} | undefined, {
|
|
896
|
+
phase: string;
|
|
897
|
+
outcome: string;
|
|
898
|
+
names: {
|
|
899
|
+
name: string;
|
|
900
|
+
state: string;
|
|
901
|
+
}[];
|
|
902
|
+
detail: string | undefined;
|
|
903
|
+
} | null | undefined>>;
|
|
904
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
905
|
+
backend: string;
|
|
906
|
+
keyRead: boolean;
|
|
907
|
+
move: {
|
|
908
|
+
phase: string;
|
|
909
|
+
outcome: string;
|
|
910
|
+
names: {
|
|
911
|
+
name: string;
|
|
912
|
+
state: string;
|
|
913
|
+
}[];
|
|
914
|
+
detail: string | undefined;
|
|
915
|
+
} | undefined;
|
|
916
|
+
} | undefined, {
|
|
917
|
+
backend: string;
|
|
918
|
+
keyRead: boolean;
|
|
919
|
+
move: {
|
|
920
|
+
phase: string;
|
|
921
|
+
outcome: string;
|
|
922
|
+
names: {
|
|
923
|
+
name: string;
|
|
924
|
+
state: string;
|
|
925
|
+
}[];
|
|
926
|
+
detail: string | undefined;
|
|
927
|
+
} | undefined;
|
|
928
|
+
} | null | undefined>>;
|
|
332
929
|
topicChecks: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
333
930
|
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
334
931
|
service: z.ZodString;
|
|
@@ -364,6 +961,34 @@ export declare const rolledBackSchema: z.ZodObject<{
|
|
|
364
961
|
contract: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
365
962
|
lag: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
366
963
|
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
964
|
+
gap: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
965
|
+
partitions: z.ZodArray<z.ZodObject<{
|
|
966
|
+
partition: z.ZodNumber;
|
|
967
|
+
beginning: z.ZodNumber;
|
|
968
|
+
earliestRetained: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
969
|
+
}, z.core.$strip>>;
|
|
970
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
971
|
+
gone: z.ZodDefault<z.ZodBoolean>;
|
|
972
|
+
readAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
973
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
974
|
+
partitions: {
|
|
975
|
+
partition: number;
|
|
976
|
+
beginning: number;
|
|
977
|
+
earliestRetained: string | undefined;
|
|
978
|
+
}[];
|
|
979
|
+
compacted: boolean;
|
|
980
|
+
gone: boolean;
|
|
981
|
+
readAt: string | undefined;
|
|
982
|
+
} | undefined, {
|
|
983
|
+
partitions: {
|
|
984
|
+
partition: number;
|
|
985
|
+
beginning: number;
|
|
986
|
+
earliestRetained: string | undefined;
|
|
987
|
+
}[];
|
|
988
|
+
compacted: boolean;
|
|
989
|
+
gone: boolean;
|
|
990
|
+
readAt: string | undefined;
|
|
991
|
+
} | null | undefined>>;
|
|
367
992
|
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
368
993
|
kind: string;
|
|
369
994
|
component: string;
|
|
@@ -377,6 +1002,16 @@ export declare const rolledBackSchema: z.ZodObject<{
|
|
|
377
1002
|
contract: string | undefined;
|
|
378
1003
|
lag: number | undefined;
|
|
379
1004
|
failing: string | undefined;
|
|
1005
|
+
gap: {
|
|
1006
|
+
partitions: {
|
|
1007
|
+
partition: number;
|
|
1008
|
+
beginning: number;
|
|
1009
|
+
earliestRetained: string | undefined;
|
|
1010
|
+
}[];
|
|
1011
|
+
compacted: boolean;
|
|
1012
|
+
gone: boolean;
|
|
1013
|
+
readAt: string | undefined;
|
|
1014
|
+
} | undefined;
|
|
380
1015
|
}[] | undefined, {
|
|
381
1016
|
kind: string;
|
|
382
1017
|
component: string;
|
|
@@ -390,10 +1025,118 @@ export declare const rolledBackSchema: z.ZodObject<{
|
|
|
390
1025
|
contract: string | undefined;
|
|
391
1026
|
lag: number | undefined;
|
|
392
1027
|
failing: string | undefined;
|
|
1028
|
+
gap: {
|
|
1029
|
+
partitions: {
|
|
1030
|
+
partition: number;
|
|
1031
|
+
beginning: number;
|
|
1032
|
+
earliestRetained: string | undefined;
|
|
1033
|
+
}[];
|
|
1034
|
+
compacted: boolean;
|
|
1035
|
+
gone: boolean;
|
|
1036
|
+
readAt: string | undefined;
|
|
1037
|
+
} | undefined;
|
|
1038
|
+
}[] | null | undefined>>;
|
|
1039
|
+
warnings: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1040
|
+
kind: z.ZodString;
|
|
1041
|
+
component: z.ZodString;
|
|
1042
|
+
topic: z.ZodString;
|
|
1043
|
+
message: z.ZodString;
|
|
1044
|
+
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
1045
|
+
kind: string;
|
|
1046
|
+
component: string;
|
|
1047
|
+
topic: string;
|
|
1048
|
+
message: string;
|
|
1049
|
+
}[] | undefined, {
|
|
1050
|
+
kind: string;
|
|
1051
|
+
component: string;
|
|
1052
|
+
topic: string;
|
|
1053
|
+
message: string;
|
|
393
1054
|
}[] | null | undefined>>;
|
|
394
1055
|
objectStorage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
395
1056
|
bucket: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
396
1057
|
bucketAddress: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1058
|
+
objectStore: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1059
|
+
bucketLocation: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1060
|
+
softDeleteDays: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1061
|
+
storageMove: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1062
|
+
buckets: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1063
|
+
name: z.ZodString;
|
|
1064
|
+
phase: z.ZodString;
|
|
1065
|
+
store: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1066
|
+
bucket: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1067
|
+
exposure: z.ZodDefault<z.ZodString>;
|
|
1068
|
+
publicAddress: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1069
|
+
kept: z.ZodDefault<z.ZodBoolean>;
|
|
1070
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1071
|
+
}, z.core.$strip>>>>, z.ZodTransform<{
|
|
1072
|
+
name: string;
|
|
1073
|
+
phase: string;
|
|
1074
|
+
store: string | undefined;
|
|
1075
|
+
bucket: string | undefined;
|
|
1076
|
+
exposure: string;
|
|
1077
|
+
publicAddress: string | undefined;
|
|
1078
|
+
kept: boolean;
|
|
1079
|
+
detail: string | undefined;
|
|
1080
|
+
}[] | undefined, {
|
|
1081
|
+
name: string;
|
|
1082
|
+
phase: string;
|
|
1083
|
+
store: string | undefined;
|
|
1084
|
+
bucket: string | undefined;
|
|
1085
|
+
exposure: string;
|
|
1086
|
+
publicAddress: string | undefined;
|
|
1087
|
+
kept: boolean;
|
|
1088
|
+
detail: string | undefined;
|
|
1089
|
+
}[] | null | undefined>>;
|
|
1090
|
+
databaseCluster: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1091
|
+
grants: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1092
|
+
crossProjectTopics: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1093
|
+
project: z.ZodString;
|
|
1094
|
+
topic: z.ZodString;
|
|
1095
|
+
right: z.ZodString;
|
|
1096
|
+
status: z.ZodString;
|
|
1097
|
+
}, z.core.$strip>>>>>, z.ZodTransform<{
|
|
1098
|
+
project: string;
|
|
1099
|
+
topic: string;
|
|
1100
|
+
right: string;
|
|
1101
|
+
status: string;
|
|
1102
|
+
}[] | undefined, {
|
|
1103
|
+
project: string;
|
|
1104
|
+
topic: string;
|
|
1105
|
+
right: string;
|
|
1106
|
+
status: string;
|
|
1107
|
+
}[] | null | undefined>>;
|
|
1108
|
+
customHostnames: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1109
|
+
hostname: z.ZodString;
|
|
1110
|
+
state: z.ZodDefault<z.ZodString>;
|
|
1111
|
+
reason: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1112
|
+
record: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1113
|
+
name: z.ZodString;
|
|
1114
|
+
kind: z.ZodString;
|
|
1115
|
+
value: z.ZodString;
|
|
1116
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1117
|
+
name: string;
|
|
1118
|
+
kind: string;
|
|
1119
|
+
value: string;
|
|
1120
|
+
} | undefined, {
|
|
1121
|
+
name: string;
|
|
1122
|
+
kind: string;
|
|
1123
|
+
value: string;
|
|
1124
|
+
} | null | undefined>>;
|
|
1125
|
+
note: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1126
|
+
}, z.core.$strip>>>;
|
|
1127
|
+
proofRecord: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1128
|
+
name: z.ZodString;
|
|
1129
|
+
kind: z.ZodString;
|
|
1130
|
+
value: z.ZodString;
|
|
1131
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1132
|
+
name: string;
|
|
1133
|
+
kind: string;
|
|
1134
|
+
value: string;
|
|
1135
|
+
} | undefined, {
|
|
1136
|
+
name: string;
|
|
1137
|
+
kind: string;
|
|
1138
|
+
value: string;
|
|
1139
|
+
} | null | undefined>>;
|
|
397
1140
|
}, z.core.$strip>;
|
|
398
1141
|
}, z.core.$strip>;
|
|
399
1142
|
export type RolledBack = z.infer<typeof rolledBackSchema>;
|
|
@@ -798,10 +1541,14 @@ export declare const topicCheckSchema: z.ZodObject<{
|
|
|
798
1541
|
export type TopicCheck = z.infer<typeof topicCheckSchema>;
|
|
799
1542
|
/**
|
|
800
1543
|
* `PUT /projects/{id}/topics/{name}`: the partitions a declared topic has, whether the broker keeps
|
|
801
|
-
* only the last message under each key, and the contract it carries with its schema document
|
|
1544
|
+
* only the last message under each key, and the contract it carries with its schema document; and
|
|
1545
|
+
* how long it keeps, how it is cleaned and how many copies it has, each in the words a member types.
|
|
1546
|
+
* A new topic needs its partitions and takes every setting left out from the installation; a topic
|
|
1547
|
+
* already declared keeps what is left out. `removes` restates what a change that removes messages
|
|
1548
|
+
* removes, in the control plane's own words.
|
|
802
1549
|
*/
|
|
803
1550
|
export declare const topicDeclarationRequestSchema: z.ZodObject<{
|
|
804
|
-
partitions: z.ZodNumber
|
|
1551
|
+
partitions: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
805
1552
|
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
806
1553
|
contract: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
807
1554
|
name: z.ZodString;
|
|
@@ -813,8 +1560,30 @@ export declare const topicDeclarationRequestSchema: z.ZodObject<{
|
|
|
813
1560
|
name: string;
|
|
814
1561
|
schema: unknown;
|
|
815
1562
|
} | null | undefined>>;
|
|
1563
|
+
retention: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1564
|
+
retentionSize: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1565
|
+
cleanup: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1566
|
+
tombstoneWindow: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1567
|
+
minCompactionLag: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1568
|
+
maxCompactionLag: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1569
|
+
copies: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1570
|
+
minInSync: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1571
|
+
removes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
816
1572
|
}, z.core.$strip>;
|
|
817
1573
|
export type TopicDeclarationRequest = z.input<typeof topicDeclarationRequestSchema>;
|
|
1574
|
+
/** A declared topic's every setting in words, and the ones the installation supplied. */
|
|
1575
|
+
export declare const topicSettingsViewSchema: z.ZodObject<{
|
|
1576
|
+
retention: z.ZodString;
|
|
1577
|
+
retentionSize: z.ZodString;
|
|
1578
|
+
cleanup: z.ZodString;
|
|
1579
|
+
tombstoneWindow: z.ZodString;
|
|
1580
|
+
minCompactionLag: z.ZodString;
|
|
1581
|
+
maxCompactionLag: z.ZodString;
|
|
1582
|
+
copies: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1583
|
+
minInSync: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1584
|
+
defaulted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1585
|
+
}, z.core.$strip>;
|
|
1586
|
+
export type TopicSettingsView = z.infer<typeof topicSettingsViewSchema>;
|
|
818
1587
|
/** A topic a project declares, and how far the platform has got with it. */
|
|
819
1588
|
export declare const projectTopicSchema: z.ZodObject<{
|
|
820
1589
|
name: z.ZodString;
|
|
@@ -840,8 +1609,75 @@ export declare const projectTopicSchema: z.ZodObject<{
|
|
|
840
1609
|
stated: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
841
1610
|
state: z.ZodString;
|
|
842
1611
|
}, z.core.$strip>>>;
|
|
1612
|
+
settings: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1613
|
+
retention: z.ZodString;
|
|
1614
|
+
retentionSize: z.ZodString;
|
|
1615
|
+
cleanup: z.ZodString;
|
|
1616
|
+
tombstoneWindow: z.ZodString;
|
|
1617
|
+
minCompactionLag: z.ZodString;
|
|
1618
|
+
maxCompactionLag: z.ZodString;
|
|
1619
|
+
copies: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1620
|
+
minInSync: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1621
|
+
defaulted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1622
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1623
|
+
retention: string;
|
|
1624
|
+
retentionSize: string;
|
|
1625
|
+
cleanup: string;
|
|
1626
|
+
tombstoneWindow: string;
|
|
1627
|
+
minCompactionLag: string;
|
|
1628
|
+
maxCompactionLag: string;
|
|
1629
|
+
copies: number | undefined;
|
|
1630
|
+
minInSync: number | undefined;
|
|
1631
|
+
defaulted: string[];
|
|
1632
|
+
} | undefined, {
|
|
1633
|
+
retention: string;
|
|
1634
|
+
retentionSize: string;
|
|
1635
|
+
cleanup: string;
|
|
1636
|
+
tombstoneWindow: string;
|
|
1637
|
+
minCompactionLag: string;
|
|
1638
|
+
maxCompactionLag: string;
|
|
1639
|
+
copies: number | undefined;
|
|
1640
|
+
minInSync: number | undefined;
|
|
1641
|
+
defaulted: string[];
|
|
1642
|
+
} | null | undefined>>;
|
|
1643
|
+
copiesHeld: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1644
|
+
brokerNodes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
843
1645
|
}, z.core.$strip>;
|
|
844
1646
|
export type ProjectTopic = z.infer<typeof projectTopicSchema>;
|
|
1647
|
+
/** One setting a declaration changed, from what to what. */
|
|
1648
|
+
export declare const settingChangeSchema: z.ZodObject<{
|
|
1649
|
+
setting: z.ZodString;
|
|
1650
|
+
from: z.ZodString;
|
|
1651
|
+
to: z.ZodString;
|
|
1652
|
+
}, z.core.$strip>;
|
|
1653
|
+
export type SettingChange = z.infer<typeof settingChangeSchema>;
|
|
1654
|
+
/** Where a partition begins on the broker, and when that message was published. */
|
|
1655
|
+
export declare const partitionGapReportSchema: z.ZodObject<{
|
|
1656
|
+
partition: z.ZodNumber;
|
|
1657
|
+
beginning: z.ZodNumber;
|
|
1658
|
+
earliestRetained: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1659
|
+
}, z.core.$strip>;
|
|
1660
|
+
export type PartitionGapReport = z.infer<typeof partitionGapReportSchema>;
|
|
1661
|
+
/** What a topic source's topic no longer holds, per partition, and whether earlier messages are gone. */
|
|
1662
|
+
export declare const retentionGapReportSchema: z.ZodObject<{
|
|
1663
|
+
partitions: z.ZodArray<z.ZodObject<{
|
|
1664
|
+
partition: z.ZodNumber;
|
|
1665
|
+
beginning: z.ZodNumber;
|
|
1666
|
+
earliestRetained: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1667
|
+
}, z.core.$strip>>;
|
|
1668
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
1669
|
+
gone: z.ZodDefault<z.ZodBoolean>;
|
|
1670
|
+
readAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1671
|
+
}, z.core.$strip>;
|
|
1672
|
+
export type RetentionGapReport = z.infer<typeof retentionGapReportSchema>;
|
|
1673
|
+
/** Something about a service a member should know: a view over a topic that keeps too little. */
|
|
1674
|
+
export declare const serviceWarningSchema: z.ZodObject<{
|
|
1675
|
+
kind: z.ZodString;
|
|
1676
|
+
component: z.ZodString;
|
|
1677
|
+
topic: z.ZodString;
|
|
1678
|
+
message: z.ZodString;
|
|
1679
|
+
}, z.core.$strip>;
|
|
1680
|
+
export type ServiceWarning = z.infer<typeof serviceWarningSchema>;
|
|
845
1681
|
/**
|
|
846
1682
|
* A topic source as a service's instances report it: what reads which topic under which group, the
|
|
847
1683
|
* declared broker and contract it states, `lag` (messages past the last one handled, as of the last
|
|
@@ -860,6 +1696,34 @@ export declare const topicSourceReportSchema: z.ZodObject<{
|
|
|
860
1696
|
contract: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
861
1697
|
lag: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
862
1698
|
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1699
|
+
gap: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1700
|
+
partitions: z.ZodArray<z.ZodObject<{
|
|
1701
|
+
partition: z.ZodNumber;
|
|
1702
|
+
beginning: z.ZodNumber;
|
|
1703
|
+
earliestRetained: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1704
|
+
}, z.core.$strip>>;
|
|
1705
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
1706
|
+
gone: z.ZodDefault<z.ZodBoolean>;
|
|
1707
|
+
readAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1708
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1709
|
+
partitions: {
|
|
1710
|
+
partition: number;
|
|
1711
|
+
beginning: number;
|
|
1712
|
+
earliestRetained: string | undefined;
|
|
1713
|
+
}[];
|
|
1714
|
+
compacted: boolean;
|
|
1715
|
+
gone: boolean;
|
|
1716
|
+
readAt: string | undefined;
|
|
1717
|
+
} | undefined, {
|
|
1718
|
+
partitions: {
|
|
1719
|
+
partition: number;
|
|
1720
|
+
beginning: number;
|
|
1721
|
+
earliestRetained: string | undefined;
|
|
1722
|
+
}[];
|
|
1723
|
+
compacted: boolean;
|
|
1724
|
+
gone: boolean;
|
|
1725
|
+
readAt: string | undefined;
|
|
1726
|
+
} | null | undefined>>;
|
|
863
1727
|
}, z.core.$strip>;
|
|
864
1728
|
export type TopicSourceReport = z.infer<typeof topicSourceReportSchema>;
|
|
865
1729
|
/** `PUT /projects/{id}/brokers/{name}`: a broker declared beside the installation's, and how it is reached. */
|
|
@@ -886,5 +1750,599 @@ export declare const projectSecretSummarySchema: z.ZodObject<{
|
|
|
886
1750
|
setBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
887
1751
|
}, z.core.$strip>;
|
|
888
1752
|
export type ProjectSecretSummary = z.infer<typeof projectSecretSummarySchema>;
|
|
1753
|
+
/** The record of one read, keep or removal of a service secret: never its value. */
|
|
1754
|
+
export declare const readRecordSchema: z.ZodObject<{
|
|
1755
|
+
at: z.ZodString;
|
|
1756
|
+
project: z.ZodString;
|
|
1757
|
+
service: z.ZodString;
|
|
1758
|
+
hosting: z.ZodString;
|
|
1759
|
+
name: z.ZodString;
|
|
1760
|
+
operation: z.ZodString;
|
|
1761
|
+
outcome: z.ZodString;
|
|
1762
|
+
backend: z.ZodString;
|
|
1763
|
+
traceId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1764
|
+
spanId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1765
|
+
component: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1766
|
+
componentKind: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1767
|
+
latestSkipped: z.ZodDefault<z.ZodBoolean>;
|
|
1768
|
+
}, z.core.$strip>;
|
|
1769
|
+
export type ReadRecord = z.infer<typeof readRecordSchema>;
|
|
1770
|
+
/** The record of a project's secret reads, newest first, as an owner reads it. */
|
|
1771
|
+
export declare const secretReadsPageSchema: z.ZodObject<{
|
|
1772
|
+
records: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1773
|
+
at: z.ZodString;
|
|
1774
|
+
project: z.ZodString;
|
|
1775
|
+
service: z.ZodString;
|
|
1776
|
+
hosting: z.ZodString;
|
|
1777
|
+
name: z.ZodString;
|
|
1778
|
+
operation: z.ZodString;
|
|
1779
|
+
outcome: z.ZodString;
|
|
1780
|
+
backend: z.ZodString;
|
|
1781
|
+
traceId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1782
|
+
spanId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1783
|
+
component: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1784
|
+
componentKind: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1785
|
+
latestSkipped: z.ZodDefault<z.ZodBoolean>;
|
|
1786
|
+
}, z.core.$strip>>>;
|
|
1787
|
+
}, z.core.$strip>;
|
|
1788
|
+
export type SecretReadsPage = z.infer<typeof secretReadsPageSchema>;
|
|
1789
|
+
/** One line of history's backups: `phase` is `backing up`, `failing` or `not backed up`. */
|
|
1790
|
+
export declare const backupLineSchema: z.ZodObject<{
|
|
1791
|
+
line: z.ZodString;
|
|
1792
|
+
cluster: z.ZodString;
|
|
1793
|
+
phase: z.ZodString;
|
|
1794
|
+
lastBaseBackup: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1795
|
+
firstRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1796
|
+
lastRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1797
|
+
archiveLagSeconds: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1798
|
+
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1799
|
+
copiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1800
|
+
}, z.core.$strip>;
|
|
1801
|
+
export type BackupLine = z.infer<typeof backupLineSchema>;
|
|
1802
|
+
export declare const projectDatabaseSchema: z.ZodObject<{
|
|
1803
|
+
cluster: z.ZodString;
|
|
1804
|
+
instances: z.ZodNumber;
|
|
1805
|
+
readyInstances: z.ZodNumber;
|
|
1806
|
+
primary: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1807
|
+
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
1808
|
+
writesWaitingOn: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1809
|
+
}, z.core.$strip>;
|
|
1810
|
+
export type ProjectDatabase = z.infer<typeof projectDatabaseSchema>;
|
|
1811
|
+
/** One of the project's database clusters: `live`, a `restore`, or `left` once every service has left it. */
|
|
1812
|
+
export declare const projectClusterSchema: z.ZodObject<{
|
|
1813
|
+
name: z.ZodString;
|
|
1814
|
+
line: z.ZodString;
|
|
1815
|
+
phase: z.ZodString;
|
|
1816
|
+
services: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1817
|
+
since: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1818
|
+
leftAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1819
|
+
}, z.core.$strip>;
|
|
1820
|
+
export type ProjectCluster = z.infer<typeof projectClusterSchema>;
|
|
1821
|
+
/** What one service's database holds in a restore or a rehearsal; secrets by name only. */
|
|
1822
|
+
export declare const serviceVerificationSchema: z.ZodObject<{
|
|
1823
|
+
name: z.ZodString;
|
|
1824
|
+
present: z.ZodBoolean;
|
|
1825
|
+
journalRows: z.ZodDefault<z.ZodNumber>;
|
|
1826
|
+
stateRows: z.ZodDefault<z.ZodNumber>;
|
|
1827
|
+
offsetRows: z.ZodDefault<z.ZodNumber>;
|
|
1828
|
+
timerRows: z.ZodDefault<z.ZodNumber>;
|
|
1829
|
+
highestSequence: z.ZodDefault<z.ZodNumber>;
|
|
1830
|
+
changedSecrets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1831
|
+
}, z.core.$strip>;
|
|
1832
|
+
export type ServiceVerification = z.infer<typeof serviceVerificationSchema>;
|
|
1833
|
+
/** A topic past a restore's moment: messages newer than it, and how many of them a group has read. */
|
|
1834
|
+
export declare const topicDivergenceSchema: z.ZodObject<{
|
|
1835
|
+
topic: z.ZodString;
|
|
1836
|
+
group: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1837
|
+
after: z.ZodDefault<z.ZodNumber>;
|
|
1838
|
+
read: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1839
|
+
services: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1840
|
+
}, z.core.$strip>;
|
|
1841
|
+
export type TopicDivergence = z.infer<typeof topicDivergenceSchema>;
|
|
1842
|
+
/** A restore: `Restoring`, `Verified`, `Failed` or `InUse`, with what each service's database holds. */
|
|
1843
|
+
export declare const restoreViewSchema: z.ZodObject<{
|
|
1844
|
+
name: z.ZodString;
|
|
1845
|
+
line: z.ZodString;
|
|
1846
|
+
moment: z.ZodString;
|
|
1847
|
+
phase: z.ZodString;
|
|
1848
|
+
requestedBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1849
|
+
requestedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1850
|
+
reachedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1851
|
+
services: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1852
|
+
name: z.ZodString;
|
|
1853
|
+
present: z.ZodBoolean;
|
|
1854
|
+
journalRows: z.ZodDefault<z.ZodNumber>;
|
|
1855
|
+
stateRows: z.ZodDefault<z.ZodNumber>;
|
|
1856
|
+
offsetRows: z.ZodDefault<z.ZodNumber>;
|
|
1857
|
+
timerRows: z.ZodDefault<z.ZodNumber>;
|
|
1858
|
+
highestSequence: z.ZodDefault<z.ZodNumber>;
|
|
1859
|
+
changedSecrets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1860
|
+
}, z.core.$strip>>>;
|
|
1861
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1862
|
+
broker: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1863
|
+
topic: z.ZodString;
|
|
1864
|
+
group: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1865
|
+
after: z.ZodDefault<z.ZodNumber>;
|
|
1866
|
+
read: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1867
|
+
services: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1868
|
+
}, z.core.$strip>>>;
|
|
1869
|
+
notAsked: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1870
|
+
note: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1871
|
+
}, z.core.$strip>;
|
|
1872
|
+
export type RestoreView = z.infer<typeof restoreViewSchema>;
|
|
1873
|
+
/** A rehearsal: `Running`, `Completed`, `Failed` or `NotRemoved`, and how long it took. */
|
|
1874
|
+
export declare const rehearsalViewSchema: z.ZodObject<{
|
|
1875
|
+
name: z.ZodString;
|
|
1876
|
+
line: z.ZodString;
|
|
1877
|
+
moment: z.ZodString;
|
|
1878
|
+
outcome: z.ZodString;
|
|
1879
|
+
requestedBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1880
|
+
requestedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1881
|
+
elapsedSeconds: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1882
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1883
|
+
services: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1884
|
+
name: z.ZodString;
|
|
1885
|
+
present: z.ZodBoolean;
|
|
1886
|
+
journalRows: z.ZodDefault<z.ZodNumber>;
|
|
1887
|
+
stateRows: z.ZodDefault<z.ZodNumber>;
|
|
1888
|
+
offsetRows: z.ZodDefault<z.ZodNumber>;
|
|
1889
|
+
timerRows: z.ZodDefault<z.ZodNumber>;
|
|
1890
|
+
highestSequence: z.ZodDefault<z.ZodNumber>;
|
|
1891
|
+
changedSecrets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1892
|
+
}, z.core.$strip>>>;
|
|
1893
|
+
}, z.core.$strip>;
|
|
1894
|
+
export type RehearsalView = z.infer<typeof rehearsalViewSchema>;
|
|
1895
|
+
export declare const projectStatusSchema: z.ZodObject<{
|
|
1896
|
+
id: z.ZodString;
|
|
1897
|
+
backedUp: z.ZodBoolean;
|
|
1898
|
+
target: z.ZodString;
|
|
1899
|
+
lines: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1900
|
+
line: z.ZodString;
|
|
1901
|
+
cluster: z.ZodString;
|
|
1902
|
+
phase: z.ZodString;
|
|
1903
|
+
lastBaseBackup: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1904
|
+
firstRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1905
|
+
lastRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1906
|
+
archiveLagSeconds: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1907
|
+
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1908
|
+
copiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1909
|
+
}, z.core.$strip>>>;
|
|
1910
|
+
database: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1911
|
+
cluster: z.ZodString;
|
|
1912
|
+
instances: z.ZodNumber;
|
|
1913
|
+
readyInstances: z.ZodNumber;
|
|
1914
|
+
primary: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1915
|
+
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
1916
|
+
writesWaitingOn: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1917
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1918
|
+
cluster: string;
|
|
1919
|
+
instances: number;
|
|
1920
|
+
readyInstances: number;
|
|
1921
|
+
primary: string | undefined;
|
|
1922
|
+
synchronous: boolean;
|
|
1923
|
+
writesWaitingOn: string | undefined;
|
|
1924
|
+
} | undefined, {
|
|
1925
|
+
cluster: string;
|
|
1926
|
+
instances: number;
|
|
1927
|
+
readyInstances: number;
|
|
1928
|
+
primary: string | undefined;
|
|
1929
|
+
synchronous: boolean;
|
|
1930
|
+
writesWaitingOn: string | undefined;
|
|
1931
|
+
} | null | undefined>>;
|
|
1932
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1933
|
+
clusters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1934
|
+
name: z.ZodString;
|
|
1935
|
+
line: z.ZodString;
|
|
1936
|
+
phase: z.ZodString;
|
|
1937
|
+
services: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1938
|
+
since: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1939
|
+
leftAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1940
|
+
}, z.core.$strip>>>;
|
|
1941
|
+
restores: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1942
|
+
name: z.ZodString;
|
|
1943
|
+
line: z.ZodString;
|
|
1944
|
+
moment: z.ZodString;
|
|
1945
|
+
phase: z.ZodString;
|
|
1946
|
+
requestedBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1947
|
+
requestedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1948
|
+
reachedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1949
|
+
services: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1950
|
+
name: z.ZodString;
|
|
1951
|
+
present: z.ZodBoolean;
|
|
1952
|
+
journalRows: z.ZodDefault<z.ZodNumber>;
|
|
1953
|
+
stateRows: z.ZodDefault<z.ZodNumber>;
|
|
1954
|
+
offsetRows: z.ZodDefault<z.ZodNumber>;
|
|
1955
|
+
timerRows: z.ZodDefault<z.ZodNumber>;
|
|
1956
|
+
highestSequence: z.ZodDefault<z.ZodNumber>;
|
|
1957
|
+
changedSecrets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1958
|
+
}, z.core.$strip>>>;
|
|
1959
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1960
|
+
broker: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1961
|
+
topic: z.ZodString;
|
|
1962
|
+
group: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1963
|
+
after: z.ZodDefault<z.ZodNumber>;
|
|
1964
|
+
read: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1965
|
+
services: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1966
|
+
}, z.core.$strip>>>;
|
|
1967
|
+
notAsked: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1968
|
+
note: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1969
|
+
}, z.core.$strip>>>;
|
|
1970
|
+
rehearsal: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1971
|
+
name: z.ZodString;
|
|
1972
|
+
line: z.ZodString;
|
|
1973
|
+
moment: z.ZodString;
|
|
1974
|
+
outcome: z.ZodString;
|
|
1975
|
+
requestedBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1976
|
+
requestedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1977
|
+
elapsedSeconds: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
1978
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
1979
|
+
services: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1980
|
+
name: z.ZodString;
|
|
1981
|
+
present: z.ZodBoolean;
|
|
1982
|
+
journalRows: z.ZodDefault<z.ZodNumber>;
|
|
1983
|
+
stateRows: z.ZodDefault<z.ZodNumber>;
|
|
1984
|
+
offsetRows: z.ZodDefault<z.ZodNumber>;
|
|
1985
|
+
timerRows: z.ZodDefault<z.ZodNumber>;
|
|
1986
|
+
highestSequence: z.ZodDefault<z.ZodNumber>;
|
|
1987
|
+
changedSecrets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1988
|
+
}, z.core.$strip>>>;
|
|
1989
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
1990
|
+
name: string;
|
|
1991
|
+
line: string;
|
|
1992
|
+
moment: string;
|
|
1993
|
+
outcome: string;
|
|
1994
|
+
requestedBy: string | undefined;
|
|
1995
|
+
requestedAt: string | undefined;
|
|
1996
|
+
elapsedSeconds: number | undefined;
|
|
1997
|
+
detail: string | undefined;
|
|
1998
|
+
services: {
|
|
1999
|
+
name: string;
|
|
2000
|
+
present: boolean;
|
|
2001
|
+
journalRows: number;
|
|
2002
|
+
stateRows: number;
|
|
2003
|
+
offsetRows: number;
|
|
2004
|
+
timerRows: number;
|
|
2005
|
+
highestSequence: number;
|
|
2006
|
+
changedSecrets: string[];
|
|
2007
|
+
}[];
|
|
2008
|
+
} | undefined, {
|
|
2009
|
+
name: string;
|
|
2010
|
+
line: string;
|
|
2011
|
+
moment: string;
|
|
2012
|
+
outcome: string;
|
|
2013
|
+
requestedBy: string | undefined;
|
|
2014
|
+
requestedAt: string | undefined;
|
|
2015
|
+
elapsedSeconds: number | undefined;
|
|
2016
|
+
detail: string | undefined;
|
|
2017
|
+
services: {
|
|
2018
|
+
name: string;
|
|
2019
|
+
present: boolean;
|
|
2020
|
+
journalRows: number;
|
|
2021
|
+
stateRows: number;
|
|
2022
|
+
offsetRows: number;
|
|
2023
|
+
timerRows: number;
|
|
2024
|
+
highestSequence: number;
|
|
2025
|
+
changedSecrets: string[];
|
|
2026
|
+
}[];
|
|
2027
|
+
} | null | undefined>>;
|
|
2028
|
+
}, z.core.$strip>;
|
|
2029
|
+
export type ProjectStatus = z.infer<typeof projectStatusSchema>;
|
|
2030
|
+
export declare const secondaryStoreSchema: z.ZodObject<{
|
|
2031
|
+
lastCompleted: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2032
|
+
lastFailed: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2033
|
+
failure: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2034
|
+
buckets: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2035
|
+
deletedObjects: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2036
|
+
}, z.core.$strip>;
|
|
2037
|
+
export type SecondaryStore = z.infer<typeof secondaryStoreSchema>;
|
|
2038
|
+
export declare const installationStatusSchema: z.ZodObject<{
|
|
2039
|
+
backupTarget: z.ZodString;
|
|
2040
|
+
retentionDays: z.ZodNumber;
|
|
2041
|
+
copyRequired: z.ZodBoolean;
|
|
2042
|
+
sharesFailureDomain: z.ZodBoolean;
|
|
2043
|
+
encryption: z.ZodString;
|
|
2044
|
+
controlPlane: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2045
|
+
line: z.ZodString;
|
|
2046
|
+
cluster: z.ZodString;
|
|
2047
|
+
phase: z.ZodString;
|
|
2048
|
+
lastBaseBackup: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2049
|
+
firstRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2050
|
+
lastRestorable: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2051
|
+
archiveLagSeconds: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2052
|
+
failing: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2053
|
+
copiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2054
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
2055
|
+
line: string;
|
|
2056
|
+
cluster: string;
|
|
2057
|
+
phase: string;
|
|
2058
|
+
lastBaseBackup: string | undefined;
|
|
2059
|
+
firstRestorable: string | undefined;
|
|
2060
|
+
lastRestorable: string | undefined;
|
|
2061
|
+
archiveLagSeconds: number | undefined;
|
|
2062
|
+
failing: string | undefined;
|
|
2063
|
+
copiedAt: string | undefined;
|
|
2064
|
+
} | undefined, {
|
|
2065
|
+
line: string;
|
|
2066
|
+
cluster: string;
|
|
2067
|
+
phase: string;
|
|
2068
|
+
lastBaseBackup: string | undefined;
|
|
2069
|
+
firstRestorable: string | undefined;
|
|
2070
|
+
lastRestorable: string | undefined;
|
|
2071
|
+
archiveLagSeconds: number | undefined;
|
|
2072
|
+
failing: string | undefined;
|
|
2073
|
+
copiedAt: string | undefined;
|
|
2074
|
+
} | null | undefined>>;
|
|
2075
|
+
notBackedUp: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2076
|
+
secondaryStore: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2077
|
+
lastCompleted: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2078
|
+
lastFailed: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2079
|
+
failure: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2080
|
+
buckets: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2081
|
+
deletedObjects: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2082
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
2083
|
+
lastCompleted: string | undefined;
|
|
2084
|
+
lastFailed: string | undefined;
|
|
2085
|
+
failure: string | undefined;
|
|
2086
|
+
buckets: number | undefined;
|
|
2087
|
+
deletedObjects: number | undefined;
|
|
2088
|
+
} | undefined, {
|
|
2089
|
+
lastCompleted: string | undefined;
|
|
2090
|
+
lastFailed: string | undefined;
|
|
2091
|
+
failure: string | undefined;
|
|
2092
|
+
buckets: number | undefined;
|
|
2093
|
+
deletedObjects: number | undefined;
|
|
2094
|
+
} | null | undefined>>;
|
|
2095
|
+
}, z.core.$strip>;
|
|
2096
|
+
export type InstallationStatus = z.infer<typeof installationStatusSchema>;
|
|
2097
|
+
export declare const serviceDifferenceSchema: z.ZodObject<{
|
|
2098
|
+
project: z.ZodString;
|
|
2099
|
+
service: z.ZodString;
|
|
2100
|
+
recordedGeneration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2101
|
+
clusterGeneration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2102
|
+
recordedImage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2103
|
+
clusterImage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2104
|
+
}, z.core.$strip>;
|
|
2105
|
+
export type ServiceDifference = z.infer<typeof serviceDifferenceSchema>;
|
|
2106
|
+
/** Whether the control plane is held after its own database was restored, and what differs. */
|
|
2107
|
+
export declare const restoreHoldStatusSchema: z.ZodObject<{
|
|
2108
|
+
held: z.ZodBoolean;
|
|
2109
|
+
restoredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2110
|
+
targetTime: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2111
|
+
releasedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2112
|
+
releasedBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2113
|
+
services: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2114
|
+
project: z.ZodString;
|
|
2115
|
+
service: z.ZodString;
|
|
2116
|
+
recordedGeneration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2117
|
+
clusterGeneration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2118
|
+
recordedImage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2119
|
+
clusterImage: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2120
|
+
}, z.core.$strip>>>;
|
|
2121
|
+
topics: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2122
|
+
unknownProjects: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2123
|
+
reconciled: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2124
|
+
}, z.core.$strip>;
|
|
2125
|
+
export type RestoreHoldStatus = z.infer<typeof restoreHoldStatusSchema>;
|
|
2126
|
+
/** `POST /projects/{id}/restores`: the moment, and the line when services are on more than one. */
|
|
2127
|
+
export declare const restoreRequestSchema: z.ZodObject<{
|
|
2128
|
+
moment: z.ZodString;
|
|
2129
|
+
line: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2130
|
+
}, z.core.$strip>;
|
|
2131
|
+
export type RestoreRequest = z.input<typeof restoreRequestSchema>;
|
|
2132
|
+
/** `POST /services/{p}/{n}/switch`: the cluster to move the service to. */
|
|
2133
|
+
export declare const switchRequestSchema: z.ZodObject<{
|
|
2134
|
+
cluster: z.ZodString;
|
|
2135
|
+
}, z.core.$strip>;
|
|
2136
|
+
export type SwitchRequest = z.input<typeof switchRequestSchema>;
|
|
2137
|
+
/** `POST /projects/{id}/rehearsals`: both may be left out, for the latest restorable moment. */
|
|
2138
|
+
export declare const rehearsalRequestSchema: z.ZodObject<{
|
|
2139
|
+
moment: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2140
|
+
line: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2141
|
+
}, z.core.$strip>;
|
|
2142
|
+
export type RehearsalRequest = z.input<typeof rehearsalRequestSchema>;
|
|
2143
|
+
export declare const credentialReissuedSchema: z.ZodObject<{
|
|
2144
|
+
project: z.ZodString;
|
|
2145
|
+
generation: z.ZodNumber;
|
|
2146
|
+
}, z.core.$strip>;
|
|
2147
|
+
export type CredentialReissued = z.infer<typeof credentialReissuedSchema>;
|
|
2148
|
+
/** What a project asks of its database, whole. */
|
|
2149
|
+
export declare const databaseSettingSchema: z.ZodObject<{
|
|
2150
|
+
replicas: z.ZodDefault<z.ZodNumber>;
|
|
2151
|
+
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
2152
|
+
retentionDays: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2153
|
+
rehearse: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2154
|
+
}, z.core.$strip>;
|
|
2155
|
+
export type DatabaseSetting = z.infer<typeof databaseSettingSchema>;
|
|
2156
|
+
/**
|
|
2157
|
+
* Who did what to a project: to its database, or to the topic `topic` names, with each setting it
|
|
2158
|
+
* changed (feature 043).
|
|
2159
|
+
*/
|
|
2160
|
+
export declare const projectHistoryViewSchema: z.ZodObject<{
|
|
2161
|
+
kind: z.ZodString;
|
|
2162
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2163
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2164
|
+
detail: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2165
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2166
|
+
changes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2167
|
+
setting: z.ZodString;
|
|
2168
|
+
from: z.ZodString;
|
|
2169
|
+
to: z.ZodString;
|
|
2170
|
+
}, z.core.$strip>>>;
|
|
2171
|
+
}, z.core.$strip>;
|
|
2172
|
+
export type ProjectHistoryView = z.infer<typeof projectHistoryViewSchema>;
|
|
2173
|
+
/** What a grant opens: one route, one gRPC method, one topic with one right, or the erasure. */
|
|
2174
|
+
export declare const grantTargetSchema: z.ZodObject<{
|
|
2175
|
+
kind: z.ZodString;
|
|
2176
|
+
service: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2177
|
+
method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2178
|
+
path: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2179
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2180
|
+
right: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2181
|
+
decrypt: z.ZodDefault<z.ZodBoolean>;
|
|
2182
|
+
}, z.core.$strip>;
|
|
2183
|
+
export type GrantTarget = z.infer<typeof grantTargetSchema>;
|
|
2184
|
+
/** Who did something to a grant, and when. */
|
|
2185
|
+
export declare const grantActSchema: z.ZodObject<{
|
|
2186
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2187
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2188
|
+
}, z.core.$strip>;
|
|
2189
|
+
export type GrantAct = z.infer<typeof grantActSchema>;
|
|
2190
|
+
export declare const grantRequestSchema: z.ZodObject<{
|
|
2191
|
+
grantee: z.ZodString;
|
|
2192
|
+
target: z.ZodObject<{
|
|
2193
|
+
kind: z.ZodString;
|
|
2194
|
+
service: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2195
|
+
method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2196
|
+
path: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2197
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2198
|
+
right: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2199
|
+
decrypt: z.ZodDefault<z.ZodBoolean>;
|
|
2200
|
+
}, z.core.$strip>;
|
|
2201
|
+
}, z.core.$strip>;
|
|
2202
|
+
export type GrantRequest = z.infer<typeof grantRequestSchema>;
|
|
2203
|
+
/** A grant as its project lists it; `effect` is `in effect`, or why not. */
|
|
2204
|
+
export declare const grantDetailSchema: z.ZodObject<{
|
|
2205
|
+
id: z.ZodString;
|
|
2206
|
+
grantee: z.ZodString;
|
|
2207
|
+
target: z.ZodObject<{
|
|
2208
|
+
kind: z.ZodString;
|
|
2209
|
+
service: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2210
|
+
method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2211
|
+
path: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2212
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2213
|
+
right: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2214
|
+
decrypt: z.ZodDefault<z.ZodBoolean>;
|
|
2215
|
+
}, z.core.$strip>;
|
|
2216
|
+
state: z.ZodString;
|
|
2217
|
+
effect: z.ZodString;
|
|
2218
|
+
granted: z.ZodObject<{
|
|
2219
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2220
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2221
|
+
}, z.core.$strip>;
|
|
2222
|
+
answered: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2223
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2224
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2225
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
2226
|
+
by: string | undefined;
|
|
2227
|
+
at: string | undefined;
|
|
2228
|
+
} | undefined, {
|
|
2229
|
+
by: string | undefined;
|
|
2230
|
+
at: string | undefined;
|
|
2231
|
+
} | null | undefined>>;
|
|
2232
|
+
ended: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2233
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2234
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2235
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
2236
|
+
by: string | undefined;
|
|
2237
|
+
at: string | undefined;
|
|
2238
|
+
} | undefined, {
|
|
2239
|
+
by: string | undefined;
|
|
2240
|
+
at: string | undefined;
|
|
2241
|
+
} | null | undefined>>;
|
|
2242
|
+
}, z.core.$strip>;
|
|
2243
|
+
export type GrantDetail = z.infer<typeof grantDetailSchema>;
|
|
2244
|
+
export declare const grantChangeRecordSchema: z.ZodObject<{
|
|
2245
|
+
change: z.ZodString;
|
|
2246
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2247
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2248
|
+
}, z.core.$strip>;
|
|
2249
|
+
export declare const topicSettingsSchema: z.ZodObject<{
|
|
2250
|
+
partitions: z.ZodNumber;
|
|
2251
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
2252
|
+
retention: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2253
|
+
copies: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2254
|
+
}, z.core.$strip>;
|
|
2255
|
+
/** A grant as its grantee's side records it. */
|
|
2256
|
+
export declare const receivedGrantDetailSchema: z.ZodObject<{
|
|
2257
|
+
id: z.ZodString;
|
|
2258
|
+
grantingProject: z.ZodString;
|
|
2259
|
+
grantingOrganization: z.ZodString;
|
|
2260
|
+
grantee: z.ZodString;
|
|
2261
|
+
target: z.ZodObject<{
|
|
2262
|
+
kind: z.ZodString;
|
|
2263
|
+
service: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2264
|
+
method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2265
|
+
path: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2266
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2267
|
+
right: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2268
|
+
decrypt: z.ZodDefault<z.ZodBoolean>;
|
|
2269
|
+
}, z.core.$strip>;
|
|
2270
|
+
state: z.ZodString;
|
|
2271
|
+
changes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2272
|
+
change: z.ZodString;
|
|
2273
|
+
by: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2274
|
+
at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2275
|
+
}, z.core.$strip>>>;
|
|
2276
|
+
topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2277
|
+
partitions: z.ZodNumber;
|
|
2278
|
+
compacted: z.ZodDefault<z.ZodBoolean>;
|
|
2279
|
+
retention: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2280
|
+
copies: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
2281
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
2282
|
+
partitions: number;
|
|
2283
|
+
compacted: boolean;
|
|
2284
|
+
retention: string | undefined;
|
|
2285
|
+
copies: number | undefined;
|
|
2286
|
+
} | undefined, {
|
|
2287
|
+
partitions: number;
|
|
2288
|
+
compacted: boolean;
|
|
2289
|
+
retention: string | undefined;
|
|
2290
|
+
copies: number | undefined;
|
|
2291
|
+
} | null | undefined>>;
|
|
2292
|
+
}, z.core.$strip>;
|
|
2293
|
+
export type ReceivedGrantDetail = z.infer<typeof receivedGrantDetailSchema>;
|
|
2294
|
+
export declare const machineRegistrationSchema: z.ZodObject<{
|
|
2295
|
+
name: z.ZodString;
|
|
2296
|
+
}, z.core.$strip>;
|
|
2297
|
+
/** A machine just registered: its secret, shown this once. */
|
|
2298
|
+
export declare const machineRegisteredSchema: z.ZodObject<{
|
|
2299
|
+
name: z.ZodString;
|
|
2300
|
+
clientId: z.ZodString;
|
|
2301
|
+
clientSecret: z.ZodString;
|
|
2302
|
+
tokenUrl: z.ZodString;
|
|
2303
|
+
brokerBootstrap: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2304
|
+
}, z.core.$strip>;
|
|
2305
|
+
export type MachineRegistered = z.infer<typeof machineRegisteredSchema>;
|
|
2306
|
+
export declare const byteRatesRequestSchema: z.ZodObject<{
|
|
2307
|
+
produceBytesPerSecond: z.ZodNumber;
|
|
2308
|
+
consumeBytesPerSecond: z.ZodNumber;
|
|
2309
|
+
requestPercentage: z.ZodNumber;
|
|
2310
|
+
}, z.core.$strip>;
|
|
2311
|
+
export type ByteRatesRequest = z.infer<typeof byteRatesRequestSchema>;
|
|
2312
|
+
export declare const machineSummarySchema: z.ZodObject<{
|
|
2313
|
+
name: z.ZodString;
|
|
2314
|
+
clientId: z.ZodString;
|
|
2315
|
+
registeredBy: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2316
|
+
registeredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
2317
|
+
byteRates: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2318
|
+
produceBytesPerSecond: z.ZodNumber;
|
|
2319
|
+
consumeBytesPerSecond: z.ZodNumber;
|
|
2320
|
+
requestPercentage: z.ZodNumber;
|
|
2321
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
2322
|
+
produceBytesPerSecond: number;
|
|
2323
|
+
consumeBytesPerSecond: number;
|
|
2324
|
+
requestPercentage: number;
|
|
2325
|
+
} | undefined, {
|
|
2326
|
+
produceBytesPerSecond: number;
|
|
2327
|
+
consumeBytesPerSecond: number;
|
|
2328
|
+
requestPercentage: number;
|
|
2329
|
+
} | null | undefined>>;
|
|
2330
|
+
}, z.core.$strip>;
|
|
2331
|
+
export type MachineSummary = z.infer<typeof machineSummarySchema>;
|
|
2332
|
+
export declare const tokenResponseSchema: z.ZodObject<{
|
|
2333
|
+
access_token: z.ZodString;
|
|
2334
|
+
token_type: z.ZodString;
|
|
2335
|
+
expires_in: z.ZodNumber;
|
|
2336
|
+
}, z.core.$strip>;
|
|
2337
|
+
export declare const jsonWebKeySetSchema: z.ZodObject<{
|
|
2338
|
+
keys: z.ZodArray<z.ZodObject<{
|
|
2339
|
+
kty: z.ZodString;
|
|
2340
|
+
use: z.ZodString;
|
|
2341
|
+
alg: z.ZodString;
|
|
2342
|
+
kid: z.ZodString;
|
|
2343
|
+
n: z.ZodString;
|
|
2344
|
+
e: z.ZodString;
|
|
2345
|
+
}, z.core.$strip>>;
|
|
2346
|
+
}, z.core.$strip>;
|
|
889
2347
|
/** Every schema by the Scala type's name, as the fixture files name them. */
|
|
890
2348
|
export declare const schemasByType: Record<string, z.ZodType>;
|