@lace-cloud/proto 0.13.0 → 0.14.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 CHANGED
@@ -3356,7 +3356,7 @@ var TerraformBlock_RequiredProvidersEntry = {
3356
3356
  }
3357
3357
  };
3358
3358
  function createBaseProviderRequirement() {
3359
- return { source: "", version: "" };
3359
+ return { source: "", version: "", configuration_aliases: [] };
3360
3360
  }
3361
3361
  var ProviderRequirement = {
3362
3362
  encode(message, writer = new import_wire2.BinaryWriter()) {
@@ -3366,6 +3366,9 @@ var ProviderRequirement = {
3366
3366
  if (message.version !== "") {
3367
3367
  writer.uint32(18).string(message.version);
3368
3368
  }
3369
+ for (const v of message.configuration_aliases) {
3370
+ writer.uint32(26).string(v);
3371
+ }
3369
3372
  return writer;
3370
3373
  },
3371
3374
  decode(input, length) {
@@ -3389,6 +3392,13 @@ var ProviderRequirement = {
3389
3392
  message.version = reader.string();
3390
3393
  continue;
3391
3394
  }
3395
+ case 3: {
3396
+ if (tag !== 26) {
3397
+ break;
3398
+ }
3399
+ message.configuration_aliases.push(reader.string());
3400
+ continue;
3401
+ }
3392
3402
  }
3393
3403
  if ((tag & 7) === 4 || tag === 0) {
3394
3404
  break;
@@ -3400,7 +3410,8 @@ var ProviderRequirement = {
3400
3410
  fromJSON(object) {
3401
3411
  return {
3402
3412
  source: isSet2(object.source) ? globalThis.String(object.source) : "",
3403
- version: isSet2(object.version) ? globalThis.String(object.version) : ""
3413
+ version: isSet2(object.version) ? globalThis.String(object.version) : "",
3414
+ configuration_aliases: globalThis.Array.isArray(object?.configurationAliases) ? object.configurationAliases.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.configuration_aliases) ? object.configuration_aliases.map((e) => globalThis.String(e)) : []
3404
3415
  };
3405
3416
  },
3406
3417
  toJSON(message) {
@@ -3411,6 +3422,9 @@ var ProviderRequirement = {
3411
3422
  if (message.version !== "") {
3412
3423
  obj.version = message.version;
3413
3424
  }
3425
+ if (message.configuration_aliases?.length) {
3426
+ obj.configurationAliases = message.configuration_aliases;
3427
+ }
3414
3428
  return obj;
3415
3429
  },
3416
3430
  create(base) {
@@ -3420,6 +3434,7 @@ var ProviderRequirement = {
3420
3434
  const message = createBaseProviderRequirement();
3421
3435
  message.source = object.source ?? "";
3422
3436
  message.version = object.version ?? "";
3437
+ message.configuration_aliases = object.configuration_aliases?.map((e) => e) || [];
3423
3438
  return message;
3424
3439
  }
3425
3440
  };