@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.cjs
CHANGED
|
@@ -8893,7 +8893,6 @@ var LayoutsMap_LayoutsEntry = {
|
|
|
8893
8893
|
function createBasePolicyResolution() {
|
|
8894
8894
|
return {
|
|
8895
8895
|
mode: "",
|
|
8896
|
-
runner_location: "",
|
|
8897
8896
|
policy_id: "",
|
|
8898
8897
|
rules_fired: [],
|
|
8899
8898
|
reason: "",
|
|
@@ -8907,9 +8906,6 @@ var PolicyResolution = {
|
|
|
8907
8906
|
if (message.mode !== "") {
|
|
8908
8907
|
writer.uint32(10).string(message.mode);
|
|
8909
8908
|
}
|
|
8910
|
-
if (message.runner_location !== "") {
|
|
8911
|
-
writer.uint32(18).string(message.runner_location);
|
|
8912
|
-
}
|
|
8913
8909
|
if (message.policy_id !== "") {
|
|
8914
8910
|
writer.uint32(26).string(message.policy_id);
|
|
8915
8911
|
}
|
|
@@ -8944,13 +8940,6 @@ var PolicyResolution = {
|
|
|
8944
8940
|
message.mode = reader.string();
|
|
8945
8941
|
continue;
|
|
8946
8942
|
}
|
|
8947
|
-
case 2: {
|
|
8948
|
-
if (tag !== 18) {
|
|
8949
|
-
break;
|
|
8950
|
-
}
|
|
8951
|
-
message.runner_location = reader.string();
|
|
8952
|
-
continue;
|
|
8953
|
-
}
|
|
8954
8943
|
case 3: {
|
|
8955
8944
|
if (tag !== 26) {
|
|
8956
8945
|
break;
|
|
@@ -9004,7 +8993,6 @@ var PolicyResolution = {
|
|
|
9004
8993
|
fromJSON(object) {
|
|
9005
8994
|
return {
|
|
9006
8995
|
mode: isSet2(object.mode) ? globalThis.String(object.mode) : "",
|
|
9007
|
-
runner_location: isSet2(object.runnerLocation) ? globalThis.String(object.runnerLocation) : isSet2(object.runner_location) ? globalThis.String(object.runner_location) : "",
|
|
9008
8996
|
policy_id: isSet2(object.policyId) ? globalThis.String(object.policyId) : isSet2(object.policy_id) ? globalThis.String(object.policy_id) : "",
|
|
9009
8997
|
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)) : [],
|
|
9010
8998
|
reason: isSet2(object.reason) ? globalThis.String(object.reason) : "",
|
|
@@ -9018,9 +9006,6 @@ var PolicyResolution = {
|
|
|
9018
9006
|
if (message.mode !== "") {
|
|
9019
9007
|
obj.mode = message.mode;
|
|
9020
9008
|
}
|
|
9021
|
-
if (message.runner_location !== "") {
|
|
9022
|
-
obj.runnerLocation = message.runner_location;
|
|
9023
|
-
}
|
|
9024
9009
|
if (message.policy_id !== "") {
|
|
9025
9010
|
obj.policyId = message.policy_id;
|
|
9026
9011
|
}
|
|
@@ -9047,7 +9032,6 @@ var PolicyResolution = {
|
|
|
9047
9032
|
fromPartial(object) {
|
|
9048
9033
|
const message = createBasePolicyResolution();
|
|
9049
9034
|
message.mode = object.mode ?? "";
|
|
9050
|
-
message.runner_location = object.runner_location ?? "";
|
|
9051
9035
|
message.policy_id = object.policy_id ?? "";
|
|
9052
9036
|
message.rules_fired = object.rules_fired?.map((e) => e) || [];
|
|
9053
9037
|
message.reason = object.reason ?? "";
|
|
@@ -17742,7 +17726,6 @@ var ConnectWebEngine = class {
|
|
|
17742
17726
|
function convertPolicyResolution(p) {
|
|
17743
17727
|
return {
|
|
17744
17728
|
mode: p.mode,
|
|
17745
|
-
runnerLocation: p.runner_location,
|
|
17746
17729
|
policyId: p.policy_id,
|
|
17747
17730
|
rulesFired: [...p.rules_fired],
|
|
17748
17731
|
reason: p.reason,
|
|
@@ -18284,7 +18267,6 @@ var PostMessageEngine = class {
|
|
|
18284
18267
|
function convertPolicyResolution2(p) {
|
|
18285
18268
|
return {
|
|
18286
18269
|
mode: p.mode,
|
|
18287
|
-
runnerLocation: p.runner_location,
|
|
18288
18270
|
policyId: p.policy_id,
|
|
18289
18271
|
rulesFired: [...p.rules_fired],
|
|
18290
18272
|
reason: p.reason,
|
|
@@ -18538,7 +18520,6 @@ var SnapshotCanvasEngine = class {
|
|
|
18538
18520
|
async previewPolicyResolution(_delta, _signal) {
|
|
18539
18521
|
return {
|
|
18540
18522
|
mode: "auto_apply",
|
|
18541
|
-
runnerLocation: "local",
|
|
18542
18523
|
policyId: "",
|
|
18543
18524
|
rulesFired: [],
|
|
18544
18525
|
reason: "",
|