@lace-cloud/canvas 0.37.1 → 0.39.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/README.md +11 -7
- package/dist/{App-IFIOMNV7.css → App-ZKO6I5AO.css} +1 -1
- package/dist/{Banner-4TSIKYLF.css → Banner-V657C2TO.css} +2 -2
- package/dist/CardDecoration-VECUWURJ.css +57 -0
- package/dist/{Drawer-34ZYTEWE.css → Drawer-R4IFVVJE.css} +1 -1
- package/dist/{GroupNode-2IGAUA6V.css → GroupNode-ZTT7ELHC.css} +16 -0
- package/dist/{ModuleNode-3GTXKKVQ.css → ModuleNode-6Q4ZBNGG.css} +16 -0
- package/dist/PaperGrid-NNLCTIEC.css +9 -0
- package/dist/{UpdateButton-VSIHLAZC.css → UpdateButton-JJ4WELPG.css} +6 -0
- package/dist/{chunk-323MYV3H.mjs → chunk-C6QJEJO5.mjs} +694 -3662
- package/dist/chunk-C6QJEJO5.mjs.map +1 -0
- package/dist/engine/index.cjs +702 -3680
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +4 -4
- package/dist/engine/index.d.ts +4 -4
- package/dist/engine/index.mjs +1 -13
- package/dist/index.cjs +1465 -4432
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +26 -45
- package/dist/index.d.ts +26 -45
- package/dist/index.mjs +608 -599
- package/dist/index.mjs.map +1 -1
- package/dist/{panels-shared-3HUQC7TC.css → panels-shared-Y4ULZZLB.css} +4 -4
- package/dist/{registry-D3cL5cfF.d.mts → registry-CFii6MTW.d.mts} +385 -579
- package/dist/{registry-D3cL5cfF.d.ts → registry-CFii6MTW.d.ts} +385 -579
- package/package.json +3 -3
- package/dist/BadgeRow-KVODWDQK.css +0 -23
- package/dist/PaperGrid-JG4GBRDP.css +0 -19
- package/dist/chunk-323MYV3H.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EngineMethod, EngineStreamMethod, BridgeMethod, MessageBridge, Diagnostic as Diagnostic$1, CanvasArrangement, XY, CanvasView } from '@lace-cloud/proto';
|
|
1
|
+
import { Bundle, Reason, EngineMethod, EngineStreamMethod, BridgeMethod, MessageBridge, Diagnostic as Diagnostic$1, CanvasArrangement, XY, CanvasView } from '@lace-cloud/proto';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
|
|
4
4
|
|
|
@@ -13,383 +13,7 @@ import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
|
|
|
13
13
|
*/
|
|
14
14
|
interface Empty {
|
|
15
15
|
}
|
|
16
|
-
declare const Empty: MessageFns$
|
|
17
|
-
type Builtin$2 = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
18
|
-
type DeepPartial$2<T> = T extends Builtin$2 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$2<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$2<U>> : T extends {} ? {
|
|
19
|
-
[K in keyof T]?: DeepPartial$2<T[K]>;
|
|
20
|
-
} : Partial<T>;
|
|
21
|
-
type KeysOfUnion$2<T> = T extends T ? keyof T : never;
|
|
22
|
-
type Exact$2<P, I extends P> = P extends Builtin$2 ? P : P & {
|
|
23
|
-
[K in keyof P]: Exact$2<P[K], I[K]>;
|
|
24
|
-
} & {
|
|
25
|
-
[K in Exclude<keyof I, KeysOfUnion$2<P>>]: never;
|
|
26
|
-
};
|
|
27
|
-
interface MessageFns$2<T> {
|
|
28
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
29
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
30
|
-
fromJSON(object: any): T;
|
|
31
|
-
toJSON(message: T): unknown;
|
|
32
|
-
create<I extends Exact$2<DeepPartial$2<T>, I>>(base?: I): T;
|
|
33
|
-
fromPartial<I extends Exact$2<DeepPartial$2<T>, I>>(object: I): T;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Reason is the one vocabulary of what a failure asks of the developer.
|
|
38
|
-
* The engine attaches it to a refused RPC as a `ReasonDetail` in the
|
|
39
|
-
* status' error details, and a command's failure document names it; a
|
|
40
|
-
* client branches on it, never on the message's text. A failure the API
|
|
41
|
-
* decided carries the API's own code (`ReasonDetail.api_code`), and a
|
|
42
|
-
* reason only where that code has one: every code that asks the developer
|
|
43
|
-
* to sign in again is `REASON_UNAUTHENTICATED`.
|
|
44
|
-
*
|
|
45
|
-
* The vocabulary is a file of its own, in the engine's package, generated
|
|
46
|
-
* into a Go package of its own (internal/kernel/reason/pb): every CLI package
|
|
47
|
-
* that refuses with a reason names it from there, the execution side's
|
|
48
|
-
* included, without linking the engine's wire. service.proto imports it.
|
|
49
|
-
*/
|
|
50
|
-
declare enum Reason {
|
|
51
|
-
REASON_UNSPECIFIED = 0,
|
|
52
|
-
/**
|
|
53
|
-
* REASON_NOT_LACE_FORM - Placement: the resolved tree's own certification verdict is not Lace-form.
|
|
54
|
-
* module convert and module import: lacification cannot take the tree to
|
|
55
|
-
* lace shape; the report names each managed resource and the IR gap holding it.
|
|
56
|
-
*/
|
|
57
|
-
REASON_NOT_LACE_FORM = 1,
|
|
58
|
-
/** REASON_HASH_MISMATCH - Placement: the downloaded tree does not hash to what the registry vouched for. */
|
|
59
|
-
REASON_HASH_MISMATCH = 2,
|
|
60
|
-
/** REASON_REGISTRY_UNAVAILABLE - Placement: the registry could not be reached or answered with no verdict. */
|
|
61
|
-
REASON_REGISTRY_UNAVAILABLE = 3,
|
|
62
|
-
/** REASON_ROOT_LOCKED - SessionOpen: the root's canvas is open in another window. */
|
|
63
|
-
REASON_ROOT_LOCKED = 4,
|
|
64
|
-
/** REASON_UNSAVED - Generate: the session has unsaved edits; save first. */
|
|
65
|
-
REASON_UNSAVED = 5,
|
|
66
|
-
/** REASON_CONFLICT - Generate: the tree moved under the session's base; Keep or Reload first. */
|
|
67
|
-
REASON_CONFLICT = 6,
|
|
68
|
-
/**
|
|
69
|
-
* REASON_SOURCE_REFUSED - Every mutation, save, discard and generate: the session's source tf is refused
|
|
70
|
-
* (`BundleState.source_refused`).
|
|
71
|
-
* module convert and module import: the tree's tf does not parse, has a
|
|
72
|
-
* non-empty residual report, or its Bundle fails its own validation.
|
|
73
|
-
* module validate, stack apply / stack destroy / registry register: a
|
|
74
|
-
* source the command reads does not parse; apply, destroy and register
|
|
75
|
-
* check it before the certification.
|
|
76
|
-
*/
|
|
77
|
-
REASON_SOURCE_REFUSED = 7,
|
|
78
|
-
/**
|
|
79
|
-
* REASON_NOT_GIT_REPOSITORY - Generate, module convert, module import and module fmt: the authoring
|
|
80
|
-
* root is not inside a git working tree.
|
|
81
|
-
* stack create --source: the directory is not inside a git working tree,
|
|
82
|
-
* so it has no place in a repository to bind the stack to.
|
|
83
|
-
*/
|
|
84
|
-
REASON_NOT_GIT_REPOSITORY = 8,
|
|
85
|
-
/** REASON_GENERATE_IN_PROGRESS - Generate: a Generate is already running on the session. */
|
|
86
|
-
REASON_GENERATE_IN_PROGRESS = 9,
|
|
87
|
-
/** REASON_NO_ORGANIZATION - A scoped command: no organization is selected. */
|
|
88
|
-
REASON_NO_ORGANIZATION = 10,
|
|
89
|
-
/** REASON_NO_TEAM - A team-scoped command: no team is selected in the organization. */
|
|
90
|
-
REASON_NO_TEAM = 11,
|
|
91
|
-
/**
|
|
92
|
-
* REASON_NO_CERTIFICATION - stack apply / stack destroy / registry register: the root has no
|
|
93
|
-
* certification.
|
|
94
|
-
*/
|
|
95
|
-
REASON_NO_CERTIFICATION = 12,
|
|
96
|
-
/**
|
|
97
|
-
* REASON_STALE_CERTIFICATION - stack apply / stack destroy / registry register: the certification
|
|
98
|
-
* does not certify the tree on disk — the tree changed since validate,
|
|
99
|
-
* another lace version wrote it, or its files are torn or mixed from two
|
|
100
|
-
* validates. Running validate again replaces it.
|
|
101
|
-
*/
|
|
102
|
-
REASON_STALE_CERTIFICATION = 13,
|
|
103
|
-
/**
|
|
104
|
-
* REASON_TOOL_MISSING - module scan / module docs / module fmt / module validate / module
|
|
105
|
-
* convert / module import / stack preview / stack apply / stack destroy:
|
|
106
|
-
* the tool the command runs (tfsec, terraform-docs, the pinned terraform)
|
|
107
|
-
* is not available. convert and module import run the pinned terraform
|
|
108
|
-
* through the validate each closes on, apply and destroy through their
|
|
109
|
-
* local plan.
|
|
110
|
-
*/
|
|
111
|
-
REASON_TOOL_MISSING = 14,
|
|
112
|
-
/**
|
|
113
|
-
* REASON_CROSS_SCOPE - ApplyAction: a wire whose source and target are owned by different
|
|
114
|
-
* modules crosses a group's boundary, which no single-scope edit makes.
|
|
115
|
-
* It is a refusal of the batch's content, carried on its GraphError.
|
|
116
|
-
* ReadWiringCandidates: a read whose two scopes differ, refused
|
|
117
|
-
* (FailedPrecondition) as such a wire is.
|
|
118
|
-
*/
|
|
119
|
-
REASON_CROSS_SCOPE = 15,
|
|
120
|
-
/**
|
|
121
|
-
* REASON_UNAUTHENTICATED - The developer must sign in: a command or a placement that needs
|
|
122
|
-
* credentials finds none (no `lace login`, no LACE_TOKEN), decided
|
|
123
|
-
* before any request; or the API refuses the ones sent with its code
|
|
124
|
-
* `unauthenticated`, which `ReasonDetail.api_code` then names.
|
|
125
|
-
*/
|
|
126
|
-
REASON_UNAUTHENTICATED = 16,
|
|
127
|
-
/**
|
|
128
|
-
* REASON_IMPORT_RESIDUAL - module import: a resource in the statefile has no import id the CLI
|
|
129
|
-
* derives. The failure names each in `importResiduals`; --allow-partial
|
|
130
|
-
* writes the import without them. Nothing was written.
|
|
131
|
-
*/
|
|
132
|
-
REASON_IMPORT_RESIDUAL = 17,
|
|
133
|
-
/**
|
|
134
|
-
* REASON_STACK_HAS_STATE - module import: the stack's state already holds resources, and import
|
|
135
|
-
* adopts into an empty stack. Nothing was read or written.
|
|
136
|
-
*/
|
|
137
|
-
REASON_STACK_HAS_STATE = 18,
|
|
138
|
-
/**
|
|
139
|
-
* REASON_NO_ORIGIN_REMOTE - stack create --source: the directory's repository has no `origin`
|
|
140
|
-
* remote, whose URL is the repository a stack's source binding names.
|
|
141
|
-
*/
|
|
142
|
-
REASON_NO_ORIGIN_REMOTE = 19,
|
|
143
|
-
/**
|
|
144
|
-
* REASON_IMPORT_UNDECLARED - module import: the statefile holds resources the converted tree does not
|
|
145
|
-
* declare, named in the failure's `addresses`; an import block adopts
|
|
146
|
-
* only a resource the tree declares. Nothing was written.
|
|
147
|
-
*/
|
|
148
|
-
REASON_IMPORT_UNDECLARED = 20,
|
|
149
|
-
/**
|
|
150
|
-
* REASON_ALREADY_IMPORTED - module import: the tree already imports resources the statefile holds,
|
|
151
|
-
* named in the failure's `addresses`; terraform refuses two imports of
|
|
152
|
-
* one address. Nothing was written.
|
|
153
|
-
*/
|
|
154
|
-
REASON_ALREADY_IMPORTED = 21,
|
|
155
|
-
/**
|
|
156
|
-
* REASON_NO_LOCKFILE - stack apply / stack destroy / stack preview: the root keeps no
|
|
157
|
-
* `.terraform.lock.hcl`; `lace module lock` writes it.
|
|
158
|
-
*/
|
|
159
|
-
REASON_NO_LOCKFILE = 22,
|
|
160
|
-
/** REASON_NO_COMMIT - stack create --source: the directory's repository has no commit yet. */
|
|
161
|
-
REASON_NO_COMMIT = 23,
|
|
162
|
-
/**
|
|
163
|
-
* REASON_STALE_WORKING_STATE - Discard and Restore: the session's working IR is no longer the one the
|
|
164
|
-
* caller showed the developer (`BundleState.working_digest`) -- another
|
|
165
|
-
* holder edited, undid or redid since. Restore also: the saved IR or source
|
|
166
|
-
* tree is no longer the one the backup was captured against. Nothing was
|
|
167
|
-
* discarded or restored; re-read the state and ask again.
|
|
168
|
-
*/
|
|
169
|
-
REASON_STALE_WORKING_STATE = 24,
|
|
170
|
-
UNRECOGNIZED = -1
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
interface Bundle {
|
|
174
|
-
/**
|
|
175
|
-
* The format of this encoding: "2.0", at which every Expression carries
|
|
176
|
-
* the module references the engine read from it. The engine writes every
|
|
177
|
-
* Bundle at it; an encoding of an earlier version carries none.
|
|
178
|
-
*/
|
|
179
|
-
schema_version: string;
|
|
180
|
-
kind: string;
|
|
181
|
-
entry: string;
|
|
182
|
-
modules: {
|
|
183
|
-
[key: string]: Module;
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
declare const Bundle: MessageFns$1<Bundle>;
|
|
187
|
-
interface Module {
|
|
188
|
-
id: string;
|
|
189
|
-
version: string;
|
|
190
|
-
source: Source | undefined;
|
|
191
|
-
interface: Interface | undefined;
|
|
192
|
-
modules: Use[];
|
|
193
|
-
resources: Resource[];
|
|
194
|
-
locals: Local[];
|
|
195
|
-
exports: Exports | undefined;
|
|
196
|
-
terraform: TerraformBlock | undefined;
|
|
197
|
-
providers: ProviderConfig[];
|
|
198
|
-
/** top-level directives: moved {}, import {} */
|
|
199
|
-
top_level_blocks: Block[];
|
|
200
|
-
}
|
|
201
|
-
declare const Module: MessageFns$1<Module>;
|
|
202
|
-
interface Interface {
|
|
203
|
-
inputs: InputDef$1[];
|
|
204
|
-
outputs: OutputDef$1[];
|
|
205
|
-
}
|
|
206
|
-
declare const Interface: MessageFns$1<Interface>;
|
|
207
|
-
interface InputDef$1 {
|
|
208
|
-
name: string;
|
|
209
|
-
/**
|
|
210
|
-
* The type constraint the variable's type line spells, as written; empty
|
|
211
|
-
* for a variable with no type line. `any` is a type line of its own.
|
|
212
|
-
*/
|
|
213
|
-
type: string;
|
|
214
|
-
required: boolean;
|
|
215
|
-
description: string;
|
|
216
|
-
default_value: any | undefined;
|
|
217
|
-
validation: ValidationBlock$1[];
|
|
218
|
-
sensitive: boolean;
|
|
219
|
-
/** unset = default (true); explicit false is meaningful */
|
|
220
|
-
nullable?: boolean | undefined;
|
|
221
|
-
/** unset = default (false); explicit true is meaningful */
|
|
222
|
-
ephemeral?: boolean | undefined;
|
|
223
|
-
}
|
|
224
|
-
declare const InputDef$1: MessageFns$1<InputDef$1>;
|
|
225
|
-
interface ValidationBlock$1 {
|
|
226
|
-
condition: string;
|
|
227
|
-
error_message: string;
|
|
228
|
-
}
|
|
229
|
-
declare const ValidationBlock$1: MessageFns$1<ValidationBlock$1>;
|
|
230
|
-
interface OutputDef$1 {
|
|
231
|
-
name: string;
|
|
232
|
-
/**
|
|
233
|
-
* The type of the child output the output's export reads; empty when
|
|
234
|
-
* nothing types it. An output block declares no type.
|
|
235
|
-
*/
|
|
236
|
-
type: string;
|
|
237
|
-
description: string;
|
|
238
|
-
sensitive: boolean;
|
|
239
|
-
depends_on: string[];
|
|
240
|
-
}
|
|
241
|
-
declare const OutputDef$1: MessageFns$1<OutputDef$1>;
|
|
242
|
-
interface Source {
|
|
243
|
-
kind: string;
|
|
244
|
-
repo: string;
|
|
245
|
-
subdir: string;
|
|
246
|
-
ref: string;
|
|
247
|
-
}
|
|
248
|
-
declare const Source: MessageFns$1<Source>;
|
|
249
|
-
interface Local {
|
|
250
|
-
name: string;
|
|
251
|
-
value: Binding | undefined;
|
|
252
|
-
}
|
|
253
|
-
declare const Local: MessageFns$1<Local>;
|
|
254
|
-
interface Use {
|
|
255
|
-
id: string;
|
|
256
|
-
module: string;
|
|
257
|
-
inputs: {
|
|
258
|
-
[key: string]: Binding;
|
|
259
|
-
};
|
|
260
|
-
depends_on: string[];
|
|
261
|
-
/** count meta-argument */
|
|
262
|
-
count: Binding | undefined;
|
|
263
|
-
/** for_each meta-argument */
|
|
264
|
-
for_each: Binding | undefined;
|
|
265
|
-
/**
|
|
266
|
-
* A module call's `providers = {}` map (child-local name → root ref).
|
|
267
|
-
* Each entry targets the child's default provider slot for that name;
|
|
268
|
-
* this map has no way to target an aliased child slot.
|
|
269
|
-
*/
|
|
270
|
-
providers: {
|
|
271
|
-
[key: string]: string;
|
|
272
|
-
};
|
|
273
|
-
}
|
|
274
|
-
declare const Use: MessageFns$1<Use>;
|
|
275
|
-
interface Resource {
|
|
276
|
-
id: string;
|
|
277
|
-
kind: string;
|
|
278
|
-
type: string;
|
|
279
|
-
inputs: {
|
|
280
|
-
[key: string]: Binding;
|
|
281
|
-
};
|
|
282
|
-
depends_on: string[];
|
|
283
|
-
/** nested blocks (ingress, lifecycle, dynamic, …) */
|
|
284
|
-
blocks: Block[];
|
|
285
|
-
/** count meta-argument */
|
|
286
|
-
count: Binding | undefined;
|
|
287
|
-
/** for_each meta-argument */
|
|
288
|
-
for_each: Binding | undefined;
|
|
289
|
-
/** provider meta-argument, e.g. "aws.west" */
|
|
290
|
-
provider_ref: string;
|
|
291
|
-
}
|
|
292
|
-
declare const Resource: MessageFns$1<Resource>;
|
|
293
|
-
/**
|
|
294
|
-
* Block is a recursive nested block (within a resource, or top-level moved/
|
|
295
|
-
* import). Attributes are ordered (declaration order) so regenerated HCL is
|
|
296
|
-
* byte-deterministic.
|
|
297
|
-
*/
|
|
298
|
-
interface Block {
|
|
299
|
-
type: string;
|
|
300
|
-
labels: string[];
|
|
301
|
-
attributes: NamedBinding[];
|
|
302
|
-
blocks: Block[];
|
|
303
|
-
}
|
|
304
|
-
declare const Block: MessageFns$1<Block>;
|
|
305
|
-
/** NamedBinding is an ordered (name, value) attribute within a Block. */
|
|
306
|
-
interface NamedBinding {
|
|
307
|
-
name: string;
|
|
308
|
-
value: Binding | undefined;
|
|
309
|
-
}
|
|
310
|
-
declare const NamedBinding: MessageFns$1<NamedBinding>;
|
|
311
|
-
interface Exports {
|
|
312
|
-
outputs: {
|
|
313
|
-
[key: string]: OutputExport;
|
|
314
|
-
};
|
|
315
|
-
}
|
|
316
|
-
declare const Exports: MessageFns$1<Exports>;
|
|
317
|
-
interface OutputExport {
|
|
318
|
-
out: OutputRef | undefined;
|
|
319
|
-
lit: any | undefined;
|
|
320
|
-
var: string;
|
|
321
|
-
expr: Expression | undefined;
|
|
322
|
-
}
|
|
323
|
-
declare const OutputExport: MessageFns$1<OutputExport>;
|
|
324
|
-
interface Binding {
|
|
325
|
-
lit?: any | undefined;
|
|
326
|
-
var?: string | undefined;
|
|
327
|
-
out?: OutputRef | undefined;
|
|
328
|
-
expr?: Expression | undefined;
|
|
329
|
-
}
|
|
330
|
-
declare const Binding: MessageFns$1<Binding>;
|
|
331
|
-
interface OutputRef {
|
|
332
|
-
module: string;
|
|
333
|
-
name: string;
|
|
334
|
-
}
|
|
335
|
-
declare const OutputRef: MessageFns$1<OutputRef>;
|
|
336
|
-
interface Expression {
|
|
337
|
-
lang: string;
|
|
338
|
-
value: string;
|
|
339
|
-
/**
|
|
340
|
-
* The module calls `value` reads, in source order: what the engine's
|
|
341
|
-
* one reader of references reads from the parse of `value`. The engine
|
|
342
|
-
* fills them each time it encodes an Expression and reads none back, so
|
|
343
|
-
* a consumer takes a reference from here and never from `value`.
|
|
344
|
-
*/
|
|
345
|
-
module_references: ModuleReference[];
|
|
346
|
-
}
|
|
347
|
-
declare const Expression: MessageFns$1<Expression>;
|
|
348
|
-
/** ModuleReference is one module.<call> an expression reads. */
|
|
349
|
-
interface ModuleReference {
|
|
350
|
-
/** The call read: module.<call>. */
|
|
351
|
-
call: string;
|
|
352
|
-
/**
|
|
353
|
-
* The output read off the call: the first attribute after the call and
|
|
354
|
-
* any instance key in the text, module.<call>.<output> or
|
|
355
|
-
* module.<call>[0].<output>. Unset when the reference reads the whole
|
|
356
|
-
* call: module.<call> alone, through a splat, or by a key an expression
|
|
357
|
-
* computes.
|
|
358
|
-
*/
|
|
359
|
-
output?: string | undefined;
|
|
360
|
-
/** An instance key follows the call: [0], ["k"] or [<expression>]. */
|
|
361
|
-
instance_key: boolean;
|
|
362
|
-
/** A splat follows the call or its instance key: [*] or .*. */
|
|
363
|
-
splat: boolean;
|
|
364
|
-
}
|
|
365
|
-
declare const ModuleReference: MessageFns$1<ModuleReference>;
|
|
366
|
-
/**
|
|
367
|
-
* A module's terraform block as the IR holds it. It holds no backend: Lace
|
|
368
|
-
* manages state, and a backend block is a fact about the files.
|
|
369
|
-
*/
|
|
370
|
-
interface TerraformBlock {
|
|
371
|
-
required_version: string;
|
|
372
|
-
required_providers: {
|
|
373
|
-
[key: string]: ProviderRequirement;
|
|
374
|
-
};
|
|
375
|
-
}
|
|
376
|
-
declare const TerraformBlock: MessageFns$1<TerraformBlock>;
|
|
377
|
-
interface ProviderRequirement {
|
|
378
|
-
source: string;
|
|
379
|
-
version: string;
|
|
380
|
-
configuration_aliases: string[];
|
|
381
|
-
}
|
|
382
|
-
declare const ProviderRequirement: MessageFns$1<ProviderRequirement>;
|
|
383
|
-
interface ProviderConfig {
|
|
384
|
-
name: string;
|
|
385
|
-
alias: string;
|
|
386
|
-
config: {
|
|
387
|
-
[key: string]: Binding;
|
|
388
|
-
};
|
|
389
|
-
/** nested config blocks (default_tags, assume_role, …) */
|
|
390
|
-
blocks: Block[];
|
|
391
|
-
}
|
|
392
|
-
declare const ProviderConfig: MessageFns$1<ProviderConfig>;
|
|
16
|
+
declare const Empty: MessageFns$1<Empty>;
|
|
393
17
|
type Builtin$1 = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
394
18
|
type DeepPartial$1<T> = T extends Builtin$1 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$1<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$1<U>> : T extends {} ? {
|
|
395
19
|
[K in keyof T]?: DeepPartial$1<T[K]>;
|
|
@@ -1771,41 +1395,36 @@ declare const COMMANDS: {
|
|
|
1771
1395
|
readonly hidden: false;
|
|
1772
1396
|
readonly yes: false;
|
|
1773
1397
|
};
|
|
1774
|
-
readonly "events
|
|
1775
|
-
readonly path: "events
|
|
1398
|
+
readonly "events export": {
|
|
1399
|
+
readonly path: "events export";
|
|
1776
1400
|
readonly positionals: readonly [];
|
|
1777
1401
|
readonly flags: {
|
|
1778
|
-
readonly
|
|
1402
|
+
readonly after: {
|
|
1779
1403
|
readonly type: "string";
|
|
1780
1404
|
};
|
|
1781
|
-
readonly
|
|
1782
|
-
readonly type: "
|
|
1405
|
+
readonly file: {
|
|
1406
|
+
readonly type: "string";
|
|
1783
1407
|
};
|
|
1784
1408
|
readonly org: {
|
|
1785
1409
|
readonly type: "string";
|
|
1786
1410
|
};
|
|
1787
1411
|
readonly output: {
|
|
1788
1412
|
readonly type: "string";
|
|
1789
|
-
readonly values: readonly ["
|
|
1413
|
+
readonly values: readonly ["ndjson", "json"];
|
|
1790
1414
|
readonly short: "o";
|
|
1791
1415
|
};
|
|
1792
1416
|
readonly since: {
|
|
1793
1417
|
readonly type: "string";
|
|
1794
1418
|
};
|
|
1795
|
-
readonly subjectId: {
|
|
1796
|
-
readonly type: "string";
|
|
1797
|
-
};
|
|
1798
|
-
readonly subjectKind: {
|
|
1799
|
-
readonly type: "string";
|
|
1800
|
-
};
|
|
1801
1419
|
readonly type: {
|
|
1802
|
-
readonly type: "
|
|
1420
|
+
readonly type: "stringArray";
|
|
1421
|
+
readonly repeated: true;
|
|
1803
1422
|
};
|
|
1804
1423
|
readonly until: {
|
|
1805
1424
|
readonly type: "string";
|
|
1806
1425
|
};
|
|
1807
1426
|
};
|
|
1808
|
-
readonly effect: "
|
|
1427
|
+
readonly effect: "write";
|
|
1809
1428
|
readonly hidden: false;
|
|
1810
1429
|
readonly yes: false;
|
|
1811
1430
|
};
|
|
@@ -2114,7 +1733,7 @@ declare const COMMANDS: {
|
|
|
2114
1733
|
readonly "policy get": {
|
|
2115
1734
|
readonly path: "policy get";
|
|
2116
1735
|
readonly positionals: readonly [{
|
|
2117
|
-
readonly name: "
|
|
1736
|
+
readonly name: "binding";
|
|
2118
1737
|
readonly kind: "required";
|
|
2119
1738
|
}];
|
|
2120
1739
|
readonly flags: {
|
|
@@ -2270,29 +1889,6 @@ declare const COMMANDS: {
|
|
|
2270
1889
|
readonly hidden: false;
|
|
2271
1890
|
readonly yes: false;
|
|
2272
1891
|
};
|
|
2273
|
-
readonly "run bundle": {
|
|
2274
|
-
readonly path: "run bundle";
|
|
2275
|
-
readonly positionals: readonly [{
|
|
2276
|
-
readonly name: "run";
|
|
2277
|
-
readonly kind: "required";
|
|
2278
|
-
}];
|
|
2279
|
-
readonly flags: {
|
|
2280
|
-
readonly org: {
|
|
2281
|
-
readonly type: "string";
|
|
2282
|
-
};
|
|
2283
|
-
readonly output: {
|
|
2284
|
-
readonly type: "string";
|
|
2285
|
-
readonly values: readonly ["json"];
|
|
2286
|
-
readonly short: "o";
|
|
2287
|
-
};
|
|
2288
|
-
readonly team: {
|
|
2289
|
-
readonly type: "string";
|
|
2290
|
-
};
|
|
2291
|
-
};
|
|
2292
|
-
readonly effect: "read";
|
|
2293
|
-
readonly hidden: false;
|
|
2294
|
-
readonly yes: false;
|
|
2295
|
-
};
|
|
2296
1892
|
readonly "run cancel": {
|
|
2297
1893
|
readonly path: "run cancel";
|
|
2298
1894
|
readonly positionals: readonly [{
|
|
@@ -2308,9 +1904,6 @@ declare const COMMANDS: {
|
|
|
2308
1904
|
readonly values: readonly ["table", "json"];
|
|
2309
1905
|
readonly short: "o";
|
|
2310
1906
|
};
|
|
2311
|
-
readonly reason: {
|
|
2312
|
-
readonly type: "string";
|
|
2313
|
-
};
|
|
2314
1907
|
readonly team: {
|
|
2315
1908
|
readonly type: "string";
|
|
2316
1909
|
};
|
|
@@ -2352,6 +1945,9 @@ declare const COMMANDS: {
|
|
|
2352
1945
|
readonly change: {
|
|
2353
1946
|
readonly type: "string";
|
|
2354
1947
|
};
|
|
1948
|
+
readonly createdAfter: {
|
|
1949
|
+
readonly type: "string";
|
|
1950
|
+
};
|
|
2355
1951
|
readonly cursor: {
|
|
2356
1952
|
readonly type: "string";
|
|
2357
1953
|
};
|
|
@@ -2361,6 +1957,9 @@ declare const COMMANDS: {
|
|
|
2361
1957
|
readonly limit: {
|
|
2362
1958
|
readonly type: "int";
|
|
2363
1959
|
};
|
|
1960
|
+
readonly live: {
|
|
1961
|
+
readonly type: "bool";
|
|
1962
|
+
};
|
|
2364
1963
|
readonly org: {
|
|
2365
1964
|
readonly type: "string";
|
|
2366
1965
|
};
|
|
@@ -2372,9 +1971,6 @@ declare const COMMANDS: {
|
|
|
2372
1971
|
readonly stack: {
|
|
2373
1972
|
readonly type: "string";
|
|
2374
1973
|
};
|
|
2375
|
-
readonly startedAfter: {
|
|
2376
|
-
readonly type: "string";
|
|
2377
|
-
};
|
|
2378
1974
|
readonly status: {
|
|
2379
1975
|
readonly type: "string";
|
|
2380
1976
|
};
|
|
@@ -2478,6 +2074,32 @@ declare const COMMANDS: {
|
|
|
2478
2074
|
readonly hidden: false;
|
|
2479
2075
|
readonly yes: false;
|
|
2480
2076
|
};
|
|
2077
|
+
readonly "stack archive": {
|
|
2078
|
+
readonly path: "stack archive";
|
|
2079
|
+
readonly positionals: readonly [{
|
|
2080
|
+
readonly name: "stack";
|
|
2081
|
+
readonly kind: "required";
|
|
2082
|
+
}];
|
|
2083
|
+
readonly flags: {
|
|
2084
|
+
readonly org: {
|
|
2085
|
+
readonly type: "string";
|
|
2086
|
+
};
|
|
2087
|
+
readonly output: {
|
|
2088
|
+
readonly type: "string";
|
|
2089
|
+
readonly values: readonly ["table", "json"];
|
|
2090
|
+
readonly short: "o";
|
|
2091
|
+
};
|
|
2092
|
+
readonly team: {
|
|
2093
|
+
readonly type: "string";
|
|
2094
|
+
};
|
|
2095
|
+
readonly yes: {
|
|
2096
|
+
readonly type: "bool";
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2099
|
+
readonly effect: "write";
|
|
2100
|
+
readonly hidden: false;
|
|
2101
|
+
readonly yes: true;
|
|
2102
|
+
};
|
|
2481
2103
|
readonly "stack create": {
|
|
2482
2104
|
readonly path: "stack create";
|
|
2483
2105
|
readonly positionals: readonly [{
|
|
@@ -2523,32 +2145,6 @@ declare const COMMANDS: {
|
|
|
2523
2145
|
readonly hidden: false;
|
|
2524
2146
|
readonly yes: false;
|
|
2525
2147
|
};
|
|
2526
|
-
readonly "stack delete": {
|
|
2527
|
-
readonly path: "stack delete";
|
|
2528
|
-
readonly positionals: readonly [{
|
|
2529
|
-
readonly name: "stack";
|
|
2530
|
-
readonly kind: "required";
|
|
2531
|
-
}];
|
|
2532
|
-
readonly flags: {
|
|
2533
|
-
readonly org: {
|
|
2534
|
-
readonly type: "string";
|
|
2535
|
-
};
|
|
2536
|
-
readonly output: {
|
|
2537
|
-
readonly type: "string";
|
|
2538
|
-
readonly values: readonly ["table", "json"];
|
|
2539
|
-
readonly short: "o";
|
|
2540
|
-
};
|
|
2541
|
-
readonly team: {
|
|
2542
|
-
readonly type: "string";
|
|
2543
|
-
};
|
|
2544
|
-
readonly yes: {
|
|
2545
|
-
readonly type: "bool";
|
|
2546
|
-
};
|
|
2547
|
-
};
|
|
2548
|
-
readonly effect: "write";
|
|
2549
|
-
readonly hidden: false;
|
|
2550
|
-
readonly yes: true;
|
|
2551
|
-
};
|
|
2552
2148
|
readonly "stack describe": {
|
|
2553
2149
|
readonly path: "stack describe";
|
|
2554
2150
|
readonly positionals: readonly [{
|
|
@@ -2627,32 +2223,6 @@ declare const COMMANDS: {
|
|
|
2627
2223
|
readonly hidden: false;
|
|
2628
2224
|
readonly yes: true;
|
|
2629
2225
|
};
|
|
2630
|
-
readonly "stack get": {
|
|
2631
|
-
readonly path: "stack get";
|
|
2632
|
-
readonly positionals: readonly [{
|
|
2633
|
-
readonly name: "stack";
|
|
2634
|
-
readonly kind: "required";
|
|
2635
|
-
}];
|
|
2636
|
-
readonly flags: {
|
|
2637
|
-
readonly includeArchived: {
|
|
2638
|
-
readonly type: "bool";
|
|
2639
|
-
};
|
|
2640
|
-
readonly org: {
|
|
2641
|
-
readonly type: "string";
|
|
2642
|
-
};
|
|
2643
|
-
readonly output: {
|
|
2644
|
-
readonly type: "string";
|
|
2645
|
-
readonly values: readonly ["table", "json"];
|
|
2646
|
-
readonly short: "o";
|
|
2647
|
-
};
|
|
2648
|
-
readonly team: {
|
|
2649
|
-
readonly type: "string";
|
|
2650
|
-
};
|
|
2651
|
-
};
|
|
2652
|
-
readonly effect: "read";
|
|
2653
|
-
readonly hidden: false;
|
|
2654
|
-
readonly yes: false;
|
|
2655
|
-
};
|
|
2656
2226
|
readonly "stack list": {
|
|
2657
2227
|
readonly path: "stack list";
|
|
2658
2228
|
readonly positionals: readonly [];
|
|
@@ -2899,14 +2469,6 @@ type ArgsOf<P extends CommandPath> = {
|
|
|
2899
2469
|
} & {
|
|
2900
2470
|
[K in OptionalFlagKeys<P>]?: FlagTypeOf<(typeof COMMANDS)[P]["flags"][K]>;
|
|
2901
2471
|
};
|
|
2902
|
-
/**
|
|
2903
|
-
* flags (`--flag=value`, sorted by flag name) then `--` then positionals in
|
|
2904
|
-
* golden order, so a positional value that starts with `-` always parses
|
|
2905
|
-
* as a positional, never as a flag. A bool `true` emits a bare `--flag`;
|
|
2906
|
-
* `false`/absent is omitted. A repeated flag emits one `--flag=v` per
|
|
2907
|
-
* element.
|
|
2908
|
-
*/
|
|
2909
|
-
declare function toArgv<P extends CommandPath>(path: P, args: ArgsOf<P>): string[];
|
|
2910
2472
|
/**
|
|
2911
2473
|
* The command a `lace` command line names, from the words after the
|
|
2912
2474
|
* program's name, found where the CLI finds it (`commandWordsAt`, the one
|
|
@@ -2949,7 +2511,7 @@ declare const gateChangeRequestSchema: z.ZodObject<{
|
|
|
2949
2511
|
}, z.core.$strip>>;
|
|
2950
2512
|
records: z.ZodArray<z.ZodObject<{
|
|
2951
2513
|
id: z.ZodString;
|
|
2952
|
-
|
|
2514
|
+
changeManagementSystemId: z.ZodString;
|
|
2953
2515
|
kind: z.ZodString;
|
|
2954
2516
|
externalRef: z.ZodNullable<z.ZodString>;
|
|
2955
2517
|
externalUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -3204,7 +2766,7 @@ declare const SCHEMAS: {
|
|
|
3204
2766
|
visibility: z.ZodString;
|
|
3205
2767
|
description: z.ZodString;
|
|
3206
2768
|
categories: z.ZodArray<z.ZodString>;
|
|
3207
|
-
|
|
2769
|
+
authorProfile: z.ZodNullable<z.ZodObject<{
|
|
3208
2770
|
author: z.ZodString;
|
|
3209
2771
|
displayName: z.ZodString;
|
|
3210
2772
|
logoUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -3242,7 +2804,7 @@ declare const SCHEMAS: {
|
|
|
3242
2804
|
description: z.ZodString;
|
|
3243
2805
|
categories: z.ZodArray<z.ZodString>;
|
|
3244
2806
|
readme: z.ZodNullable<z.ZodString>;
|
|
3245
|
-
|
|
2807
|
+
authorProfile: z.ZodNullable<z.ZodObject<{
|
|
3246
2808
|
author: z.ZodString;
|
|
3247
2809
|
displayName: z.ZodString;
|
|
3248
2810
|
logoUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -3327,7 +2889,16 @@ declare const SCHEMAS: {
|
|
|
3327
2889
|
lastDriftStale: z.ZodBoolean;
|
|
3328
2890
|
lastDriftConfirmedAt: z.ZodNullable<z.ZodString>;
|
|
3329
2891
|
lastDriftUndeterminedReason: z.ZodNullable<z.ZodString>;
|
|
3330
|
-
createdBy: z.
|
|
2892
|
+
createdBy: z.ZodObject<{
|
|
2893
|
+
kind: z.ZodEnum<{
|
|
2894
|
+
system: "system";
|
|
2895
|
+
user: "user";
|
|
2896
|
+
service: "service";
|
|
2897
|
+
runner: "runner";
|
|
2898
|
+
}>;
|
|
2899
|
+
id: z.ZodNullable<z.ZodString>;
|
|
2900
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2901
|
+
}, z.core.$strip>;
|
|
3331
2902
|
createdAt: z.ZodString;
|
|
3332
2903
|
updatedAt: z.ZodString;
|
|
3333
2904
|
archivedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3336,12 +2907,20 @@ declare const SCHEMAS: {
|
|
|
3336
2907
|
provider: z.ZodString;
|
|
3337
2908
|
awsAccountId: z.ZodNullable<z.ZodString>;
|
|
3338
2909
|
}, z.core.$strip>>;
|
|
3339
|
-
createdByName: z.ZodNullable<z.ZodString>;
|
|
3340
2910
|
lastApply: z.ZodNullable<z.ZodObject<{
|
|
3341
2911
|
runId: z.ZodString;
|
|
3342
2912
|
bundleSnapshotId: z.ZodString;
|
|
3343
2913
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
3344
|
-
|
|
2914
|
+
initiatingActor: z.ZodObject<{
|
|
2915
|
+
kind: z.ZodEnum<{
|
|
2916
|
+
system: "system";
|
|
2917
|
+
user: "user";
|
|
2918
|
+
service: "service";
|
|
2919
|
+
runner: "runner";
|
|
2920
|
+
}>;
|
|
2921
|
+
id: z.ZodNullable<z.ZodString>;
|
|
2922
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2923
|
+
}, z.core.$strip>;
|
|
3345
2924
|
}, z.core.$strip>>;
|
|
3346
2925
|
}, z.core.$strip>>;
|
|
3347
2926
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
@@ -3373,7 +2952,16 @@ declare const SCHEMAS: {
|
|
|
3373
2952
|
lastDriftStale: z.ZodBoolean;
|
|
3374
2953
|
lastDriftConfirmedAt: z.ZodNullable<z.ZodString>;
|
|
3375
2954
|
lastDriftUndeterminedReason: z.ZodNullable<z.ZodString>;
|
|
3376
|
-
createdBy: z.
|
|
2955
|
+
createdBy: z.ZodObject<{
|
|
2956
|
+
kind: z.ZodEnum<{
|
|
2957
|
+
system: "system";
|
|
2958
|
+
user: "user";
|
|
2959
|
+
service: "service";
|
|
2960
|
+
runner: "runner";
|
|
2961
|
+
}>;
|
|
2962
|
+
id: z.ZodNullable<z.ZodString>;
|
|
2963
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2964
|
+
}, z.core.$strip>;
|
|
3377
2965
|
createdAt: z.ZodString;
|
|
3378
2966
|
updatedAt: z.ZodString;
|
|
3379
2967
|
archivedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3382,12 +2970,20 @@ declare const SCHEMAS: {
|
|
|
3382
2970
|
provider: z.ZodString;
|
|
3383
2971
|
awsAccountId: z.ZodNullable<z.ZodString>;
|
|
3384
2972
|
}, z.core.$strip>>;
|
|
3385
|
-
createdByName: z.ZodNullable<z.ZodString>;
|
|
3386
2973
|
lastApply: z.ZodNullable<z.ZodObject<{
|
|
3387
2974
|
runId: z.ZodString;
|
|
3388
2975
|
bundleSnapshotId: z.ZodString;
|
|
3389
2976
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
3390
|
-
|
|
2977
|
+
initiatingActor: z.ZodObject<{
|
|
2978
|
+
kind: z.ZodEnum<{
|
|
2979
|
+
system: "system";
|
|
2980
|
+
user: "user";
|
|
2981
|
+
service: "service";
|
|
2982
|
+
runner: "runner";
|
|
2983
|
+
}>;
|
|
2984
|
+
id: z.ZodNullable<z.ZodString>;
|
|
2985
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2986
|
+
}, z.core.$strip>;
|
|
3391
2987
|
}, z.core.$strip>>;
|
|
3392
2988
|
}, z.core.$strip>>;
|
|
3393
2989
|
state: z.ZodNullable<z.ZodObject<{
|
|
@@ -3416,8 +3012,8 @@ declare const SCHEMAS: {
|
|
|
3416
3012
|
liveProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3417
3013
|
diff: z.ZodArray<z.ZodObject<{
|
|
3418
3014
|
path: z.ZodString;
|
|
3419
|
-
declared: z.
|
|
3420
|
-
detected: z.
|
|
3015
|
+
declared: z.ZodNonOptional<z.ZodUnknown>;
|
|
3016
|
+
detected: z.ZodNonOptional<z.ZodUnknown>;
|
|
3421
3017
|
}, z.core.$strip>>;
|
|
3422
3018
|
findingId: z.ZodNullable<z.ZodString>;
|
|
3423
3019
|
}, z.core.$strip>>;
|
|
@@ -3425,12 +3021,16 @@ declare const SCHEMAS: {
|
|
|
3425
3021
|
}, z.core.$strip>;
|
|
3426
3022
|
'policy list': z.ZodObject<{
|
|
3427
3023
|
stack: z.ZodNullable<z.ZodString>;
|
|
3428
|
-
|
|
3429
|
-
|
|
3024
|
+
bindings: z.ZodArray<z.ZodObject<{
|
|
3025
|
+
id: z.ZodString;
|
|
3430
3026
|
name: z.ZodString;
|
|
3431
|
-
mode: z.ZodString
|
|
3432
|
-
|
|
3433
|
-
|
|
3027
|
+
mode: z.ZodNullable<z.ZodString>;
|
|
3028
|
+
enabled: z.ZodBoolean;
|
|
3029
|
+
artifact: z.ZodObject<{
|
|
3030
|
+
author: z.ZodString;
|
|
3031
|
+
name: z.ZodString;
|
|
3032
|
+
version: z.ZodString;
|
|
3033
|
+
}, z.core.$strip>;
|
|
3434
3034
|
}, z.core.$strip>>;
|
|
3435
3035
|
}, z.core.$strip>;
|
|
3436
3036
|
'run list': z.ZodObject<{
|
|
@@ -3441,10 +3041,22 @@ declare const SCHEMAS: {
|
|
|
3441
3041
|
teamId: z.ZodString;
|
|
3442
3042
|
kind: z.ZodString;
|
|
3443
3043
|
status: z.ZodString;
|
|
3444
|
-
initiatedByUserId: z.ZodNullable<z.ZodString>;
|
|
3445
3044
|
initiatedVia: z.ZodString;
|
|
3446
|
-
|
|
3447
|
-
|
|
3045
|
+
initiatingActor: z.ZodObject<{
|
|
3046
|
+
kind: z.ZodEnum<{
|
|
3047
|
+
system: "system";
|
|
3048
|
+
user: "user";
|
|
3049
|
+
service: "service";
|
|
3050
|
+
runner: "runner";
|
|
3051
|
+
}>;
|
|
3052
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3053
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3054
|
+
}, z.core.$strip>;
|
|
3055
|
+
runner: z.ZodNullable<z.ZodObject<{
|
|
3056
|
+
kind: z.ZodString;
|
|
3057
|
+
id: z.ZodString;
|
|
3058
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3059
|
+
}, z.core.$strip>>;
|
|
3448
3060
|
bundleSnapshotId: z.ZodNullable<z.ZodString>;
|
|
3449
3061
|
sourceCommitSha: z.ZodNullable<z.ZodString>;
|
|
3450
3062
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -3454,11 +3066,9 @@ declare const SCHEMAS: {
|
|
|
3454
3066
|
planResourceChange: z.ZodNullable<z.ZodNumber>;
|
|
3455
3067
|
planResourceDestroy: z.ZodNullable<z.ZodNumber>;
|
|
3456
3068
|
planLocation: z.ZodNullable<z.ZodString>;
|
|
3457
|
-
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3458
3069
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3070
|
+
gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3071
|
+
gateResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3462
3072
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3463
3073
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
3464
3074
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3476,15 +3086,22 @@ declare const SCHEMAS: {
|
|
|
3476
3086
|
version: z.ZodString;
|
|
3477
3087
|
admission: z.ZodOptional<z.ZodObject<{
|
|
3478
3088
|
id: z.ZodString;
|
|
3479
|
-
admittedBy: z.
|
|
3480
|
-
|
|
3089
|
+
admittedBy: z.ZodObject<{
|
|
3090
|
+
kind: z.ZodEnum<{
|
|
3091
|
+
system: "system";
|
|
3092
|
+
user: "user";
|
|
3093
|
+
service: "service";
|
|
3094
|
+
runner: "runner";
|
|
3095
|
+
}>;
|
|
3096
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3097
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3098
|
+
}, z.core.$strip>;
|
|
3481
3099
|
admittedAt: z.ZodString;
|
|
3482
3100
|
}, z.core.$strip>>;
|
|
3483
3101
|
}, z.core.$strip>>>;
|
|
3484
3102
|
keepStack: z.ZodOptional<z.ZodBoolean>;
|
|
3485
3103
|
version: z.ZodOptional<z.ZodNumber>;
|
|
3486
3104
|
lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3487
|
-
initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3488
3105
|
stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3489
3106
|
}, z.core.$strip>>;
|
|
3490
3107
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
@@ -3504,16 +3121,19 @@ declare const SCHEMAS: {
|
|
|
3504
3121
|
}, z.core.$strip>;
|
|
3505
3122
|
human: z.ZodString;
|
|
3506
3123
|
}, z.core.$strip>;
|
|
3507
|
-
|
|
3124
|
+
resolution: z.ZodNullable<z.ZodObject<{
|
|
3508
3125
|
mode: z.ZodString;
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3126
|
+
approvalMode: z.ZodOptional<z.ZodString>;
|
|
3127
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3128
|
+
decidedBy: z.ZodArray<z.ZodObject<{
|
|
3129
|
+
bindingId: z.ZodString;
|
|
3130
|
+
ruleId: z.ZodOptional<z.ZodString>;
|
|
3131
|
+
ruleName: z.ZodOptional<z.ZodString>;
|
|
3132
|
+
rulesFired: z.ZodArray<z.ZodString>;
|
|
3133
|
+
}, z.core.$strip>>;
|
|
3514
3134
|
isAuthoringTimePreview: z.ZodBoolean;
|
|
3515
3135
|
bindings: z.ZodArray<z.ZodObject<{
|
|
3516
|
-
|
|
3136
|
+
bindingId: z.ZodString;
|
|
3517
3137
|
name: z.ZodString;
|
|
3518
3138
|
handler: z.ZodString;
|
|
3519
3139
|
mode: z.ZodString;
|
|
@@ -3542,9 +3162,22 @@ declare const SCHEMAS: {
|
|
|
3542
3162
|
contextInstallId: z.ZodNullable<z.ZodString>;
|
|
3543
3163
|
contextStackId: z.ZodNullable<z.ZodString>;
|
|
3544
3164
|
contextTreeHash: z.ZodNullable<z.ZodString>;
|
|
3165
|
+
contextIncidentId: z.ZodNullable<z.ZodString>;
|
|
3166
|
+
contextFormOpeningId: z.ZodNullable<z.ZodString>;
|
|
3167
|
+
consumerActorKind: z.ZodNullable<z.ZodString>;
|
|
3168
|
+
consumerActorId: z.ZodNullable<z.ZodString>;
|
|
3545
3169
|
actedOn: z.ZodNullable<z.ZodString>;
|
|
3546
3170
|
actedAt: z.ZodNullable<z.ZodString>;
|
|
3547
|
-
|
|
3171
|
+
actedBy: z.ZodNullable<z.ZodObject<{
|
|
3172
|
+
kind: z.ZodEnum<{
|
|
3173
|
+
system: "system";
|
|
3174
|
+
user: "user";
|
|
3175
|
+
service: "service";
|
|
3176
|
+
runner: "runner";
|
|
3177
|
+
}>;
|
|
3178
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3179
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3180
|
+
}, z.core.$strip>>;
|
|
3548
3181
|
feedbackThumbs: z.ZodNullable<z.ZodString>;
|
|
3549
3182
|
feedbackText: z.ZodNullable<z.ZodString>;
|
|
3550
3183
|
emitterKind: z.ZodString;
|
|
@@ -3555,6 +3188,22 @@ declare const SCHEMAS: {
|
|
|
3555
3188
|
confidenceScore: z.ZodNumber;
|
|
3556
3189
|
producedAt: z.ZodString;
|
|
3557
3190
|
outputJson: z.ZodUnknown;
|
|
3191
|
+
read: z.ZodObject<{
|
|
3192
|
+
plan: z.ZodString;
|
|
3193
|
+
since: z.ZodNullable<z.ZodString>;
|
|
3194
|
+
cites: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3195
|
+
kind: z.ZodString;
|
|
3196
|
+
id: z.ZodString;
|
|
3197
|
+
at: z.ZodString;
|
|
3198
|
+
present: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3199
|
+
ageDays: z.ZodNumber;
|
|
3200
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3201
|
+
kind: z.ZodString;
|
|
3202
|
+
count: z.ZodNumber;
|
|
3203
|
+
oldestAt: z.ZodString;
|
|
3204
|
+
ageDays: z.ZodNumber;
|
|
3205
|
+
}, z.core.$strip>]>>>;
|
|
3206
|
+
}, z.core.$strip>;
|
|
3558
3207
|
}, z.core.$strip>>;
|
|
3559
3208
|
agentCount: z.ZodNumber;
|
|
3560
3209
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3573,9 +3222,22 @@ declare const SCHEMAS: {
|
|
|
3573
3222
|
contextInstallId: z.ZodNullable<z.ZodString>;
|
|
3574
3223
|
contextStackId: z.ZodNullable<z.ZodString>;
|
|
3575
3224
|
contextTreeHash: z.ZodNullable<z.ZodString>;
|
|
3225
|
+
contextIncidentId: z.ZodNullable<z.ZodString>;
|
|
3226
|
+
contextFormOpeningId: z.ZodNullable<z.ZodString>;
|
|
3227
|
+
consumerActorKind: z.ZodNullable<z.ZodString>;
|
|
3228
|
+
consumerActorId: z.ZodNullable<z.ZodString>;
|
|
3576
3229
|
actedOn: z.ZodNullable<z.ZodString>;
|
|
3577
3230
|
actedAt: z.ZodNullable<z.ZodString>;
|
|
3578
|
-
|
|
3231
|
+
actedBy: z.ZodNullable<z.ZodObject<{
|
|
3232
|
+
kind: z.ZodEnum<{
|
|
3233
|
+
system: "system";
|
|
3234
|
+
user: "user";
|
|
3235
|
+
service: "service";
|
|
3236
|
+
runner: "runner";
|
|
3237
|
+
}>;
|
|
3238
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3239
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3240
|
+
}, z.core.$strip>>;
|
|
3579
3241
|
feedbackThumbs: z.ZodNullable<z.ZodString>;
|
|
3580
3242
|
feedbackText: z.ZodNullable<z.ZodString>;
|
|
3581
3243
|
emitterKind: z.ZodString;
|
|
@@ -3586,12 +3248,35 @@ declare const SCHEMAS: {
|
|
|
3586
3248
|
confidenceScore: z.ZodNumber;
|
|
3587
3249
|
producedAt: z.ZodString;
|
|
3588
3250
|
outputJson: z.ZodUnknown;
|
|
3251
|
+
read: z.ZodObject<{
|
|
3252
|
+
plan: z.ZodString;
|
|
3253
|
+
since: z.ZodNullable<z.ZodString>;
|
|
3254
|
+
cites: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3255
|
+
kind: z.ZodString;
|
|
3256
|
+
id: z.ZodString;
|
|
3257
|
+
at: z.ZodString;
|
|
3258
|
+
present: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3259
|
+
ageDays: z.ZodNumber;
|
|
3260
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3261
|
+
kind: z.ZodString;
|
|
3262
|
+
count: z.ZodNumber;
|
|
3263
|
+
oldestAt: z.ZodString;
|
|
3264
|
+
ageDays: z.ZodNumber;
|
|
3265
|
+
}, z.core.$strip>]>>>;
|
|
3266
|
+
}, z.core.$strip>;
|
|
3589
3267
|
}, z.core.$strip>>;
|
|
3590
3268
|
}, z.core.$strip>>;
|
|
3591
3269
|
}, z.core.$strip>], "kind">>;
|
|
3592
3270
|
belowFloor: z.ZodNumber;
|
|
3271
|
+
incompleteAssessment: z.ZodOptional<z.ZodBoolean>;
|
|
3593
3272
|
}, z.core.$strip>;
|
|
3594
3273
|
truncated: z.ZodBoolean;
|
|
3274
|
+
window: z.ZodNullable<z.ZodObject<{
|
|
3275
|
+
plan: z.ZodString;
|
|
3276
|
+
since: z.ZodString;
|
|
3277
|
+
notRead: z.ZodNumber;
|
|
3278
|
+
line: z.ZodString;
|
|
3279
|
+
}, z.core.$strip>>;
|
|
3595
3280
|
pending: z.ZodNumber;
|
|
3596
3281
|
bound: z.ZodOptional<z.ZodNumber>;
|
|
3597
3282
|
}, z.core.$strip>;
|
|
@@ -3622,7 +3307,7 @@ declare const SCHEMAS: {
|
|
|
3622
3307
|
}, z.core.$strip>>;
|
|
3623
3308
|
records: z.ZodArray<z.ZodObject<{
|
|
3624
3309
|
id: z.ZodString;
|
|
3625
|
-
|
|
3310
|
+
changeManagementSystemId: z.ZodString;
|
|
3626
3311
|
kind: z.ZodString;
|
|
3627
3312
|
externalRef: z.ZodNullable<z.ZodString>;
|
|
3628
3313
|
externalUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -3642,10 +3327,22 @@ declare const SCHEMAS: {
|
|
|
3642
3327
|
teamId: z.ZodString;
|
|
3643
3328
|
kind: z.ZodString;
|
|
3644
3329
|
status: z.ZodString;
|
|
3645
|
-
initiatedByUserId: z.ZodNullable<z.ZodString>;
|
|
3646
3330
|
initiatedVia: z.ZodString;
|
|
3647
|
-
|
|
3648
|
-
|
|
3331
|
+
initiatingActor: z.ZodObject<{
|
|
3332
|
+
kind: z.ZodEnum<{
|
|
3333
|
+
system: "system";
|
|
3334
|
+
user: "user";
|
|
3335
|
+
service: "service";
|
|
3336
|
+
runner: "runner";
|
|
3337
|
+
}>;
|
|
3338
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3339
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3340
|
+
}, z.core.$strip>;
|
|
3341
|
+
runner: z.ZodNullable<z.ZodObject<{
|
|
3342
|
+
kind: z.ZodString;
|
|
3343
|
+
id: z.ZodString;
|
|
3344
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3345
|
+
}, z.core.$strip>>;
|
|
3649
3346
|
bundleSnapshotId: z.ZodNullable<z.ZodString>;
|
|
3650
3347
|
sourceCommitSha: z.ZodNullable<z.ZodString>;
|
|
3651
3348
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -3655,11 +3352,9 @@ declare const SCHEMAS: {
|
|
|
3655
3352
|
planResourceChange: z.ZodNullable<z.ZodNumber>;
|
|
3656
3353
|
planResourceDestroy: z.ZodNullable<z.ZodNumber>;
|
|
3657
3354
|
planLocation: z.ZodNullable<z.ZodString>;
|
|
3658
|
-
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3659
3355
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3356
|
+
gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3357
|
+
gateResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3663
3358
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3664
3359
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
3665
3360
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3677,15 +3372,22 @@ declare const SCHEMAS: {
|
|
|
3677
3372
|
version: z.ZodString;
|
|
3678
3373
|
admission: z.ZodOptional<z.ZodObject<{
|
|
3679
3374
|
id: z.ZodString;
|
|
3680
|
-
admittedBy: z.
|
|
3681
|
-
|
|
3375
|
+
admittedBy: z.ZodObject<{
|
|
3376
|
+
kind: z.ZodEnum<{
|
|
3377
|
+
system: "system";
|
|
3378
|
+
user: "user";
|
|
3379
|
+
service: "service";
|
|
3380
|
+
runner: "runner";
|
|
3381
|
+
}>;
|
|
3382
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3383
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3384
|
+
}, z.core.$strip>;
|
|
3682
3385
|
admittedAt: z.ZodString;
|
|
3683
3386
|
}, z.core.$strip>>;
|
|
3684
3387
|
}, z.core.$strip>>>;
|
|
3685
3388
|
keepStack: z.ZodOptional<z.ZodBoolean>;
|
|
3686
3389
|
version: z.ZodOptional<z.ZodNumber>;
|
|
3687
3390
|
lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3688
|
-
initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3689
3391
|
stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3690
3392
|
}, z.core.$strip>;
|
|
3691
3393
|
summary: z.ZodObject<{
|
|
@@ -3721,7 +3423,7 @@ declare const SCHEMAS: {
|
|
|
3721
3423
|
}, z.core.$strip>>;
|
|
3722
3424
|
records: z.ZodArray<z.ZodObject<{
|
|
3723
3425
|
id: z.ZodString;
|
|
3724
|
-
|
|
3426
|
+
changeManagementSystemId: z.ZodString;
|
|
3725
3427
|
kind: z.ZodString;
|
|
3726
3428
|
externalRef: z.ZodNullable<z.ZodString>;
|
|
3727
3429
|
externalUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -3741,10 +3443,22 @@ declare const SCHEMAS: {
|
|
|
3741
3443
|
teamId: z.ZodString;
|
|
3742
3444
|
kind: z.ZodString;
|
|
3743
3445
|
status: z.ZodString;
|
|
3744
|
-
initiatedByUserId: z.ZodNullable<z.ZodString>;
|
|
3745
3446
|
initiatedVia: z.ZodString;
|
|
3746
|
-
|
|
3747
|
-
|
|
3447
|
+
initiatingActor: z.ZodObject<{
|
|
3448
|
+
kind: z.ZodEnum<{
|
|
3449
|
+
system: "system";
|
|
3450
|
+
user: "user";
|
|
3451
|
+
service: "service";
|
|
3452
|
+
runner: "runner";
|
|
3453
|
+
}>;
|
|
3454
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3455
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3456
|
+
}, z.core.$strip>;
|
|
3457
|
+
runner: z.ZodNullable<z.ZodObject<{
|
|
3458
|
+
kind: z.ZodString;
|
|
3459
|
+
id: z.ZodString;
|
|
3460
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3461
|
+
}, z.core.$strip>>;
|
|
3748
3462
|
bundleSnapshotId: z.ZodNullable<z.ZodString>;
|
|
3749
3463
|
sourceCommitSha: z.ZodNullable<z.ZodString>;
|
|
3750
3464
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -3754,11 +3468,9 @@ declare const SCHEMAS: {
|
|
|
3754
3468
|
planResourceChange: z.ZodNullable<z.ZodNumber>;
|
|
3755
3469
|
planResourceDestroy: z.ZodNullable<z.ZodNumber>;
|
|
3756
3470
|
planLocation: z.ZodNullable<z.ZodString>;
|
|
3757
|
-
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3758
3471
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3472
|
+
gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3473
|
+
gateResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3762
3474
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3763
3475
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
3764
3476
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3776,15 +3488,22 @@ declare const SCHEMAS: {
|
|
|
3776
3488
|
version: z.ZodString;
|
|
3777
3489
|
admission: z.ZodOptional<z.ZodObject<{
|
|
3778
3490
|
id: z.ZodString;
|
|
3779
|
-
admittedBy: z.
|
|
3780
|
-
|
|
3491
|
+
admittedBy: z.ZodObject<{
|
|
3492
|
+
kind: z.ZodEnum<{
|
|
3493
|
+
system: "system";
|
|
3494
|
+
user: "user";
|
|
3495
|
+
service: "service";
|
|
3496
|
+
runner: "runner";
|
|
3497
|
+
}>;
|
|
3498
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3499
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3500
|
+
}, z.core.$strip>;
|
|
3781
3501
|
admittedAt: z.ZodString;
|
|
3782
3502
|
}, z.core.$strip>>;
|
|
3783
3503
|
}, z.core.$strip>>>;
|
|
3784
3504
|
keepStack: z.ZodOptional<z.ZodBoolean>;
|
|
3785
3505
|
version: z.ZodOptional<z.ZodNumber>;
|
|
3786
3506
|
lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3787
|
-
initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3788
3507
|
stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3789
3508
|
}, z.core.$strip>;
|
|
3790
3509
|
summary: z.ZodObject<{
|
|
@@ -3823,8 +3542,8 @@ declare const SCHEMAS: {
|
|
|
3823
3542
|
liveProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3824
3543
|
diff: z.ZodArray<z.ZodObject<{
|
|
3825
3544
|
path: z.ZodString;
|
|
3826
|
-
declared: z.
|
|
3827
|
-
detected: z.
|
|
3545
|
+
declared: z.ZodNonOptional<z.ZodUnknown>;
|
|
3546
|
+
detected: z.ZodNonOptional<z.ZodUnknown>;
|
|
3828
3547
|
}, z.core.$strip>>;
|
|
3829
3548
|
findingId: z.ZodNullable<z.ZodString>;
|
|
3830
3549
|
}, z.core.$strip>>;
|
|
@@ -3856,7 +3575,16 @@ declare const SCHEMAS: {
|
|
|
3856
3575
|
lastDriftStale: z.ZodBoolean;
|
|
3857
3576
|
lastDriftConfirmedAt: z.ZodNullable<z.ZodString>;
|
|
3858
3577
|
lastDriftUndeterminedReason: z.ZodNullable<z.ZodString>;
|
|
3859
|
-
createdBy: z.
|
|
3578
|
+
createdBy: z.ZodObject<{
|
|
3579
|
+
kind: z.ZodEnum<{
|
|
3580
|
+
system: "system";
|
|
3581
|
+
user: "user";
|
|
3582
|
+
service: "service";
|
|
3583
|
+
runner: "runner";
|
|
3584
|
+
}>;
|
|
3585
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3586
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3587
|
+
}, z.core.$strip>;
|
|
3860
3588
|
createdAt: z.ZodString;
|
|
3861
3589
|
updatedAt: z.ZodString;
|
|
3862
3590
|
archivedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3865,12 +3593,20 @@ declare const SCHEMAS: {
|
|
|
3865
3593
|
provider: z.ZodString;
|
|
3866
3594
|
awsAccountId: z.ZodNullable<z.ZodString>;
|
|
3867
3595
|
}, z.core.$strip>>;
|
|
3868
|
-
createdByName: z.ZodNullable<z.ZodString>;
|
|
3869
3596
|
lastApply: z.ZodNullable<z.ZodObject<{
|
|
3870
3597
|
runId: z.ZodString;
|
|
3871
3598
|
bundleSnapshotId: z.ZodString;
|
|
3872
3599
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
3873
|
-
|
|
3600
|
+
initiatingActor: z.ZodObject<{
|
|
3601
|
+
kind: z.ZodEnum<{
|
|
3602
|
+
system: "system";
|
|
3603
|
+
user: "user";
|
|
3604
|
+
service: "service";
|
|
3605
|
+
runner: "runner";
|
|
3606
|
+
}>;
|
|
3607
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3608
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3609
|
+
}, z.core.$strip>;
|
|
3874
3610
|
}, z.core.$strip>>;
|
|
3875
3611
|
}, z.core.$strip>;
|
|
3876
3612
|
'stack validate': z.ZodObject<{
|
|
@@ -4002,10 +3738,22 @@ declare const SCHEMAS: {
|
|
|
4002
3738
|
teamId: z.ZodString;
|
|
4003
3739
|
kind: z.ZodString;
|
|
4004
3740
|
status: z.ZodString;
|
|
4005
|
-
initiatedByUserId: z.ZodNullable<z.ZodString>;
|
|
4006
3741
|
initiatedVia: z.ZodString;
|
|
4007
|
-
|
|
4008
|
-
|
|
3742
|
+
initiatingActor: z.ZodObject<{
|
|
3743
|
+
kind: z.ZodEnum<{
|
|
3744
|
+
system: "system";
|
|
3745
|
+
user: "user";
|
|
3746
|
+
service: "service";
|
|
3747
|
+
runner: "runner";
|
|
3748
|
+
}>;
|
|
3749
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3750
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3751
|
+
}, z.core.$strip>;
|
|
3752
|
+
runner: z.ZodNullable<z.ZodObject<{
|
|
3753
|
+
kind: z.ZodString;
|
|
3754
|
+
id: z.ZodString;
|
|
3755
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3756
|
+
}, z.core.$strip>>;
|
|
4009
3757
|
bundleSnapshotId: z.ZodNullable<z.ZodString>;
|
|
4010
3758
|
sourceCommitSha: z.ZodNullable<z.ZodString>;
|
|
4011
3759
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -4015,11 +3763,9 @@ declare const SCHEMAS: {
|
|
|
4015
3763
|
planResourceChange: z.ZodNullable<z.ZodNumber>;
|
|
4016
3764
|
planResourceDestroy: z.ZodNullable<z.ZodNumber>;
|
|
4017
3765
|
planLocation: z.ZodNullable<z.ZodString>;
|
|
4018
|
-
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
4019
3766
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3767
|
+
gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3768
|
+
gateResolution: z.ZodNullable<z.ZodUnknown>;
|
|
4023
3769
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
4024
3770
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
4025
3771
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -4037,28 +3783,50 @@ declare const SCHEMAS: {
|
|
|
4037
3783
|
version: z.ZodString;
|
|
4038
3784
|
admission: z.ZodOptional<z.ZodObject<{
|
|
4039
3785
|
id: z.ZodString;
|
|
4040
|
-
admittedBy: z.
|
|
4041
|
-
|
|
3786
|
+
admittedBy: z.ZodObject<{
|
|
3787
|
+
kind: z.ZodEnum<{
|
|
3788
|
+
system: "system";
|
|
3789
|
+
user: "user";
|
|
3790
|
+
service: "service";
|
|
3791
|
+
runner: "runner";
|
|
3792
|
+
}>;
|
|
3793
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3794
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3795
|
+
}, z.core.$strip>;
|
|
4042
3796
|
admittedAt: z.ZodString;
|
|
4043
3797
|
}, z.core.$strip>>;
|
|
4044
3798
|
}, z.core.$strip>>>;
|
|
4045
3799
|
keepStack: z.ZodOptional<z.ZodBoolean>;
|
|
4046
3800
|
version: z.ZodOptional<z.ZodNumber>;
|
|
4047
3801
|
lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4048
|
-
initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4049
3802
|
stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4050
3803
|
}, z.core.$strip>;
|
|
4051
3804
|
'run plan': z.ZodObject<{
|
|
4052
3805
|
runId: z.ZodString;
|
|
4053
|
-
status: z.
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
3806
|
+
status: z.ZodString;
|
|
3807
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
3808
|
+
resources: z.ZodArray<z.ZodObject<{
|
|
3809
|
+
address: z.ZodString;
|
|
3810
|
+
type: z.ZodString;
|
|
3811
|
+
actions: z.ZodArray<z.ZodString>;
|
|
3812
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
3813
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3814
|
+
before: z.ZodNonOptional<z.ZodUnknown>;
|
|
3815
|
+
after: z.ZodNonOptional<z.ZodUnknown>;
|
|
3816
|
+
afterUnknown: z.ZodBoolean;
|
|
3817
|
+
sensitive: z.ZodBoolean;
|
|
3818
|
+
}, z.core.$strip>>;
|
|
3819
|
+
replacePaths: z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
3820
|
+
}, z.core.$strip>>;
|
|
3821
|
+
truncated: z.ZodBoolean;
|
|
3822
|
+
totals: z.ZodObject<{
|
|
3823
|
+
add: z.ZodNumber;
|
|
3824
|
+
change: z.ZodNumber;
|
|
3825
|
+
destroy: z.ZodNumber;
|
|
3826
|
+
}, z.core.$strip>;
|
|
4058
3827
|
}, z.core.$strip>>;
|
|
4059
3828
|
planHuman: z.ZodNullable<z.ZodObject<{
|
|
4060
3829
|
url: z.ZodString;
|
|
4061
|
-
key: z.ZodString;
|
|
4062
3830
|
}, z.core.$strip>>;
|
|
4063
3831
|
}, z.core.$strip>;
|
|
4064
3832
|
'run cancel': z.ZodObject<{
|
|
@@ -4068,10 +3836,22 @@ declare const SCHEMAS: {
|
|
|
4068
3836
|
teamId: z.ZodString;
|
|
4069
3837
|
kind: z.ZodString;
|
|
4070
3838
|
status: z.ZodString;
|
|
4071
|
-
initiatedByUserId: z.ZodNullable<z.ZodString>;
|
|
4072
3839
|
initiatedVia: z.ZodString;
|
|
4073
|
-
|
|
4074
|
-
|
|
3840
|
+
initiatingActor: z.ZodObject<{
|
|
3841
|
+
kind: z.ZodEnum<{
|
|
3842
|
+
system: "system";
|
|
3843
|
+
user: "user";
|
|
3844
|
+
service: "service";
|
|
3845
|
+
runner: "runner";
|
|
3846
|
+
}>;
|
|
3847
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3848
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3849
|
+
}, z.core.$strip>;
|
|
3850
|
+
runner: z.ZodNullable<z.ZodObject<{
|
|
3851
|
+
kind: z.ZodString;
|
|
3852
|
+
id: z.ZodString;
|
|
3853
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3854
|
+
}, z.core.$strip>>;
|
|
4075
3855
|
bundleSnapshotId: z.ZodNullable<z.ZodString>;
|
|
4076
3856
|
sourceCommitSha: z.ZodNullable<z.ZodString>;
|
|
4077
3857
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -4081,11 +3861,9 @@ declare const SCHEMAS: {
|
|
|
4081
3861
|
planResourceChange: z.ZodNullable<z.ZodNumber>;
|
|
4082
3862
|
planResourceDestroy: z.ZodNullable<z.ZodNumber>;
|
|
4083
3863
|
planLocation: z.ZodNullable<z.ZodString>;
|
|
4084
|
-
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
4085
3864
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3865
|
+
gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3866
|
+
gateResolution: z.ZodNullable<z.ZodUnknown>;
|
|
4089
3867
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
4090
3868
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
4091
3869
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -4103,15 +3881,22 @@ declare const SCHEMAS: {
|
|
|
4103
3881
|
version: z.ZodString;
|
|
4104
3882
|
admission: z.ZodOptional<z.ZodObject<{
|
|
4105
3883
|
id: z.ZodString;
|
|
4106
|
-
admittedBy: z.
|
|
4107
|
-
|
|
3884
|
+
admittedBy: z.ZodObject<{
|
|
3885
|
+
kind: z.ZodEnum<{
|
|
3886
|
+
system: "system";
|
|
3887
|
+
user: "user";
|
|
3888
|
+
service: "service";
|
|
3889
|
+
runner: "runner";
|
|
3890
|
+
}>;
|
|
3891
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3892
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3893
|
+
}, z.core.$strip>;
|
|
4108
3894
|
admittedAt: z.ZodString;
|
|
4109
3895
|
}, z.core.$strip>>;
|
|
4110
3896
|
}, z.core.$strip>>>;
|
|
4111
3897
|
keepStack: z.ZodOptional<z.ZodBoolean>;
|
|
4112
3898
|
version: z.ZodOptional<z.ZodNumber>;
|
|
4113
3899
|
lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4114
|
-
initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4115
3900
|
stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4116
3901
|
}, z.core.$strip>;
|
|
4117
3902
|
'run logs': z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4158,7 +3943,16 @@ declare const SCHEMAS: {
|
|
|
4158
3943
|
name: z.ZodString;
|
|
4159
3944
|
slug: z.ZodString;
|
|
4160
3945
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4161
|
-
createdBy: z.
|
|
3946
|
+
createdBy: z.ZodObject<{
|
|
3947
|
+
kind: z.ZodEnum<{
|
|
3948
|
+
system: "system";
|
|
3949
|
+
user: "user";
|
|
3950
|
+
service: "service";
|
|
3951
|
+
runner: "runner";
|
|
3952
|
+
}>;
|
|
3953
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3954
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3955
|
+
}, z.core.$strip>;
|
|
4162
3956
|
createdAt: z.ZodString;
|
|
4163
3957
|
updatedAt: z.ZodString;
|
|
4164
3958
|
role: z.ZodOptional<z.ZodString>;
|
|
@@ -4204,7 +3998,7 @@ declare const SCHEMAS: {
|
|
|
4204
3998
|
type: z.ZodLiteral<"url">;
|
|
4205
3999
|
url: z.ZodString;
|
|
4206
4000
|
}, z.core.$strip>, z.ZodObject<{
|
|
4207
|
-
type: z.ZodLiteral<"
|
|
4001
|
+
type: z.ZodLiteral<"link_requested">;
|
|
4208
4002
|
email: z.ZodString;
|
|
4209
4003
|
}, z.core.$strip>, z.ZodObject<{
|
|
4210
4004
|
type: z.ZodLiteral<"result">;
|
|
@@ -4242,7 +4036,6 @@ type BoundPath = keyof typeof SCHEMAS;
|
|
|
4242
4036
|
declare function isBoundPath(path: string): path is BoundPath;
|
|
4243
4037
|
type JsonOf<P> = P extends BoundPath ? z.infer<(typeof SCHEMAS)[P]> : unknown;
|
|
4244
4038
|
declare function parseBound<P extends BoundPath>(path: P, data: unknown): JsonOf<P>;
|
|
4245
|
-
declare function carriesFailure(data: unknown): boolean;
|
|
4246
4039
|
declare function parseCommandFailure(data: unknown): CommandFailure;
|
|
4247
4040
|
|
|
4248
4041
|
type SourceConflict = {
|
|
@@ -4404,10 +4197,14 @@ type StackRef = {
|
|
|
4404
4197
|
id: string;
|
|
4405
4198
|
slug: string;
|
|
4406
4199
|
};
|
|
4200
|
+
type RunRef = {
|
|
4201
|
+
id: string;
|
|
4202
|
+
};
|
|
4407
4203
|
type ContextPort = {
|
|
4408
4204
|
root?: string;
|
|
4409
4205
|
sessionId?: string;
|
|
4410
4206
|
stack?: StackRef;
|
|
4207
|
+
run?: RunRef;
|
|
4411
4208
|
};
|
|
4412
4209
|
type ViewStatePort = {
|
|
4413
4210
|
load: () => CanvasArrangement;
|
|
@@ -4426,10 +4223,14 @@ type RunnerPorts = {
|
|
|
4426
4223
|
commands?: CommandsPort;
|
|
4427
4224
|
editor?: EditorPort;
|
|
4428
4225
|
};
|
|
4226
|
+
type SelectionPort = {
|
|
4227
|
+
selected: (modules: readonly string[]) => void;
|
|
4228
|
+
};
|
|
4429
4229
|
type CanvasPorts = RunnerPorts & {
|
|
4430
4230
|
source: SourcePort;
|
|
4431
4231
|
context: ContextPort;
|
|
4432
4232
|
viewState: ViewStatePort;
|
|
4233
|
+
selection?: SelectionPort;
|
|
4433
4234
|
};
|
|
4434
4235
|
type PortName = keyof CanvasPorts;
|
|
4435
4236
|
|
|
@@ -4487,19 +4288,20 @@ declare const MODIFIERS: readonly ["Mod", "Ctrl"];
|
|
|
4487
4288
|
type Modifier = (typeof MODIFIERS)[number];
|
|
4488
4289
|
/** The type an action's `keys` hold: a key that starts with a modifier, or a
|
|
4489
4290
|
* bare key. The modifier arm is the grammar's prefix check alone — the type
|
|
4490
|
-
* cannot spell an optional `Shift` then one key — and `
|
|
4491
|
-
*
|
|
4291
|
+
* cannot spell an optional `Shift` then one key — and `keyChord` refuses the
|
|
4292
|
+
* rest at runtime. */
|
|
4492
4293
|
type KeySpec = `${Modifier}+${string}` | BareKey;
|
|
4493
4294
|
|
|
4494
4295
|
type CanvasSelection = {
|
|
4495
4296
|
nodes: readonly string[];
|
|
4496
4297
|
edges: readonly string[];
|
|
4497
4298
|
};
|
|
4498
|
-
type ContextKey = 'root' | 'sessionId' | 'stack' | 'editable' | 'saved' | 'unsaved' | 'resolved' | 'conflict' | 'sourceRefused' | 'needsConversion' | 'selection.node' | 'selection.several' | 'selection.entryScope' | 'selection.oneScope' | 'selection.edge' | 'selection.edges' | 'selection.disconnectable' | 'diagnostics' | 'settingsOpen' | 'generateIdle' | 'generating' | 'ungenerated' | 'undoable' | 'redoable';
|
|
4299
|
+
type ContextKey = 'root' | 'sessionId' | 'stack' | 'run' | 'editable' | 'saved' | 'unsaved' | 'resolved' | 'conflict' | 'sourceRefused' | 'needsConversion' | 'selection.node' | 'selection.several' | 'selection.entryScope' | 'selection.oneScope' | 'selection.edge' | 'selection.edges' | 'selection.disconnectable' | 'diagnostics' | 'settingsOpen' | 'generateIdle' | 'generating' | 'ungenerated' | 'undoable' | 'redoable';
|
|
4499
4300
|
type RunCtx = {
|
|
4500
4301
|
root?: string;
|
|
4501
4302
|
sessionId?: string;
|
|
4502
4303
|
stack?: StackRef;
|
|
4304
|
+
run?: RunRef;
|
|
4503
4305
|
};
|
|
4504
4306
|
type CanvasCtx = RunCtx & {
|
|
4505
4307
|
ports: CanvasPorts;
|
|
@@ -4518,8 +4320,12 @@ type Badge = {
|
|
|
4518
4320
|
tone: 'neutral' | 'warn' | 'error';
|
|
4519
4321
|
title?: string;
|
|
4520
4322
|
};
|
|
4323
|
+
type Cloud = {
|
|
4324
|
+
label: string;
|
|
4325
|
+
};
|
|
4521
4326
|
type NodeDecoration = {
|
|
4522
4327
|
badges: readonly Badge[];
|
|
4328
|
+
cloud?: Cloud;
|
|
4523
4329
|
};
|
|
4524
4330
|
type Decorations = {
|
|
4525
4331
|
nodes: Readonly<Record<string, NodeDecoration>>;
|
|
@@ -4527,6 +4333,7 @@ type Decorations = {
|
|
|
4527
4333
|
type OverlayContribution = {
|
|
4528
4334
|
id: string;
|
|
4529
4335
|
paths: readonly BoundPath[];
|
|
4336
|
+
requiredContext?: readonly ContextKey[];
|
|
4530
4337
|
useDecorations: (ctx: CanvasCtx) => Decorations;
|
|
4531
4338
|
};
|
|
4532
4339
|
type CommandRead<P extends BoundPath> = {
|
|
@@ -4702,7 +4509,6 @@ type ContributionSet<P extends PanelSpec = PanelSpec> = {
|
|
|
4702
4509
|
|
|
4703
4510
|
declare function defineCommand<P extends BoundPath>(binding: CommandBinding<P>): ErasedCommand;
|
|
4704
4511
|
|
|
4705
|
-
declare function uniqueDiagnostics(diagnostics: readonly Diagnostic$1[]): readonly Diagnostic$1[];
|
|
4706
4512
|
declare function diagnosticsOf(sourceDiagnostics: readonly Diagnostic$1[], reportFindings: readonly Diagnostic$1[]): readonly Diagnostic$1[];
|
|
4707
4513
|
|
|
4708
4514
|
type ReportPath = 'module validate' | 'module convert' | 'module scan';
|
|
@@ -4906,5 +4712,5 @@ declare function resolveContributions<P extends PanelSpec>(all: ContributionSet<
|
|
|
4906
4712
|
/** Every resolved action placed in a given panel's row (a `row:<panel>` placement). */
|
|
4907
4713
|
declare function rowActions(resolved: ContributionSet, panelId: string): readonly ActionContribution[];
|
|
4908
4714
|
|
|
4909
|
-
export { COMMANDS as C, EMPTY_REPORT_FOLD as E, GENERATE_STAGES as O, InputMode as W, Action as a,
|
|
4910
|
-
export type { PendingForm as $, ActionContribution as A, BindingRuntime as B, DirectEngineCaller as D, EditorPort as F, EngineCaller as G, EngineMethodResponse as H, EngineSession as I, JsonOf as J, EngineSessionOptions as K, EngineTarget as L, ErasedCommand as M, FollowSlot as N, GateChangeRequest as P, GenerateEvent as Q, GenerateStage as R, SourcePort as S, GeneratedTree as T, GraphError as U, HostBinding as V, Invocation as X, LaceReason as Y, LiveSlots as Z, OnScreen as _,
|
|
4715
|
+
export { COMMANDS as C, EMPTY_REPORT_FOLD as E, GENERATE_STAGES as O, InputMode as W, Action as a, createResultStore as aA, currentReport as aB, defineCommand as aC, diagnosticsOf as aD, diagnosticsOfDocument as aE, failureSays as aF, foldReport as aG, generatedTree as aH, liveSlots as aI, openEngineCommands as aJ, openEngineSession as aK, parseBound as aL, parseCommandFailure as aM, reasonWire as aN, reduceFollow as aO, reducePreview as aP, reduceReport as aQ, reduceRun as aR, reportDiagnostics as aS, settleRun as aT, answering as au, bridgeCaller as av, commandPathOf as aw, commandUnderWay as ax, connectCaller as ay, createActionRunner as az, SCHEMAS as bc, disabledReason as bd, isBoundPath as be, resolveContributions as bf, rowActions as bg, ApplyUnobservedError as f, CommandDetachedError as n, CommandExitError as o, CommandUnobservedError as t, ConnectError as x };
|
|
4716
|
+
export type { PendingForm as $, ActionContribution as A, BindingRuntime as B, DirectEngineCaller as D, EditorPort as F, EngineCaller as G, EngineMethodResponse as H, EngineSession as I, JsonOf as J, EngineSessionOptions as K, EngineTarget as L, ErasedCommand as M, FollowSlot as N, GateChangeRequest as P, GenerateEvent as Q, GenerateStage as R, SourcePort as S, GeneratedTree as T, GraphError as U, HostBinding as V, Invocation as X, LaceReason as Y, LiveSlots as Z, OnScreen as _, CommandRead as a$, PortName as a0, PresenterPort as a1, PreviewOutcome as a2, PreviewSlot as a3, ReportEntry as a4, ReportFold as a5, ReportPath as a6, ReportSlot as a7, ResultKind as a8, ResultSlots as a9, ContributionSet as aU, PanelSpec as aV, CanvasCtx as aW, Badge as aX, Cloud as aY, NodeDecoration as aZ, Decorations as a_, ResultStore as aa, RunCtx as ab, RunOutcome as ac, RunSlot as ad, RunStage as ae, RunStageStatus as af, RunnerPorts as ag, RunningMark as ah, SelectionPort as ai, Sink as aj, SinkInput as ak, SlotContext as al, SlotKind as am, SourceConflict as an, SourceEnd as ao, StackRef as ap, Started as aq, ViewStatePort as ar, WiringCandidate as as, WiringQuery as at, ActionRunner as b, ContextKey as b0, OverlayContribution as b1, CanvasSelection as b2, LayoutHandle as b3, ActionIcon as b4, ClipboardStore as b5, EditorBinding as b6, EditorEnv as b7, EditorEnvExtras as b8, KeySpec as b9, Placement as ba, RunRef as bb, ActionRunnerOptions as c, ActionTarget as d, ApplyResult as e, ArgsOf as g, BoundPath as h, BridgeEngineCaller as i, Busy as j, CanvasPorts as k, CanvasSource as l, CommandBinding as m, CommandFailure as p, CommandPath as q, CommandResult as r, CommandRun as s, CommandsPort as u, ConfirmSpec as v, ConnectCallerOptions as w, ContextPort as y, CreatedRef as z };
|