@lace-cloud/canvas 0.31.0 → 0.31.2
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-MVOO7T3B.mjs → chunk-PABP6EXP.mjs} +50 -33
- package/dist/{chunk-MVOO7T3B.mjs.map → chunk-PABP6EXP.mjs.map} +1 -1
- package/dist/engine/index.cjs +55 -32
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +10 -3
- package/dist/engine/index.d.ts +10 -3
- package/dist/engine/index.mjs +13 -1
- package/dist/index.cjs +43 -32
- 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/{registry-B56alajR.d.mts → registry-CCqHplDe.d.mts} +3 -2
- package/dist/{registry-B56alajR.d.ts → registry-CCqHplDe.d.ts} +3 -2
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -4,8 +4,8 @@ export { Toast } from '@lace-cloud/ui/feedback';
|
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { FC, ReactNode } from 'react';
|
|
7
|
-
import { C as ContributionSet, P as PanelSpec, a as CanvasCtx, b as CanvasPorts, R as ResultStore, S as SourcePort, A as ActionContribution, B as Badge, N as NodeDecoration, D as Decorations, c as PendingForm, d as BoundPath, e as CommandRead, J as JsonOf, O as OverlayContribution, f as ActionTarget, g as CommandResult, h as CanvasSource, i as SourceEnd, j as Bundle, k as CanvasSelection, l as ActionRunner, L as LayoutHandle } from './registry-
|
|
8
|
-
export { m as ActionIcon, n as ActionRunnerOptions, o as ApplyResult, p as ApplyUnobservedError, q as ArgsOf, r as BindingRuntime, s as BridgeEngineCaller, t as Busy, u as COMMANDS, v as ClipboardStore, w as CommandBinding, x as CommandDetachedError, y as CommandExitError, z as CommandFailure, E as CommandPath, F as CommandRun, G as CommandUnobservedError, H as CommandsPort, I as ConfirmSpec, K as ConnectCallerOptions, M as ConnectError, Q as ContextKey, T as ContextPort, U as CreatedRef, V as DirectEngineCaller, W as EMPTY_REPORT_FOLD, X as EditorBinding, Y as EditorEnv, Z as EditorEnvExtras, _ as EditorPort, $ as EngineCaller, a0 as EngineMethodResponse, a1 as EngineSession, a2 as EngineSessionOptions, a3 as EngineTarget, a4 as ErasedCommand, a5 as FollowSlot, a6 as GENERATE_STAGES, a7 as GateChangeRequest, a8 as GenerateEvent, a9 as GenerateStage, aa as GeneratedTree, ab as GraphError, ac as HostBinding, ad as Invocation, ae as KeySpec, af as Placement, ag as PortName, ah as PresenterPort, ai as PreviewOutcome, aj as PreviewSlot, ak as Reason, al as ReportEntry, am as ReportFold, an as ReportPath, ao as ReportSlot, ap as ResultKind, aq as ResultSlots, ar as RunCtx, as as RunOutcome, at as RunSlot, au as RunnerPorts, av as RunningMark, aw as SCHEMAS, ax as Sink, ay as SinkInput, az as SlotContext, aA as SlotKind, aB as SourceConflict, aC as StackRef, aD as Started, aE as ViewStatePort, aF as WiringCandidate, aG as WiringQuery, aH as answering, aI as bridgeCaller, aJ as carriesFailure, aK as commandPathOf, aL as commandUnderWay, aM as connectCaller, aN as createActionRunner, aO as createResultStore, aP as currentReport, aQ as defineCommand, aR as diagnosticsOf, aS as disabledReason, aT as foldReport, aU as generatedTree, aV as isBoundPath, aW as openEngineCommands, aX as openEngineSession, aY as parseBound, aZ as parseCommandFailure, a_ as reportDiagnostics, a$ as resolveContributions, b0 as rowActions, b1 as toArgv, b2 as uniqueDiagnostics } from './registry-
|
|
7
|
+
import { C as ContributionSet, P as PanelSpec, a as CanvasCtx, b as CanvasPorts, R as ResultStore, S as SourcePort, A as ActionContribution, B as Badge, N as NodeDecoration, D as Decorations, c as PendingForm, d as BoundPath, e as CommandRead, J as JsonOf, O as OverlayContribution, f as ActionTarget, g as CommandResult, h as CanvasSource, i as SourceEnd, j as Bundle, k as CanvasSelection, l as ActionRunner, L as LayoutHandle } from './registry-CCqHplDe.mjs';
|
|
8
|
+
export { m as ActionIcon, n as ActionRunnerOptions, o as ApplyResult, p as ApplyUnobservedError, q as ArgsOf, r as BindingRuntime, s as BridgeEngineCaller, t as Busy, u as COMMANDS, v as ClipboardStore, w as CommandBinding, x as CommandDetachedError, y as CommandExitError, z as CommandFailure, E as CommandPath, F as CommandRun, G as CommandUnobservedError, H as CommandsPort, I as ConfirmSpec, K as ConnectCallerOptions, M as ConnectError, Q as ContextKey, T as ContextPort, U as CreatedRef, V as DirectEngineCaller, W as EMPTY_REPORT_FOLD, X as EditorBinding, Y as EditorEnv, Z as EditorEnvExtras, _ as EditorPort, $ as EngineCaller, a0 as EngineMethodResponse, a1 as EngineSession, a2 as EngineSessionOptions, a3 as EngineTarget, a4 as ErasedCommand, a5 as FollowSlot, a6 as GENERATE_STAGES, a7 as GateChangeRequest, a8 as GenerateEvent, a9 as GenerateStage, aa as GeneratedTree, ab as GraphError, ac as HostBinding, ad as Invocation, ae as KeySpec, af as Placement, ag as PortName, ah as PresenterPort, ai as PreviewOutcome, aj as PreviewSlot, ak as Reason, al as ReportEntry, am as ReportFold, an as ReportPath, ao as ReportSlot, ap as ResultKind, aq as ResultSlots, ar as RunCtx, as as RunOutcome, at as RunSlot, au as RunnerPorts, av as RunningMark, aw as SCHEMAS, ax as Sink, ay as SinkInput, az as SlotContext, aA as SlotKind, aB as SourceConflict, aC as StackRef, aD as Started, aE as ViewStatePort, aF as WiringCandidate, aG as WiringQuery, aH as answering, aI as bridgeCaller, aJ as carriesFailure, aK as commandPathOf, aL as commandUnderWay, aM as connectCaller, aN as createActionRunner, aO as createResultStore, aP as currentReport, aQ as defineCommand, aR as diagnosticsOf, aS as disabledReason, aT as foldReport, aU as generatedTree, aV as isBoundPath, aW as openEngineCommands, aX as openEngineSession, aY as parseBound, aZ as parseCommandFailure, a_ as reportDiagnostics, a$ as resolveContributions, b0 as rowActions, b1 as toArgv, b2 as uniqueDiagnostics } from './registry-CCqHplDe.mjs';
|
|
9
9
|
import { NodeProps, Node } from '@xyflow/react';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import '@bufbuild/protobuf/wire';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ export { Toast } from '@lace-cloud/ui/feedback';
|
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { FC, ReactNode } from 'react';
|
|
7
|
-
import { C as ContributionSet, P as PanelSpec, a as CanvasCtx, b as CanvasPorts, R as ResultStore, S as SourcePort, A as ActionContribution, B as Badge, N as NodeDecoration, D as Decorations, c as PendingForm, d as BoundPath, e as CommandRead, J as JsonOf, O as OverlayContribution, f as ActionTarget, g as CommandResult, h as CanvasSource, i as SourceEnd, j as Bundle, k as CanvasSelection, l as ActionRunner, L as LayoutHandle } from './registry-
|
|
8
|
-
export { m as ActionIcon, n as ActionRunnerOptions, o as ApplyResult, p as ApplyUnobservedError, q as ArgsOf, r as BindingRuntime, s as BridgeEngineCaller, t as Busy, u as COMMANDS, v as ClipboardStore, w as CommandBinding, x as CommandDetachedError, y as CommandExitError, z as CommandFailure, E as CommandPath, F as CommandRun, G as CommandUnobservedError, H as CommandsPort, I as ConfirmSpec, K as ConnectCallerOptions, M as ConnectError, Q as ContextKey, T as ContextPort, U as CreatedRef, V as DirectEngineCaller, W as EMPTY_REPORT_FOLD, X as EditorBinding, Y as EditorEnv, Z as EditorEnvExtras, _ as EditorPort, $ as EngineCaller, a0 as EngineMethodResponse, a1 as EngineSession, a2 as EngineSessionOptions, a3 as EngineTarget, a4 as ErasedCommand, a5 as FollowSlot, a6 as GENERATE_STAGES, a7 as GateChangeRequest, a8 as GenerateEvent, a9 as GenerateStage, aa as GeneratedTree, ab as GraphError, ac as HostBinding, ad as Invocation, ae as KeySpec, af as Placement, ag as PortName, ah as PresenterPort, ai as PreviewOutcome, aj as PreviewSlot, ak as Reason, al as ReportEntry, am as ReportFold, an as ReportPath, ao as ReportSlot, ap as ResultKind, aq as ResultSlots, ar as RunCtx, as as RunOutcome, at as RunSlot, au as RunnerPorts, av as RunningMark, aw as SCHEMAS, ax as Sink, ay as SinkInput, az as SlotContext, aA as SlotKind, aB as SourceConflict, aC as StackRef, aD as Started, aE as ViewStatePort, aF as WiringCandidate, aG as WiringQuery, aH as answering, aI as bridgeCaller, aJ as carriesFailure, aK as commandPathOf, aL as commandUnderWay, aM as connectCaller, aN as createActionRunner, aO as createResultStore, aP as currentReport, aQ as defineCommand, aR as diagnosticsOf, aS as disabledReason, aT as foldReport, aU as generatedTree, aV as isBoundPath, aW as openEngineCommands, aX as openEngineSession, aY as parseBound, aZ as parseCommandFailure, a_ as reportDiagnostics, a$ as resolveContributions, b0 as rowActions, b1 as toArgv, b2 as uniqueDiagnostics } from './registry-
|
|
7
|
+
import { C as ContributionSet, P as PanelSpec, a as CanvasCtx, b as CanvasPorts, R as ResultStore, S as SourcePort, A as ActionContribution, B as Badge, N as NodeDecoration, D as Decorations, c as PendingForm, d as BoundPath, e as CommandRead, J as JsonOf, O as OverlayContribution, f as ActionTarget, g as CommandResult, h as CanvasSource, i as SourceEnd, j as Bundle, k as CanvasSelection, l as ActionRunner, L as LayoutHandle } from './registry-CCqHplDe.js';
|
|
8
|
+
export { m as ActionIcon, n as ActionRunnerOptions, o as ApplyResult, p as ApplyUnobservedError, q as ArgsOf, r as BindingRuntime, s as BridgeEngineCaller, t as Busy, u as COMMANDS, v as ClipboardStore, w as CommandBinding, x as CommandDetachedError, y as CommandExitError, z as CommandFailure, E as CommandPath, F as CommandRun, G as CommandUnobservedError, H as CommandsPort, I as ConfirmSpec, K as ConnectCallerOptions, M as ConnectError, Q as ContextKey, T as ContextPort, U as CreatedRef, V as DirectEngineCaller, W as EMPTY_REPORT_FOLD, X as EditorBinding, Y as EditorEnv, Z as EditorEnvExtras, _ as EditorPort, $ as EngineCaller, a0 as EngineMethodResponse, a1 as EngineSession, a2 as EngineSessionOptions, a3 as EngineTarget, a4 as ErasedCommand, a5 as FollowSlot, a6 as GENERATE_STAGES, a7 as GateChangeRequest, a8 as GenerateEvent, a9 as GenerateStage, aa as GeneratedTree, ab as GraphError, ac as HostBinding, ad as Invocation, ae as KeySpec, af as Placement, ag as PortName, ah as PresenterPort, ai as PreviewOutcome, aj as PreviewSlot, ak as Reason, al as ReportEntry, am as ReportFold, an as ReportPath, ao as ReportSlot, ap as ResultKind, aq as ResultSlots, ar as RunCtx, as as RunOutcome, at as RunSlot, au as RunnerPorts, av as RunningMark, aw as SCHEMAS, ax as Sink, ay as SinkInput, az as SlotContext, aA as SlotKind, aB as SourceConflict, aC as StackRef, aD as Started, aE as ViewStatePort, aF as WiringCandidate, aG as WiringQuery, aH as answering, aI as bridgeCaller, aJ as carriesFailure, aK as commandPathOf, aL as commandUnderWay, aM as connectCaller, aN as createActionRunner, aO as createResultStore, aP as currentReport, aQ as defineCommand, aR as diagnosticsOf, aS as disabledReason, aT as foldReport, aU as generatedTree, aV as isBoundPath, aW as openEngineCommands, aX as openEngineSession, aY as parseBound, aZ as parseCommandFailure, a_ as reportDiagnostics, a$ as resolveContributions, b0 as rowActions, b1 as toArgv, b2 as uniqueDiagnostics } from './registry-CCqHplDe.js';
|
|
9
9
|
import { NodeProps, Node } from '@xyflow/react';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import '@bufbuild/protobuf/wire';
|
package/dist/index.mjs
CHANGED
|
@@ -4464,9 +4464,10 @@ type RunStage = {
|
|
|
4464
4464
|
name: string;
|
|
4465
4465
|
status: RunStageStatus;
|
|
4466
4466
|
};
|
|
4467
|
-
type
|
|
4467
|
+
type ResultFrame = Extract<JsonOf<'stack apply'>, {
|
|
4468
4468
|
type: 'result';
|
|
4469
|
-
}
|
|
4469
|
+
}>;
|
|
4470
|
+
type ResultRun = ResultFrame['run'];
|
|
4470
4471
|
type RunSlot = {
|
|
4471
4472
|
token: object;
|
|
4472
4473
|
outcome: RunOutcome;
|
|
@@ -4464,9 +4464,10 @@ type RunStage = {
|
|
|
4464
4464
|
name: string;
|
|
4465
4465
|
status: RunStageStatus;
|
|
4466
4466
|
};
|
|
4467
|
-
type
|
|
4467
|
+
type ResultFrame = Extract<JsonOf<'stack apply'>, {
|
|
4468
4468
|
type: 'result';
|
|
4469
|
-
}
|
|
4469
|
+
}>;
|
|
4470
|
+
type ResultRun = ResultFrame['run'];
|
|
4470
4471
|
type RunSlot = {
|
|
4471
4472
|
token: object;
|
|
4472
4473
|
outcome: RunOutcome;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lace-cloud/canvas",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.2",
|
|
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.31.
|
|
27
|
-
"@lace-cloud/ui": "0.31.
|
|
26
|
+
"@lace-cloud/proto": "0.31.2",
|
|
27
|
+
"@lace-cloud/ui": "0.31.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/react": "^18.3.12",
|