@lace-cloud/canvas 0.39.0 → 0.40.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.
@@ -10012,12 +10012,22 @@ var namedActorSchema = reads()(
10012
10012
  name: import_zod.z.string().nullable()
10013
10013
  })
10014
10014
  );
10015
- var stackSourceSchema = import_zod.z.object({
10015
+ var gitStackSourceSchema = import_zod.z.object({
10016
10016
  kind: import_zod.z.literal("git"),
10017
10017
  repoUrl: import_zod.z.string(),
10018
10018
  ref: import_zod.z.string().optional(),
10019
10019
  path: import_zod.z.string().optional()
10020
10020
  });
10021
+ var stackSourceSchema = import_zod.z.discriminatedUnion("kind", [
10022
+ gitStackSourceSchema,
10023
+ import_zod.z.object({
10024
+ kind: import_zod.z.literal("module_version"),
10025
+ author: import_zod.z.string(),
10026
+ name: import_zod.z.string(),
10027
+ system: import_zod.z.string(),
10028
+ version: import_zod.z.string()
10029
+ })
10030
+ ]);
10021
10031
  var stackSchema = reads()(
10022
10032
  import_zod.z.object({
10023
10033
  id: import_zod.z.string(),
@@ -10028,6 +10038,7 @@ var stackSchema = reads()(
10028
10038
  name: import_zod.z.string(),
10029
10039
  description: import_zod.z.string().nullable(),
10030
10040
  source: stackSourceSchema.nullable(),
10041
+ variables: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).nullable(),
10031
10042
  stateSerial: import_zod.z.number(),
10032
10043
  stateLineage: import_zod.z.string().nullable(),
10033
10044
  stateVersion: import_zod.z.number().nullable(),
@@ -10094,7 +10105,9 @@ var stackDescribeSchema = reads()(
10094
10105
  resourcesByType: import_zod.z.record(import_zod.z.string(), import_zod.z.number()),
10095
10106
  resources: import_zod.z.array(import_zod.z.object({ address: import_zod.z.string(), type: import_zod.z.string() }))
10096
10107
  }).nullable(),
10097
- drift: driftSchema
10108
+ drift: driftSchema,
10109
+ // The sentence the organization's plan holds the stack with; null while it holds nothing.
10110
+ planHold: import_zod.z.string().nullable()
10098
10111
  })
10099
10112
  );
10100
10113
  var policyBindingSchema = reads()(
@@ -10505,7 +10518,7 @@ var SCHEMAS = {
10505
10518
  "stack destroy": runEventSchema,
10506
10519
  "drift scan": driftScanSchema,
10507
10520
  "stack create": stackSchema,
10508
- "stack validate": stackSourceSchema,
10521
+ "stack validate": gitStackSourceSchema,
10509
10522
  "module import": moduleImportSchema,
10510
10523
  "run get": runSchema,
10511
10524
  "run plan": runPlanSchema,