@lace-cloud/canvas 0.45.0 → 0.46.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.
@@ -2,7 +2,7 @@
2
2
  * the canvas. It is in flow, so it never covers the toolbar; in a narrow
3
3
  * webview its sentence wraps and its buttons wrap under it. */
4
4
 
5
- .lace-banner {
5
+ .lace-canvas-banner {
6
6
  display: flex;
7
7
  flex-wrap: wrap;
8
8
  align-items: center;
@@ -14,19 +14,19 @@
14
14
  line-height: var(--lace-line-height-tight);
15
15
  }
16
16
 
17
- .lace-banner--warning {
17
+ .lace-canvas-banner--warning {
18
18
  background: var(--lace-banner-warning-bg);
19
19
  border-bottom-color: var(--lace-banner-warning-border);
20
20
  color: var(--lace-banner-warning-fg);
21
21
  }
22
22
 
23
- .lace-banner--error {
23
+ .lace-canvas-banner--error {
24
24
  background: var(--lace-banner-error-bg);
25
25
  border-bottom-color: var(--lace-banner-error-border);
26
26
  color: var(--lace-banner-error-fg);
27
27
  }
28
28
 
29
- .lace-banner__icon {
29
+ .lace-canvas-banner__icon {
30
30
  display: inline-flex;
31
31
  flex-shrink: 0;
32
32
  font-size: 16px;
@@ -34,14 +34,14 @@
34
34
 
35
35
  /* The sentence reads in the text colour; the glyph and the rule carry the
36
36
  * severity. Below its 192px basis the buttons wrap under it. */
37
- .lace-banner__message {
37
+ .lace-canvas-banner__message {
38
38
  flex: 1 1 192px;
39
39
  min-width: 0;
40
40
  color: var(--lace-color-text-primary);
41
41
  overflow-wrap: anywhere;
42
42
  }
43
43
 
44
- .lace-banner__actions {
44
+ .lace-canvas-banner__actions {
45
45
  display: inline-flex;
46
46
  flex-wrap: wrap;
47
47
  gap: var(--lace-space-2);
@@ -4282,7 +4282,7 @@ var RestoreAction = {
4282
4282
  }
4283
4283
  };
4284
4284
  function createBasePlaceModuleAction() {
4285
- return { author: "", name: "", version: "" };
4285
+ return { author: "", name: "", version: "", system: "" };
4286
4286
  }
4287
4287
  var PlaceModuleAction = {
4288
4288
  encode(message, writer = new BinaryWriter3()) {
@@ -4295,6 +4295,9 @@ var PlaceModuleAction = {
4295
4295
  if (message.version !== "") {
4296
4296
  writer.uint32(66).string(message.version);
4297
4297
  }
4298
+ if (message.system !== "") {
4299
+ writer.uint32(74).string(message.system);
4300
+ }
4298
4301
  return writer;
4299
4302
  },
4300
4303
  decode(input, length) {
@@ -4325,6 +4328,13 @@ var PlaceModuleAction = {
4325
4328
  message.version = reader.string();
4326
4329
  continue;
4327
4330
  }
4331
+ case 9: {
4332
+ if (tag !== 74) {
4333
+ break;
4334
+ }
4335
+ message.system = reader.string();
4336
+ continue;
4337
+ }
4328
4338
  }
4329
4339
  if ((tag & 7) === 4 || tag === 0) {
4330
4340
  break;
@@ -4337,7 +4347,8 @@ var PlaceModuleAction = {
4337
4347
  return {
4338
4348
  author: isSet2(object.author) ? globalThis.String(object.author) : "",
4339
4349
  name: isSet2(object.name) ? globalThis.String(object.name) : "",
4340
- version: isSet2(object.version) ? globalThis.String(object.version) : ""
4350
+ version: isSet2(object.version) ? globalThis.String(object.version) : "",
4351
+ system: isSet2(object.system) ? globalThis.String(object.system) : ""
4341
4352
  };
4342
4353
  },
4343
4354
  toJSON(message) {
@@ -4351,6 +4362,9 @@ var PlaceModuleAction = {
4351
4362
  if (message.version !== "") {
4352
4363
  obj.version = message.version;
4353
4364
  }
4365
+ if (message.system !== "") {
4366
+ obj.system = message.system;
4367
+ }
4354
4368
  return obj;
4355
4369
  },
4356
4370
  create(base) {
@@ -4361,6 +4375,7 @@ var PlaceModuleAction = {
4361
4375
  message.author = object.author ?? "";
4362
4376
  message.name = object.name ?? "";
4363
4377
  message.version = object.version ?? "";
4378
+ message.system = object.system ?? "";
4364
4379
  return message;
4365
4380
  }
4366
4381
  };
@@ -8303,7 +8318,7 @@ var COMMANDS = {
8303
8318
  "engine": {
8304
8319
  "type": "string",
8305
8320
  "values": [
8306
- "aws_fis",
8321
+ "cloud_fault_injection",
8307
8322
  "gremlin",
8308
8323
  "litmus_chaos"
8309
8324
  ]
@@ -8401,6 +8416,13 @@ var COMMANDS = {
8401
8416
  "path": "connection list",
8402
8417
  "positionals": [],
8403
8418
  "flags": {
8419
+ "cloud": {
8420
+ "type": "string",
8421
+ "values": [
8422
+ "aws",
8423
+ "gcp"
8424
+ ]
8425
+ },
8404
8426
  "org": {
8405
8427
  "type": "string"
8406
8428
  },
@@ -8412,9 +8434,6 @@ var COMMANDS = {
8412
8434
  ],
8413
8435
  "short": "o"
8414
8436
  },
8415
- "provider": {
8416
- "type": "string"
8417
- },
8418
8437
  "team": {
8419
8438
  "type": "string"
8420
8439
  }
@@ -9864,9 +9883,9 @@ var registryListSchema = z.object({
9864
9883
  description: z.string(),
9865
9884
  categories: z.array(z.string()),
9866
9885
  authorProfile: registryAuthorProfileSchema,
9867
- system: z.string(),
9868
- sourceAddress: z.string(),
9869
- publisherVerdict: z.string()
9886
+ system: z.string().nullable(),
9887
+ sourceAddress: z.string().nullable(),
9888
+ publisherVerdict: z.string().nullable()
9870
9889
  })
9871
9890
  ),
9872
9891
  truncated: z.boolean(),
@@ -9908,10 +9927,11 @@ var registryGetSchema = z.object({
9908
9927
  axis: z.string(),
9909
9928
  author: z.string(),
9910
9929
  name: z.string(),
9911
- treeHash: z.string(),
9912
- repo: z.string(),
9913
- commit: z.string(),
9914
- latest: registryManifestSchema,
9930
+ system: z.string().nullable(),
9931
+ treeHash: z.string().nullable(),
9932
+ repo: z.string().nullable(),
9933
+ commit: z.string().nullable(),
9934
+ latest: registryManifestSchema.nullable(),
9915
9935
  versions: z.array(z.object({ version: z.string(), status: z.string(), publishedAt: z.string() }))
9916
9936
  });
9917
9937
  var moduleFmtResultSchema = z.object({ changed: z.array(z.string()) });
@@ -9929,6 +9949,7 @@ var moduleScanResultSchema = z.object({
9929
9949
  var registryDescribeSchema = z.object({
9930
9950
  author: z.string(),
9931
9951
  name: z.string(),
9952
+ system: z.string(),
9932
9953
  version: z.string(),
9933
9954
  source: z.string(),
9934
9955
  treeHash: z.string(),
@@ -10000,7 +10021,13 @@ var stackSchema = reads()(
10000
10021
  createdAt: z.string(),
10001
10022
  updatedAt: z.string(),
10002
10023
  archivedAt: z.string().nullable(),
10003
- connection: z.object({ name: z.string(), provider: z.string(), awsAccountId: z.string().nullable() }).nullable(),
10024
+ connection: z.object({
10025
+ name: z.string(),
10026
+ kind: z.string(),
10027
+ cloud: z.string(),
10028
+ account: z.object({ cloud: z.string(), id: z.string() }),
10029
+ credentialReach: z.string()
10030
+ }).nullable(),
10004
10031
  lastApply: z.object({
10005
10032
  runId: z.string(),
10006
10033
  bundleSnapshotId: z.string(),
@@ -10429,7 +10456,8 @@ var connectionListSchema = z.object({
10429
10456
  z.object({
10430
10457
  id: z.string(),
10431
10458
  name: z.string(),
10432
- provider_type: z.string(),
10459
+ cloud: z.string(),
10460
+ kind: z.string(),
10433
10461
  status: z.string(),
10434
10462
  status_reason: z.string().nullable(),
10435
10463
  created_at: z.string(),
@@ -12517,4 +12545,4 @@ export {
12517
12545
  autosave,
12518
12546
  Reason5 as Reason
12519
12547
  };
12520
- //# sourceMappingURL=chunk-QZ2WME53.mjs.map
12548
+ //# sourceMappingURL=chunk-4ZSPIWIP.mjs.map