@lace-cloud/canvas 0.44.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.
@@ -501,13 +501,17 @@ declare const RestoreAction: MessageFns<RestoreAction>;
501
501
  * Connect/UpdateInput/etc. in that it names a *source* module (registry
502
502
  * coordinates) rather than a sibling instance; the server orchestrates the
503
503
  * registry fetch + module-key resolution before producing the Bundle
504
- * mutation. Placement position is consumer-owned arrangement state, written
505
- * client-side from `BundleApplyResult.created` after this action lands.
504
+ * mutation. A module is named by its author, name and system (the terraform
505
+ * target system of its `lace.cloud/<author>/<name>/<system>` address), each
506
+ * system with its own versions, so all four are required. Placement position
507
+ * is consumer-owned arrangement state, written client-side from
508
+ * `BundleApplyResult.created` after this action lands.
506
509
  */
507
510
  interface PlaceModuleAction {
508
511
  author: string;
509
512
  name: string;
510
513
  version: string;
514
+ system: string;
511
515
  }
512
516
  declare const PlaceModuleAction: MessageFns<PlaceModuleAction>;
513
517
  /** The canonical Action type used inside ApplyActionRequest. */
@@ -1259,7 +1263,7 @@ declare const COMMANDS: {
1259
1263
  };
1260
1264
  readonly engine: {
1261
1265
  readonly type: "string";
1262
- readonly values: readonly ["aws_fis", "gremlin", "litmus_chaos"];
1266
+ readonly values: readonly ["cloud_fault_injection", "gremlin", "litmus_chaos"];
1263
1267
  };
1264
1268
  readonly excludeResourceType: {
1265
1269
  readonly type: "stringArray";
@@ -1343,6 +1347,10 @@ declare const COMMANDS: {
1343
1347
  readonly path: "connection list";
1344
1348
  readonly positionals: readonly [];
1345
1349
  readonly flags: {
1350
+ readonly cloud: {
1351
+ readonly type: "string";
1352
+ readonly values: readonly ["aws", "gcp"];
1353
+ };
1346
1354
  readonly org: {
1347
1355
  readonly type: "string";
1348
1356
  };
@@ -1351,9 +1359,6 @@ declare const COMMANDS: {
1351
1359
  readonly values: readonly ["table", "json"];
1352
1360
  readonly short: "o";
1353
1361
  };
1354
- readonly provider: {
1355
- readonly type: "string";
1356
- };
1357
1362
  readonly team: {
1358
1363
  readonly type: "string";
1359
1364
  };
@@ -2772,9 +2777,9 @@ declare const SCHEMAS: {
2772
2777
  supportEmail: z.ZodNullable<z.ZodString>;
2773
2778
  verified: z.ZodBoolean;
2774
2779
  }, z.core.$strip>>;
2775
- system: z.ZodString;
2776
- sourceAddress: z.ZodString;
2777
- publisherVerdict: z.ZodString;
2780
+ system: z.ZodNullable<z.ZodString>;
2781
+ sourceAddress: z.ZodNullable<z.ZodString>;
2782
+ publisherVerdict: z.ZodNullable<z.ZodString>;
2778
2783
  }, z.core.$strip>>;
2779
2784
  truncated: z.ZodBoolean;
2780
2785
  publishingGuideUrl: z.ZodString;
@@ -2784,10 +2789,11 @@ declare const SCHEMAS: {
2784
2789
  axis: z.ZodString;
2785
2790
  author: z.ZodString;
2786
2791
  name: z.ZodString;
2787
- treeHash: z.ZodString;
2788
- repo: z.ZodString;
2789
- commit: z.ZodString;
2790
- latest: z.ZodObject<{
2792
+ system: z.ZodNullable<z.ZodString>;
2793
+ treeHash: z.ZodNullable<z.ZodString>;
2794
+ repo: z.ZodNullable<z.ZodString>;
2795
+ commit: z.ZodNullable<z.ZodString>;
2796
+ latest: z.ZodNullable<z.ZodObject<{
2791
2797
  id: z.ZodString;
2792
2798
  axis: z.ZodString;
2793
2799
  provider: z.ZodNullable<z.ZodString>;
@@ -2825,7 +2831,7 @@ declare const SCHEMAS: {
2825
2831
  attestedAt: z.ZodNullable<z.ZodString>;
2826
2832
  repository: z.ZodNullable<z.ZodString>;
2827
2833
  commit: z.ZodNullable<z.ZodString>;
2828
- }, z.core.$strip>;
2834
+ }, z.core.$strip>>;
2829
2835
  versions: z.ZodArray<z.ZodObject<{
2830
2836
  version: z.ZodString;
2831
2837
  status: z.ZodString;
@@ -2835,6 +2841,7 @@ declare const SCHEMAS: {
2835
2841
  'registry describe': z.ZodObject<{
2836
2842
  author: z.ZodString;
2837
2843
  name: z.ZodString;
2844
+ system: z.ZodString;
2838
2845
  version: z.ZodString;
2839
2846
  source: z.ZodString;
2840
2847
  treeHash: z.ZodString;
@@ -2909,8 +2916,13 @@ declare const SCHEMAS: {
2909
2916
  archivedAt: z.ZodNullable<z.ZodString>;
2910
2917
  connection: z.ZodNullable<z.ZodObject<{
2911
2918
  name: z.ZodString;
2912
- provider: z.ZodString;
2913
- awsAccountId: z.ZodNullable<z.ZodString>;
2919
+ kind: z.ZodString;
2920
+ cloud: z.ZodString;
2921
+ account: z.ZodObject<{
2922
+ cloud: z.ZodString;
2923
+ id: z.ZodString;
2924
+ }, z.core.$strip>;
2925
+ credentialReach: z.ZodString;
2914
2926
  }, z.core.$strip>>;
2915
2927
  lastApply: z.ZodNullable<z.ZodObject<{
2916
2928
  runId: z.ZodString;
@@ -2980,8 +2992,13 @@ declare const SCHEMAS: {
2980
2992
  archivedAt: z.ZodNullable<z.ZodString>;
2981
2993
  connection: z.ZodNullable<z.ZodObject<{
2982
2994
  name: z.ZodString;
2983
- provider: z.ZodString;
2984
- awsAccountId: z.ZodNullable<z.ZodString>;
2995
+ kind: z.ZodString;
2996
+ cloud: z.ZodString;
2997
+ account: z.ZodObject<{
2998
+ cloud: z.ZodString;
2999
+ id: z.ZodString;
3000
+ }, z.core.$strip>;
3001
+ credentialReach: z.ZodString;
2985
3002
  }, z.core.$strip>>;
2986
3003
  lastApply: z.ZodNullable<z.ZodObject<{
2987
3004
  runId: z.ZodString;
@@ -3642,8 +3659,13 @@ declare const SCHEMAS: {
3642
3659
  archivedAt: z.ZodNullable<z.ZodString>;
3643
3660
  connection: z.ZodNullable<z.ZodObject<{
3644
3661
  name: z.ZodString;
3645
- provider: z.ZodString;
3646
- awsAccountId: z.ZodNullable<z.ZodString>;
3662
+ kind: z.ZodString;
3663
+ cloud: z.ZodString;
3664
+ account: z.ZodObject<{
3665
+ cloud: z.ZodString;
3666
+ id: z.ZodString;
3667
+ }, z.core.$strip>;
3668
+ credentialReach: z.ZodString;
3647
3669
  }, z.core.$strip>>;
3648
3670
  lastApply: z.ZodNullable<z.ZodObject<{
3649
3671
  runId: z.ZodString;
@@ -4033,7 +4055,8 @@ declare const SCHEMAS: {
4033
4055
  items: z.ZodArray<z.ZodObject<{
4034
4056
  id: z.ZodString;
4035
4057
  name: z.ZodString;
4036
- provider_type: z.ZodString;
4058
+ cloud: z.ZodString;
4059
+ kind: z.ZodString;
4037
4060
  status: z.ZodString;
4038
4061
  status_reason: z.ZodNullable<z.ZodString>;
4039
4062
  created_at: z.ZodString;
@@ -501,13 +501,17 @@ declare const RestoreAction: MessageFns<RestoreAction>;
501
501
  * Connect/UpdateInput/etc. in that it names a *source* module (registry
502
502
  * coordinates) rather than a sibling instance; the server orchestrates the
503
503
  * registry fetch + module-key resolution before producing the Bundle
504
- * mutation. Placement position is consumer-owned arrangement state, written
505
- * client-side from `BundleApplyResult.created` after this action lands.
504
+ * mutation. A module is named by its author, name and system (the terraform
505
+ * target system of its `lace.cloud/<author>/<name>/<system>` address), each
506
+ * system with its own versions, so all four are required. Placement position
507
+ * is consumer-owned arrangement state, written client-side from
508
+ * `BundleApplyResult.created` after this action lands.
506
509
  */
507
510
  interface PlaceModuleAction {
508
511
  author: string;
509
512
  name: string;
510
513
  version: string;
514
+ system: string;
511
515
  }
512
516
  declare const PlaceModuleAction: MessageFns<PlaceModuleAction>;
513
517
  /** The canonical Action type used inside ApplyActionRequest. */
@@ -1259,7 +1263,7 @@ declare const COMMANDS: {
1259
1263
  };
1260
1264
  readonly engine: {
1261
1265
  readonly type: "string";
1262
- readonly values: readonly ["aws_fis", "gremlin", "litmus_chaos"];
1266
+ readonly values: readonly ["cloud_fault_injection", "gremlin", "litmus_chaos"];
1263
1267
  };
1264
1268
  readonly excludeResourceType: {
1265
1269
  readonly type: "stringArray";
@@ -1343,6 +1347,10 @@ declare const COMMANDS: {
1343
1347
  readonly path: "connection list";
1344
1348
  readonly positionals: readonly [];
1345
1349
  readonly flags: {
1350
+ readonly cloud: {
1351
+ readonly type: "string";
1352
+ readonly values: readonly ["aws", "gcp"];
1353
+ };
1346
1354
  readonly org: {
1347
1355
  readonly type: "string";
1348
1356
  };
@@ -1351,9 +1359,6 @@ declare const COMMANDS: {
1351
1359
  readonly values: readonly ["table", "json"];
1352
1360
  readonly short: "o";
1353
1361
  };
1354
- readonly provider: {
1355
- readonly type: "string";
1356
- };
1357
1362
  readonly team: {
1358
1363
  readonly type: "string";
1359
1364
  };
@@ -2772,9 +2777,9 @@ declare const SCHEMAS: {
2772
2777
  supportEmail: z.ZodNullable<z.ZodString>;
2773
2778
  verified: z.ZodBoolean;
2774
2779
  }, z.core.$strip>>;
2775
- system: z.ZodString;
2776
- sourceAddress: z.ZodString;
2777
- publisherVerdict: z.ZodString;
2780
+ system: z.ZodNullable<z.ZodString>;
2781
+ sourceAddress: z.ZodNullable<z.ZodString>;
2782
+ publisherVerdict: z.ZodNullable<z.ZodString>;
2778
2783
  }, z.core.$strip>>;
2779
2784
  truncated: z.ZodBoolean;
2780
2785
  publishingGuideUrl: z.ZodString;
@@ -2784,10 +2789,11 @@ declare const SCHEMAS: {
2784
2789
  axis: z.ZodString;
2785
2790
  author: z.ZodString;
2786
2791
  name: z.ZodString;
2787
- treeHash: z.ZodString;
2788
- repo: z.ZodString;
2789
- commit: z.ZodString;
2790
- latest: z.ZodObject<{
2792
+ system: z.ZodNullable<z.ZodString>;
2793
+ treeHash: z.ZodNullable<z.ZodString>;
2794
+ repo: z.ZodNullable<z.ZodString>;
2795
+ commit: z.ZodNullable<z.ZodString>;
2796
+ latest: z.ZodNullable<z.ZodObject<{
2791
2797
  id: z.ZodString;
2792
2798
  axis: z.ZodString;
2793
2799
  provider: z.ZodNullable<z.ZodString>;
@@ -2825,7 +2831,7 @@ declare const SCHEMAS: {
2825
2831
  attestedAt: z.ZodNullable<z.ZodString>;
2826
2832
  repository: z.ZodNullable<z.ZodString>;
2827
2833
  commit: z.ZodNullable<z.ZodString>;
2828
- }, z.core.$strip>;
2834
+ }, z.core.$strip>>;
2829
2835
  versions: z.ZodArray<z.ZodObject<{
2830
2836
  version: z.ZodString;
2831
2837
  status: z.ZodString;
@@ -2835,6 +2841,7 @@ declare const SCHEMAS: {
2835
2841
  'registry describe': z.ZodObject<{
2836
2842
  author: z.ZodString;
2837
2843
  name: z.ZodString;
2844
+ system: z.ZodString;
2838
2845
  version: z.ZodString;
2839
2846
  source: z.ZodString;
2840
2847
  treeHash: z.ZodString;
@@ -2909,8 +2916,13 @@ declare const SCHEMAS: {
2909
2916
  archivedAt: z.ZodNullable<z.ZodString>;
2910
2917
  connection: z.ZodNullable<z.ZodObject<{
2911
2918
  name: z.ZodString;
2912
- provider: z.ZodString;
2913
- awsAccountId: z.ZodNullable<z.ZodString>;
2919
+ kind: z.ZodString;
2920
+ cloud: z.ZodString;
2921
+ account: z.ZodObject<{
2922
+ cloud: z.ZodString;
2923
+ id: z.ZodString;
2924
+ }, z.core.$strip>;
2925
+ credentialReach: z.ZodString;
2914
2926
  }, z.core.$strip>>;
2915
2927
  lastApply: z.ZodNullable<z.ZodObject<{
2916
2928
  runId: z.ZodString;
@@ -2980,8 +2992,13 @@ declare const SCHEMAS: {
2980
2992
  archivedAt: z.ZodNullable<z.ZodString>;
2981
2993
  connection: z.ZodNullable<z.ZodObject<{
2982
2994
  name: z.ZodString;
2983
- provider: z.ZodString;
2984
- awsAccountId: z.ZodNullable<z.ZodString>;
2995
+ kind: z.ZodString;
2996
+ cloud: z.ZodString;
2997
+ account: z.ZodObject<{
2998
+ cloud: z.ZodString;
2999
+ id: z.ZodString;
3000
+ }, z.core.$strip>;
3001
+ credentialReach: z.ZodString;
2985
3002
  }, z.core.$strip>>;
2986
3003
  lastApply: z.ZodNullable<z.ZodObject<{
2987
3004
  runId: z.ZodString;
@@ -3642,8 +3659,13 @@ declare const SCHEMAS: {
3642
3659
  archivedAt: z.ZodNullable<z.ZodString>;
3643
3660
  connection: z.ZodNullable<z.ZodObject<{
3644
3661
  name: z.ZodString;
3645
- provider: z.ZodString;
3646
- awsAccountId: z.ZodNullable<z.ZodString>;
3662
+ kind: z.ZodString;
3663
+ cloud: z.ZodString;
3664
+ account: z.ZodObject<{
3665
+ cloud: z.ZodString;
3666
+ id: z.ZodString;
3667
+ }, z.core.$strip>;
3668
+ credentialReach: z.ZodString;
3647
3669
  }, z.core.$strip>>;
3648
3670
  lastApply: z.ZodNullable<z.ZodObject<{
3649
3671
  runId: z.ZodString;
@@ -4033,7 +4055,8 @@ declare const SCHEMAS: {
4033
4055
  items: z.ZodArray<z.ZodObject<{
4034
4056
  id: z.ZodString;
4035
4057
  name: z.ZodString;
4036
- provider_type: z.ZodString;
4058
+ cloud: z.ZodString;
4059
+ kind: z.ZodString;
4037
4060
  status: z.ZodString;
4038
4061
  status_reason: z.ZodNullable<z.ZodString>;
4039
4062
  created_at: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lace-cloud/canvas",
3
- "version": "0.44.0",
3
+ "version": "0.46.0",
4
4
  "lace": {
5
5
  "owner": "authoring"
6
6
  },
@@ -26,8 +26,8 @@
26
26
  "react": "^18.3.1",
27
27
  "react-dom": "^18.3.1",
28
28
  "zod": "^4.1.11",
29
- "@lace-cloud/proto": "0.44.0",
30
- "@lace-cloud/ui": "0.44.0"
29
+ "@lace-cloud/proto": "0.46.0",
30
+ "@lace-cloud/ui": "0.46.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@size-limit/file": "12.1.0",