@lace-cloud/canvas 0.37.1 → 0.38.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-GLQVTWB4.mjs} +634 -3672
- package/dist/chunk-GLQVTWB4.mjs.map +1 -0
- package/dist/engine/index.cjs +642 -3690
- 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 +1420 -4457
- 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-BYGzxLKn.d.mts} +336 -602
- package/dist/{registry-D3cL5cfF.d.ts → registry-BYGzxLKn.d.ts} +336 -602
- 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,44 +1395,6 @@ declare const COMMANDS: {
|
|
|
1771
1395
|
readonly hidden: false;
|
|
1772
1396
|
readonly yes: false;
|
|
1773
1397
|
};
|
|
1774
|
-
readonly "events list": {
|
|
1775
|
-
readonly path: "events list";
|
|
1776
|
-
readonly positionals: readonly [];
|
|
1777
|
-
readonly flags: {
|
|
1778
|
-
readonly cursor: {
|
|
1779
|
-
readonly type: "string";
|
|
1780
|
-
};
|
|
1781
|
-
readonly limit: {
|
|
1782
|
-
readonly type: "int";
|
|
1783
|
-
};
|
|
1784
|
-
readonly org: {
|
|
1785
|
-
readonly type: "string";
|
|
1786
|
-
};
|
|
1787
|
-
readonly output: {
|
|
1788
|
-
readonly type: "string";
|
|
1789
|
-
readonly values: readonly ["table", "json"];
|
|
1790
|
-
readonly short: "o";
|
|
1791
|
-
};
|
|
1792
|
-
readonly since: {
|
|
1793
|
-
readonly type: "string";
|
|
1794
|
-
};
|
|
1795
|
-
readonly subjectId: {
|
|
1796
|
-
readonly type: "string";
|
|
1797
|
-
};
|
|
1798
|
-
readonly subjectKind: {
|
|
1799
|
-
readonly type: "string";
|
|
1800
|
-
};
|
|
1801
|
-
readonly type: {
|
|
1802
|
-
readonly type: "string";
|
|
1803
|
-
};
|
|
1804
|
-
readonly until: {
|
|
1805
|
-
readonly type: "string";
|
|
1806
|
-
};
|
|
1807
|
-
};
|
|
1808
|
-
readonly effect: "read";
|
|
1809
|
-
readonly hidden: false;
|
|
1810
|
-
readonly yes: false;
|
|
1811
|
-
};
|
|
1812
1398
|
readonly "hooks install": {
|
|
1813
1399
|
readonly path: "hooks install";
|
|
1814
1400
|
readonly positionals: readonly [];
|
|
@@ -2114,7 +1700,7 @@ declare const COMMANDS: {
|
|
|
2114
1700
|
readonly "policy get": {
|
|
2115
1701
|
readonly path: "policy get";
|
|
2116
1702
|
readonly positionals: readonly [{
|
|
2117
|
-
readonly name: "
|
|
1703
|
+
readonly name: "binding";
|
|
2118
1704
|
readonly kind: "required";
|
|
2119
1705
|
}];
|
|
2120
1706
|
readonly flags: {
|
|
@@ -2270,29 +1856,6 @@ declare const COMMANDS: {
|
|
|
2270
1856
|
readonly hidden: false;
|
|
2271
1857
|
readonly yes: false;
|
|
2272
1858
|
};
|
|
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
1859
|
readonly "run cancel": {
|
|
2297
1860
|
readonly path: "run cancel";
|
|
2298
1861
|
readonly positionals: readonly [{
|
|
@@ -2308,9 +1871,6 @@ declare const COMMANDS: {
|
|
|
2308
1871
|
readonly values: readonly ["table", "json"];
|
|
2309
1872
|
readonly short: "o";
|
|
2310
1873
|
};
|
|
2311
|
-
readonly reason: {
|
|
2312
|
-
readonly type: "string";
|
|
2313
|
-
};
|
|
2314
1874
|
readonly team: {
|
|
2315
1875
|
readonly type: "string";
|
|
2316
1876
|
};
|
|
@@ -2352,6 +1912,9 @@ declare const COMMANDS: {
|
|
|
2352
1912
|
readonly change: {
|
|
2353
1913
|
readonly type: "string";
|
|
2354
1914
|
};
|
|
1915
|
+
readonly createdAfter: {
|
|
1916
|
+
readonly type: "string";
|
|
1917
|
+
};
|
|
2355
1918
|
readonly cursor: {
|
|
2356
1919
|
readonly type: "string";
|
|
2357
1920
|
};
|
|
@@ -2361,6 +1924,9 @@ declare const COMMANDS: {
|
|
|
2361
1924
|
readonly limit: {
|
|
2362
1925
|
readonly type: "int";
|
|
2363
1926
|
};
|
|
1927
|
+
readonly live: {
|
|
1928
|
+
readonly type: "bool";
|
|
1929
|
+
};
|
|
2364
1930
|
readonly org: {
|
|
2365
1931
|
readonly type: "string";
|
|
2366
1932
|
};
|
|
@@ -2372,9 +1938,6 @@ declare const COMMANDS: {
|
|
|
2372
1938
|
readonly stack: {
|
|
2373
1939
|
readonly type: "string";
|
|
2374
1940
|
};
|
|
2375
|
-
readonly startedAfter: {
|
|
2376
|
-
readonly type: "string";
|
|
2377
|
-
};
|
|
2378
1941
|
readonly status: {
|
|
2379
1942
|
readonly type: "string";
|
|
2380
1943
|
};
|
|
@@ -2478,6 +2041,32 @@ declare const COMMANDS: {
|
|
|
2478
2041
|
readonly hidden: false;
|
|
2479
2042
|
readonly yes: false;
|
|
2480
2043
|
};
|
|
2044
|
+
readonly "stack archive": {
|
|
2045
|
+
readonly path: "stack archive";
|
|
2046
|
+
readonly positionals: readonly [{
|
|
2047
|
+
readonly name: "stack";
|
|
2048
|
+
readonly kind: "required";
|
|
2049
|
+
}];
|
|
2050
|
+
readonly flags: {
|
|
2051
|
+
readonly org: {
|
|
2052
|
+
readonly type: "string";
|
|
2053
|
+
};
|
|
2054
|
+
readonly output: {
|
|
2055
|
+
readonly type: "string";
|
|
2056
|
+
readonly values: readonly ["table", "json"];
|
|
2057
|
+
readonly short: "o";
|
|
2058
|
+
};
|
|
2059
|
+
readonly team: {
|
|
2060
|
+
readonly type: "string";
|
|
2061
|
+
};
|
|
2062
|
+
readonly yes: {
|
|
2063
|
+
readonly type: "bool";
|
|
2064
|
+
};
|
|
2065
|
+
};
|
|
2066
|
+
readonly effect: "write";
|
|
2067
|
+
readonly hidden: false;
|
|
2068
|
+
readonly yes: true;
|
|
2069
|
+
};
|
|
2481
2070
|
readonly "stack create": {
|
|
2482
2071
|
readonly path: "stack create";
|
|
2483
2072
|
readonly positionals: readonly [{
|
|
@@ -2523,32 +2112,6 @@ declare const COMMANDS: {
|
|
|
2523
2112
|
readonly hidden: false;
|
|
2524
2113
|
readonly yes: false;
|
|
2525
2114
|
};
|
|
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
2115
|
readonly "stack describe": {
|
|
2553
2116
|
readonly path: "stack describe";
|
|
2554
2117
|
readonly positionals: readonly [{
|
|
@@ -2627,32 +2190,6 @@ declare const COMMANDS: {
|
|
|
2627
2190
|
readonly hidden: false;
|
|
2628
2191
|
readonly yes: true;
|
|
2629
2192
|
};
|
|
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
2193
|
readonly "stack list": {
|
|
2657
2194
|
readonly path: "stack list";
|
|
2658
2195
|
readonly positionals: readonly [];
|
|
@@ -2899,14 +2436,6 @@ type ArgsOf<P extends CommandPath> = {
|
|
|
2899
2436
|
} & {
|
|
2900
2437
|
[K in OptionalFlagKeys<P>]?: FlagTypeOf<(typeof COMMANDS)[P]["flags"][K]>;
|
|
2901
2438
|
};
|
|
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
2439
|
/**
|
|
2911
2440
|
* The command a `lace` command line names, from the words after the
|
|
2912
2441
|
* program's name, found where the CLI finds it (`commandWordsAt`, the one
|
|
@@ -2949,7 +2478,7 @@ declare const gateChangeRequestSchema: z.ZodObject<{
|
|
|
2949
2478
|
}, z.core.$strip>>;
|
|
2950
2479
|
records: z.ZodArray<z.ZodObject<{
|
|
2951
2480
|
id: z.ZodString;
|
|
2952
|
-
|
|
2481
|
+
changeManagementSystemId: z.ZodString;
|
|
2953
2482
|
kind: z.ZodString;
|
|
2954
2483
|
externalRef: z.ZodNullable<z.ZodString>;
|
|
2955
2484
|
externalUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -3204,7 +2733,7 @@ declare const SCHEMAS: {
|
|
|
3204
2733
|
visibility: z.ZodString;
|
|
3205
2734
|
description: z.ZodString;
|
|
3206
2735
|
categories: z.ZodArray<z.ZodString>;
|
|
3207
|
-
|
|
2736
|
+
authorProfile: z.ZodNullable<z.ZodObject<{
|
|
3208
2737
|
author: z.ZodString;
|
|
3209
2738
|
displayName: z.ZodString;
|
|
3210
2739
|
logoUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -3242,7 +2771,7 @@ declare const SCHEMAS: {
|
|
|
3242
2771
|
description: z.ZodString;
|
|
3243
2772
|
categories: z.ZodArray<z.ZodString>;
|
|
3244
2773
|
readme: z.ZodNullable<z.ZodString>;
|
|
3245
|
-
|
|
2774
|
+
authorProfile: z.ZodNullable<z.ZodObject<{
|
|
3246
2775
|
author: z.ZodString;
|
|
3247
2776
|
displayName: z.ZodString;
|
|
3248
2777
|
logoUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -3327,7 +2856,16 @@ declare const SCHEMAS: {
|
|
|
3327
2856
|
lastDriftStale: z.ZodBoolean;
|
|
3328
2857
|
lastDriftConfirmedAt: z.ZodNullable<z.ZodString>;
|
|
3329
2858
|
lastDriftUndeterminedReason: z.ZodNullable<z.ZodString>;
|
|
3330
|
-
createdBy: z.
|
|
2859
|
+
createdBy: z.ZodObject<{
|
|
2860
|
+
kind: z.ZodEnum<{
|
|
2861
|
+
system: "system";
|
|
2862
|
+
user: "user";
|
|
2863
|
+
service: "service";
|
|
2864
|
+
runner: "runner";
|
|
2865
|
+
}>;
|
|
2866
|
+
id: z.ZodNullable<z.ZodString>;
|
|
2867
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2868
|
+
}, z.core.$strip>;
|
|
3331
2869
|
createdAt: z.ZodString;
|
|
3332
2870
|
updatedAt: z.ZodString;
|
|
3333
2871
|
archivedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3336,12 +2874,20 @@ declare const SCHEMAS: {
|
|
|
3336
2874
|
provider: z.ZodString;
|
|
3337
2875
|
awsAccountId: z.ZodNullable<z.ZodString>;
|
|
3338
2876
|
}, z.core.$strip>>;
|
|
3339
|
-
createdByName: z.ZodNullable<z.ZodString>;
|
|
3340
2877
|
lastApply: z.ZodNullable<z.ZodObject<{
|
|
3341
2878
|
runId: z.ZodString;
|
|
3342
2879
|
bundleSnapshotId: z.ZodString;
|
|
3343
2880
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
3344
|
-
|
|
2881
|
+
initiatingActor: z.ZodObject<{
|
|
2882
|
+
kind: z.ZodEnum<{
|
|
2883
|
+
system: "system";
|
|
2884
|
+
user: "user";
|
|
2885
|
+
service: "service";
|
|
2886
|
+
runner: "runner";
|
|
2887
|
+
}>;
|
|
2888
|
+
id: z.ZodNullable<z.ZodString>;
|
|
2889
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2890
|
+
}, z.core.$strip>;
|
|
3345
2891
|
}, z.core.$strip>>;
|
|
3346
2892
|
}, z.core.$strip>>;
|
|
3347
2893
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
@@ -3373,7 +2919,16 @@ declare const SCHEMAS: {
|
|
|
3373
2919
|
lastDriftStale: z.ZodBoolean;
|
|
3374
2920
|
lastDriftConfirmedAt: z.ZodNullable<z.ZodString>;
|
|
3375
2921
|
lastDriftUndeterminedReason: z.ZodNullable<z.ZodString>;
|
|
3376
|
-
createdBy: z.
|
|
2922
|
+
createdBy: z.ZodObject<{
|
|
2923
|
+
kind: z.ZodEnum<{
|
|
2924
|
+
system: "system";
|
|
2925
|
+
user: "user";
|
|
2926
|
+
service: "service";
|
|
2927
|
+
runner: "runner";
|
|
2928
|
+
}>;
|
|
2929
|
+
id: z.ZodNullable<z.ZodString>;
|
|
2930
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2931
|
+
}, z.core.$strip>;
|
|
3377
2932
|
createdAt: z.ZodString;
|
|
3378
2933
|
updatedAt: z.ZodString;
|
|
3379
2934
|
archivedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3382,12 +2937,20 @@ declare const SCHEMAS: {
|
|
|
3382
2937
|
provider: z.ZodString;
|
|
3383
2938
|
awsAccountId: z.ZodNullable<z.ZodString>;
|
|
3384
2939
|
}, z.core.$strip>>;
|
|
3385
|
-
createdByName: z.ZodNullable<z.ZodString>;
|
|
3386
2940
|
lastApply: z.ZodNullable<z.ZodObject<{
|
|
3387
2941
|
runId: z.ZodString;
|
|
3388
2942
|
bundleSnapshotId: z.ZodString;
|
|
3389
2943
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
3390
|
-
|
|
2944
|
+
initiatingActor: z.ZodObject<{
|
|
2945
|
+
kind: z.ZodEnum<{
|
|
2946
|
+
system: "system";
|
|
2947
|
+
user: "user";
|
|
2948
|
+
service: "service";
|
|
2949
|
+
runner: "runner";
|
|
2950
|
+
}>;
|
|
2951
|
+
id: z.ZodNullable<z.ZodString>;
|
|
2952
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2953
|
+
}, z.core.$strip>;
|
|
3391
2954
|
}, z.core.$strip>>;
|
|
3392
2955
|
}, z.core.$strip>>;
|
|
3393
2956
|
state: z.ZodNullable<z.ZodObject<{
|
|
@@ -3416,8 +2979,8 @@ declare const SCHEMAS: {
|
|
|
3416
2979
|
liveProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3417
2980
|
diff: z.ZodArray<z.ZodObject<{
|
|
3418
2981
|
path: z.ZodString;
|
|
3419
|
-
declared: z.
|
|
3420
|
-
detected: z.
|
|
2982
|
+
declared: z.ZodNonOptional<z.ZodUnknown>;
|
|
2983
|
+
detected: z.ZodNonOptional<z.ZodUnknown>;
|
|
3421
2984
|
}, z.core.$strip>>;
|
|
3422
2985
|
findingId: z.ZodNullable<z.ZodString>;
|
|
3423
2986
|
}, z.core.$strip>>;
|
|
@@ -3425,12 +2988,16 @@ declare const SCHEMAS: {
|
|
|
3425
2988
|
}, z.core.$strip>;
|
|
3426
2989
|
'policy list': z.ZodObject<{
|
|
3427
2990
|
stack: z.ZodNullable<z.ZodString>;
|
|
3428
|
-
|
|
3429
|
-
|
|
2991
|
+
bindings: z.ZodArray<z.ZodObject<{
|
|
2992
|
+
id: z.ZodString;
|
|
3430
2993
|
name: z.ZodString;
|
|
3431
|
-
mode: z.ZodString
|
|
3432
|
-
|
|
3433
|
-
|
|
2994
|
+
mode: z.ZodNullable<z.ZodString>;
|
|
2995
|
+
enabled: z.ZodBoolean;
|
|
2996
|
+
artifact: z.ZodObject<{
|
|
2997
|
+
author: z.ZodString;
|
|
2998
|
+
name: z.ZodString;
|
|
2999
|
+
version: z.ZodString;
|
|
3000
|
+
}, z.core.$strip>;
|
|
3434
3001
|
}, z.core.$strip>>;
|
|
3435
3002
|
}, z.core.$strip>;
|
|
3436
3003
|
'run list': z.ZodObject<{
|
|
@@ -3441,10 +3008,22 @@ declare const SCHEMAS: {
|
|
|
3441
3008
|
teamId: z.ZodString;
|
|
3442
3009
|
kind: z.ZodString;
|
|
3443
3010
|
status: z.ZodString;
|
|
3444
|
-
initiatedByUserId: z.ZodNullable<z.ZodString>;
|
|
3445
3011
|
initiatedVia: z.ZodString;
|
|
3446
|
-
|
|
3447
|
-
|
|
3012
|
+
initiatingActor: z.ZodObject<{
|
|
3013
|
+
kind: z.ZodEnum<{
|
|
3014
|
+
system: "system";
|
|
3015
|
+
user: "user";
|
|
3016
|
+
service: "service";
|
|
3017
|
+
runner: "runner";
|
|
3018
|
+
}>;
|
|
3019
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3020
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3021
|
+
}, z.core.$strip>;
|
|
3022
|
+
runner: z.ZodNullable<z.ZodObject<{
|
|
3023
|
+
kind: z.ZodString;
|
|
3024
|
+
id: z.ZodString;
|
|
3025
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3026
|
+
}, z.core.$strip>>;
|
|
3448
3027
|
bundleSnapshotId: z.ZodNullable<z.ZodString>;
|
|
3449
3028
|
sourceCommitSha: z.ZodNullable<z.ZodString>;
|
|
3450
3029
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -3454,11 +3033,9 @@ declare const SCHEMAS: {
|
|
|
3454
3033
|
planResourceChange: z.ZodNullable<z.ZodNumber>;
|
|
3455
3034
|
planResourceDestroy: z.ZodNullable<z.ZodNumber>;
|
|
3456
3035
|
planLocation: z.ZodNullable<z.ZodString>;
|
|
3457
|
-
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3458
3036
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3037
|
+
gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3038
|
+
gateResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3462
3039
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3463
3040
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
3464
3041
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3476,15 +3053,22 @@ declare const SCHEMAS: {
|
|
|
3476
3053
|
version: z.ZodString;
|
|
3477
3054
|
admission: z.ZodOptional<z.ZodObject<{
|
|
3478
3055
|
id: z.ZodString;
|
|
3479
|
-
admittedBy: z.
|
|
3480
|
-
|
|
3056
|
+
admittedBy: z.ZodObject<{
|
|
3057
|
+
kind: z.ZodEnum<{
|
|
3058
|
+
system: "system";
|
|
3059
|
+
user: "user";
|
|
3060
|
+
service: "service";
|
|
3061
|
+
runner: "runner";
|
|
3062
|
+
}>;
|
|
3063
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3064
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3065
|
+
}, z.core.$strip>;
|
|
3481
3066
|
admittedAt: z.ZodString;
|
|
3482
3067
|
}, z.core.$strip>>;
|
|
3483
3068
|
}, z.core.$strip>>>;
|
|
3484
3069
|
keepStack: z.ZodOptional<z.ZodBoolean>;
|
|
3485
3070
|
version: z.ZodOptional<z.ZodNumber>;
|
|
3486
3071
|
lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3487
|
-
initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3488
3072
|
stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3489
3073
|
}, z.core.$strip>>;
|
|
3490
3074
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
@@ -3504,16 +3088,19 @@ declare const SCHEMAS: {
|
|
|
3504
3088
|
}, z.core.$strip>;
|
|
3505
3089
|
human: z.ZodString;
|
|
3506
3090
|
}, z.core.$strip>;
|
|
3507
|
-
|
|
3091
|
+
resolution: z.ZodNullable<z.ZodObject<{
|
|
3508
3092
|
mode: z.ZodString;
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3093
|
+
approvalMode: z.ZodOptional<z.ZodString>;
|
|
3094
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3095
|
+
decidedBy: z.ZodArray<z.ZodObject<{
|
|
3096
|
+
bindingId: z.ZodString;
|
|
3097
|
+
ruleId: z.ZodOptional<z.ZodString>;
|
|
3098
|
+
ruleName: z.ZodOptional<z.ZodString>;
|
|
3099
|
+
rulesFired: z.ZodArray<z.ZodString>;
|
|
3100
|
+
}, z.core.$strip>>;
|
|
3514
3101
|
isAuthoringTimePreview: z.ZodBoolean;
|
|
3515
3102
|
bindings: z.ZodArray<z.ZodObject<{
|
|
3516
|
-
|
|
3103
|
+
bindingId: z.ZodString;
|
|
3517
3104
|
name: z.ZodString;
|
|
3518
3105
|
handler: z.ZodString;
|
|
3519
3106
|
mode: z.ZodString;
|
|
@@ -3542,9 +3129,22 @@ declare const SCHEMAS: {
|
|
|
3542
3129
|
contextInstallId: z.ZodNullable<z.ZodString>;
|
|
3543
3130
|
contextStackId: z.ZodNullable<z.ZodString>;
|
|
3544
3131
|
contextTreeHash: z.ZodNullable<z.ZodString>;
|
|
3132
|
+
contextIncidentId: z.ZodNullable<z.ZodString>;
|
|
3133
|
+
contextFormOpeningId: z.ZodNullable<z.ZodString>;
|
|
3134
|
+
consumerActorKind: z.ZodNullable<z.ZodString>;
|
|
3135
|
+
consumerActorId: z.ZodNullable<z.ZodString>;
|
|
3545
3136
|
actedOn: z.ZodNullable<z.ZodString>;
|
|
3546
3137
|
actedAt: z.ZodNullable<z.ZodString>;
|
|
3547
|
-
|
|
3138
|
+
actedBy: z.ZodNullable<z.ZodObject<{
|
|
3139
|
+
kind: z.ZodEnum<{
|
|
3140
|
+
system: "system";
|
|
3141
|
+
user: "user";
|
|
3142
|
+
service: "service";
|
|
3143
|
+
runner: "runner";
|
|
3144
|
+
}>;
|
|
3145
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3146
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3147
|
+
}, z.core.$strip>>;
|
|
3548
3148
|
feedbackThumbs: z.ZodNullable<z.ZodString>;
|
|
3549
3149
|
feedbackText: z.ZodNullable<z.ZodString>;
|
|
3550
3150
|
emitterKind: z.ZodString;
|
|
@@ -3573,9 +3173,22 @@ declare const SCHEMAS: {
|
|
|
3573
3173
|
contextInstallId: z.ZodNullable<z.ZodString>;
|
|
3574
3174
|
contextStackId: z.ZodNullable<z.ZodString>;
|
|
3575
3175
|
contextTreeHash: z.ZodNullable<z.ZodString>;
|
|
3176
|
+
contextIncidentId: z.ZodNullable<z.ZodString>;
|
|
3177
|
+
contextFormOpeningId: z.ZodNullable<z.ZodString>;
|
|
3178
|
+
consumerActorKind: z.ZodNullable<z.ZodString>;
|
|
3179
|
+
consumerActorId: z.ZodNullable<z.ZodString>;
|
|
3576
3180
|
actedOn: z.ZodNullable<z.ZodString>;
|
|
3577
3181
|
actedAt: z.ZodNullable<z.ZodString>;
|
|
3578
|
-
|
|
3182
|
+
actedBy: z.ZodNullable<z.ZodObject<{
|
|
3183
|
+
kind: z.ZodEnum<{
|
|
3184
|
+
system: "system";
|
|
3185
|
+
user: "user";
|
|
3186
|
+
service: "service";
|
|
3187
|
+
runner: "runner";
|
|
3188
|
+
}>;
|
|
3189
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3190
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3191
|
+
}, z.core.$strip>>;
|
|
3579
3192
|
feedbackThumbs: z.ZodNullable<z.ZodString>;
|
|
3580
3193
|
feedbackText: z.ZodNullable<z.ZodString>;
|
|
3581
3194
|
emitterKind: z.ZodString;
|
|
@@ -3622,7 +3235,7 @@ declare const SCHEMAS: {
|
|
|
3622
3235
|
}, z.core.$strip>>;
|
|
3623
3236
|
records: z.ZodArray<z.ZodObject<{
|
|
3624
3237
|
id: z.ZodString;
|
|
3625
|
-
|
|
3238
|
+
changeManagementSystemId: z.ZodString;
|
|
3626
3239
|
kind: z.ZodString;
|
|
3627
3240
|
externalRef: z.ZodNullable<z.ZodString>;
|
|
3628
3241
|
externalUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -3642,10 +3255,22 @@ declare const SCHEMAS: {
|
|
|
3642
3255
|
teamId: z.ZodString;
|
|
3643
3256
|
kind: z.ZodString;
|
|
3644
3257
|
status: z.ZodString;
|
|
3645
|
-
initiatedByUserId: z.ZodNullable<z.ZodString>;
|
|
3646
3258
|
initiatedVia: z.ZodString;
|
|
3647
|
-
|
|
3648
|
-
|
|
3259
|
+
initiatingActor: z.ZodObject<{
|
|
3260
|
+
kind: z.ZodEnum<{
|
|
3261
|
+
system: "system";
|
|
3262
|
+
user: "user";
|
|
3263
|
+
service: "service";
|
|
3264
|
+
runner: "runner";
|
|
3265
|
+
}>;
|
|
3266
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3267
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3268
|
+
}, z.core.$strip>;
|
|
3269
|
+
runner: z.ZodNullable<z.ZodObject<{
|
|
3270
|
+
kind: z.ZodString;
|
|
3271
|
+
id: z.ZodString;
|
|
3272
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3273
|
+
}, z.core.$strip>>;
|
|
3649
3274
|
bundleSnapshotId: z.ZodNullable<z.ZodString>;
|
|
3650
3275
|
sourceCommitSha: z.ZodNullable<z.ZodString>;
|
|
3651
3276
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -3655,11 +3280,9 @@ declare const SCHEMAS: {
|
|
|
3655
3280
|
planResourceChange: z.ZodNullable<z.ZodNumber>;
|
|
3656
3281
|
planResourceDestroy: z.ZodNullable<z.ZodNumber>;
|
|
3657
3282
|
planLocation: z.ZodNullable<z.ZodString>;
|
|
3658
|
-
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3659
3283
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3284
|
+
gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3285
|
+
gateResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3663
3286
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3664
3287
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
3665
3288
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3677,15 +3300,22 @@ declare const SCHEMAS: {
|
|
|
3677
3300
|
version: z.ZodString;
|
|
3678
3301
|
admission: z.ZodOptional<z.ZodObject<{
|
|
3679
3302
|
id: z.ZodString;
|
|
3680
|
-
admittedBy: z.
|
|
3681
|
-
|
|
3303
|
+
admittedBy: z.ZodObject<{
|
|
3304
|
+
kind: z.ZodEnum<{
|
|
3305
|
+
system: "system";
|
|
3306
|
+
user: "user";
|
|
3307
|
+
service: "service";
|
|
3308
|
+
runner: "runner";
|
|
3309
|
+
}>;
|
|
3310
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3311
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3312
|
+
}, z.core.$strip>;
|
|
3682
3313
|
admittedAt: z.ZodString;
|
|
3683
3314
|
}, z.core.$strip>>;
|
|
3684
3315
|
}, z.core.$strip>>>;
|
|
3685
3316
|
keepStack: z.ZodOptional<z.ZodBoolean>;
|
|
3686
3317
|
version: z.ZodOptional<z.ZodNumber>;
|
|
3687
3318
|
lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3688
|
-
initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3689
3319
|
stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3690
3320
|
}, z.core.$strip>;
|
|
3691
3321
|
summary: z.ZodObject<{
|
|
@@ -3721,7 +3351,7 @@ declare const SCHEMAS: {
|
|
|
3721
3351
|
}, z.core.$strip>>;
|
|
3722
3352
|
records: z.ZodArray<z.ZodObject<{
|
|
3723
3353
|
id: z.ZodString;
|
|
3724
|
-
|
|
3354
|
+
changeManagementSystemId: z.ZodString;
|
|
3725
3355
|
kind: z.ZodString;
|
|
3726
3356
|
externalRef: z.ZodNullable<z.ZodString>;
|
|
3727
3357
|
externalUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -3741,10 +3371,22 @@ declare const SCHEMAS: {
|
|
|
3741
3371
|
teamId: z.ZodString;
|
|
3742
3372
|
kind: z.ZodString;
|
|
3743
3373
|
status: z.ZodString;
|
|
3744
|
-
initiatedByUserId: z.ZodNullable<z.ZodString>;
|
|
3745
3374
|
initiatedVia: z.ZodString;
|
|
3746
|
-
|
|
3747
|
-
|
|
3375
|
+
initiatingActor: 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>;
|
|
3385
|
+
runner: z.ZodNullable<z.ZodObject<{
|
|
3386
|
+
kind: z.ZodString;
|
|
3387
|
+
id: z.ZodString;
|
|
3388
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3389
|
+
}, z.core.$strip>>;
|
|
3748
3390
|
bundleSnapshotId: z.ZodNullable<z.ZodString>;
|
|
3749
3391
|
sourceCommitSha: z.ZodNullable<z.ZodString>;
|
|
3750
3392
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -3754,11 +3396,9 @@ declare const SCHEMAS: {
|
|
|
3754
3396
|
planResourceChange: z.ZodNullable<z.ZodNumber>;
|
|
3755
3397
|
planResourceDestroy: z.ZodNullable<z.ZodNumber>;
|
|
3756
3398
|
planLocation: z.ZodNullable<z.ZodString>;
|
|
3757
|
-
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3758
3399
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3400
|
+
gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3401
|
+
gateResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3762
3402
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3763
3403
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
3764
3404
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3776,15 +3416,22 @@ declare const SCHEMAS: {
|
|
|
3776
3416
|
version: z.ZodString;
|
|
3777
3417
|
admission: z.ZodOptional<z.ZodObject<{
|
|
3778
3418
|
id: z.ZodString;
|
|
3779
|
-
admittedBy: z.
|
|
3780
|
-
|
|
3419
|
+
admittedBy: z.ZodObject<{
|
|
3420
|
+
kind: z.ZodEnum<{
|
|
3421
|
+
system: "system";
|
|
3422
|
+
user: "user";
|
|
3423
|
+
service: "service";
|
|
3424
|
+
runner: "runner";
|
|
3425
|
+
}>;
|
|
3426
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3427
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3428
|
+
}, z.core.$strip>;
|
|
3781
3429
|
admittedAt: z.ZodString;
|
|
3782
3430
|
}, z.core.$strip>>;
|
|
3783
3431
|
}, z.core.$strip>>>;
|
|
3784
3432
|
keepStack: z.ZodOptional<z.ZodBoolean>;
|
|
3785
3433
|
version: z.ZodOptional<z.ZodNumber>;
|
|
3786
3434
|
lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3787
|
-
initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3788
3435
|
stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3789
3436
|
}, z.core.$strip>;
|
|
3790
3437
|
summary: z.ZodObject<{
|
|
@@ -3823,8 +3470,8 @@ declare const SCHEMAS: {
|
|
|
3823
3470
|
liveProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3824
3471
|
diff: z.ZodArray<z.ZodObject<{
|
|
3825
3472
|
path: z.ZodString;
|
|
3826
|
-
declared: z.
|
|
3827
|
-
detected: z.
|
|
3473
|
+
declared: z.ZodNonOptional<z.ZodUnknown>;
|
|
3474
|
+
detected: z.ZodNonOptional<z.ZodUnknown>;
|
|
3828
3475
|
}, z.core.$strip>>;
|
|
3829
3476
|
findingId: z.ZodNullable<z.ZodString>;
|
|
3830
3477
|
}, z.core.$strip>>;
|
|
@@ -3856,7 +3503,16 @@ declare const SCHEMAS: {
|
|
|
3856
3503
|
lastDriftStale: z.ZodBoolean;
|
|
3857
3504
|
lastDriftConfirmedAt: z.ZodNullable<z.ZodString>;
|
|
3858
3505
|
lastDriftUndeterminedReason: z.ZodNullable<z.ZodString>;
|
|
3859
|
-
createdBy: z.
|
|
3506
|
+
createdBy: z.ZodObject<{
|
|
3507
|
+
kind: z.ZodEnum<{
|
|
3508
|
+
system: "system";
|
|
3509
|
+
user: "user";
|
|
3510
|
+
service: "service";
|
|
3511
|
+
runner: "runner";
|
|
3512
|
+
}>;
|
|
3513
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3514
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3515
|
+
}, z.core.$strip>;
|
|
3860
3516
|
createdAt: z.ZodString;
|
|
3861
3517
|
updatedAt: z.ZodString;
|
|
3862
3518
|
archivedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3865,12 +3521,20 @@ declare const SCHEMAS: {
|
|
|
3865
3521
|
provider: z.ZodString;
|
|
3866
3522
|
awsAccountId: z.ZodNullable<z.ZodString>;
|
|
3867
3523
|
}, z.core.$strip>>;
|
|
3868
|
-
createdByName: z.ZodNullable<z.ZodString>;
|
|
3869
3524
|
lastApply: z.ZodNullable<z.ZodObject<{
|
|
3870
3525
|
runId: z.ZodString;
|
|
3871
3526
|
bundleSnapshotId: z.ZodString;
|
|
3872
3527
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
3873
|
-
|
|
3528
|
+
initiatingActor: z.ZodObject<{
|
|
3529
|
+
kind: z.ZodEnum<{
|
|
3530
|
+
system: "system";
|
|
3531
|
+
user: "user";
|
|
3532
|
+
service: "service";
|
|
3533
|
+
runner: "runner";
|
|
3534
|
+
}>;
|
|
3535
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3536
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3537
|
+
}, z.core.$strip>;
|
|
3874
3538
|
}, z.core.$strip>>;
|
|
3875
3539
|
}, z.core.$strip>;
|
|
3876
3540
|
'stack validate': z.ZodObject<{
|
|
@@ -4002,10 +3666,22 @@ declare const SCHEMAS: {
|
|
|
4002
3666
|
teamId: z.ZodString;
|
|
4003
3667
|
kind: z.ZodString;
|
|
4004
3668
|
status: z.ZodString;
|
|
4005
|
-
initiatedByUserId: z.ZodNullable<z.ZodString>;
|
|
4006
3669
|
initiatedVia: z.ZodString;
|
|
4007
|
-
|
|
4008
|
-
|
|
3670
|
+
initiatingActor: z.ZodObject<{
|
|
3671
|
+
kind: z.ZodEnum<{
|
|
3672
|
+
system: "system";
|
|
3673
|
+
user: "user";
|
|
3674
|
+
service: "service";
|
|
3675
|
+
runner: "runner";
|
|
3676
|
+
}>;
|
|
3677
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3678
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3679
|
+
}, z.core.$strip>;
|
|
3680
|
+
runner: z.ZodNullable<z.ZodObject<{
|
|
3681
|
+
kind: z.ZodString;
|
|
3682
|
+
id: z.ZodString;
|
|
3683
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3684
|
+
}, z.core.$strip>>;
|
|
4009
3685
|
bundleSnapshotId: z.ZodNullable<z.ZodString>;
|
|
4010
3686
|
sourceCommitSha: z.ZodNullable<z.ZodString>;
|
|
4011
3687
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -4015,11 +3691,9 @@ declare const SCHEMAS: {
|
|
|
4015
3691
|
planResourceChange: z.ZodNullable<z.ZodNumber>;
|
|
4016
3692
|
planResourceDestroy: z.ZodNullable<z.ZodNumber>;
|
|
4017
3693
|
planLocation: z.ZodNullable<z.ZodString>;
|
|
4018
|
-
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
4019
3694
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3695
|
+
gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3696
|
+
gateResolution: z.ZodNullable<z.ZodUnknown>;
|
|
4023
3697
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
4024
3698
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
4025
3699
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -4037,28 +3711,50 @@ declare const SCHEMAS: {
|
|
|
4037
3711
|
version: z.ZodString;
|
|
4038
3712
|
admission: z.ZodOptional<z.ZodObject<{
|
|
4039
3713
|
id: z.ZodString;
|
|
4040
|
-
admittedBy: z.
|
|
4041
|
-
|
|
3714
|
+
admittedBy: z.ZodObject<{
|
|
3715
|
+
kind: z.ZodEnum<{
|
|
3716
|
+
system: "system";
|
|
3717
|
+
user: "user";
|
|
3718
|
+
service: "service";
|
|
3719
|
+
runner: "runner";
|
|
3720
|
+
}>;
|
|
3721
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3722
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3723
|
+
}, z.core.$strip>;
|
|
4042
3724
|
admittedAt: z.ZodString;
|
|
4043
3725
|
}, z.core.$strip>>;
|
|
4044
3726
|
}, z.core.$strip>>>;
|
|
4045
3727
|
keepStack: z.ZodOptional<z.ZodBoolean>;
|
|
4046
3728
|
version: z.ZodOptional<z.ZodNumber>;
|
|
4047
3729
|
lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4048
|
-
initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4049
3730
|
stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4050
3731
|
}, z.core.$strip>;
|
|
4051
3732
|
'run plan': z.ZodObject<{
|
|
4052
3733
|
runId: z.ZodString;
|
|
4053
|
-
status: z.
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
3734
|
+
status: z.ZodString;
|
|
3735
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
3736
|
+
resources: z.ZodArray<z.ZodObject<{
|
|
3737
|
+
address: z.ZodString;
|
|
3738
|
+
type: z.ZodString;
|
|
3739
|
+
actions: z.ZodArray<z.ZodString>;
|
|
3740
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
3741
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3742
|
+
before: z.ZodNonOptional<z.ZodUnknown>;
|
|
3743
|
+
after: z.ZodNonOptional<z.ZodUnknown>;
|
|
3744
|
+
afterUnknown: z.ZodBoolean;
|
|
3745
|
+
sensitive: z.ZodBoolean;
|
|
3746
|
+
}, z.core.$strip>>;
|
|
3747
|
+
replacePaths: z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
3748
|
+
}, z.core.$strip>>;
|
|
3749
|
+
truncated: z.ZodBoolean;
|
|
3750
|
+
totals: z.ZodObject<{
|
|
3751
|
+
add: z.ZodNumber;
|
|
3752
|
+
change: z.ZodNumber;
|
|
3753
|
+
destroy: z.ZodNumber;
|
|
3754
|
+
}, z.core.$strip>;
|
|
4058
3755
|
}, z.core.$strip>>;
|
|
4059
3756
|
planHuman: z.ZodNullable<z.ZodObject<{
|
|
4060
3757
|
url: z.ZodString;
|
|
4061
|
-
key: z.ZodString;
|
|
4062
3758
|
}, z.core.$strip>>;
|
|
4063
3759
|
}, z.core.$strip>;
|
|
4064
3760
|
'run cancel': z.ZodObject<{
|
|
@@ -4068,10 +3764,22 @@ declare const SCHEMAS: {
|
|
|
4068
3764
|
teamId: z.ZodString;
|
|
4069
3765
|
kind: z.ZodString;
|
|
4070
3766
|
status: z.ZodString;
|
|
4071
|
-
initiatedByUserId: z.ZodNullable<z.ZodString>;
|
|
4072
3767
|
initiatedVia: z.ZodString;
|
|
4073
|
-
|
|
4074
|
-
|
|
3768
|
+
initiatingActor: z.ZodObject<{
|
|
3769
|
+
kind: z.ZodEnum<{
|
|
3770
|
+
system: "system";
|
|
3771
|
+
user: "user";
|
|
3772
|
+
service: "service";
|
|
3773
|
+
runner: "runner";
|
|
3774
|
+
}>;
|
|
3775
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3776
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3777
|
+
}, z.core.$strip>;
|
|
3778
|
+
runner: z.ZodNullable<z.ZodObject<{
|
|
3779
|
+
kind: z.ZodString;
|
|
3780
|
+
id: z.ZodString;
|
|
3781
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3782
|
+
}, z.core.$strip>>;
|
|
4075
3783
|
bundleSnapshotId: z.ZodNullable<z.ZodString>;
|
|
4076
3784
|
sourceCommitSha: z.ZodNullable<z.ZodString>;
|
|
4077
3785
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -4081,11 +3789,9 @@ declare const SCHEMAS: {
|
|
|
4081
3789
|
planResourceChange: z.ZodNullable<z.ZodNumber>;
|
|
4082
3790
|
planResourceDestroy: z.ZodNullable<z.ZodNumber>;
|
|
4083
3791
|
planLocation: z.ZodNullable<z.ZodString>;
|
|
4084
|
-
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
4085
3792
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3793
|
+
gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3794
|
+
gateResolution: z.ZodNullable<z.ZodUnknown>;
|
|
4089
3795
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
4090
3796
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
4091
3797
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -4103,15 +3809,22 @@ declare const SCHEMAS: {
|
|
|
4103
3809
|
version: z.ZodString;
|
|
4104
3810
|
admission: z.ZodOptional<z.ZodObject<{
|
|
4105
3811
|
id: z.ZodString;
|
|
4106
|
-
admittedBy: z.
|
|
4107
|
-
|
|
3812
|
+
admittedBy: z.ZodObject<{
|
|
3813
|
+
kind: z.ZodEnum<{
|
|
3814
|
+
system: "system";
|
|
3815
|
+
user: "user";
|
|
3816
|
+
service: "service";
|
|
3817
|
+
runner: "runner";
|
|
3818
|
+
}>;
|
|
3819
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3820
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3821
|
+
}, z.core.$strip>;
|
|
4108
3822
|
admittedAt: z.ZodString;
|
|
4109
3823
|
}, z.core.$strip>>;
|
|
4110
3824
|
}, z.core.$strip>>>;
|
|
4111
3825
|
keepStack: z.ZodOptional<z.ZodBoolean>;
|
|
4112
3826
|
version: z.ZodOptional<z.ZodNumber>;
|
|
4113
3827
|
lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4114
|
-
initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4115
3828
|
stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4116
3829
|
}, z.core.$strip>;
|
|
4117
3830
|
'run logs': z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4158,7 +3871,16 @@ declare const SCHEMAS: {
|
|
|
4158
3871
|
name: z.ZodString;
|
|
4159
3872
|
slug: z.ZodString;
|
|
4160
3873
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4161
|
-
createdBy: z.
|
|
3874
|
+
createdBy: z.ZodObject<{
|
|
3875
|
+
kind: z.ZodEnum<{
|
|
3876
|
+
system: "system";
|
|
3877
|
+
user: "user";
|
|
3878
|
+
service: "service";
|
|
3879
|
+
runner: "runner";
|
|
3880
|
+
}>;
|
|
3881
|
+
id: z.ZodNullable<z.ZodString>;
|
|
3882
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3883
|
+
}, z.core.$strip>;
|
|
4162
3884
|
createdAt: z.ZodString;
|
|
4163
3885
|
updatedAt: z.ZodString;
|
|
4164
3886
|
role: z.ZodOptional<z.ZodString>;
|
|
@@ -4242,7 +3964,6 @@ type BoundPath = keyof typeof SCHEMAS;
|
|
|
4242
3964
|
declare function isBoundPath(path: string): path is BoundPath;
|
|
4243
3965
|
type JsonOf<P> = P extends BoundPath ? z.infer<(typeof SCHEMAS)[P]> : unknown;
|
|
4244
3966
|
declare function parseBound<P extends BoundPath>(path: P, data: unknown): JsonOf<P>;
|
|
4245
|
-
declare function carriesFailure(data: unknown): boolean;
|
|
4246
3967
|
declare function parseCommandFailure(data: unknown): CommandFailure;
|
|
4247
3968
|
|
|
4248
3969
|
type SourceConflict = {
|
|
@@ -4404,10 +4125,14 @@ type StackRef = {
|
|
|
4404
4125
|
id: string;
|
|
4405
4126
|
slug: string;
|
|
4406
4127
|
};
|
|
4128
|
+
type RunRef = {
|
|
4129
|
+
id: string;
|
|
4130
|
+
};
|
|
4407
4131
|
type ContextPort = {
|
|
4408
4132
|
root?: string;
|
|
4409
4133
|
sessionId?: string;
|
|
4410
4134
|
stack?: StackRef;
|
|
4135
|
+
run?: RunRef;
|
|
4411
4136
|
};
|
|
4412
4137
|
type ViewStatePort = {
|
|
4413
4138
|
load: () => CanvasArrangement;
|
|
@@ -4426,10 +4151,14 @@ type RunnerPorts = {
|
|
|
4426
4151
|
commands?: CommandsPort;
|
|
4427
4152
|
editor?: EditorPort;
|
|
4428
4153
|
};
|
|
4154
|
+
type SelectionPort = {
|
|
4155
|
+
selected: (modules: readonly string[]) => void;
|
|
4156
|
+
};
|
|
4429
4157
|
type CanvasPorts = RunnerPorts & {
|
|
4430
4158
|
source: SourcePort;
|
|
4431
4159
|
context: ContextPort;
|
|
4432
4160
|
viewState: ViewStatePort;
|
|
4161
|
+
selection?: SelectionPort;
|
|
4433
4162
|
};
|
|
4434
4163
|
type PortName = keyof CanvasPorts;
|
|
4435
4164
|
|
|
@@ -4487,19 +4216,20 @@ declare const MODIFIERS: readonly ["Mod", "Ctrl"];
|
|
|
4487
4216
|
type Modifier = (typeof MODIFIERS)[number];
|
|
4488
4217
|
/** The type an action's `keys` hold: a key that starts with a modifier, or a
|
|
4489
4218
|
* 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
|
-
*
|
|
4219
|
+
* cannot spell an optional `Shift` then one key — and `keyChord` refuses the
|
|
4220
|
+
* rest at runtime. */
|
|
4492
4221
|
type KeySpec = `${Modifier}+${string}` | BareKey;
|
|
4493
4222
|
|
|
4494
4223
|
type CanvasSelection = {
|
|
4495
4224
|
nodes: readonly string[];
|
|
4496
4225
|
edges: readonly string[];
|
|
4497
4226
|
};
|
|
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';
|
|
4227
|
+
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
4228
|
type RunCtx = {
|
|
4500
4229
|
root?: string;
|
|
4501
4230
|
sessionId?: string;
|
|
4502
4231
|
stack?: StackRef;
|
|
4232
|
+
run?: RunRef;
|
|
4503
4233
|
};
|
|
4504
4234
|
type CanvasCtx = RunCtx & {
|
|
4505
4235
|
ports: CanvasPorts;
|
|
@@ -4518,8 +4248,12 @@ type Badge = {
|
|
|
4518
4248
|
tone: 'neutral' | 'warn' | 'error';
|
|
4519
4249
|
title?: string;
|
|
4520
4250
|
};
|
|
4251
|
+
type Cloud = {
|
|
4252
|
+
label: string;
|
|
4253
|
+
};
|
|
4521
4254
|
type NodeDecoration = {
|
|
4522
4255
|
badges: readonly Badge[];
|
|
4256
|
+
cloud?: Cloud;
|
|
4523
4257
|
};
|
|
4524
4258
|
type Decorations = {
|
|
4525
4259
|
nodes: Readonly<Record<string, NodeDecoration>>;
|
|
@@ -4527,6 +4261,7 @@ type Decorations = {
|
|
|
4527
4261
|
type OverlayContribution = {
|
|
4528
4262
|
id: string;
|
|
4529
4263
|
paths: readonly BoundPath[];
|
|
4264
|
+
requiredContext?: readonly ContextKey[];
|
|
4530
4265
|
useDecorations: (ctx: CanvasCtx) => Decorations;
|
|
4531
4266
|
};
|
|
4532
4267
|
type CommandRead<P extends BoundPath> = {
|
|
@@ -4702,7 +4437,6 @@ type ContributionSet<P extends PanelSpec = PanelSpec> = {
|
|
|
4702
4437
|
|
|
4703
4438
|
declare function defineCommand<P extends BoundPath>(binding: CommandBinding<P>): ErasedCommand;
|
|
4704
4439
|
|
|
4705
|
-
declare function uniqueDiagnostics(diagnostics: readonly Diagnostic$1[]): readonly Diagnostic$1[];
|
|
4706
4440
|
declare function diagnosticsOf(sourceDiagnostics: readonly Diagnostic$1[], reportFindings: readonly Diagnostic$1[]): readonly Diagnostic$1[];
|
|
4707
4441
|
|
|
4708
4442
|
type ReportPath = 'module validate' | 'module convert' | 'module scan';
|
|
@@ -4906,5 +4640,5 @@ declare function resolveContributions<P extends PanelSpec>(all: ContributionSet<
|
|
|
4906
4640
|
/** Every resolved action placed in a given panel's row (a `row:<panel>` placement). */
|
|
4907
4641
|
declare function rowActions(resolved: ContributionSet, panelId: string): readonly ActionContribution[];
|
|
4908
4642
|
|
|
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 _,
|
|
4643
|
+
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 };
|
|
4644
|
+
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 };
|