@lace-cloud/canvas 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-WNBCPSQJ.mjs → chunk-GV2FO3E2.mjs} +25 -24
- package/dist/{chunk-WNBCPSQJ.mjs.map → chunk-GV2FO3E2.mjs.map} +1 -1
- package/dist/engine/index.cjs +24 -23
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +2 -2
- package/dist/engine/index.d.ts +2 -2
- package/dist/engine/index.mjs +1 -1
- package/dist/index.cjs +24 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{mapping-DpFUMDvW.d.mts → mapping-B2QFbLmE.d.mts} +52 -38
- package/dist/{mapping-DpFUMDvW.d.ts → mapping-B2QFbLmE.d.ts} +52 -38
- package/package.json +3 -3
|
@@ -2511,6 +2511,26 @@ interface MessageFns<T> {
|
|
|
2511
2511
|
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
2512
2512
|
}
|
|
2513
2513
|
|
|
2514
|
+
declare const gateChangeRequestSchema: z.ZodObject<{
|
|
2515
|
+
id: z.ZodString;
|
|
2516
|
+
state: z.ZodString;
|
|
2517
|
+
requirements: z.ZodArray<z.ZodObject<{
|
|
2518
|
+
id: z.ZodString;
|
|
2519
|
+
state: z.ZodString;
|
|
2520
|
+
decidedBy: z.ZodEnum<{
|
|
2521
|
+
lace: "lace";
|
|
2522
|
+
ecm: "ecm";
|
|
2523
|
+
}>;
|
|
2524
|
+
}, z.core.$strip>>;
|
|
2525
|
+
records: z.ZodArray<z.ZodObject<{
|
|
2526
|
+
externalSystemId: z.ZodString;
|
|
2527
|
+
kind: z.ZodString;
|
|
2528
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
2529
|
+
externalUrl: z.ZodNullable<z.ZodString>;
|
|
2530
|
+
state: z.ZodNullable<z.ZodString>;
|
|
2531
|
+
}, z.core.$strip>>;
|
|
2532
|
+
}, z.core.$strip>;
|
|
2533
|
+
type GateChangeRequest = z.infer<typeof gateChangeRequestSchema>;
|
|
2514
2534
|
/**
|
|
2515
2535
|
* Every path an overlay, panel or action binds — a bound path with no
|
|
2516
2536
|
* golden is a failing test, not a silent gap.
|
|
@@ -3066,25 +3086,22 @@ declare const SCHEMAS: {
|
|
|
3066
3086
|
}, z.core.$strip>;
|
|
3067
3087
|
changeRequest: z.ZodNullable<z.ZodObject<{
|
|
3068
3088
|
id: z.ZodString;
|
|
3069
|
-
orgId: z.ZodString;
|
|
3070
|
-
teamId: z.ZodString;
|
|
3071
|
-
runId: z.ZodString;
|
|
3072
|
-
bindingId: z.ZodNullable<z.ZodString>;
|
|
3073
|
-
invocationId: z.ZodNullable<z.ZodString>;
|
|
3074
3089
|
state: z.ZodString;
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3090
|
+
requirements: z.ZodArray<z.ZodObject<{
|
|
3091
|
+
id: z.ZodString;
|
|
3092
|
+
state: z.ZodString;
|
|
3093
|
+
decidedBy: z.ZodEnum<{
|
|
3094
|
+
lace: "lace";
|
|
3095
|
+
ecm: "ecm";
|
|
3096
|
+
}>;
|
|
3097
|
+
}, z.core.$strip>>;
|
|
3098
|
+
records: z.ZodArray<z.ZodObject<{
|
|
3099
|
+
externalSystemId: z.ZodString;
|
|
3100
|
+
kind: z.ZodString;
|
|
3101
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
3102
|
+
externalUrl: z.ZodNullable<z.ZodString>;
|
|
3103
|
+
state: z.ZodNullable<z.ZodString>;
|
|
3104
|
+
}, z.core.$strip>>;
|
|
3088
3105
|
}, z.core.$strip>>;
|
|
3089
3106
|
}, z.core.$strip>, z.ZodObject<{
|
|
3090
3107
|
type: z.ZodLiteral<"result">;
|
|
@@ -3153,25 +3170,22 @@ declare const SCHEMAS: {
|
|
|
3153
3170
|
}, z.core.$strip>;
|
|
3154
3171
|
changeRequest: z.ZodNullable<z.ZodObject<{
|
|
3155
3172
|
id: z.ZodString;
|
|
3156
|
-
orgId: z.ZodString;
|
|
3157
|
-
teamId: z.ZodString;
|
|
3158
|
-
runId: z.ZodString;
|
|
3159
|
-
bindingId: z.ZodNullable<z.ZodString>;
|
|
3160
|
-
invocationId: z.ZodNullable<z.ZodString>;
|
|
3161
3173
|
state: z.ZodString;
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3174
|
+
requirements: z.ZodArray<z.ZodObject<{
|
|
3175
|
+
id: z.ZodString;
|
|
3176
|
+
state: z.ZodString;
|
|
3177
|
+
decidedBy: z.ZodEnum<{
|
|
3178
|
+
lace: "lace";
|
|
3179
|
+
ecm: "ecm";
|
|
3180
|
+
}>;
|
|
3181
|
+
}, z.core.$strip>>;
|
|
3182
|
+
records: z.ZodArray<z.ZodObject<{
|
|
3183
|
+
externalSystemId: z.ZodString;
|
|
3184
|
+
kind: z.ZodString;
|
|
3185
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
3186
|
+
externalUrl: z.ZodNullable<z.ZodString>;
|
|
3187
|
+
state: z.ZodNullable<z.ZodString>;
|
|
3188
|
+
}, z.core.$strip>>;
|
|
3175
3189
|
}, z.core.$strip>>;
|
|
3176
3190
|
}, z.core.$strip>, z.ZodObject<{
|
|
3177
3191
|
type: z.ZodLiteral<"result">;
|
|
@@ -4007,7 +4021,7 @@ type RunOutcome = {
|
|
|
4007
4021
|
kind: 'succeeded';
|
|
4008
4022
|
} | {
|
|
4009
4023
|
kind: 'awaiting-approval';
|
|
4010
|
-
|
|
4024
|
+
changeRequest: GateChangeRequest;
|
|
4011
4025
|
} | {
|
|
4012
4026
|
kind: 'blocked';
|
|
4013
4027
|
message: string;
|
|
@@ -4208,4 +4222,4 @@ declare function openEngineCommands(caller: EngineCaller, { cwd }: {
|
|
|
4208
4222
|
declare function openEngineSession(caller: DirectEngineCaller, target: EngineTarget, options?: EngineSessionOptions): Promise<EngineSession>;
|
|
4209
4223
|
declare function openEngineSession(caller: BridgeEngineCaller, target: NonFixtureTarget, options?: EngineSessionOptions): Promise<EngineSession>;
|
|
4210
4224
|
|
|
4211
|
-
export { type EngineMethodResponse as $, type ActionContribution as A, type Badge as B, type ContributionSet as C, type Decorations as D, type EdgeRef as E, type CommandRun as F, type CommandsPort as G, type ConfirmSpec as H, type ConnectCallerOptions as I, type JsonOf as J, ConnectError as K, type LayoutHandle as L, type ContextKey as M, type NodeDecoration as N, type OverlayContribution as O, type PanelSpec as P, type ContextPort as Q, type ResultStore as R, type SourcePort as S, type CreatedRef as T, type DirectEngineCaller as U, EMPTY_REPORT_FOLD as V, type EditorBinding as W, type EditorEnv as X, type EditorEnvExtras as Y, type EditorPort as Z, type EngineCaller as _, type CanvasCtx as a,
|
|
4225
|
+
export { type EngineMethodResponse as $, type ActionContribution as A, type Badge as B, type ContributionSet as C, type Decorations as D, type EdgeRef as E, type CommandRun as F, type CommandsPort as G, type ConfirmSpec as H, type ConnectCallerOptions as I, type JsonOf as J, ConnectError as K, type LayoutHandle as L, type ContextKey as M, type NodeDecoration as N, type OverlayContribution as O, type PanelSpec as P, type ContextPort as Q, type ResultStore as R, type SourcePort as S, type CreatedRef as T, type DirectEngineCaller as U, EMPTY_REPORT_FOLD as V, type EditorBinding as W, type EditorEnv as X, type EditorEnvExtras as Y, type EditorPort as Z, type EngineCaller as _, type CanvasCtx as a, reducePreview as a$, type EngineSession as a0, type EngineSessionOptions as a1, type EngineTarget as a2, type ErasedCommand as a3, type FollowSlot as a4, type GateChangeRequest as a5, type GenerateEvent as a6, type GraphError as a7, type HostBinding as a8, type Invocation as a9, carriesFailure as aA, connectCaller as aB, createActionRunner as aC, createResultStore as aD, currentReport as aE, defineCommand as aF, diagnosticsOf as aG, foldReport as aH, isBoundPath as aI, openEngineCommands as aJ, openEngineSession as aK, parseBound as aL, parseCommandFailure as aM, reportDiagnostics as aN, toArgv as aO, uniqueDiagnostics as aP, Action as aQ, InputMode as aR, type LaceReason as aS, type LiveSlots as aT, type OnScreen as aU, type RunPhase as aV, type RunPhaseStatus as aW, diagnosticsOfDocument as aX, liveSlots as aY, reasonWire as aZ, reduceFollow as a_, type KeySpec as aa, type Placement as ab, type PortName as ac, type PresenterPort as ad, type PreviewSlot as ae, Reason as af, type ReportEntry as ag, type ReportFold as ah, type ReportPath as ai, type ReportSlot as aj, type ResultKind as ak, type ResultSlots as al, type RunOutcome as am, type RunSlot as an, type RunnerPorts as ao, SCHEMAS as ap, type Sink as aq, type SinkInput as ar, type SlotContext as as, type SlotKind as at, type SourceConflict as au, type StackRef as av, type ViewStatePort as aw, type WiringCandidate as ax, type WiringQuery as ay, bridgeCaller as az, type CanvasPorts as b, reduceReport as b0, reduceRun as b1, settleRun as b2, type PendingForm as c, type BoundPath as d, type CommandRead as e, type ActionTarget as f, type CommandResult as g, type CanvasSource as h, type SourceEnd as i, type RunCtx as j, Bundle as k, type ActionRunner as l, type ActionIcon as m, type ActionRunnerOptions as n, type ApplyResult as o, ApplyUnobservedError as p, type ArgsOf as q, type BindingRuntime as r, type BridgeEngineCaller as s, COMMANDS as t, type ClipboardStore as u, type CommandBinding as v, CommandDetachedError as w, CommandExitError as x, type CommandFailure as y, type CommandPath as z };
|
|
@@ -2511,6 +2511,26 @@ interface MessageFns<T> {
|
|
|
2511
2511
|
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
2512
2512
|
}
|
|
2513
2513
|
|
|
2514
|
+
declare const gateChangeRequestSchema: z.ZodObject<{
|
|
2515
|
+
id: z.ZodString;
|
|
2516
|
+
state: z.ZodString;
|
|
2517
|
+
requirements: z.ZodArray<z.ZodObject<{
|
|
2518
|
+
id: z.ZodString;
|
|
2519
|
+
state: z.ZodString;
|
|
2520
|
+
decidedBy: z.ZodEnum<{
|
|
2521
|
+
lace: "lace";
|
|
2522
|
+
ecm: "ecm";
|
|
2523
|
+
}>;
|
|
2524
|
+
}, z.core.$strip>>;
|
|
2525
|
+
records: z.ZodArray<z.ZodObject<{
|
|
2526
|
+
externalSystemId: z.ZodString;
|
|
2527
|
+
kind: z.ZodString;
|
|
2528
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
2529
|
+
externalUrl: z.ZodNullable<z.ZodString>;
|
|
2530
|
+
state: z.ZodNullable<z.ZodString>;
|
|
2531
|
+
}, z.core.$strip>>;
|
|
2532
|
+
}, z.core.$strip>;
|
|
2533
|
+
type GateChangeRequest = z.infer<typeof gateChangeRequestSchema>;
|
|
2514
2534
|
/**
|
|
2515
2535
|
* Every path an overlay, panel or action binds — a bound path with no
|
|
2516
2536
|
* golden is a failing test, not a silent gap.
|
|
@@ -3066,25 +3086,22 @@ declare const SCHEMAS: {
|
|
|
3066
3086
|
}, z.core.$strip>;
|
|
3067
3087
|
changeRequest: z.ZodNullable<z.ZodObject<{
|
|
3068
3088
|
id: z.ZodString;
|
|
3069
|
-
orgId: z.ZodString;
|
|
3070
|
-
teamId: z.ZodString;
|
|
3071
|
-
runId: z.ZodString;
|
|
3072
|
-
bindingId: z.ZodNullable<z.ZodString>;
|
|
3073
|
-
invocationId: z.ZodNullable<z.ZodString>;
|
|
3074
3089
|
state: z.ZodString;
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3090
|
+
requirements: z.ZodArray<z.ZodObject<{
|
|
3091
|
+
id: z.ZodString;
|
|
3092
|
+
state: z.ZodString;
|
|
3093
|
+
decidedBy: z.ZodEnum<{
|
|
3094
|
+
lace: "lace";
|
|
3095
|
+
ecm: "ecm";
|
|
3096
|
+
}>;
|
|
3097
|
+
}, z.core.$strip>>;
|
|
3098
|
+
records: z.ZodArray<z.ZodObject<{
|
|
3099
|
+
externalSystemId: z.ZodString;
|
|
3100
|
+
kind: z.ZodString;
|
|
3101
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
3102
|
+
externalUrl: z.ZodNullable<z.ZodString>;
|
|
3103
|
+
state: z.ZodNullable<z.ZodString>;
|
|
3104
|
+
}, z.core.$strip>>;
|
|
3088
3105
|
}, z.core.$strip>>;
|
|
3089
3106
|
}, z.core.$strip>, z.ZodObject<{
|
|
3090
3107
|
type: z.ZodLiteral<"result">;
|
|
@@ -3153,25 +3170,22 @@ declare const SCHEMAS: {
|
|
|
3153
3170
|
}, z.core.$strip>;
|
|
3154
3171
|
changeRequest: z.ZodNullable<z.ZodObject<{
|
|
3155
3172
|
id: z.ZodString;
|
|
3156
|
-
orgId: z.ZodString;
|
|
3157
|
-
teamId: z.ZodString;
|
|
3158
|
-
runId: z.ZodString;
|
|
3159
|
-
bindingId: z.ZodNullable<z.ZodString>;
|
|
3160
|
-
invocationId: z.ZodNullable<z.ZodString>;
|
|
3161
3173
|
state: z.ZodString;
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3174
|
+
requirements: z.ZodArray<z.ZodObject<{
|
|
3175
|
+
id: z.ZodString;
|
|
3176
|
+
state: z.ZodString;
|
|
3177
|
+
decidedBy: z.ZodEnum<{
|
|
3178
|
+
lace: "lace";
|
|
3179
|
+
ecm: "ecm";
|
|
3180
|
+
}>;
|
|
3181
|
+
}, z.core.$strip>>;
|
|
3182
|
+
records: z.ZodArray<z.ZodObject<{
|
|
3183
|
+
externalSystemId: z.ZodString;
|
|
3184
|
+
kind: z.ZodString;
|
|
3185
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
3186
|
+
externalUrl: z.ZodNullable<z.ZodString>;
|
|
3187
|
+
state: z.ZodNullable<z.ZodString>;
|
|
3188
|
+
}, z.core.$strip>>;
|
|
3175
3189
|
}, z.core.$strip>>;
|
|
3176
3190
|
}, z.core.$strip>, z.ZodObject<{
|
|
3177
3191
|
type: z.ZodLiteral<"result">;
|
|
@@ -4007,7 +4021,7 @@ type RunOutcome = {
|
|
|
4007
4021
|
kind: 'succeeded';
|
|
4008
4022
|
} | {
|
|
4009
4023
|
kind: 'awaiting-approval';
|
|
4010
|
-
|
|
4024
|
+
changeRequest: GateChangeRequest;
|
|
4011
4025
|
} | {
|
|
4012
4026
|
kind: 'blocked';
|
|
4013
4027
|
message: string;
|
|
@@ -4208,4 +4222,4 @@ declare function openEngineCommands(caller: EngineCaller, { cwd }: {
|
|
|
4208
4222
|
declare function openEngineSession(caller: DirectEngineCaller, target: EngineTarget, options?: EngineSessionOptions): Promise<EngineSession>;
|
|
4209
4223
|
declare function openEngineSession(caller: BridgeEngineCaller, target: NonFixtureTarget, options?: EngineSessionOptions): Promise<EngineSession>;
|
|
4210
4224
|
|
|
4211
|
-
export { type EngineMethodResponse as $, type ActionContribution as A, type Badge as B, type ContributionSet as C, type Decorations as D, type EdgeRef as E, type CommandRun as F, type CommandsPort as G, type ConfirmSpec as H, type ConnectCallerOptions as I, type JsonOf as J, ConnectError as K, type LayoutHandle as L, type ContextKey as M, type NodeDecoration as N, type OverlayContribution as O, type PanelSpec as P, type ContextPort as Q, type ResultStore as R, type SourcePort as S, type CreatedRef as T, type DirectEngineCaller as U, EMPTY_REPORT_FOLD as V, type EditorBinding as W, type EditorEnv as X, type EditorEnvExtras as Y, type EditorPort as Z, type EngineCaller as _, type CanvasCtx as a,
|
|
4225
|
+
export { type EngineMethodResponse as $, type ActionContribution as A, type Badge as B, type ContributionSet as C, type Decorations as D, type EdgeRef as E, type CommandRun as F, type CommandsPort as G, type ConfirmSpec as H, type ConnectCallerOptions as I, type JsonOf as J, ConnectError as K, type LayoutHandle as L, type ContextKey as M, type NodeDecoration as N, type OverlayContribution as O, type PanelSpec as P, type ContextPort as Q, type ResultStore as R, type SourcePort as S, type CreatedRef as T, type DirectEngineCaller as U, EMPTY_REPORT_FOLD as V, type EditorBinding as W, type EditorEnv as X, type EditorEnvExtras as Y, type EditorPort as Z, type EngineCaller as _, type CanvasCtx as a, reducePreview as a$, type EngineSession as a0, type EngineSessionOptions as a1, type EngineTarget as a2, type ErasedCommand as a3, type FollowSlot as a4, type GateChangeRequest as a5, type GenerateEvent as a6, type GraphError as a7, type HostBinding as a8, type Invocation as a9, carriesFailure as aA, connectCaller as aB, createActionRunner as aC, createResultStore as aD, currentReport as aE, defineCommand as aF, diagnosticsOf as aG, foldReport as aH, isBoundPath as aI, openEngineCommands as aJ, openEngineSession as aK, parseBound as aL, parseCommandFailure as aM, reportDiagnostics as aN, toArgv as aO, uniqueDiagnostics as aP, Action as aQ, InputMode as aR, type LaceReason as aS, type LiveSlots as aT, type OnScreen as aU, type RunPhase as aV, type RunPhaseStatus as aW, diagnosticsOfDocument as aX, liveSlots as aY, reasonWire as aZ, reduceFollow as a_, type KeySpec as aa, type Placement as ab, type PortName as ac, type PresenterPort as ad, type PreviewSlot as ae, Reason as af, type ReportEntry as ag, type ReportFold as ah, type ReportPath as ai, type ReportSlot as aj, type ResultKind as ak, type ResultSlots as al, type RunOutcome as am, type RunSlot as an, type RunnerPorts as ao, SCHEMAS as ap, type Sink as aq, type SinkInput as ar, type SlotContext as as, type SlotKind as at, type SourceConflict as au, type StackRef as av, type ViewStatePort as aw, type WiringCandidate as ax, type WiringQuery as ay, bridgeCaller as az, type CanvasPorts as b, reduceReport as b0, reduceRun as b1, settleRun as b2, type PendingForm as c, type BoundPath as d, type CommandRead as e, type ActionTarget as f, type CommandResult as g, type CanvasSource as h, type SourceEnd as i, type RunCtx as j, Bundle as k, type ActionRunner as l, type ActionIcon as m, type ActionRunnerOptions as n, type ApplyResult as o, ApplyUnobservedError as p, type ArgsOf as q, type BindingRuntime as r, type BridgeEngineCaller as s, COMMANDS as t, type ClipboardStore as u, type CommandBinding as v, CommandDetachedError as w, CommandExitError as x, type CommandFailure as y, type CommandPath as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lace-cloud/canvas",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"license": "BUSL-1.1",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"react": "^18.3.1",
|
|
24
24
|
"react-dom": "^18.3.1",
|
|
25
25
|
"zod": "^4.1.11",
|
|
26
|
-
"@lace-cloud/proto": "0.
|
|
27
|
-
"@lace-cloud/ui": "0.
|
|
26
|
+
"@lace-cloud/proto": "0.23.0",
|
|
27
|
+
"@lace-cloud/ui": "0.23.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/react": "^18.3.12",
|