@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.
@@ -8502,9 +8502,6 @@ var COMMANDS = {
8502
8502
  },
8503
8503
  "wait": {
8504
8504
  "type": "bool"
8505
- },
8506
- "waitTimeout": {
8507
- "type": "duration"
8508
8505
  }
8509
8506
  },
8510
8507
  "effect": "write",
@@ -10012,12 +10009,22 @@ var namedActorSchema = reads()(
10012
10009
  name: import_zod.z.string().nullable()
10013
10010
  })
10014
10011
  );
10015
- var stackSourceSchema = import_zod.z.object({
10012
+ var gitStackSourceSchema = import_zod.z.object({
10016
10013
  kind: import_zod.z.literal("git"),
10017
10014
  repoUrl: import_zod.z.string(),
10018
10015
  ref: import_zod.z.string().optional(),
10019
10016
  path: import_zod.z.string().optional()
10020
10017
  });
10018
+ var stackSourceSchema = import_zod.z.discriminatedUnion("kind", [
10019
+ gitStackSourceSchema,
10020
+ import_zod.z.object({
10021
+ kind: import_zod.z.literal("module_version"),
10022
+ author: import_zod.z.string(),
10023
+ name: import_zod.z.string(),
10024
+ system: import_zod.z.string(),
10025
+ version: import_zod.z.string()
10026
+ })
10027
+ ]);
10021
10028
  var stackSchema = reads()(
10022
10029
  import_zod.z.object({
10023
10030
  id: import_zod.z.string(),
@@ -10028,6 +10035,7 @@ var stackSchema = reads()(
10028
10035
  name: import_zod.z.string(),
10029
10036
  description: import_zod.z.string().nullable(),
10030
10037
  source: stackSourceSchema.nullable(),
10038
+ variables: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).nullable(),
10031
10039
  stateSerial: import_zod.z.number(),
10032
10040
  stateLineage: import_zod.z.string().nullable(),
10033
10041
  stateVersion: import_zod.z.number().nullable(),
@@ -10094,7 +10102,9 @@ var stackDescribeSchema = reads()(
10094
10102
  resourcesByType: import_zod.z.record(import_zod.z.string(), import_zod.z.number()),
10095
10103
  resources: import_zod.z.array(import_zod.z.object({ address: import_zod.z.string(), type: import_zod.z.string() }))
10096
10104
  }).nullable(),
10097
- drift: driftSchema
10105
+ drift: driftSchema,
10106
+ // The sentence the organization's plan holds the stack with; null while it holds nothing.
10107
+ planHold: import_zod.z.string().nullable()
10098
10108
  })
10099
10109
  );
10100
10110
  var policyBindingSchema = reads()(
@@ -10505,7 +10515,7 @@ var SCHEMAS = {
10505
10515
  "stack destroy": runEventSchema,
10506
10516
  "drift scan": driftScanSchema,
10507
10517
  "stack create": stackSchema,
10508
- "stack validate": stackSourceSchema,
10518
+ "stack validate": gitStackSourceSchema,
10509
10519
  "module import": moduleImportSchema,
10510
10520
  "run get": runSchema,
10511
10521
  "run plan": runPlanSchema,