@lace-cloud/canvas 0.39.0 → 0.41.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.
@@ -8450,9 +8450,6 @@ var COMMANDS = {
8450
8450
  },
8451
8451
  "wait": {
8452
8452
  "type": "bool"
8453
- },
8454
- "waitTimeout": {
8455
- "type": "duration"
8456
8453
  }
8457
8454
  },
8458
8455
  "effect": "write",
@@ -9960,12 +9957,22 @@ var namedActorSchema = reads()(
9960
9957
  name: z.string().nullable()
9961
9958
  })
9962
9959
  );
9963
- var stackSourceSchema = z.object({
9960
+ var gitStackSourceSchema = z.object({
9964
9961
  kind: z.literal("git"),
9965
9962
  repoUrl: z.string(),
9966
9963
  ref: z.string().optional(),
9967
9964
  path: z.string().optional()
9968
9965
  });
9966
+ var stackSourceSchema = z.discriminatedUnion("kind", [
9967
+ gitStackSourceSchema,
9968
+ z.object({
9969
+ kind: z.literal("module_version"),
9970
+ author: z.string(),
9971
+ name: z.string(),
9972
+ system: z.string(),
9973
+ version: z.string()
9974
+ })
9975
+ ]);
9969
9976
  var stackSchema = reads()(
9970
9977
  z.object({
9971
9978
  id: z.string(),
@@ -9976,6 +9983,7 @@ var stackSchema = reads()(
9976
9983
  name: z.string(),
9977
9984
  description: z.string().nullable(),
9978
9985
  source: stackSourceSchema.nullable(),
9986
+ variables: z.record(z.string(), z.unknown()).nullable(),
9979
9987
  stateSerial: z.number(),
9980
9988
  stateLineage: z.string().nullable(),
9981
9989
  stateVersion: z.number().nullable(),
@@ -10042,7 +10050,9 @@ var stackDescribeSchema = reads()(
10042
10050
  resourcesByType: z.record(z.string(), z.number()),
10043
10051
  resources: z.array(z.object({ address: z.string(), type: z.string() }))
10044
10052
  }).nullable(),
10045
- drift: driftSchema
10053
+ drift: driftSchema,
10054
+ // The sentence the organization's plan holds the stack with; null while it holds nothing.
10055
+ planHold: z.string().nullable()
10046
10056
  })
10047
10057
  );
10048
10058
  var policyBindingSchema = reads()(
@@ -10453,7 +10463,7 @@ var SCHEMAS = {
10453
10463
  "stack destroy": runEventSchema,
10454
10464
  "drift scan": driftScanSchema,
10455
10465
  "stack create": stackSchema,
10456
- "stack validate": stackSourceSchema,
10466
+ "stack validate": gitStackSourceSchema,
10457
10467
  "module import": moduleImportSchema,
10458
10468
  "run get": runSchema,
10459
10469
  "run plan": runPlanSchema,
@@ -12490,4 +12500,4 @@ export {
12490
12500
  autosave,
12491
12501
  Reason5 as Reason
12492
12502
  };
12493
- //# sourceMappingURL=chunk-C6QJEJO5.mjs.map
12503
+ //# sourceMappingURL=chunk-ELOBZOVE.mjs.map