@lace-cloud/host 0.9.0 → 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 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.mjs +0 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -4092,7 +4092,6 @@ var Position = {
|
|
|
4092
4092
|
function createBasePolicyResolution() {
|
|
4093
4093
|
return {
|
|
4094
4094
|
mode: "",
|
|
4095
|
-
runner_location: "",
|
|
4096
4095
|
policy_id: "",
|
|
4097
4096
|
rules_fired: [],
|
|
4098
4097
|
reason: "",
|
|
@@ -4106,9 +4105,6 @@ var PolicyResolution = {
|
|
|
4106
4105
|
if (message.mode !== "") {
|
|
4107
4106
|
writer.uint32(10).string(message.mode);
|
|
4108
4107
|
}
|
|
4109
|
-
if (message.runner_location !== "") {
|
|
4110
|
-
writer.uint32(18).string(message.runner_location);
|
|
4111
|
-
}
|
|
4112
4108
|
if (message.policy_id !== "") {
|
|
4113
4109
|
writer.uint32(26).string(message.policy_id);
|
|
4114
4110
|
}
|
|
@@ -4143,13 +4139,6 @@ var PolicyResolution = {
|
|
|
4143
4139
|
message.mode = reader.string();
|
|
4144
4140
|
continue;
|
|
4145
4141
|
}
|
|
4146
|
-
case 2: {
|
|
4147
|
-
if (tag !== 18) {
|
|
4148
|
-
break;
|
|
4149
|
-
}
|
|
4150
|
-
message.runner_location = reader.string();
|
|
4151
|
-
continue;
|
|
4152
|
-
}
|
|
4153
4142
|
case 3: {
|
|
4154
4143
|
if (tag !== 26) {
|
|
4155
4144
|
break;
|
|
@@ -4203,7 +4192,6 @@ var PolicyResolution = {
|
|
|
4203
4192
|
fromJSON(object) {
|
|
4204
4193
|
return {
|
|
4205
4194
|
mode: isSet2(object.mode) ? globalThis.String(object.mode) : "",
|
|
4206
|
-
runner_location: isSet2(object.runnerLocation) ? globalThis.String(object.runnerLocation) : isSet2(object.runner_location) ? globalThis.String(object.runner_location) : "",
|
|
4207
4195
|
policy_id: isSet2(object.policyId) ? globalThis.String(object.policyId) : isSet2(object.policy_id) ? globalThis.String(object.policy_id) : "",
|
|
4208
4196
|
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)) : [],
|
|
4209
4197
|
reason: isSet2(object.reason) ? globalThis.String(object.reason) : "",
|
|
@@ -4217,9 +4205,6 @@ var PolicyResolution = {
|
|
|
4217
4205
|
if (message.mode !== "") {
|
|
4218
4206
|
obj.mode = message.mode;
|
|
4219
4207
|
}
|
|
4220
|
-
if (message.runner_location !== "") {
|
|
4221
|
-
obj.runnerLocation = message.runner_location;
|
|
4222
|
-
}
|
|
4223
4208
|
if (message.policy_id !== "") {
|
|
4224
4209
|
obj.policyId = message.policy_id;
|
|
4225
4210
|
}
|
|
@@ -4246,7 +4231,6 @@ var PolicyResolution = {
|
|
|
4246
4231
|
fromPartial(object) {
|
|
4247
4232
|
const message = createBasePolicyResolution();
|
|
4248
4233
|
message.mode = object.mode ?? "";
|
|
4249
|
-
message.runner_location = object.runner_location ?? "";
|
|
4250
4234
|
message.policy_id = object.policy_id ?? "";
|
|
4251
4235
|
message.rules_fired = object.rules_fired?.map((e) => e) || [];
|
|
4252
4236
|
message.reason = object.reason ?? "";
|