@lace-cloud/host 0.36.0 → 0.37.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.d.mts CHANGED
@@ -449,6 +449,8 @@ declare enum Reason {
449
449
  * `.terraform.lock.hcl`; `lace module lock` writes it.
450
450
  */
451
451
  REASON_NO_LOCKFILE = 22,
452
+ /** REASON_NO_COMMIT - stack create --source: the directory's repository has no commit yet. */
453
+ REASON_NO_COMMIT = 23,
452
454
  UNRECOGNIZED = -1
453
455
  }
454
456
 
@@ -1168,8 +1170,8 @@ declare const ApplyActionRequest: MessageFns<ApplyActionRequest>;
1168
1170
  * two instances of one module: `source_instance`'s `output` could feed
1169
1171
  * `target_instance`'s `input`, a required input with no binding. `score`
1170
1172
  * is the matcher's: 100 for the same name, 90 for the same last
1171
- * `_`-separated word, 50 when one name contains the other, 30 for the
1172
- * same type alone; a pair that scores nothing is no candidate.
1173
+ * `_`-separated word, 50 when one name contains the other; a pair that
1174
+ * scores nothing is no candidate.
1173
1175
  */
1174
1176
  interface WiringCandidate {
1175
1177
  source_instance: string;
@@ -1490,6 +1492,11 @@ interface CreatedRef {
1490
1492
  * the source child ID. Empty otherwise.
1491
1493
  */
1492
1494
  source_id: string;
1495
+ /**
1496
+ * Set when the child was promoted out of a dissolved group (ungroup): the
1497
+ * group's id in `scope`, which with source_id names the child. Empty otherwise.
1498
+ */
1499
+ group_id: string;
1493
1500
  }
1494
1501
  declare const CreatedRef: MessageFns<CreatedRef>;
1495
1502
  /**
package/dist/index.d.ts CHANGED
@@ -449,6 +449,8 @@ declare enum Reason {
449
449
  * `.terraform.lock.hcl`; `lace module lock` writes it.
450
450
  */
451
451
  REASON_NO_LOCKFILE = 22,
452
+ /** REASON_NO_COMMIT - stack create --source: the directory's repository has no commit yet. */
453
+ REASON_NO_COMMIT = 23,
452
454
  UNRECOGNIZED = -1
453
455
  }
454
456
 
@@ -1168,8 +1170,8 @@ declare const ApplyActionRequest: MessageFns<ApplyActionRequest>;
1168
1170
  * two instances of one module: `source_instance`'s `output` could feed
1169
1171
  * `target_instance`'s `input`, a required input with no binding. `score`
1170
1172
  * is the matcher's: 100 for the same name, 90 for the same last
1171
- * `_`-separated word, 50 when one name contains the other, 30 for the
1172
- * same type alone; a pair that scores nothing is no candidate.
1173
+ * `_`-separated word, 50 when one name contains the other; a pair that
1174
+ * scores nothing is no candidate.
1173
1175
  */
1174
1176
  interface WiringCandidate {
1175
1177
  source_instance: string;
@@ -1490,6 +1492,11 @@ interface CreatedRef {
1490
1492
  * the source child ID. Empty otherwise.
1491
1493
  */
1492
1494
  source_id: string;
1495
+ /**
1496
+ * Set when the child was promoted out of a dissolved group (ungroup): the
1497
+ * group's id in `scope`, which with source_id names the child. Empty otherwise.
1498
+ */
1499
+ group_id: string;
1493
1500
  }
1494
1501
  declare const CreatedRef: MessageFns<CreatedRef>;
1495
1502
  /**
package/dist/index.mjs CHANGED
@@ -553,6 +553,9 @@ function reasonFromJSON(object) {
553
553
  case 22:
554
554
  case "REASON_NO_LOCKFILE":
555
555
  return 22 /* REASON_NO_LOCKFILE */;
556
+ case 23:
557
+ case "REASON_NO_COMMIT":
558
+ return 23 /* REASON_NO_COMMIT */;
556
559
  case -1:
557
560
  case "UNRECOGNIZED":
558
561
  default:
@@ -607,6 +610,8 @@ function reasonToJSON(object) {
607
610
  return "REASON_ALREADY_IMPORTED";
608
611
  case 22 /* REASON_NO_LOCKFILE */:
609
612
  return "REASON_NO_LOCKFILE";
613
+ case 23 /* REASON_NO_COMMIT */:
614
+ return "REASON_NO_COMMIT";
610
615
  case -1 /* UNRECOGNIZED */:
611
616
  default:
612
617
  return "UNRECOGNIZED";
@@ -9277,7 +9282,7 @@ var BundleApplyResult = {
9277
9282
  }
9278
9283
  };
9279
9284
  function createBaseCreatedRef() {
9280
- return { scope: "", id: "", module_key: "", source_id: "" };
9285
+ return { scope: "", id: "", module_key: "", source_id: "", group_id: "" };
9281
9286
  }
9282
9287
  var CreatedRef = {
9283
9288
  encode(message, writer = new BinaryWriter4()) {
@@ -9293,6 +9298,9 @@ var CreatedRef = {
9293
9298
  if (message.source_id !== "") {
9294
9299
  writer.uint32(34).string(message.source_id);
9295
9300
  }
9301
+ if (message.group_id !== "") {
9302
+ writer.uint32(42).string(message.group_id);
9303
+ }
9296
9304
  return writer;
9297
9305
  },
9298
9306
  decode(input, length) {
@@ -9330,6 +9338,13 @@ var CreatedRef = {
9330
9338
  message.source_id = reader.string();
9331
9339
  continue;
9332
9340
  }
9341
+ case 5: {
9342
+ if (tag !== 42) {
9343
+ break;
9344
+ }
9345
+ message.group_id = reader.string();
9346
+ continue;
9347
+ }
9333
9348
  }
9334
9349
  if ((tag & 7) === 4 || tag === 0) {
9335
9350
  break;
@@ -9343,7 +9358,8 @@ var CreatedRef = {
9343
9358
  scope: isSet3(object.scope) ? globalThis.String(object.scope) : "",
9344
9359
  id: isSet3(object.id) ? globalThis.String(object.id) : "",
9345
9360
  module_key: isSet3(object.moduleKey) ? globalThis.String(object.moduleKey) : isSet3(object.module_key) ? globalThis.String(object.module_key) : "",
9346
- source_id: isSet3(object.sourceId) ? globalThis.String(object.sourceId) : isSet3(object.source_id) ? globalThis.String(object.source_id) : ""
9361
+ source_id: isSet3(object.sourceId) ? globalThis.String(object.sourceId) : isSet3(object.source_id) ? globalThis.String(object.source_id) : "",
9362
+ group_id: isSet3(object.groupId) ? globalThis.String(object.groupId) : isSet3(object.group_id) ? globalThis.String(object.group_id) : ""
9347
9363
  };
9348
9364
  },
9349
9365
  toJSON(message) {
@@ -9360,6 +9376,9 @@ var CreatedRef = {
9360
9376
  if (message.source_id !== "") {
9361
9377
  obj.sourceId = message.source_id;
9362
9378
  }
9379
+ if (message.group_id !== "") {
9380
+ obj.groupId = message.group_id;
9381
+ }
9363
9382
  return obj;
9364
9383
  },
9365
9384
  create(base) {
@@ -9371,6 +9390,7 @@ var CreatedRef = {
9371
9390
  message.id = object.id ?? "";
9372
9391
  message.module_key = object.module_key ?? "";
9373
9392
  message.source_id = object.source_id ?? "";
9393
+ message.group_id = object.group_id ?? "";
9374
9394
  return message;
9375
9395
  }
9376
9396
  };