@lace-cloud/canvas 0.33.0 → 0.35.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/{Canvas-JRY2HAY6.css → Canvas-VQQEZSPA.css} +9 -11
- package/dist/{UpdateButton-TJKSFVBA.css → UpdateButton-VSIHLAZC.css} +1 -1
- package/dist/{chunk-45HRNFCU.mjs → chunk-O3I4KLND.mjs} +26 -3
- package/dist/chunk-O3I4KLND.mjs.map +1 -0
- package/dist/engine/index.cjs +27 -2
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +15 -3
- package/dist/engine/index.d.ts +15 -3
- package/dist/engine/index.mjs +5 -1
- package/dist/index.cjs +956 -813
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.mjs +759 -629
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-C-aNjCYV.d.mts → registry-ynSG1hCz.d.mts} +17 -11
- package/dist/{registry-C-aNjCYV.d.ts → registry-ynSG1hCz.d.ts} +17 -11
- package/package.json +4 -4
- package/dist/chunk-45HRNFCU.mjs.map +0 -1
|
@@ -1101,8 +1101,8 @@ interface BundleState {
|
|
|
1101
1101
|
ungenerated: boolean;
|
|
1102
1102
|
/**
|
|
1103
1103
|
* True when the source tf this session opened, or last observed live,
|
|
1104
|
-
* is refused: it
|
|
1105
|
-
*
|
|
1104
|
+
* is refused: it does not exist, does not parse, parses lossily, cannot be
|
|
1105
|
+
* selected as one tree, or is not in lace shape, and `diagnostics` names why — one
|
|
1106
1106
|
* `not_lace_shape` diagnostic per managed resource out of lace shape, whose
|
|
1107
1107
|
* remedy is Convert (`module convert`). The engine refuses every
|
|
1108
1108
|
* mutation while this holds — edit, undo, redo, save, generate, and
|
|
@@ -2617,6 +2617,9 @@ declare const COMMANDS: {
|
|
|
2617
2617
|
readonly values: readonly ["table", "json"];
|
|
2618
2618
|
readonly short: "o";
|
|
2619
2619
|
};
|
|
2620
|
+
readonly source: {
|
|
2621
|
+
readonly type: "string";
|
|
2622
|
+
};
|
|
2620
2623
|
readonly sourcePath: {
|
|
2621
2624
|
readonly type: "string";
|
|
2622
2625
|
};
|
|
@@ -3112,7 +3115,7 @@ declare const SCHEMAS: {
|
|
|
3112
3115
|
verified: z.ZodBoolean;
|
|
3113
3116
|
}, z.core.$strip>>;
|
|
3114
3117
|
status: z.ZodString;
|
|
3115
|
-
installCount: z.ZodNumber
|
|
3118
|
+
installCount: z.ZodOptional<z.ZodNumber>;
|
|
3116
3119
|
publishedAt: z.ZodNullable<z.ZodString>;
|
|
3117
3120
|
publishedBy: z.ZodNullable<z.ZodString>;
|
|
3118
3121
|
createdAt: z.ZodString;
|
|
@@ -3317,7 +3320,7 @@ declare const SCHEMAS: {
|
|
|
3317
3320
|
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3318
3321
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3319
3322
|
policyResultsLocation: z.ZodNullable<z.ZodString>;
|
|
3320
|
-
|
|
3323
|
+
policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3321
3324
|
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3322
3325
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3323
3326
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
@@ -3494,7 +3497,7 @@ declare const SCHEMAS: {
|
|
|
3494
3497
|
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3495
3498
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3496
3499
|
policyResultsLocation: z.ZodNullable<z.ZodString>;
|
|
3497
|
-
|
|
3500
|
+
policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3498
3501
|
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3499
3502
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3500
3503
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
@@ -3593,7 +3596,7 @@ declare const SCHEMAS: {
|
|
|
3593
3596
|
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3594
3597
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3595
3598
|
policyResultsLocation: z.ZodNullable<z.ZodString>;
|
|
3596
|
-
|
|
3599
|
+
policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3597
3600
|
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3598
3601
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3599
3602
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
@@ -3849,7 +3852,7 @@ declare const SCHEMAS: {
|
|
|
3849
3852
|
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3850
3853
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3851
3854
|
policyResultsLocation: z.ZodNullable<z.ZodString>;
|
|
3852
|
-
|
|
3855
|
+
policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3853
3856
|
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3854
3857
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3855
3858
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
@@ -3915,7 +3918,7 @@ declare const SCHEMAS: {
|
|
|
3915
3918
|
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3916
3919
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3917
3920
|
policyResultsLocation: z.ZodNullable<z.ZodString>;
|
|
3918
|
-
|
|
3921
|
+
policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3919
3922
|
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3920
3923
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3921
3924
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
@@ -4295,11 +4298,14 @@ declare function openEngineSession(caller: BridgeEngineCaller, target: NonFixtur
|
|
|
4295
4298
|
/** The keys an action may bind with no modifier. */
|
|
4296
4299
|
declare const BARE_KEYS: readonly ["Delete", "Backspace"];
|
|
4297
4300
|
type BareKey = (typeof BARE_KEYS)[number];
|
|
4298
|
-
/** The
|
|
4299
|
-
|
|
4301
|
+
/** The modifiers a chord names. */
|
|
4302
|
+
declare const MODIFIERS: readonly ["Mod", "Ctrl"];
|
|
4303
|
+
type Modifier = (typeof MODIFIERS)[number];
|
|
4304
|
+
/** The type an action's `keys` hold: a key that starts with a modifier, or a
|
|
4305
|
+
* bare key. The modifier arm is the grammar's prefix check alone — the type
|
|
4300
4306
|
* cannot spell an optional `Shift` then one key — and `parseChord` refuses
|
|
4301
4307
|
* the rest at runtime. */
|
|
4302
|
-
type KeySpec =
|
|
4308
|
+
type KeySpec = `${Modifier}+${string}` | BareKey;
|
|
4303
4309
|
|
|
4304
4310
|
type CanvasSelection = {
|
|
4305
4311
|
nodes: readonly string[];
|
|
@@ -1101,8 +1101,8 @@ interface BundleState {
|
|
|
1101
1101
|
ungenerated: boolean;
|
|
1102
1102
|
/**
|
|
1103
1103
|
* True when the source tf this session opened, or last observed live,
|
|
1104
|
-
* is refused: it
|
|
1105
|
-
*
|
|
1104
|
+
* is refused: it does not exist, does not parse, parses lossily, cannot be
|
|
1105
|
+
* selected as one tree, or is not in lace shape, and `diagnostics` names why — one
|
|
1106
1106
|
* `not_lace_shape` diagnostic per managed resource out of lace shape, whose
|
|
1107
1107
|
* remedy is Convert (`module convert`). The engine refuses every
|
|
1108
1108
|
* mutation while this holds — edit, undo, redo, save, generate, and
|
|
@@ -2617,6 +2617,9 @@ declare const COMMANDS: {
|
|
|
2617
2617
|
readonly values: readonly ["table", "json"];
|
|
2618
2618
|
readonly short: "o";
|
|
2619
2619
|
};
|
|
2620
|
+
readonly source: {
|
|
2621
|
+
readonly type: "string";
|
|
2622
|
+
};
|
|
2620
2623
|
readonly sourcePath: {
|
|
2621
2624
|
readonly type: "string";
|
|
2622
2625
|
};
|
|
@@ -3112,7 +3115,7 @@ declare const SCHEMAS: {
|
|
|
3112
3115
|
verified: z.ZodBoolean;
|
|
3113
3116
|
}, z.core.$strip>>;
|
|
3114
3117
|
status: z.ZodString;
|
|
3115
|
-
installCount: z.ZodNumber
|
|
3118
|
+
installCount: z.ZodOptional<z.ZodNumber>;
|
|
3116
3119
|
publishedAt: z.ZodNullable<z.ZodString>;
|
|
3117
3120
|
publishedBy: z.ZodNullable<z.ZodString>;
|
|
3118
3121
|
createdAt: z.ZodString;
|
|
@@ -3317,7 +3320,7 @@ declare const SCHEMAS: {
|
|
|
3317
3320
|
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3318
3321
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3319
3322
|
policyResultsLocation: z.ZodNullable<z.ZodString>;
|
|
3320
|
-
|
|
3323
|
+
policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3321
3324
|
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3322
3325
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3323
3326
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
@@ -3494,7 +3497,7 @@ declare const SCHEMAS: {
|
|
|
3494
3497
|
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3495
3498
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3496
3499
|
policyResultsLocation: z.ZodNullable<z.ZodString>;
|
|
3497
|
-
|
|
3500
|
+
policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3498
3501
|
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3499
3502
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3500
3503
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
@@ -3593,7 +3596,7 @@ declare const SCHEMAS: {
|
|
|
3593
3596
|
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3594
3597
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3595
3598
|
policyResultsLocation: z.ZodNullable<z.ZodString>;
|
|
3596
|
-
|
|
3599
|
+
policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3597
3600
|
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3598
3601
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3599
3602
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
@@ -3849,7 +3852,7 @@ declare const SCHEMAS: {
|
|
|
3849
3852
|
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3850
3853
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3851
3854
|
policyResultsLocation: z.ZodNullable<z.ZodString>;
|
|
3852
|
-
|
|
3855
|
+
policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3853
3856
|
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3854
3857
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3855
3858
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
@@ -3915,7 +3918,7 @@ declare const SCHEMAS: {
|
|
|
3915
3918
|
planHumanLocation: z.ZodNullable<z.ZodString>;
|
|
3916
3919
|
applyLogLocation: z.ZodNullable<z.ZodString>;
|
|
3917
3920
|
policyResultsLocation: z.ZodNullable<z.ZodString>;
|
|
3918
|
-
|
|
3921
|
+
policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
|
|
3919
3922
|
policyResolution: z.ZodNullable<z.ZodUnknown>;
|
|
3920
3923
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
3921
3924
|
cancelReason: z.ZodNullable<z.ZodString>;
|
|
@@ -4295,11 +4298,14 @@ declare function openEngineSession(caller: BridgeEngineCaller, target: NonFixtur
|
|
|
4295
4298
|
/** The keys an action may bind with no modifier. */
|
|
4296
4299
|
declare const BARE_KEYS: readonly ["Delete", "Backspace"];
|
|
4297
4300
|
type BareKey = (typeof BARE_KEYS)[number];
|
|
4298
|
-
/** The
|
|
4299
|
-
|
|
4301
|
+
/** The modifiers a chord names. */
|
|
4302
|
+
declare const MODIFIERS: readonly ["Mod", "Ctrl"];
|
|
4303
|
+
type Modifier = (typeof MODIFIERS)[number];
|
|
4304
|
+
/** The type an action's `keys` hold: a key that starts with a modifier, or a
|
|
4305
|
+
* bare key. The modifier arm is the grammar's prefix check alone — the type
|
|
4300
4306
|
* cannot spell an optional `Shift` then one key — and `parseChord` refuses
|
|
4301
4307
|
* the rest at runtime. */
|
|
4302
|
-
type KeySpec =
|
|
4308
|
+
type KeySpec = `${Modifier}+${string}` | BareKey;
|
|
4303
4309
|
|
|
4304
4310
|
type CanvasSelection = {
|
|
4305
4311
|
nodes: readonly string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lace-cloud/canvas",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.0",
|
|
4
4
|
"lace": {
|
|
5
5
|
"owner": "authoring"
|
|
6
6
|
},
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"react": "^18.3.1",
|
|
27
27
|
"react-dom": "^18.3.1",
|
|
28
28
|
"zod": "^4.1.11",
|
|
29
|
-
"@lace-cloud/proto": "0.
|
|
30
|
-
"@lace-cloud/ui": "0.
|
|
29
|
+
"@lace-cloud/proto": "0.35.0",
|
|
30
|
+
"@lace-cloud/ui": "0.35.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@size-limit/file": "12.1.0",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"tsx": "^4.19.0",
|
|
39
39
|
"typescript": "^6.0.2",
|
|
40
40
|
"vitest": "^4.1.0",
|
|
41
|
-
"@lace-cloud/api-types": "0.0.0",
|
|
42
41
|
"@lace-cloud/cast-ban-scanner": "0.0.0",
|
|
42
|
+
"@lace-cloud/api-types": "0.0.0",
|
|
43
43
|
"@lace-cloud/import-graph": "0.0.0"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|