@stitchwire/client 0.0.0-stage → 0.31.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/LICENSE +21 -0
- package/README.md +296 -2
- package/dist/chunk-d3248e3w.js +728 -0
- package/dist/chunk-mva06nh4.js +709 -0
- package/dist/contracts.d.ts +1 -0
- package/dist/contracts.js +84 -0
- package/dist/enrollment.d.ts +1 -0
- package/dist/enrollment.js +503 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1680 -0
- package/dist/types/client/src/contracts.d.ts +1 -0
- package/dist/types/client/src/enrollment.d.ts +11 -0
- package/dist/types/client/src/index.d.ts +1 -0
- package/dist/types/contracts/src/door/client-error.d.ts +20 -0
- package/dist/types/contracts/src/door/common.d.ts +3 -0
- package/dist/types/contracts/src/door/event-lifecycle.d.ts +22 -0
- package/dist/types/contracts/src/door/local-contract.d.ts +466 -0
- package/dist/types/contracts/src/door/paths.d.ts +17 -0
- package/dist/types/contracts/src/door/request-bounds.d.ts +4 -0
- package/dist/types/contracts/src/door/requests.d.ts +47 -0
- package/dist/types/contracts/src/door/results.d.ts +319 -0
- package/dist/types/contracts/src/door/status.d.ts +859 -0
- package/dist/types/contracts/src/door/streams.d.ts +226 -0
- package/dist/types/contracts/src/enrollment/fleet-admission.d.ts +413 -0
- package/dist/types/contracts/src/enrollment/outcome.d.ts +29 -0
- package/dist/types/contracts/src/enrollment/request.d.ts +281 -0
- package/dist/types/contracts/src/enrollment/result.d.ts +713 -0
- package/dist/types/contracts/src/fleet/bundle.d.ts +209 -0
- package/dist/types/contracts/src/fleet/identity.d.ts +4 -0
- package/dist/types/contracts/src/fleet/manifest.d.ts +71 -0
- package/dist/types/contracts/src/fleet/status.d.ts +56 -0
- package/dist/types/contracts/src/peer-contract.d.ts +78 -0
- package/dist/types/contracts/src/protocol/bounds.d.ts +37 -0
- package/dist/types/contracts/src/protocol/broker-health.d.ts +384 -0
- package/dist/types/contracts/src/protocol/event.d.ts +222 -0
- package/dist/types/contracts/src/protocol/failure.d.ts +146 -0
- package/dist/types/contracts/src/protocol/identity.d.ts +11 -0
- package/dist/types/contracts/src/protocol/json-bounds.d.ts +6 -0
- package/dist/types/contracts/src/protocol/lane-url.d.ts +16 -0
- package/dist/types/contracts/src/protocol/paths.d.ts +7 -0
- package/dist/types/contracts/src/protocol/payload.d.ts +25 -0
- package/dist/types/contracts/src/protocol/presence.d.ts +66 -0
- package/dist/types/contracts/src/protocol/release.d.ts +61 -0
- package/dist/types/contracts/src/protocol/result.d.ts +41 -0
- package/dist/types/contracts/src/protocol/rpc.d.ts +106 -0
- package/dist/types/contracts/src/protocol/schema-parse.d.ts +23 -0
- package/dist/types/contracts/src/protocol/stream.d.ts +290 -0
- package/dist/types/contracts/src/protocol/topic.d.ts +185 -0
- package/dist/types/contracts/src/service/budgets.d.ts +3 -0
- package/dist/types/contracts/src/service/contract-descriptor.d.ts +9 -0
- package/dist/types/contracts/src/service/contracts.d.ts +430 -0
- package/dist/types/contracts/src/service/declaration.d.ts +122 -0
- package/dist/types/contracts/src/service/diagnostics.d.ts +104 -0
- package/dist/types/contracts/src/service/owner-route-path.d.ts +11 -0
- package/dist/types/contracts/src/service/policy-schema.d.ts +154 -0
- package/dist/types/contracts/src/service/request-bounds.d.ts +5 -0
- package/dist/types/contracts/src/service/service-contract.d.ts +112 -0
- package/dist/types/local-client/src/broker-health.d.ts +18 -0
- package/dist/types/local-client/src/client.d.ts +377 -0
- package/dist/types/local-client/src/contracts.d.ts +112 -0
- package/dist/types/local-client/src/declarations.d.ts +57 -0
- package/dist/types/local-client/src/door-paths.d.ts +18 -0
- package/dist/types/local-client/src/errno.d.ts +6 -0
- package/dist/types/local-client/src/error-chain.d.ts +25 -0
- package/dist/types/local-client/src/errors.d.ts +39 -0
- package/dist/types/local-client/src/event-sequence.d.ts +4 -0
- package/dist/types/local-client/src/feed.d.ts +8 -0
- package/dist/types/local-client/src/http.d.ts +20 -0
- package/dist/types/local-client/src/index.d.ts +13 -0
- package/dist/types/local-client/src/ingress.d.ts +31 -0
- package/dist/types/local-client/src/operation.d.ts +37 -0
- package/dist/types/local-client/src/options.d.ts +18 -0
- package/dist/types/local-client/src/paths.d.ts +52 -0
- package/dist/types/local-client/src/readers.d.ts +143 -0
- package/dist/types/local-client/src/service.d.ts +33 -0
- package/dist/types/local-client/src/status-readers.d.ts +756 -0
- package/dist/types/local-client/src/unary.d.ts +10 -0
- package/package.json +58 -4
|
@@ -0,0 +1,859 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const JournalAnomalySchema: z.ZodObject<{
|
|
3
|
+
file: z.ZodString;
|
|
4
|
+
offset: z.ZodNumber;
|
|
5
|
+
line: z.ZodNumber;
|
|
6
|
+
reason: z.ZodEnum<{
|
|
7
|
+
"invalid-event": "invalid-event";
|
|
8
|
+
"invalid-frame": "invalid-frame";
|
|
9
|
+
"invalid-json": "invalid-json";
|
|
10
|
+
"invalid-utf8": "invalid-utf8";
|
|
11
|
+
"nul-byte": "nul-byte";
|
|
12
|
+
"oversized-line": "oversized-line";
|
|
13
|
+
"unterminated-line": "unterminated-line";
|
|
14
|
+
}>;
|
|
15
|
+
position: z.ZodEnum<{
|
|
16
|
+
interior: "interior";
|
|
17
|
+
tail: "tail";
|
|
18
|
+
}>;
|
|
19
|
+
terminated: z.ZodBoolean;
|
|
20
|
+
skippedBytes: z.ZodNumber;
|
|
21
|
+
}, z.core.$strict>;
|
|
22
|
+
/** A file the journal set aside at startup instead of refusing to start; it is never deleted. */
|
|
23
|
+
export declare const QuarantinedFileSchema: z.ZodObject<{
|
|
24
|
+
file: z.ZodString;
|
|
25
|
+
quarantinedAs: z.ZodString;
|
|
26
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
27
|
+
"not-a-regular-file": "not-a-regular-file";
|
|
28
|
+
"torn-without-retention-slot": "torn-without-retention-slot";
|
|
29
|
+
unreadable: "unreadable";
|
|
30
|
+
}>>;
|
|
31
|
+
code: z.ZodOptional<z.ZodString>;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
/**
|
|
34
|
+
* What journal recovery found at startup, as this door reports it.
|
|
35
|
+
*
|
|
36
|
+
* The journal's framework reports the same facts in its own schema. The door states its own form
|
|
37
|
+
* instead of importing that one: a field the framework adds or renames would otherwise change this
|
|
38
|
+
* protocol without a version change. The recovery tests parse the framework's real report with this
|
|
39
|
+
* schema, so a framework change fails a test here rather than reaching a client.
|
|
40
|
+
*/
|
|
41
|
+
export declare const JournalRecoverySchema: z.ZodObject<{
|
|
42
|
+
filesChecked: z.ZodNumber;
|
|
43
|
+
anomalies: z.ZodNumber;
|
|
44
|
+
skippedBytes: z.ZodNumber;
|
|
45
|
+
firstAnomaly: z.ZodOptional<z.ZodObject<{
|
|
46
|
+
file: z.ZodString;
|
|
47
|
+
offset: z.ZodNumber;
|
|
48
|
+
line: z.ZodNumber;
|
|
49
|
+
reason: z.ZodEnum<{
|
|
50
|
+
"invalid-event": "invalid-event";
|
|
51
|
+
"invalid-frame": "invalid-frame";
|
|
52
|
+
"invalid-json": "invalid-json";
|
|
53
|
+
"invalid-utf8": "invalid-utf8";
|
|
54
|
+
"nul-byte": "nul-byte";
|
|
55
|
+
"oversized-line": "oversized-line";
|
|
56
|
+
"unterminated-line": "unterminated-line";
|
|
57
|
+
}>;
|
|
58
|
+
position: z.ZodEnum<{
|
|
59
|
+
interior: "interior";
|
|
60
|
+
tail: "tail";
|
|
61
|
+
}>;
|
|
62
|
+
terminated: z.ZodBoolean;
|
|
63
|
+
skippedBytes: z.ZodNumber;
|
|
64
|
+
}, z.core.$strict>>;
|
|
65
|
+
lastAnomaly: z.ZodOptional<z.ZodObject<{
|
|
66
|
+
file: z.ZodString;
|
|
67
|
+
offset: z.ZodNumber;
|
|
68
|
+
line: z.ZodNumber;
|
|
69
|
+
reason: z.ZodEnum<{
|
|
70
|
+
"invalid-event": "invalid-event";
|
|
71
|
+
"invalid-frame": "invalid-frame";
|
|
72
|
+
"invalid-json": "invalid-json";
|
|
73
|
+
"invalid-utf8": "invalid-utf8";
|
|
74
|
+
"nul-byte": "nul-byte";
|
|
75
|
+
"oversized-line": "oversized-line";
|
|
76
|
+
"unterminated-line": "unterminated-line";
|
|
77
|
+
}>;
|
|
78
|
+
position: z.ZodEnum<{
|
|
79
|
+
interior: "interior";
|
|
80
|
+
tail: "tail";
|
|
81
|
+
}>;
|
|
82
|
+
terminated: z.ZodBoolean;
|
|
83
|
+
skippedBytes: z.ZodNumber;
|
|
84
|
+
}, z.core.$strict>>;
|
|
85
|
+
quarantined: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
86
|
+
file: z.ZodString;
|
|
87
|
+
quarantinedAs: z.ZodString;
|
|
88
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
89
|
+
"not-a-regular-file": "not-a-regular-file";
|
|
90
|
+
"torn-without-retention-slot": "torn-without-retention-slot";
|
|
91
|
+
unreadable: "unreadable";
|
|
92
|
+
}>>;
|
|
93
|
+
code: z.ZodOptional<z.ZodString>;
|
|
94
|
+
}, z.core.$strict>>>>;
|
|
95
|
+
quarantinedUnlisted: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
}, z.core.$strict>;
|
|
97
|
+
export declare const AuditJournalSchema: z.ZodObject<{
|
|
98
|
+
path: z.ZodString;
|
|
99
|
+
bytes: z.ZodNumber;
|
|
100
|
+
generations: z.ZodNumber;
|
|
101
|
+
maxBytes: z.ZodNumber;
|
|
102
|
+
keep: z.ZodNumber;
|
|
103
|
+
rotations: z.ZodNumber;
|
|
104
|
+
}, z.core.$strict>;
|
|
105
|
+
export declare const AuditStatusSchema: z.ZodObject<{
|
|
106
|
+
queued: z.ZodNumber;
|
|
107
|
+
dropped: z.ZodNumber;
|
|
108
|
+
writeFailures: z.ZodNumber;
|
|
109
|
+
lastFailure: z.ZodNullable<z.ZodString>;
|
|
110
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
111
|
+
filesChecked: z.ZodNumber;
|
|
112
|
+
anomalies: z.ZodNumber;
|
|
113
|
+
skippedBytes: z.ZodNumber;
|
|
114
|
+
firstAnomaly: z.ZodOptional<z.ZodObject<{
|
|
115
|
+
file: z.ZodString;
|
|
116
|
+
offset: z.ZodNumber;
|
|
117
|
+
line: z.ZodNumber;
|
|
118
|
+
reason: z.ZodEnum<{
|
|
119
|
+
"invalid-event": "invalid-event";
|
|
120
|
+
"invalid-frame": "invalid-frame";
|
|
121
|
+
"invalid-json": "invalid-json";
|
|
122
|
+
"invalid-utf8": "invalid-utf8";
|
|
123
|
+
"nul-byte": "nul-byte";
|
|
124
|
+
"oversized-line": "oversized-line";
|
|
125
|
+
"unterminated-line": "unterminated-line";
|
|
126
|
+
}>;
|
|
127
|
+
position: z.ZodEnum<{
|
|
128
|
+
interior: "interior";
|
|
129
|
+
tail: "tail";
|
|
130
|
+
}>;
|
|
131
|
+
terminated: z.ZodBoolean;
|
|
132
|
+
skippedBytes: z.ZodNumber;
|
|
133
|
+
}, z.core.$strict>>;
|
|
134
|
+
lastAnomaly: z.ZodOptional<z.ZodObject<{
|
|
135
|
+
file: z.ZodString;
|
|
136
|
+
offset: z.ZodNumber;
|
|
137
|
+
line: z.ZodNumber;
|
|
138
|
+
reason: z.ZodEnum<{
|
|
139
|
+
"invalid-event": "invalid-event";
|
|
140
|
+
"invalid-frame": "invalid-frame";
|
|
141
|
+
"invalid-json": "invalid-json";
|
|
142
|
+
"invalid-utf8": "invalid-utf8";
|
|
143
|
+
"nul-byte": "nul-byte";
|
|
144
|
+
"oversized-line": "oversized-line";
|
|
145
|
+
"unterminated-line": "unterminated-line";
|
|
146
|
+
}>;
|
|
147
|
+
position: z.ZodEnum<{
|
|
148
|
+
interior: "interior";
|
|
149
|
+
tail: "tail";
|
|
150
|
+
}>;
|
|
151
|
+
terminated: z.ZodBoolean;
|
|
152
|
+
skippedBytes: z.ZodNumber;
|
|
153
|
+
}, z.core.$strict>>;
|
|
154
|
+
quarantined: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
155
|
+
file: z.ZodString;
|
|
156
|
+
quarantinedAs: z.ZodString;
|
|
157
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
158
|
+
"not-a-regular-file": "not-a-regular-file";
|
|
159
|
+
"torn-without-retention-slot": "torn-without-retention-slot";
|
|
160
|
+
unreadable: "unreadable";
|
|
161
|
+
}>>;
|
|
162
|
+
code: z.ZodOptional<z.ZodString>;
|
|
163
|
+
}, z.core.$strict>>>>;
|
|
164
|
+
quarantinedUnlisted: z.ZodOptional<z.ZodNumber>;
|
|
165
|
+
}, z.core.$strict>>;
|
|
166
|
+
journal: z.ZodObject<{
|
|
167
|
+
path: z.ZodString;
|
|
168
|
+
bytes: z.ZodNumber;
|
|
169
|
+
generations: z.ZodNumber;
|
|
170
|
+
maxBytes: z.ZodNumber;
|
|
171
|
+
keep: z.ZodNumber;
|
|
172
|
+
rotations: z.ZodNumber;
|
|
173
|
+
}, z.core.$strict>;
|
|
174
|
+
}, z.core.$strict>;
|
|
175
|
+
export type AuditStatus = z.infer<typeof AuditStatusSchema>;
|
|
176
|
+
/** Last observed lane failure; `refused` distinguishes a rejected handshake from a failed dial or lost
|
|
177
|
+
* connection. It does not predict whether recovery is possible. Refusals re-dial with bounded
|
|
178
|
+
* backoff, and a successful connection clears this record. */
|
|
179
|
+
export declare const LaneFailureSchema: z.ZodObject<{
|
|
180
|
+
at: z.ZodString;
|
|
181
|
+
reason: z.ZodString;
|
|
182
|
+
refused: z.ZodBoolean;
|
|
183
|
+
}, z.core.$strict>;
|
|
184
|
+
export declare const LaneEventSubscriptionsSchema: z.ZodObject<{
|
|
185
|
+
observedAt: z.ZodISODateTime;
|
|
186
|
+
activeSubscriptions: z.ZodNumber;
|
|
187
|
+
}, z.core.$strict>;
|
|
188
|
+
export declare const LaneStatusSchema: z.ZodObject<{
|
|
189
|
+
id: z.ZodString;
|
|
190
|
+
url: z.ZodString;
|
|
191
|
+
connected: z.ZodBoolean;
|
|
192
|
+
eventSubscriptions: z.ZodObject<{
|
|
193
|
+
observedAt: z.ZodISODateTime;
|
|
194
|
+
activeSubscriptions: z.ZodNumber;
|
|
195
|
+
}, z.core.$strict>;
|
|
196
|
+
serves: z.ZodBoolean;
|
|
197
|
+
nodesVisible: z.ZodNumber;
|
|
198
|
+
presence: z.ZodEnum<{
|
|
199
|
+
disconnected: "disconnected";
|
|
200
|
+
pending: "pending";
|
|
201
|
+
ready: "ready";
|
|
202
|
+
unavailable: "unavailable";
|
|
203
|
+
}>;
|
|
204
|
+
lastFailure: z.ZodNullable<z.ZodObject<{
|
|
205
|
+
at: z.ZodString;
|
|
206
|
+
reason: z.ZodString;
|
|
207
|
+
refused: z.ZodBoolean;
|
|
208
|
+
}, z.core.$strict>>;
|
|
209
|
+
}, z.core.$strict>;
|
|
210
|
+
/** An allowed command together with whether its binary exists. A name alone is not enough: a doctor
|
|
211
|
+
* that lists a command and says nothing about the file being absent lies exactly as a check does
|
|
212
|
+
* that exits successfully when its tool is missing. */
|
|
213
|
+
export declare const AllowedCommandStatusSchema: z.ZodObject<{
|
|
214
|
+
name: z.ZodString;
|
|
215
|
+
path: z.ZodString;
|
|
216
|
+
present: z.ZodBoolean;
|
|
217
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
218
|
+
cwdPresent: z.ZodBoolean;
|
|
219
|
+
callerArgs: z.ZodEnum<{
|
|
220
|
+
append: "append";
|
|
221
|
+
none: "none";
|
|
222
|
+
options: "options";
|
|
223
|
+
}>;
|
|
224
|
+
stdin: z.ZodEnum<{
|
|
225
|
+
none: "none";
|
|
226
|
+
text: "text";
|
|
227
|
+
}>;
|
|
228
|
+
timeoutMs: z.ZodNumber;
|
|
229
|
+
outputBytes: z.ZodNumber;
|
|
230
|
+
concurrency: z.ZodNumber;
|
|
231
|
+
}, z.core.$strict>;
|
|
232
|
+
export declare const StreamProfileStatusSchema: z.ZodObject<{
|
|
233
|
+
name: z.ZodString;
|
|
234
|
+
path: z.ZodString;
|
|
235
|
+
present: z.ZodBoolean;
|
|
236
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
237
|
+
cwdPresent: z.ZodBoolean;
|
|
238
|
+
format: z.ZodEnum<{
|
|
239
|
+
ndjson: "ndjson";
|
|
240
|
+
raw: "raw";
|
|
241
|
+
}>;
|
|
242
|
+
stableCursor: z.ZodBoolean;
|
|
243
|
+
timeoutMs: z.ZodNumber;
|
|
244
|
+
maxBytes: z.ZodNumber;
|
|
245
|
+
concurrency: z.ZodNumber;
|
|
246
|
+
}, z.core.$strict>;
|
|
247
|
+
export declare const TopicDescriptorReadingSchema: z.ZodObject<{
|
|
248
|
+
path: z.ZodString;
|
|
249
|
+
state: z.ZodEnum<{
|
|
250
|
+
invalid: "invalid";
|
|
251
|
+
loaded: "loaded";
|
|
252
|
+
missing: "missing";
|
|
253
|
+
}>;
|
|
254
|
+
topics: z.ZodNumber;
|
|
255
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
256
|
+
}, z.core.$strict>;
|
|
257
|
+
export declare const TopicLaneDeclarationSchema: z.ZodObject<{
|
|
258
|
+
lane: z.ZodString;
|
|
259
|
+
declaredAt: z.ZodISODateTime;
|
|
260
|
+
accepted: z.ZodNumber;
|
|
261
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
262
|
+
topic: z.ZodString;
|
|
263
|
+
detail: z.ZodString;
|
|
264
|
+
}, z.core.$strict>>;
|
|
265
|
+
}, z.core.$strict>;
|
|
266
|
+
/**
|
|
267
|
+
* The topics this node's owners declare, as read here and as each broker answered. Empty when no
|
|
268
|
+
* descriptor is bound. An owner reads why a topic is missing on their own machine instead of in a
|
|
269
|
+
* broker's journal.
|
|
270
|
+
*/
|
|
271
|
+
export declare const TopicDeclarationsStatusSchema: z.ZodObject<{
|
|
272
|
+
descriptors: z.ZodArray<z.ZodObject<{
|
|
273
|
+
path: z.ZodString;
|
|
274
|
+
state: z.ZodEnum<{
|
|
275
|
+
invalid: "invalid";
|
|
276
|
+
loaded: "loaded";
|
|
277
|
+
missing: "missing";
|
|
278
|
+
}>;
|
|
279
|
+
topics: z.ZodNumber;
|
|
280
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
281
|
+
}, z.core.$strict>>;
|
|
282
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
283
|
+
topic: z.ZodString;
|
|
284
|
+
detail: z.ZodString;
|
|
285
|
+
}, z.core.$strict>>;
|
|
286
|
+
lanes: z.ZodArray<z.ZodObject<{
|
|
287
|
+
lane: z.ZodString;
|
|
288
|
+
declaredAt: z.ZodISODateTime;
|
|
289
|
+
accepted: z.ZodNumber;
|
|
290
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
291
|
+
topic: z.ZodString;
|
|
292
|
+
detail: z.ZodString;
|
|
293
|
+
}, z.core.$strict>>;
|
|
294
|
+
}, z.core.$strict>>;
|
|
295
|
+
}, z.core.$strict>;
|
|
296
|
+
export declare const EventNamespacesStatusSchema: z.ZodObject<{
|
|
297
|
+
publish: z.ZodArray<z.ZodString>;
|
|
298
|
+
subscribe: z.ZodArray<z.ZodString>;
|
|
299
|
+
}, z.core.$strict>;
|
|
300
|
+
export declare const EventSubscriptionStatusSchema: z.ZodObject<{
|
|
301
|
+
subscriptionId: z.ZodUUID;
|
|
302
|
+
topic: z.ZodString;
|
|
303
|
+
}, z.core.$strict>;
|
|
304
|
+
export declare const EventTopicSubscriptionsSchema: z.ZodObject<{
|
|
305
|
+
topic: z.ZodString;
|
|
306
|
+
activeSubscriptions: z.ZodNumber;
|
|
307
|
+
}, z.core.$strict>;
|
|
308
|
+
export declare const EventsStatusSchema: z.ZodObject<{
|
|
309
|
+
publish: z.ZodArray<z.ZodString>;
|
|
310
|
+
subscribe: z.ZodArray<z.ZodString>;
|
|
311
|
+
namespaces: z.ZodObject<{
|
|
312
|
+
publish: z.ZodArray<z.ZodString>;
|
|
313
|
+
subscribe: z.ZodArray<z.ZodString>;
|
|
314
|
+
}, z.core.$strict>;
|
|
315
|
+
declarations: z.ZodObject<{
|
|
316
|
+
descriptors: z.ZodArray<z.ZodObject<{
|
|
317
|
+
path: z.ZodString;
|
|
318
|
+
state: z.ZodEnum<{
|
|
319
|
+
invalid: "invalid";
|
|
320
|
+
loaded: "loaded";
|
|
321
|
+
missing: "missing";
|
|
322
|
+
}>;
|
|
323
|
+
topics: z.ZodNumber;
|
|
324
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
325
|
+
}, z.core.$strict>>;
|
|
326
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
327
|
+
topic: z.ZodString;
|
|
328
|
+
detail: z.ZodString;
|
|
329
|
+
}, z.core.$strict>>;
|
|
330
|
+
lanes: z.ZodArray<z.ZodObject<{
|
|
331
|
+
lane: z.ZodString;
|
|
332
|
+
declaredAt: z.ZodISODateTime;
|
|
333
|
+
accepted: z.ZodNumber;
|
|
334
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
335
|
+
topic: z.ZodString;
|
|
336
|
+
detail: z.ZodString;
|
|
337
|
+
}, z.core.$strict>>;
|
|
338
|
+
}, z.core.$strict>>;
|
|
339
|
+
}, z.core.$strict>;
|
|
340
|
+
activeSubscriptions: z.ZodNumber;
|
|
341
|
+
observedAt: z.ZodISODateTime;
|
|
342
|
+
subscriptions: z.ZodArray<z.ZodObject<{
|
|
343
|
+
subscriptionId: z.ZodUUID;
|
|
344
|
+
topic: z.ZodString;
|
|
345
|
+
}, z.core.$strict>>;
|
|
346
|
+
topics: z.ZodArray<z.ZodObject<{
|
|
347
|
+
topic: z.ZodString;
|
|
348
|
+
activeSubscriptions: z.ZodNumber;
|
|
349
|
+
}, z.core.$strict>>;
|
|
350
|
+
pendingPublishes: z.ZodNumber;
|
|
351
|
+
}, z.core.$strict>;
|
|
352
|
+
export declare const ServiceDescriptorReadingSchema: z.ZodObject<{
|
|
353
|
+
path: z.ZodString;
|
|
354
|
+
state: z.ZodEnum<{
|
|
355
|
+
invalid: "invalid";
|
|
356
|
+
loaded: "loaded";
|
|
357
|
+
missing: "missing";
|
|
358
|
+
}>;
|
|
359
|
+
service: z.ZodNullable<z.ZodString>;
|
|
360
|
+
callers: z.ZodNumber;
|
|
361
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
362
|
+
}, z.core.$strict>;
|
|
363
|
+
export declare const ServiceLocalRefusalSchema: z.ZodObject<{
|
|
364
|
+
path: z.ZodString;
|
|
365
|
+
service: z.ZodString;
|
|
366
|
+
detail: z.ZodString;
|
|
367
|
+
}, z.core.$strict>;
|
|
368
|
+
export declare const ServiceLaneDeclarationSchema: z.ZodObject<{
|
|
369
|
+
lane: z.ZodString;
|
|
370
|
+
declaredAt: z.ZodISODateTime;
|
|
371
|
+
accepted: z.ZodNumber;
|
|
372
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
373
|
+
service: z.ZodString;
|
|
374
|
+
caller: z.ZodString;
|
|
375
|
+
detail: z.ZodString;
|
|
376
|
+
}, z.core.$strict>>;
|
|
377
|
+
}, z.core.$strict>;
|
|
378
|
+
export declare const ServiceDeclarationsStatusSchema: z.ZodObject<{
|
|
379
|
+
descriptors: z.ZodArray<z.ZodObject<{
|
|
380
|
+
path: z.ZodString;
|
|
381
|
+
state: z.ZodEnum<{
|
|
382
|
+
invalid: "invalid";
|
|
383
|
+
loaded: "loaded";
|
|
384
|
+
missing: "missing";
|
|
385
|
+
}>;
|
|
386
|
+
service: z.ZodNullable<z.ZodString>;
|
|
387
|
+
callers: z.ZodNumber;
|
|
388
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
389
|
+
}, z.core.$strict>>;
|
|
390
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
391
|
+
path: z.ZodString;
|
|
392
|
+
service: z.ZodString;
|
|
393
|
+
detail: z.ZodString;
|
|
394
|
+
}, z.core.$strict>>;
|
|
395
|
+
lanes: z.ZodArray<z.ZodObject<{
|
|
396
|
+
lane: z.ZodString;
|
|
397
|
+
declaredAt: z.ZodISODateTime;
|
|
398
|
+
accepted: z.ZodNumber;
|
|
399
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
400
|
+
service: z.ZodString;
|
|
401
|
+
caller: z.ZodString;
|
|
402
|
+
detail: z.ZodString;
|
|
403
|
+
}, z.core.$strict>>;
|
|
404
|
+
}, z.core.$strict>>;
|
|
405
|
+
}, z.core.$strict>;
|
|
406
|
+
/**
|
|
407
|
+
* The services this node's owners declare: the namespaces the fleet granted, each bound declaration
|
|
408
|
+
* as read here, and each broker's answer about who may call. Empty when no declaration is bound.
|
|
409
|
+
*/
|
|
410
|
+
export declare const ServicesStatusSchema: z.ZodObject<{
|
|
411
|
+
namespaces: z.ZodArray<z.ZodString>;
|
|
412
|
+
declarations: z.ZodObject<{
|
|
413
|
+
descriptors: z.ZodArray<z.ZodObject<{
|
|
414
|
+
path: z.ZodString;
|
|
415
|
+
state: z.ZodEnum<{
|
|
416
|
+
invalid: "invalid";
|
|
417
|
+
loaded: "loaded";
|
|
418
|
+
missing: "missing";
|
|
419
|
+
}>;
|
|
420
|
+
service: z.ZodNullable<z.ZodString>;
|
|
421
|
+
callers: z.ZodNumber;
|
|
422
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
423
|
+
}, z.core.$strict>>;
|
|
424
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
425
|
+
path: z.ZodString;
|
|
426
|
+
service: z.ZodString;
|
|
427
|
+
detail: z.ZodString;
|
|
428
|
+
}, z.core.$strict>>;
|
|
429
|
+
lanes: z.ZodArray<z.ZodObject<{
|
|
430
|
+
lane: z.ZodString;
|
|
431
|
+
declaredAt: z.ZodISODateTime;
|
|
432
|
+
accepted: z.ZodNumber;
|
|
433
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
434
|
+
service: z.ZodString;
|
|
435
|
+
caller: z.ZodString;
|
|
436
|
+
detail: z.ZodString;
|
|
437
|
+
}, z.core.$strict>>;
|
|
438
|
+
}, z.core.$strict>>;
|
|
439
|
+
}, z.core.$strict>;
|
|
440
|
+
}, z.core.$strict>;
|
|
441
|
+
/**
|
|
442
|
+
* The node-wide ceilings a caller can actually hit, published so a client can pace itself instead of
|
|
443
|
+
* discovering each one by being refused. Per-command and per-profile concurrency live in `allow[]`
|
|
444
|
+
* and `streams[]` — this is what is shared across all of them.
|
|
445
|
+
*
|
|
446
|
+
* The local door is an exact contract. A mixed revision is rejected instead of being rendered as a
|
|
447
|
+
* partial status whose missing limits look like unknown runtime health.
|
|
448
|
+
*/
|
|
449
|
+
export declare const AdmissionStatusSchema: z.ZodObject<{
|
|
450
|
+
maxInflight: z.ZodNumber;
|
|
451
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
452
|
+
maxStreamProducers: z.ZodNumber;
|
|
453
|
+
maxStreamConsumers: z.ZodNumber;
|
|
454
|
+
maxStreamBufferedBytes: z.ZodNumber;
|
|
455
|
+
maxEventSubscriptions: z.ZodNumber;
|
|
456
|
+
maxPendingPublishes: z.ZodNumber;
|
|
457
|
+
maxPublishesPerMinute: z.ZodNumber;
|
|
458
|
+
}, z.core.$strict>;
|
|
459
|
+
/**
|
|
460
|
+
* The file this agent actually loaded, and its mode.
|
|
461
|
+
*
|
|
462
|
+
* A node whose service still runs yesterday's file looks perfectly healthy from the outside:
|
|
463
|
+
* `doctor` renders whatever the agent has in memory and cannot tell that the config on disk is a
|
|
464
|
+
* different one. Reporting the origin is what turns "the config says X" into "the RUNNING agent
|
|
465
|
+
* read X, from here".
|
|
466
|
+
*/
|
|
467
|
+
export declare const ConfigOriginSchema: z.ZodObject<{
|
|
468
|
+
path: z.ZodString;
|
|
469
|
+
mode: z.ZodNullable<z.ZodString>;
|
|
470
|
+
}, z.core.$strict>;
|
|
471
|
+
export declare const ApplicationResourcesSchema: z.ZodObject<{
|
|
472
|
+
total: z.ZodNumber;
|
|
473
|
+
ready: z.ZodNumber;
|
|
474
|
+
degraded: z.ZodNumber;
|
|
475
|
+
failed: z.ZodNumber;
|
|
476
|
+
}, z.core.$strict>;
|
|
477
|
+
/**
|
|
478
|
+
* The lifecycle kernel's own verdict about this process, beside the domain rather than mixed into it.
|
|
479
|
+
*
|
|
480
|
+
* `ready` and `health` are different questions and this is where they stop sharing an answer: a node
|
|
481
|
+
* whose every lane is down is READY — its door answers, which is the whole point of a machine that
|
|
482
|
+
* reports its situation instead of hanging — and it is not HEALTHY. The application projection is
|
|
483
|
+
* part of the status contract, not an additive hint.
|
|
484
|
+
*/
|
|
485
|
+
export declare const ApplicationStatusSchema: z.ZodObject<{
|
|
486
|
+
id: z.ZodString;
|
|
487
|
+
lifecycle: z.ZodString;
|
|
488
|
+
health: z.ZodString;
|
|
489
|
+
ready: z.ZodBoolean;
|
|
490
|
+
capturedAt: z.ZodString;
|
|
491
|
+
resources: z.ZodObject<{
|
|
492
|
+
total: z.ZodNumber;
|
|
493
|
+
ready: z.ZodNumber;
|
|
494
|
+
degraded: z.ZodNumber;
|
|
495
|
+
failed: z.ZodNumber;
|
|
496
|
+
}, z.core.$strict>;
|
|
497
|
+
}, z.core.$strict>;
|
|
498
|
+
export type ApplicationStatus = z.infer<typeof ApplicationStatusSchema>;
|
|
499
|
+
export declare const LocalStatusSchema: z.ZodObject<{
|
|
500
|
+
v: z.ZodLiteral<7>;
|
|
501
|
+
nodeId: z.ZodString;
|
|
502
|
+
connected: z.ZodBoolean;
|
|
503
|
+
lanes: z.ZodArray<z.ZodObject<{
|
|
504
|
+
id: z.ZodString;
|
|
505
|
+
url: z.ZodString;
|
|
506
|
+
connected: z.ZodBoolean;
|
|
507
|
+
eventSubscriptions: z.ZodObject<{
|
|
508
|
+
observedAt: z.ZodISODateTime;
|
|
509
|
+
activeSubscriptions: z.ZodNumber;
|
|
510
|
+
}, z.core.$strict>;
|
|
511
|
+
serves: z.ZodBoolean;
|
|
512
|
+
nodesVisible: z.ZodNumber;
|
|
513
|
+
presence: z.ZodEnum<{
|
|
514
|
+
disconnected: "disconnected";
|
|
515
|
+
pending: "pending";
|
|
516
|
+
ready: "ready";
|
|
517
|
+
unavailable: "unavailable";
|
|
518
|
+
}>;
|
|
519
|
+
lastFailure: z.ZodNullable<z.ZodObject<{
|
|
520
|
+
at: z.ZodString;
|
|
521
|
+
reason: z.ZodString;
|
|
522
|
+
refused: z.ZodBoolean;
|
|
523
|
+
}, z.core.$strict>>;
|
|
524
|
+
}, z.core.$strict>>;
|
|
525
|
+
serves: z.ZodBoolean;
|
|
526
|
+
version: z.ZodString;
|
|
527
|
+
publicationAudit: z.ZodObject<{
|
|
528
|
+
queued: z.ZodNumber;
|
|
529
|
+
dropped: z.ZodNumber;
|
|
530
|
+
writeFailures: z.ZodNumber;
|
|
531
|
+
lastFailure: z.ZodNullable<z.ZodString>;
|
|
532
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
533
|
+
filesChecked: z.ZodNumber;
|
|
534
|
+
anomalies: z.ZodNumber;
|
|
535
|
+
skippedBytes: z.ZodNumber;
|
|
536
|
+
firstAnomaly: z.ZodOptional<z.ZodObject<{
|
|
537
|
+
file: z.ZodString;
|
|
538
|
+
offset: z.ZodNumber;
|
|
539
|
+
line: z.ZodNumber;
|
|
540
|
+
reason: z.ZodEnum<{
|
|
541
|
+
"invalid-event": "invalid-event";
|
|
542
|
+
"invalid-frame": "invalid-frame";
|
|
543
|
+
"invalid-json": "invalid-json";
|
|
544
|
+
"invalid-utf8": "invalid-utf8";
|
|
545
|
+
"nul-byte": "nul-byte";
|
|
546
|
+
"oversized-line": "oversized-line";
|
|
547
|
+
"unterminated-line": "unterminated-line";
|
|
548
|
+
}>;
|
|
549
|
+
position: z.ZodEnum<{
|
|
550
|
+
interior: "interior";
|
|
551
|
+
tail: "tail";
|
|
552
|
+
}>;
|
|
553
|
+
terminated: z.ZodBoolean;
|
|
554
|
+
skippedBytes: z.ZodNumber;
|
|
555
|
+
}, z.core.$strict>>;
|
|
556
|
+
lastAnomaly: z.ZodOptional<z.ZodObject<{
|
|
557
|
+
file: z.ZodString;
|
|
558
|
+
offset: z.ZodNumber;
|
|
559
|
+
line: z.ZodNumber;
|
|
560
|
+
reason: z.ZodEnum<{
|
|
561
|
+
"invalid-event": "invalid-event";
|
|
562
|
+
"invalid-frame": "invalid-frame";
|
|
563
|
+
"invalid-json": "invalid-json";
|
|
564
|
+
"invalid-utf8": "invalid-utf8";
|
|
565
|
+
"nul-byte": "nul-byte";
|
|
566
|
+
"oversized-line": "oversized-line";
|
|
567
|
+
"unterminated-line": "unterminated-line";
|
|
568
|
+
}>;
|
|
569
|
+
position: z.ZodEnum<{
|
|
570
|
+
interior: "interior";
|
|
571
|
+
tail: "tail";
|
|
572
|
+
}>;
|
|
573
|
+
terminated: z.ZodBoolean;
|
|
574
|
+
skippedBytes: z.ZodNumber;
|
|
575
|
+
}, z.core.$strict>>;
|
|
576
|
+
quarantined: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
577
|
+
file: z.ZodString;
|
|
578
|
+
quarantinedAs: z.ZodString;
|
|
579
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
580
|
+
"not-a-regular-file": "not-a-regular-file";
|
|
581
|
+
"torn-without-retention-slot": "torn-without-retention-slot";
|
|
582
|
+
unreadable: "unreadable";
|
|
583
|
+
}>>;
|
|
584
|
+
code: z.ZodOptional<z.ZodString>;
|
|
585
|
+
}, z.core.$strict>>>>;
|
|
586
|
+
quarantinedUnlisted: z.ZodOptional<z.ZodNumber>;
|
|
587
|
+
}, z.core.$strict>>;
|
|
588
|
+
journal: z.ZodObject<{
|
|
589
|
+
path: z.ZodString;
|
|
590
|
+
bytes: z.ZodNumber;
|
|
591
|
+
generations: z.ZodNumber;
|
|
592
|
+
maxBytes: z.ZodNumber;
|
|
593
|
+
keep: z.ZodNumber;
|
|
594
|
+
rotations: z.ZodNumber;
|
|
595
|
+
}, z.core.$strict>;
|
|
596
|
+
}, z.core.$strict>;
|
|
597
|
+
serviceAudit: z.ZodOptional<z.ZodObject<{
|
|
598
|
+
queued: z.ZodNumber;
|
|
599
|
+
dropped: z.ZodNumber;
|
|
600
|
+
writeFailures: z.ZodNumber;
|
|
601
|
+
lastFailure: z.ZodNullable<z.ZodString>;
|
|
602
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
603
|
+
filesChecked: z.ZodNumber;
|
|
604
|
+
anomalies: z.ZodNumber;
|
|
605
|
+
skippedBytes: z.ZodNumber;
|
|
606
|
+
firstAnomaly: z.ZodOptional<z.ZodObject<{
|
|
607
|
+
file: z.ZodString;
|
|
608
|
+
offset: z.ZodNumber;
|
|
609
|
+
line: z.ZodNumber;
|
|
610
|
+
reason: z.ZodEnum<{
|
|
611
|
+
"invalid-event": "invalid-event";
|
|
612
|
+
"invalid-frame": "invalid-frame";
|
|
613
|
+
"invalid-json": "invalid-json";
|
|
614
|
+
"invalid-utf8": "invalid-utf8";
|
|
615
|
+
"nul-byte": "nul-byte";
|
|
616
|
+
"oversized-line": "oversized-line";
|
|
617
|
+
"unterminated-line": "unterminated-line";
|
|
618
|
+
}>;
|
|
619
|
+
position: z.ZodEnum<{
|
|
620
|
+
interior: "interior";
|
|
621
|
+
tail: "tail";
|
|
622
|
+
}>;
|
|
623
|
+
terminated: z.ZodBoolean;
|
|
624
|
+
skippedBytes: z.ZodNumber;
|
|
625
|
+
}, z.core.$strict>>;
|
|
626
|
+
lastAnomaly: z.ZodOptional<z.ZodObject<{
|
|
627
|
+
file: z.ZodString;
|
|
628
|
+
offset: z.ZodNumber;
|
|
629
|
+
line: z.ZodNumber;
|
|
630
|
+
reason: z.ZodEnum<{
|
|
631
|
+
"invalid-event": "invalid-event";
|
|
632
|
+
"invalid-frame": "invalid-frame";
|
|
633
|
+
"invalid-json": "invalid-json";
|
|
634
|
+
"invalid-utf8": "invalid-utf8";
|
|
635
|
+
"nul-byte": "nul-byte";
|
|
636
|
+
"oversized-line": "oversized-line";
|
|
637
|
+
"unterminated-line": "unterminated-line";
|
|
638
|
+
}>;
|
|
639
|
+
position: z.ZodEnum<{
|
|
640
|
+
interior: "interior";
|
|
641
|
+
tail: "tail";
|
|
642
|
+
}>;
|
|
643
|
+
terminated: z.ZodBoolean;
|
|
644
|
+
skippedBytes: z.ZodNumber;
|
|
645
|
+
}, z.core.$strict>>;
|
|
646
|
+
quarantined: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
647
|
+
file: z.ZodString;
|
|
648
|
+
quarantinedAs: z.ZodString;
|
|
649
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
650
|
+
"not-a-regular-file": "not-a-regular-file";
|
|
651
|
+
"torn-without-retention-slot": "torn-without-retention-slot";
|
|
652
|
+
unreadable: "unreadable";
|
|
653
|
+
}>>;
|
|
654
|
+
code: z.ZodOptional<z.ZodString>;
|
|
655
|
+
}, z.core.$strict>>>>;
|
|
656
|
+
quarantinedUnlisted: z.ZodOptional<z.ZodNumber>;
|
|
657
|
+
}, z.core.$strict>>;
|
|
658
|
+
journal: z.ZodObject<{
|
|
659
|
+
path: z.ZodString;
|
|
660
|
+
bytes: z.ZodNumber;
|
|
661
|
+
generations: z.ZodNumber;
|
|
662
|
+
maxBytes: z.ZodNumber;
|
|
663
|
+
keep: z.ZodNumber;
|
|
664
|
+
rotations: z.ZodNumber;
|
|
665
|
+
}, z.core.$strict>;
|
|
666
|
+
}, z.core.$strict>>;
|
|
667
|
+
allow: z.ZodArray<z.ZodObject<{
|
|
668
|
+
name: z.ZodString;
|
|
669
|
+
path: z.ZodString;
|
|
670
|
+
present: z.ZodBoolean;
|
|
671
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
672
|
+
cwdPresent: z.ZodBoolean;
|
|
673
|
+
callerArgs: z.ZodEnum<{
|
|
674
|
+
append: "append";
|
|
675
|
+
none: "none";
|
|
676
|
+
options: "options";
|
|
677
|
+
}>;
|
|
678
|
+
stdin: z.ZodEnum<{
|
|
679
|
+
none: "none";
|
|
680
|
+
text: "text";
|
|
681
|
+
}>;
|
|
682
|
+
timeoutMs: z.ZodNumber;
|
|
683
|
+
outputBytes: z.ZodNumber;
|
|
684
|
+
concurrency: z.ZodNumber;
|
|
685
|
+
}, z.core.$strict>>;
|
|
686
|
+
streams: z.ZodArray<z.ZodObject<{
|
|
687
|
+
name: z.ZodString;
|
|
688
|
+
path: z.ZodString;
|
|
689
|
+
present: z.ZodBoolean;
|
|
690
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
691
|
+
cwdPresent: z.ZodBoolean;
|
|
692
|
+
format: z.ZodEnum<{
|
|
693
|
+
ndjson: "ndjson";
|
|
694
|
+
raw: "raw";
|
|
695
|
+
}>;
|
|
696
|
+
stableCursor: z.ZodBoolean;
|
|
697
|
+
timeoutMs: z.ZodNumber;
|
|
698
|
+
maxBytes: z.ZodNumber;
|
|
699
|
+
concurrency: z.ZodNumber;
|
|
700
|
+
}, z.core.$strict>>;
|
|
701
|
+
events: z.ZodObject<{
|
|
702
|
+
publish: z.ZodArray<z.ZodString>;
|
|
703
|
+
subscribe: z.ZodArray<z.ZodString>;
|
|
704
|
+
namespaces: z.ZodObject<{
|
|
705
|
+
publish: z.ZodArray<z.ZodString>;
|
|
706
|
+
subscribe: z.ZodArray<z.ZodString>;
|
|
707
|
+
}, z.core.$strict>;
|
|
708
|
+
declarations: z.ZodObject<{
|
|
709
|
+
descriptors: z.ZodArray<z.ZodObject<{
|
|
710
|
+
path: z.ZodString;
|
|
711
|
+
state: z.ZodEnum<{
|
|
712
|
+
invalid: "invalid";
|
|
713
|
+
loaded: "loaded";
|
|
714
|
+
missing: "missing";
|
|
715
|
+
}>;
|
|
716
|
+
topics: z.ZodNumber;
|
|
717
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
718
|
+
}, z.core.$strict>>;
|
|
719
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
720
|
+
topic: z.ZodString;
|
|
721
|
+
detail: z.ZodString;
|
|
722
|
+
}, z.core.$strict>>;
|
|
723
|
+
lanes: z.ZodArray<z.ZodObject<{
|
|
724
|
+
lane: z.ZodString;
|
|
725
|
+
declaredAt: z.ZodISODateTime;
|
|
726
|
+
accepted: z.ZodNumber;
|
|
727
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
728
|
+
topic: z.ZodString;
|
|
729
|
+
detail: z.ZodString;
|
|
730
|
+
}, z.core.$strict>>;
|
|
731
|
+
}, z.core.$strict>>;
|
|
732
|
+
}, z.core.$strict>;
|
|
733
|
+
activeSubscriptions: z.ZodNumber;
|
|
734
|
+
observedAt: z.ZodISODateTime;
|
|
735
|
+
subscriptions: z.ZodArray<z.ZodObject<{
|
|
736
|
+
subscriptionId: z.ZodUUID;
|
|
737
|
+
topic: z.ZodString;
|
|
738
|
+
}, z.core.$strict>>;
|
|
739
|
+
topics: z.ZodArray<z.ZodObject<{
|
|
740
|
+
topic: z.ZodString;
|
|
741
|
+
activeSubscriptions: z.ZodNumber;
|
|
742
|
+
}, z.core.$strict>>;
|
|
743
|
+
pendingPublishes: z.ZodNumber;
|
|
744
|
+
}, z.core.$strict>;
|
|
745
|
+
services: z.ZodObject<{
|
|
746
|
+
namespaces: z.ZodArray<z.ZodString>;
|
|
747
|
+
declarations: z.ZodObject<{
|
|
748
|
+
descriptors: z.ZodArray<z.ZodObject<{
|
|
749
|
+
path: z.ZodString;
|
|
750
|
+
state: z.ZodEnum<{
|
|
751
|
+
invalid: "invalid";
|
|
752
|
+
loaded: "loaded";
|
|
753
|
+
missing: "missing";
|
|
754
|
+
}>;
|
|
755
|
+
service: z.ZodNullable<z.ZodString>;
|
|
756
|
+
callers: z.ZodNumber;
|
|
757
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
758
|
+
}, z.core.$strict>>;
|
|
759
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
760
|
+
path: z.ZodString;
|
|
761
|
+
service: z.ZodString;
|
|
762
|
+
detail: z.ZodString;
|
|
763
|
+
}, z.core.$strict>>;
|
|
764
|
+
lanes: z.ZodArray<z.ZodObject<{
|
|
765
|
+
lane: z.ZodString;
|
|
766
|
+
declaredAt: z.ZodISODateTime;
|
|
767
|
+
accepted: z.ZodNumber;
|
|
768
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
769
|
+
service: z.ZodString;
|
|
770
|
+
caller: z.ZodString;
|
|
771
|
+
detail: z.ZodString;
|
|
772
|
+
}, z.core.$strict>>;
|
|
773
|
+
}, z.core.$strict>>;
|
|
774
|
+
}, z.core.$strict>;
|
|
775
|
+
}, z.core.$strict>;
|
|
776
|
+
bundle: z.ZodObject<{
|
|
777
|
+
serial: z.ZodNullable<z.ZodNumber>;
|
|
778
|
+
issuedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
779
|
+
signer: z.ZodNullable<z.ZodString>;
|
|
780
|
+
config: z.ZodEnum<{
|
|
781
|
+
aligned: "aligned";
|
|
782
|
+
drifted: "drifted";
|
|
783
|
+
unconfigured: "unconfigured";
|
|
784
|
+
unknown: "unknown";
|
|
785
|
+
}>;
|
|
786
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
787
|
+
checkedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
788
|
+
copy: z.ZodEnum<{
|
|
789
|
+
full: "full";
|
|
790
|
+
none: "none";
|
|
791
|
+
own: "own";
|
|
792
|
+
}>;
|
|
793
|
+
lanes: z.ZodArray<z.ZodObject<{
|
|
794
|
+
lane: z.ZodString;
|
|
795
|
+
serial: z.ZodNullable<z.ZodNumber>;
|
|
796
|
+
syncedAt: z.ZodISODateTime;
|
|
797
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
798
|
+
}, z.core.$strict>>;
|
|
799
|
+
}, z.core.$strict>;
|
|
800
|
+
admission: z.ZodObject<{
|
|
801
|
+
maxInflight: z.ZodNumber;
|
|
802
|
+
maxCallsPerMinute: z.ZodNumber;
|
|
803
|
+
maxStreamProducers: z.ZodNumber;
|
|
804
|
+
maxStreamConsumers: z.ZodNumber;
|
|
805
|
+
maxStreamBufferedBytes: z.ZodNumber;
|
|
806
|
+
maxEventSubscriptions: z.ZodNumber;
|
|
807
|
+
maxPendingPublishes: z.ZodNumber;
|
|
808
|
+
maxPublishesPerMinute: z.ZodNumber;
|
|
809
|
+
}, z.core.$strict>;
|
|
810
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
811
|
+
path: z.ZodString;
|
|
812
|
+
mode: z.ZodNullable<z.ZodString>;
|
|
813
|
+
}, z.core.$strict>>;
|
|
814
|
+
release: z.ZodObject<{
|
|
815
|
+
current: z.ZodNullable<z.ZodString>;
|
|
816
|
+
latest: z.ZodNullable<z.ZodString>;
|
|
817
|
+
latestAt: z.ZodNullable<z.ZodString>;
|
|
818
|
+
checkedAt: z.ZodNullable<z.ZodString>;
|
|
819
|
+
ok: z.ZodBoolean;
|
|
820
|
+
}, z.core.$strict>;
|
|
821
|
+
application: z.ZodObject<{
|
|
822
|
+
id: z.ZodString;
|
|
823
|
+
lifecycle: z.ZodString;
|
|
824
|
+
health: z.ZodString;
|
|
825
|
+
ready: z.ZodBoolean;
|
|
826
|
+
capturedAt: z.ZodString;
|
|
827
|
+
resources: z.ZodObject<{
|
|
828
|
+
total: z.ZodNumber;
|
|
829
|
+
ready: z.ZodNumber;
|
|
830
|
+
degraded: z.ZodNumber;
|
|
831
|
+
failed: z.ZodNumber;
|
|
832
|
+
}, z.core.$strict>;
|
|
833
|
+
}, z.core.$strict>;
|
|
834
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
835
|
+
nodeId: z.ZodString;
|
|
836
|
+
online: z.ZodBoolean;
|
|
837
|
+
serves: z.ZodBoolean;
|
|
838
|
+
connections: z.ZodNumber;
|
|
839
|
+
since: z.ZodNullable<z.ZodString>;
|
|
840
|
+
version: z.ZodNullable<z.ZodString>;
|
|
841
|
+
behind: z.ZodNullable<z.ZodEnum<{
|
|
842
|
+
major: "major";
|
|
843
|
+
minor: "minor";
|
|
844
|
+
patch: "patch";
|
|
845
|
+
}>>;
|
|
846
|
+
versionSeenAt: z.ZodNullable<z.ZodString>;
|
|
847
|
+
departure: z.ZodNullable<z.ZodObject<{
|
|
848
|
+
at: z.ZodString;
|
|
849
|
+
reason: z.ZodString;
|
|
850
|
+
kind: z.ZodEnum<{
|
|
851
|
+
announced: "announced";
|
|
852
|
+
"broker-restart": "broker-restart";
|
|
853
|
+
lost: "lost";
|
|
854
|
+
}>;
|
|
855
|
+
}, z.core.$strict>>;
|
|
856
|
+
observingSince: z.ZodString;
|
|
857
|
+
}, z.core.$strict>>;
|
|
858
|
+
}, z.core.$strict>;
|
|
859
|
+
export type LocalStatus = z.infer<typeof LocalStatusSchema>;
|