@lace-cloud/canvas 0.32.1 → 0.33.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-J5BZ7EOQ.mjs → chunk-45HRNFCU.mjs} +224 -188
- package/dist/{chunk-J5BZ7EOQ.mjs.map → chunk-45HRNFCU.mjs.map} +1 -1
- package/dist/engine/index.cjs +223 -187
- 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 +223 -187
- 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-BLwYarIE.d.mts → registry-C-aNjCYV.d.mts} +21 -16
- package/dist/{registry-BLwYarIE.d.ts → registry-C-aNjCYV.d.ts} +21 -16
- package/package.json +10 -5
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 { aZ as ContributionSet, a_ as PanelSpec, a$ as CanvasCtx, k as CanvasPorts, ab as ResultStore, S as SourcePort, A as ActionContribution, b0 as Badge, b1 as NodeDecoration, b2 as Decorations, $ as PendingForm, h as BoundPath, b3 as CommandRead, J as JsonOf, b4 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ap as SourceEnd, b as ActionRunner, b5 as Bundle, b6 as CanvasSelection, b7 as LayoutHandle } from './registry-
|
|
8
|
-
export { b8 as ActionIcon, c as ActionRunnerOptions, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, i as BridgeEngineCaller, j as Busy, C as COMMANDS, b9 as ClipboardStore, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, ba as ContextKey, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, bb as EditorBinding, bc as EditorEnv, bd as EditorEnvExtras, F as EditorPort, G as EngineCaller, H as EngineMethodResponse, I as EngineSession, K as EngineSessionOptions, L as EngineTarget, M as ErasedCommand, N as FollowSlot, O as GENERATE_STAGES, P as GateChangeRequest, Q as GenerateEvent, R as GenerateStage, T as GeneratedTree, U as GraphError, V as HostBinding, X as Invocation, be as KeySpec, bf as Placement, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as Reason, a5 as ReportEntry, a6 as ReportFold, a7 as ReportPath, a8 as ReportSlot, a9 as ResultKind, aa as ResultSlots, ac as RunCtx, ad as RunOutcome, ae as RunSlot, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, aq as StackRef, ar as Started, as as ViewStatePort, at as WiringCandidate, au as WiringQuery, av as answering, aw as bridgeCaller, ax as carriesFailure, ay as commandPathOf, az as commandUnderWay, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, bg as disabledReason, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aV as reportDiagnostics, bh as resolveContributions, bi as rowActions, aX as toArgv, aY as uniqueDiagnostics } from './registry-
|
|
7
|
+
import { aZ as ContributionSet, a_ as PanelSpec, a$ as CanvasCtx, k as CanvasPorts, ab as ResultStore, S as SourcePort, A as ActionContribution, b0 as Badge, b1 as NodeDecoration, b2 as Decorations, $ as PendingForm, h as BoundPath, b3 as CommandRead, J as JsonOf, b4 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ap as SourceEnd, b as ActionRunner, b5 as Bundle, b6 as CanvasSelection, b7 as LayoutHandle } from './registry-C-aNjCYV.mjs';
|
|
8
|
+
export { b8 as ActionIcon, c as ActionRunnerOptions, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, i as BridgeEngineCaller, j as Busy, C as COMMANDS, b9 as ClipboardStore, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, ba as ContextKey, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, bb as EditorBinding, bc as EditorEnv, bd as EditorEnvExtras, F as EditorPort, G as EngineCaller, H as EngineMethodResponse, I as EngineSession, K as EngineSessionOptions, L as EngineTarget, M as ErasedCommand, N as FollowSlot, O as GENERATE_STAGES, P as GateChangeRequest, Q as GenerateEvent, R as GenerateStage, T as GeneratedTree, U as GraphError, V as HostBinding, X as Invocation, be as KeySpec, bf as Placement, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as Reason, a5 as ReportEntry, a6 as ReportFold, a7 as ReportPath, a8 as ReportSlot, a9 as ResultKind, aa as ResultSlots, ac as RunCtx, ad as RunOutcome, ae as RunSlot, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, aq as StackRef, ar as Started, as as ViewStatePort, at as WiringCandidate, au as WiringQuery, av as answering, aw as bridgeCaller, ax as carriesFailure, ay as commandPathOf, az as commandUnderWay, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, bg as disabledReason, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aV as reportDiagnostics, bh as resolveContributions, bi as rowActions, aX as toArgv, aY as uniqueDiagnostics } from './registry-C-aNjCYV.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 { aZ as ContributionSet, a_ as PanelSpec, a$ as CanvasCtx, k as CanvasPorts, ab as ResultStore, S as SourcePort, A as ActionContribution, b0 as Badge, b1 as NodeDecoration, b2 as Decorations, $ as PendingForm, h as BoundPath, b3 as CommandRead, J as JsonOf, b4 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ap as SourceEnd, b as ActionRunner, b5 as Bundle, b6 as CanvasSelection, b7 as LayoutHandle } from './registry-
|
|
8
|
-
export { b8 as ActionIcon, c as ActionRunnerOptions, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, i as BridgeEngineCaller, j as Busy, C as COMMANDS, b9 as ClipboardStore, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, ba as ContextKey, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, bb as EditorBinding, bc as EditorEnv, bd as EditorEnvExtras, F as EditorPort, G as EngineCaller, H as EngineMethodResponse, I as EngineSession, K as EngineSessionOptions, L as EngineTarget, M as ErasedCommand, N as FollowSlot, O as GENERATE_STAGES, P as GateChangeRequest, Q as GenerateEvent, R as GenerateStage, T as GeneratedTree, U as GraphError, V as HostBinding, X as Invocation, be as KeySpec, bf as Placement, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as Reason, a5 as ReportEntry, a6 as ReportFold, a7 as ReportPath, a8 as ReportSlot, a9 as ResultKind, aa as ResultSlots, ac as RunCtx, ad as RunOutcome, ae as RunSlot, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, aq as StackRef, ar as Started, as as ViewStatePort, at as WiringCandidate, au as WiringQuery, av as answering, aw as bridgeCaller, ax as carriesFailure, ay as commandPathOf, az as commandUnderWay, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, bg as disabledReason, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aV as reportDiagnostics, bh as resolveContributions, bi as rowActions, aX as toArgv, aY as uniqueDiagnostics } from './registry-
|
|
7
|
+
import { aZ as ContributionSet, a_ as PanelSpec, a$ as CanvasCtx, k as CanvasPorts, ab as ResultStore, S as SourcePort, A as ActionContribution, b0 as Badge, b1 as NodeDecoration, b2 as Decorations, $ as PendingForm, h as BoundPath, b3 as CommandRead, J as JsonOf, b4 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ap as SourceEnd, b as ActionRunner, b5 as Bundle, b6 as CanvasSelection, b7 as LayoutHandle } from './registry-C-aNjCYV.js';
|
|
8
|
+
export { b8 as ActionIcon, c as ActionRunnerOptions, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, i as BridgeEngineCaller, j as Busy, C as COMMANDS, b9 as ClipboardStore, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, ba as ContextKey, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, bb as EditorBinding, bc as EditorEnv, bd as EditorEnvExtras, F as EditorPort, G as EngineCaller, H as EngineMethodResponse, I as EngineSession, K as EngineSessionOptions, L as EngineTarget, M as ErasedCommand, N as FollowSlot, O as GENERATE_STAGES, P as GateChangeRequest, Q as GenerateEvent, R as GenerateStage, T as GeneratedTree, U as GraphError, V as HostBinding, X as Invocation, be as KeySpec, bf as Placement, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as Reason, a5 as ReportEntry, a6 as ReportFold, a7 as ReportPath, a8 as ReportSlot, a9 as ResultKind, aa as ResultSlots, ac as RunCtx, ad as RunOutcome, ae as RunSlot, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, aq as StackRef, ar as Started, as as ViewStatePort, at as WiringCandidate, au as WiringQuery, av as answering, aw as bridgeCaller, ax as carriesFailure, ay as commandPathOf, az as commandUnderWay, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, bg as disabledReason, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aV as reportDiagnostics, bh as resolveContributions, bi as rowActions, aX as toArgv, aY as uniqueDiagnostics } from './registry-C-aNjCYV.js';
|
|
9
9
|
import { NodeProps, Node } from '@xyflow/react';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import '@bufbuild/protobuf/wire';
|
package/dist/index.mjs
CHANGED
|
@@ -2830,7 +2830,7 @@ declare const SCHEMAS: {
|
|
|
2830
2830
|
treeHash: z.ZodOptional<z.ZodString>;
|
|
2831
2831
|
verdict: z.ZodOptional<z.ZodEnum<{
|
|
2832
2832
|
"already-lace-style": "already-lace-style";
|
|
2833
|
-
|
|
2833
|
+
convertible: "convertible";
|
|
2834
2834
|
uncomposable: "uncomposable";
|
|
2835
2835
|
lossy: "lossy";
|
|
2836
2836
|
}>>;
|
|
@@ -2921,7 +2921,7 @@ declare const SCHEMAS: {
|
|
|
2921
2921
|
treeHash: z.ZodOptional<z.ZodString>;
|
|
2922
2922
|
verdict: z.ZodOptional<z.ZodEnum<{
|
|
2923
2923
|
"already-lace-style": "already-lace-style";
|
|
2924
|
-
|
|
2924
|
+
convertible: "convertible";
|
|
2925
2925
|
uncomposable: "uncomposable";
|
|
2926
2926
|
lossy: "lossy";
|
|
2927
2927
|
}>>;
|
|
@@ -3139,7 +3139,12 @@ declare const SCHEMAS: {
|
|
|
3139
3139
|
version: z.ZodString;
|
|
3140
3140
|
source: z.ZodString;
|
|
3141
3141
|
treeHash: z.ZodString;
|
|
3142
|
-
verdict: z.
|
|
3142
|
+
verdict: z.ZodEnum<{
|
|
3143
|
+
"already-lace-style": "already-lace-style";
|
|
3144
|
+
convertible: "convertible";
|
|
3145
|
+
uncomposable: "uncomposable";
|
|
3146
|
+
lossy: "lossy";
|
|
3147
|
+
}>;
|
|
3143
3148
|
interface: z.ZodObject<{
|
|
3144
3149
|
inputs: z.ZodArray<z.ZodObject<{
|
|
3145
3150
|
name: z.ZodString;
|
|
@@ -3271,8 +3276,8 @@ declare const SCHEMAS: {
|
|
|
3271
3276
|
liveProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3272
3277
|
diff: z.ZodArray<z.ZodObject<{
|
|
3273
3278
|
path: z.ZodString;
|
|
3274
|
-
declared: z.ZodUnknown
|
|
3275
|
-
detected: z.ZodUnknown
|
|
3279
|
+
declared: z.ZodOptional<z.ZodUnknown>;
|
|
3280
|
+
detected: z.ZodOptional<z.ZodUnknown>;
|
|
3276
3281
|
}, z.core.$strip>>;
|
|
3277
3282
|
findingId: z.ZodNullable<z.ZodString>;
|
|
3278
3283
|
}, z.core.$strip>>;
|
|
@@ -3654,8 +3659,8 @@ declare const SCHEMAS: {
|
|
|
3654
3659
|
liveProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3655
3660
|
diff: z.ZodArray<z.ZodObject<{
|
|
3656
3661
|
path: z.ZodString;
|
|
3657
|
-
declared: z.ZodUnknown
|
|
3658
|
-
detected: z.ZodUnknown
|
|
3662
|
+
declared: z.ZodOptional<z.ZodUnknown>;
|
|
3663
|
+
detected: z.ZodOptional<z.ZodUnknown>;
|
|
3659
3664
|
}, z.core.$strip>>;
|
|
3660
3665
|
findingId: z.ZodNullable<z.ZodString>;
|
|
3661
3666
|
}, z.core.$strip>>;
|
|
@@ -3722,7 +3727,7 @@ declare const SCHEMAS: {
|
|
|
3722
3727
|
treeHash: z.ZodOptional<z.ZodString>;
|
|
3723
3728
|
verdict: z.ZodOptional<z.ZodEnum<{
|
|
3724
3729
|
"already-lace-style": "already-lace-style";
|
|
3725
|
-
|
|
3730
|
+
convertible: "convertible";
|
|
3726
3731
|
uncomposable: "uncomposable";
|
|
3727
3732
|
lossy: "lossy";
|
|
3728
3733
|
}>>;
|
|
@@ -3878,9 +3883,9 @@ declare const SCHEMAS: {
|
|
|
3878
3883
|
runId: z.ZodString;
|
|
3879
3884
|
status: z.ZodNullable<z.ZodString>;
|
|
3880
3885
|
summary: z.ZodNullable<z.ZodObject<{
|
|
3881
|
-
resourceAdd: z.ZodNumber
|
|
3882
|
-
resourceChange: z.ZodNumber
|
|
3883
|
-
resourceDestroy: z.ZodNumber
|
|
3886
|
+
resourceAdd: z.ZodNullable<z.ZodNumber>;
|
|
3887
|
+
resourceChange: z.ZodNullable<z.ZodNumber>;
|
|
3888
|
+
resourceDestroy: z.ZodNullable<z.ZodNumber>;
|
|
3884
3889
|
}, z.core.$strip>>;
|
|
3885
3890
|
planHuman: z.ZodNullable<z.ZodObject<{
|
|
3886
3891
|
url: z.ZodString;
|
|
@@ -3949,11 +3954,11 @@ declare const SCHEMAS: {
|
|
|
3949
3954
|
}, z.core.$strip>], "type">;
|
|
3950
3955
|
whoami: z.ZodObject<{
|
|
3951
3956
|
organization: z.ZodNullable<z.ZodString>;
|
|
3952
|
-
user: z.ZodObject<{
|
|
3957
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
3953
3958
|
email: z.ZodString;
|
|
3954
3959
|
id: z.ZodString;
|
|
3955
3960
|
name: z.ZodString;
|
|
3956
|
-
}, z.core.$strip
|
|
3961
|
+
}, z.core.$strip>>;
|
|
3957
3962
|
}, z.core.$strip>;
|
|
3958
3963
|
'org list': z.ZodObject<{
|
|
3959
3964
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -3983,12 +3988,12 @@ declare const SCHEMAS: {
|
|
|
3983
3988
|
orgId: z.ZodString;
|
|
3984
3989
|
name: z.ZodString;
|
|
3985
3990
|
slug: z.ZodString;
|
|
3986
|
-
description: z.ZodString
|
|
3991
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3987
3992
|
createdBy: z.ZodString;
|
|
3988
3993
|
createdAt: z.ZodString;
|
|
3989
3994
|
updatedAt: z.ZodString;
|
|
3990
|
-
role: z.ZodString
|
|
3991
|
-
memberCount: z.ZodNumber
|
|
3995
|
+
role: z.ZodOptional<z.ZodString>;
|
|
3996
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
3992
3997
|
}, z.core.$strip>>;
|
|
3993
3998
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
3994
3999
|
hasMore: z.ZodBoolean;
|
|
@@ -2830,7 +2830,7 @@ declare const SCHEMAS: {
|
|
|
2830
2830
|
treeHash: z.ZodOptional<z.ZodString>;
|
|
2831
2831
|
verdict: z.ZodOptional<z.ZodEnum<{
|
|
2832
2832
|
"already-lace-style": "already-lace-style";
|
|
2833
|
-
|
|
2833
|
+
convertible: "convertible";
|
|
2834
2834
|
uncomposable: "uncomposable";
|
|
2835
2835
|
lossy: "lossy";
|
|
2836
2836
|
}>>;
|
|
@@ -2921,7 +2921,7 @@ declare const SCHEMAS: {
|
|
|
2921
2921
|
treeHash: z.ZodOptional<z.ZodString>;
|
|
2922
2922
|
verdict: z.ZodOptional<z.ZodEnum<{
|
|
2923
2923
|
"already-lace-style": "already-lace-style";
|
|
2924
|
-
|
|
2924
|
+
convertible: "convertible";
|
|
2925
2925
|
uncomposable: "uncomposable";
|
|
2926
2926
|
lossy: "lossy";
|
|
2927
2927
|
}>>;
|
|
@@ -3139,7 +3139,12 @@ declare const SCHEMAS: {
|
|
|
3139
3139
|
version: z.ZodString;
|
|
3140
3140
|
source: z.ZodString;
|
|
3141
3141
|
treeHash: z.ZodString;
|
|
3142
|
-
verdict: z.
|
|
3142
|
+
verdict: z.ZodEnum<{
|
|
3143
|
+
"already-lace-style": "already-lace-style";
|
|
3144
|
+
convertible: "convertible";
|
|
3145
|
+
uncomposable: "uncomposable";
|
|
3146
|
+
lossy: "lossy";
|
|
3147
|
+
}>;
|
|
3143
3148
|
interface: z.ZodObject<{
|
|
3144
3149
|
inputs: z.ZodArray<z.ZodObject<{
|
|
3145
3150
|
name: z.ZodString;
|
|
@@ -3271,8 +3276,8 @@ declare const SCHEMAS: {
|
|
|
3271
3276
|
liveProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3272
3277
|
diff: z.ZodArray<z.ZodObject<{
|
|
3273
3278
|
path: z.ZodString;
|
|
3274
|
-
declared: z.ZodUnknown
|
|
3275
|
-
detected: z.ZodUnknown
|
|
3279
|
+
declared: z.ZodOptional<z.ZodUnknown>;
|
|
3280
|
+
detected: z.ZodOptional<z.ZodUnknown>;
|
|
3276
3281
|
}, z.core.$strip>>;
|
|
3277
3282
|
findingId: z.ZodNullable<z.ZodString>;
|
|
3278
3283
|
}, z.core.$strip>>;
|
|
@@ -3654,8 +3659,8 @@ declare const SCHEMAS: {
|
|
|
3654
3659
|
liveProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3655
3660
|
diff: z.ZodArray<z.ZodObject<{
|
|
3656
3661
|
path: z.ZodString;
|
|
3657
|
-
declared: z.ZodUnknown
|
|
3658
|
-
detected: z.ZodUnknown
|
|
3662
|
+
declared: z.ZodOptional<z.ZodUnknown>;
|
|
3663
|
+
detected: z.ZodOptional<z.ZodUnknown>;
|
|
3659
3664
|
}, z.core.$strip>>;
|
|
3660
3665
|
findingId: z.ZodNullable<z.ZodString>;
|
|
3661
3666
|
}, z.core.$strip>>;
|
|
@@ -3722,7 +3727,7 @@ declare const SCHEMAS: {
|
|
|
3722
3727
|
treeHash: z.ZodOptional<z.ZodString>;
|
|
3723
3728
|
verdict: z.ZodOptional<z.ZodEnum<{
|
|
3724
3729
|
"already-lace-style": "already-lace-style";
|
|
3725
|
-
|
|
3730
|
+
convertible: "convertible";
|
|
3726
3731
|
uncomposable: "uncomposable";
|
|
3727
3732
|
lossy: "lossy";
|
|
3728
3733
|
}>>;
|
|
@@ -3878,9 +3883,9 @@ declare const SCHEMAS: {
|
|
|
3878
3883
|
runId: z.ZodString;
|
|
3879
3884
|
status: z.ZodNullable<z.ZodString>;
|
|
3880
3885
|
summary: z.ZodNullable<z.ZodObject<{
|
|
3881
|
-
resourceAdd: z.ZodNumber
|
|
3882
|
-
resourceChange: z.ZodNumber
|
|
3883
|
-
resourceDestroy: z.ZodNumber
|
|
3886
|
+
resourceAdd: z.ZodNullable<z.ZodNumber>;
|
|
3887
|
+
resourceChange: z.ZodNullable<z.ZodNumber>;
|
|
3888
|
+
resourceDestroy: z.ZodNullable<z.ZodNumber>;
|
|
3884
3889
|
}, z.core.$strip>>;
|
|
3885
3890
|
planHuman: z.ZodNullable<z.ZodObject<{
|
|
3886
3891
|
url: z.ZodString;
|
|
@@ -3949,11 +3954,11 @@ declare const SCHEMAS: {
|
|
|
3949
3954
|
}, z.core.$strip>], "type">;
|
|
3950
3955
|
whoami: z.ZodObject<{
|
|
3951
3956
|
organization: z.ZodNullable<z.ZodString>;
|
|
3952
|
-
user: z.ZodObject<{
|
|
3957
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
3953
3958
|
email: z.ZodString;
|
|
3954
3959
|
id: z.ZodString;
|
|
3955
3960
|
name: z.ZodString;
|
|
3956
|
-
}, z.core.$strip
|
|
3961
|
+
}, z.core.$strip>>;
|
|
3957
3962
|
}, z.core.$strip>;
|
|
3958
3963
|
'org list': z.ZodObject<{
|
|
3959
3964
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -3983,12 +3988,12 @@ declare const SCHEMAS: {
|
|
|
3983
3988
|
orgId: z.ZodString;
|
|
3984
3989
|
name: z.ZodString;
|
|
3985
3990
|
slug: z.ZodString;
|
|
3986
|
-
description: z.ZodString
|
|
3991
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3987
3992
|
createdBy: z.ZodString;
|
|
3988
3993
|
createdAt: z.ZodString;
|
|
3989
3994
|
updatedAt: z.ZodString;
|
|
3990
|
-
role: z.ZodString
|
|
3991
|
-
memberCount: z.ZodNumber
|
|
3995
|
+
role: z.ZodOptional<z.ZodString>;
|
|
3996
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
3992
3997
|
}, z.core.$strip>>;
|
|
3993
3998
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
3994
3999
|
hasMore: z.ZodBoolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lace-cloud/canvas",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"lace": {
|
|
5
5
|
"owner": "authoring"
|
|
6
6
|
},
|
|
@@ -26,16 +26,19 @@
|
|
|
26
26
|
"react": "^18.3.1",
|
|
27
27
|
"react-dom": "^18.3.1",
|
|
28
28
|
"zod": "^4.1.11",
|
|
29
|
-
"@lace-cloud/
|
|
30
|
-
"@lace-cloud/
|
|
29
|
+
"@lace-cloud/proto": "0.33.0",
|
|
30
|
+
"@lace-cloud/ui": "0.33.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
+
"@size-limit/file": "12.1.0",
|
|
33
34
|
"@types/react": "^18.3.12",
|
|
34
35
|
"@types/react-dom": "^18.3.1",
|
|
36
|
+
"size-limit": "12.1.0",
|
|
35
37
|
"tsup": "^9.0.0",
|
|
36
38
|
"tsx": "^4.19.0",
|
|
37
39
|
"typescript": "^6.0.2",
|
|
38
40
|
"vitest": "^4.1.0",
|
|
41
|
+
"@lace-cloud/api-types": "0.0.0",
|
|
39
42
|
"@lace-cloud/cast-ban-scanner": "0.0.0",
|
|
40
43
|
"@lace-cloud/import-graph": "0.0.0"
|
|
41
44
|
},
|
|
@@ -53,9 +56,11 @@
|
|
|
53
56
|
"directory": "packages/canvas"
|
|
54
57
|
},
|
|
55
58
|
"scripts": {
|
|
56
|
-
"build": "bash ../../scripts/proto-gen.sh canvas && tsx scripts/gen-commands.ts && tsup",
|
|
59
|
+
"build": "bash ../../scripts/proto-gen.sh canvas && tsx scripts/gen-commands.ts && node scripts/api-types.mjs && tsup",
|
|
57
60
|
"clean": "rm -rf dist",
|
|
58
|
-
"test": "vitest run"
|
|
61
|
+
"test": "vitest run",
|
|
62
|
+
"typecheck": "node ../../scripts/typecheck-all.mjs --package",
|
|
63
|
+
"size": "size-limit"
|
|
59
64
|
},
|
|
60
65
|
"module": "./dist/index.mjs"
|
|
61
66
|
}
|