@lace-cloud/canvas 0.9.1 → 0.10.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/index.cjs +0 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +0 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -8846,7 +8846,6 @@ var LayoutsMap_LayoutsEntry = {
|
|
|
8846
8846
|
function createBasePolicyResolution() {
|
|
8847
8847
|
return {
|
|
8848
8848
|
mode: "",
|
|
8849
|
-
runner_location: "",
|
|
8850
8849
|
policy_id: "",
|
|
8851
8850
|
rules_fired: [],
|
|
8852
8851
|
reason: "",
|
|
@@ -8860,9 +8859,6 @@ var PolicyResolution = {
|
|
|
8860
8859
|
if (message.mode !== "") {
|
|
8861
8860
|
writer.uint32(10).string(message.mode);
|
|
8862
8861
|
}
|
|
8863
|
-
if (message.runner_location !== "") {
|
|
8864
|
-
writer.uint32(18).string(message.runner_location);
|
|
8865
|
-
}
|
|
8866
8862
|
if (message.policy_id !== "") {
|
|
8867
8863
|
writer.uint32(26).string(message.policy_id);
|
|
8868
8864
|
}
|
|
@@ -8897,13 +8893,6 @@ var PolicyResolution = {
|
|
|
8897
8893
|
message.mode = reader.string();
|
|
8898
8894
|
continue;
|
|
8899
8895
|
}
|
|
8900
|
-
case 2: {
|
|
8901
|
-
if (tag !== 18) {
|
|
8902
|
-
break;
|
|
8903
|
-
}
|
|
8904
|
-
message.runner_location = reader.string();
|
|
8905
|
-
continue;
|
|
8906
|
-
}
|
|
8907
8896
|
case 3: {
|
|
8908
8897
|
if (tag !== 26) {
|
|
8909
8898
|
break;
|
|
@@ -8957,7 +8946,6 @@ var PolicyResolution = {
|
|
|
8957
8946
|
fromJSON(object) {
|
|
8958
8947
|
return {
|
|
8959
8948
|
mode: isSet2(object.mode) ? globalThis.String(object.mode) : "",
|
|
8960
|
-
runner_location: isSet2(object.runnerLocation) ? globalThis.String(object.runnerLocation) : isSet2(object.runner_location) ? globalThis.String(object.runner_location) : "",
|
|
8961
8949
|
policy_id: isSet2(object.policyId) ? globalThis.String(object.policyId) : isSet2(object.policy_id) ? globalThis.String(object.policy_id) : "",
|
|
8962
8950
|
rules_fired: globalThis.Array.isArray(object?.rulesFired) ? object.rulesFired.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.rules_fired) ? object.rules_fired.map((e) => globalThis.String(e)) : [],
|
|
8963
8951
|
reason: isSet2(object.reason) ? globalThis.String(object.reason) : "",
|
|
@@ -8971,9 +8959,6 @@ var PolicyResolution = {
|
|
|
8971
8959
|
if (message.mode !== "") {
|
|
8972
8960
|
obj.mode = message.mode;
|
|
8973
8961
|
}
|
|
8974
|
-
if (message.runner_location !== "") {
|
|
8975
|
-
obj.runnerLocation = message.runner_location;
|
|
8976
|
-
}
|
|
8977
8962
|
if (message.policy_id !== "") {
|
|
8978
8963
|
obj.policyId = message.policy_id;
|
|
8979
8964
|
}
|
|
@@ -9000,7 +8985,6 @@ var PolicyResolution = {
|
|
|
9000
8985
|
fromPartial(object) {
|
|
9001
8986
|
const message = createBasePolicyResolution();
|
|
9002
8987
|
message.mode = object.mode ?? "";
|
|
9003
|
-
message.runner_location = object.runner_location ?? "";
|
|
9004
8988
|
message.policy_id = object.policy_id ?? "";
|
|
9005
8989
|
message.rules_fired = object.rules_fired?.map((e) => e) || [];
|
|
9006
8990
|
message.reason = object.reason ?? "";
|
|
@@ -17695,7 +17679,6 @@ var ConnectWebEngine = class {
|
|
|
17695
17679
|
function convertPolicyResolution(p) {
|
|
17696
17680
|
return {
|
|
17697
17681
|
mode: p.mode,
|
|
17698
|
-
runnerLocation: p.runner_location,
|
|
17699
17682
|
policyId: p.policy_id,
|
|
17700
17683
|
rulesFired: [...p.rules_fired],
|
|
17701
17684
|
reason: p.reason,
|
|
@@ -18237,7 +18220,6 @@ var PostMessageEngine = class {
|
|
|
18237
18220
|
function convertPolicyResolution2(p) {
|
|
18238
18221
|
return {
|
|
18239
18222
|
mode: p.mode,
|
|
18240
|
-
runnerLocation: p.runner_location,
|
|
18241
18223
|
policyId: p.policy_id,
|
|
18242
18224
|
rulesFired: [...p.rules_fired],
|
|
18243
18225
|
reason: p.reason,
|
|
@@ -18491,7 +18473,6 @@ var SnapshotCanvasEngine = class {
|
|
|
18491
18473
|
async previewPolicyResolution(_delta, _signal) {
|
|
18492
18474
|
return {
|
|
18493
18475
|
mode: "auto_apply",
|
|
18494
|
-
runnerLocation: "local",
|
|
18495
18476
|
policyId: "",
|
|
18496
18477
|
rulesFired: [],
|
|
18497
18478
|
reason: "",
|