@terrantula/sdk 0.12.0 → 0.13.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.
package/dist/index.d.mts CHANGED
@@ -543,7 +543,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
543
543
  name: string;
544
544
  };
545
545
  };
546
- output: {
546
+ output: ({
547
+ origin: "explicit";
547
548
  fromEntityName: string;
548
549
  toEntityName: string;
549
550
  id: string;
@@ -551,7 +552,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
551
552
  fromEntityId: string;
552
553
  toEntityId: string;
553
554
  state: string;
554
- properties: hono_utils_types.JSONValue;
555
555
  labels: hono_utils_types.JSONValue;
556
556
  createdAt: string;
557
557
  updatedAt: string;
@@ -560,7 +560,25 @@ declare const projectApp: hono_hono_base.HonoBase<{
560
560
  envId: string;
561
561
  deletionScheduledAt: string | null;
562
562
  deletionGracePeriodSeconds: number | null;
563
- }[];
563
+ } | {
564
+ id: null;
565
+ relationshipTypeName: string;
566
+ fromEntityName: string;
567
+ toEntityName: string;
568
+ origin: "derived" | "explicit";
569
+ state: string | null;
570
+ labels: {
571
+ [x: string]: string;
572
+ };
573
+ fromEntityId: null;
574
+ toEntityId: null;
575
+ envId: null;
576
+ orgId: null;
577
+ projectId: null;
578
+ createdAt: null;
579
+ updatedAt: null;
580
+ deletionScheduledAt: null;
581
+ })[];
564
582
  outputFormat: "json";
565
583
  status: hono_utils_http_status.ContentfulStatusCode;
566
584
  };
@@ -655,9 +673,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
655
673
  addToCell?: string | undefined;
656
674
  createRelationship?: {
657
675
  relationshipType: string;
676
+ to: string;
658
677
  onSuccess: string;
659
678
  onFailure: string;
660
- to: string;
661
679
  properties?: {
662
680
  [x: string]: string;
663
681
  } | undefined;
@@ -725,10 +743,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
725
743
  type: "create-relationship";
726
744
  from: string;
727
745
  relationshipType: string;
746
+ to: string;
728
747
  onTrigger: string;
729
748
  onSuccess: string;
730
749
  onFailure: string;
731
- to: string;
732
750
  properties?: {
733
751
  [x: string]: string;
734
752
  } | undefined;
@@ -750,10 +768,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
750
768
  } | {
751
769
  type: "migrate-relationship";
752
770
  relationshipType: string;
771
+ to: string;
753
772
  onTrigger: string;
754
773
  onSuccess: string;
755
774
  onFailure: string;
756
- to: string;
757
775
  };
758
776
  trigger: {
759
777
  type: "webhook";
@@ -1177,7 +1195,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
1177
1195
  [x: string]: string | string[];
1178
1196
  } | undefined;
1179
1197
  };
1180
- output: {
1198
+ output: ({
1199
+ origin: "explicit";
1181
1200
  fromEntityName: string;
1182
1201
  toEntityName: string;
1183
1202
  id: string;
@@ -1185,7 +1204,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
1185
1204
  fromEntityId: string;
1186
1205
  toEntityId: string;
1187
1206
  state: string;
1188
- properties: hono_utils_types.JSONValue;
1189
1207
  labels: hono_utils_types.JSONValue;
1190
1208
  createdAt: string;
1191
1209
  updatedAt: string;
@@ -1194,7 +1212,25 @@ declare const projectApp: hono_hono_base.HonoBase<{
1194
1212
  envId: string;
1195
1213
  deletionScheduledAt: string | null;
1196
1214
  deletionGracePeriodSeconds: number | null;
1197
- }[];
1215
+ } | {
1216
+ id: null;
1217
+ relationshipTypeName: string;
1218
+ fromEntityName: string;
1219
+ toEntityName: string;
1220
+ origin: "derived" | "explicit";
1221
+ state: string | null;
1222
+ labels: {
1223
+ [x: string]: string;
1224
+ };
1225
+ fromEntityId: null;
1226
+ toEntityId: null;
1227
+ envId: null;
1228
+ orgId: null;
1229
+ projectId: null;
1230
+ createdAt: null;
1231
+ updatedAt: null;
1232
+ deletionScheduledAt: null;
1233
+ })[];
1198
1234
  outputFormat: "json";
1199
1235
  status: hono_utils_http_status.ContentfulStatusCode;
1200
1236
  };
@@ -1222,17 +1258,16 @@ declare const projectApp: hono_hono_base.HonoBase<{
1222
1258
  };
1223
1259
  output: {
1224
1260
  id: string;
1261
+ relationshipTypeName: string;
1262
+ fromEntityId: string;
1263
+ toEntityId: string;
1264
+ state: string;
1265
+ labels: hono_utils_types.JSONValue;
1225
1266
  createdAt: string;
1226
1267
  updatedAt: string;
1227
- orgId: string;
1228
1268
  projectId: string;
1269
+ orgId: string;
1229
1270
  envId: string;
1230
- state: string;
1231
- properties: hono_utils_types.JSONValue;
1232
- labels: hono_utils_types.JSONValue;
1233
- relationshipTypeName: string;
1234
- fromEntityId: string;
1235
- toEntityId: string;
1236
1271
  deletionScheduledAt: string | null;
1237
1272
  deletionGracePeriodSeconds: number | null;
1238
1273
  };
@@ -1254,7 +1289,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
1254
1289
  fromEntityId: string;
1255
1290
  toEntityId: string;
1256
1291
  state: string;
1257
- properties: hono_utils_types.JSONValue;
1258
1292
  labels: hono_utils_types.JSONValue;
1259
1293
  createdAt: string;
1260
1294
  updatedAt: string;
@@ -1271,22 +1305,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
1271
1305
  } & {
1272
1306
  "/:id": {
1273
1307
  $put: {
1274
- input: {
1275
- json?: any;
1276
- query?: {
1277
- [x: string]: string | string[];
1278
- } | undefined;
1279
- } & {
1280
- param: {
1281
- id: string;
1282
- };
1283
- };
1284
- output: {
1285
- error: string;
1286
- };
1287
- outputFormat: "json";
1288
- status: 403;
1289
- } | {
1290
1308
  input: {
1291
1309
  json?: any;
1292
1310
  query?: {
@@ -1303,7 +1321,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
1303
1321
  fromEntityId: string;
1304
1322
  toEntityId: string;
1305
1323
  state: string;
1306
- properties: hono_utils_types.JSONValue;
1307
1324
  labels: hono_utils_types.JSONValue;
1308
1325
  createdAt: string;
1309
1326
  updatedAt: string;
@@ -1315,6 +1332,22 @@ declare const projectApp: hono_hono_base.HonoBase<{
1315
1332
  };
1316
1333
  outputFormat: "json";
1317
1334
  status: hono_utils_http_status.ContentfulStatusCode;
1335
+ } | {
1336
+ input: {
1337
+ json?: any;
1338
+ query?: {
1339
+ [x: string]: string | string[];
1340
+ } | undefined;
1341
+ } & {
1342
+ param: {
1343
+ id: string;
1344
+ };
1345
+ };
1346
+ output: {
1347
+ error: string;
1348
+ };
1349
+ outputFormat: "json";
1350
+ status: 403;
1318
1351
  };
1319
1352
  };
1320
1353
  } & {
@@ -1352,7 +1385,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
1352
1385
  fromEntityId: string;
1353
1386
  toEntityId: string;
1354
1387
  state: string;
1355
- properties: hono_utils_types.JSONValue;
1356
1388
  labels: hono_utils_types.JSONValue;
1357
1389
  createdAt: string;
1358
1390
  updatedAt: string;
@@ -1385,7 +1417,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
1385
1417
  fromEntityId: string;
1386
1418
  toEntityId: string;
1387
1419
  state: string;
1388
- properties: hono_utils_types.JSONValue;
1389
1420
  labels: hono_utils_types.JSONValue;
1390
1421
  createdAt: string;
1391
1422
  updatedAt: string;
@@ -1729,7 +1760,84 @@ declare const projectApp: hono_hono_base.HonoBase<{
1729
1760
  status: hono_utils_http_status.ContentfulStatusCode;
1730
1761
  };
1731
1762
  };
1732
- }, "/drift-events">, "/envs/:envName"> | hono_types.MergeSchemaPath<{
1763
+ }, "/drift-events"> | hono_types.MergeSchemaPath<{
1764
+ "/": {
1765
+ $get: {
1766
+ input: {};
1767
+ output: {
1768
+ detectedAt: string;
1769
+ lastSeenAt: string;
1770
+ updatedAt: string;
1771
+ id: string;
1772
+ projectId: string | null;
1773
+ envId: string;
1774
+ entityId: string | null;
1775
+ relationshipId: string | null;
1776
+ entityTypeName: string | null;
1777
+ entityName: string | null;
1778
+ findingKind: string;
1779
+ severity: string;
1780
+ status: string;
1781
+ fieldPath: string | null;
1782
+ schemaRef: string | null;
1783
+ schemaVersion: string | null;
1784
+ expected: hono_utils_types.JSONValue;
1785
+ actual: hono_utils_types.JSONValue;
1786
+ message: string;
1787
+ dedupKey: string;
1788
+ auditRunId: string | null;
1789
+ }[];
1790
+ outputFormat: "json";
1791
+ status: hono_utils_http_status.ContentfulStatusCode;
1792
+ };
1793
+ };
1794
+ } & {
1795
+ "/count": {
1796
+ $get: {
1797
+ input: {};
1798
+ output: {
1799
+ count: number;
1800
+ };
1801
+ outputFormat: "json";
1802
+ status: hono_utils_http_status.ContentfulStatusCode;
1803
+ };
1804
+ };
1805
+ } & {
1806
+ "/:id": {
1807
+ $get: {
1808
+ input: {
1809
+ param: {
1810
+ id: string;
1811
+ };
1812
+ };
1813
+ output: {
1814
+ detectedAt: string;
1815
+ lastSeenAt: string;
1816
+ updatedAt: string;
1817
+ id: string;
1818
+ projectId: string | null;
1819
+ envId: string;
1820
+ entityId: string | null;
1821
+ relationshipId: string | null;
1822
+ entityTypeName: string | null;
1823
+ entityName: string | null;
1824
+ findingKind: string;
1825
+ severity: string;
1826
+ status: string;
1827
+ fieldPath: string | null;
1828
+ schemaRef: string | null;
1829
+ schemaVersion: string | null;
1830
+ expected: hono_utils_types.JSONValue;
1831
+ actual: hono_utils_types.JSONValue;
1832
+ message: string;
1833
+ dedupKey: string;
1834
+ auditRunId: string | null;
1835
+ };
1836
+ outputFormat: "json";
1837
+ status: hono_utils_http_status.ContentfulStatusCode;
1838
+ };
1839
+ };
1840
+ }, "/conformance-findings">, "/envs/:envName"> | hono_types.MergeSchemaPath<{
1733
1841
  "/": {
1734
1842
  $get: {
1735
1843
  input: {};
@@ -1913,6 +2021,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
1913
2021
  kind: "data" | "resource" | "module";
1914
2022
  address: string;
1915
2023
  }[] | null;
2024
+ strictComposition: boolean;
1916
2025
  syncTracked: boolean;
1917
2026
  syncFreshness: {
1918
2027
  greenSeconds?: number | undefined;
@@ -1985,6 +2094,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
1985
2094
  kind: "data" | "resource" | "module";
1986
2095
  address: string;
1987
2096
  }[] | null;
2097
+ strictComposition: boolean;
1988
2098
  syncTracked: boolean;
1989
2099
  syncFreshness: {
1990
2100
  greenSeconds?: number | undefined;
@@ -2052,6 +2162,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
2052
2162
  kind: "data" | "resource" | "module";
2053
2163
  address: string;
2054
2164
  }[] | null;
2165
+ strictComposition: boolean;
2055
2166
  syncTracked: boolean;
2056
2167
  syncFreshness: {
2057
2168
  greenSeconds?: number | undefined;
@@ -2126,6 +2237,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
2126
2237
  kind: "data" | "resource" | "module";
2127
2238
  address: string;
2128
2239
  }[] | null;
2240
+ strictComposition: boolean;
2129
2241
  syncTracked: boolean;
2130
2242
  syncFreshness: {
2131
2243
  greenSeconds?: number | undefined;
@@ -2861,13 +2973,20 @@ declare const projectApp: hono_hono_base.HonoBase<{
2861
2973
  }[];
2862
2974
  constraints: ({
2863
2975
  type: "property-sum";
2864
- property: string;
2976
+ fromProperty: string;
2865
2977
  leq: string;
2866
2978
  } | {
2867
2979
  type: "relationship-count";
2868
2980
  leq: string | number;
2869
2981
  })[];
2870
2982
  containment: boolean;
2983
+ derivedFrom: {
2984
+ property: string;
2985
+ targetProperty?: string | undefined;
2986
+ } | null | undefined;
2987
+ labels: {
2988
+ [x: string]: string;
2989
+ };
2871
2990
  createdAt: string;
2872
2991
  updatedAt: string;
2873
2992
  }[];
@@ -2901,14 +3020,21 @@ declare const projectApp: hono_hono_base.HonoBase<{
2901
3020
  title?: string | undefined;
2902
3021
  enum?: string[] | undefined;
2903
3022
  }[];
3023
+ derivedFrom: {
3024
+ property: string;
3025
+ targetProperty?: string | undefined;
3026
+ } | null | undefined;
2904
3027
  constraints: ({
2905
3028
  type: "property-sum";
2906
- property: string;
3029
+ fromProperty: string;
2907
3030
  leq: string;
2908
3031
  } | {
2909
3032
  type: "relationship-count";
2910
3033
  leq: string | number;
2911
3034
  })[];
3035
+ labels: {
3036
+ [x: string]: string;
3037
+ };
2912
3038
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
2913
3039
  fromEntityTypeName: string;
2914
3040
  toEntityTypeName: string;
@@ -2946,13 +3072,20 @@ declare const projectApp: hono_hono_base.HonoBase<{
2946
3072
  }[];
2947
3073
  constraints: ({
2948
3074
  type: "property-sum";
2949
- property: string;
3075
+ fromProperty: string;
2950
3076
  leq: string;
2951
3077
  } | {
2952
3078
  type: "relationship-count";
2953
3079
  leq: string | number;
2954
3080
  })[];
2955
3081
  containment: boolean;
3082
+ derivedFrom: {
3083
+ property: string;
3084
+ targetProperty?: string | undefined;
3085
+ } | null | undefined;
3086
+ labels: {
3087
+ [x: string]: string;
3088
+ };
2956
3089
  createdAt: string;
2957
3090
  updatedAt: string;
2958
3091
  };
@@ -2993,13 +3126,20 @@ declare const projectApp: hono_hono_base.HonoBase<{
2993
3126
  }[];
2994
3127
  constraints: ({
2995
3128
  type: "property-sum";
2996
- property: string;
3129
+ fromProperty: string;
2997
3130
  leq: string;
2998
3131
  } | {
2999
3132
  type: "relationship-count";
3000
3133
  leq: string | number;
3001
3134
  })[];
3002
3135
  containment: boolean;
3136
+ derivedFrom: {
3137
+ property: string;
3138
+ targetProperty?: string | undefined;
3139
+ } | null | undefined;
3140
+ labels: {
3141
+ [x: string]: string;
3142
+ };
3003
3143
  createdAt: string;
3004
3144
  updatedAt: string;
3005
3145
  };
@@ -3074,9 +3214,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
3074
3214
  addToCell?: string | undefined;
3075
3215
  createRelationship?: {
3076
3216
  relationshipType: string;
3217
+ to: string;
3077
3218
  onSuccess: string;
3078
3219
  onFailure: string;
3079
- to: string;
3080
3220
  properties?: {
3081
3221
  [x: string]: string;
3082
3222
  } | undefined;
@@ -3144,10 +3284,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
3144
3284
  type: "create-relationship";
3145
3285
  from: string;
3146
3286
  relationshipType: string;
3287
+ to: string;
3147
3288
  onTrigger: string;
3148
3289
  onSuccess: string;
3149
3290
  onFailure: string;
3150
- to: string;
3151
3291
  properties?: {
3152
3292
  [x: string]: string;
3153
3293
  } | undefined;
@@ -3169,10 +3309,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
3169
3309
  } | {
3170
3310
  type: "migrate-relationship";
3171
3311
  relationshipType: string;
3312
+ to: string;
3172
3313
  onTrigger: string;
3173
3314
  onSuccess: string;
3174
3315
  onFailure: string;
3175
- to: string;
3176
3316
  };
3177
3317
  trigger: {
3178
3318
  type: "webhook";
@@ -3578,9 +3718,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
3578
3718
  addToCell?: string | undefined;
3579
3719
  createRelationship?: {
3580
3720
  relationshipType: string;
3721
+ to: string;
3581
3722
  onSuccess: string;
3582
3723
  onFailure: string;
3583
- to: string;
3584
3724
  properties?: {
3585
3725
  [x: string]: string;
3586
3726
  } | undefined;
@@ -3648,10 +3788,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
3648
3788
  type: "create-relationship";
3649
3789
  from: string;
3650
3790
  relationshipType: string;
3791
+ to: string;
3651
3792
  onTrigger: string;
3652
3793
  onSuccess: string;
3653
3794
  onFailure: string;
3654
- to: string;
3655
3795
  properties?: {
3656
3796
  [x: string]: string;
3657
3797
  } | undefined;
@@ -3673,10 +3813,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
3673
3813
  } | {
3674
3814
  type: "migrate-relationship";
3675
3815
  relationshipType: string;
3816
+ to: string;
3676
3817
  onTrigger: string;
3677
3818
  onSuccess: string;
3678
3819
  onFailure: string;
3679
- to: string;
3680
3820
  };
3681
3821
  trigger: {
3682
3822
  type: "webhook";
@@ -4081,9 +4221,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
4081
4221
  addToCell?: string | undefined;
4082
4222
  createRelationship?: {
4083
4223
  relationshipType: string;
4224
+ to: string;
4084
4225
  onSuccess: string;
4085
4226
  onFailure: string;
4086
- to: string;
4087
4227
  properties?: {
4088
4228
  [x: string]: string;
4089
4229
  } | undefined;
@@ -4151,10 +4291,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
4151
4291
  type: "create-relationship";
4152
4292
  from: string;
4153
4293
  relationshipType: string;
4294
+ to: string;
4154
4295
  onTrigger: string;
4155
4296
  onSuccess: string;
4156
4297
  onFailure: string;
4157
- to: string;
4158
4298
  properties?: {
4159
4299
  [x: string]: string;
4160
4300
  } | undefined;
@@ -4176,10 +4316,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
4176
4316
  } | {
4177
4317
  type: "migrate-relationship";
4178
4318
  relationshipType: string;
4319
+ to: string;
4179
4320
  onTrigger: string;
4180
4321
  onSuccess: string;
4181
4322
  onFailure: string;
4182
- to: string;
4183
4323
  };
4184
4324
  trigger: {
4185
4325
  type: "webhook";
@@ -4589,9 +4729,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
4589
4729
  addToCell?: string | undefined;
4590
4730
  createRelationship?: {
4591
4731
  relationshipType: string;
4732
+ to: string;
4592
4733
  onSuccess: string;
4593
4734
  onFailure: string;
4594
- to: string;
4595
4735
  properties?: {
4596
4736
  [x: string]: string;
4597
4737
  } | undefined;
@@ -4659,10 +4799,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
4659
4799
  type: "create-relationship";
4660
4800
  from: string;
4661
4801
  relationshipType: string;
4802
+ to: string;
4662
4803
  onTrigger: string;
4663
4804
  onSuccess: string;
4664
4805
  onFailure: string;
4665
- to: string;
4666
4806
  properties?: {
4667
4807
  [x: string]: string;
4668
4808
  } | undefined;
@@ -4684,10 +4824,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
4684
4824
  } | {
4685
4825
  type: "migrate-relationship";
4686
4826
  relationshipType: string;
4827
+ to: string;
4687
4828
  onTrigger: string;
4688
4829
  onSuccess: string;
4689
4830
  onFailure: string;
4690
- to: string;
4691
4831
  };
4692
4832
  trigger: {
4693
4833
  type: "webhook";
@@ -5147,41 +5287,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5147
5287
  ownerUserId: string | null;
5148
5288
  name: string;
5149
5289
  isDefault: boolean;
5150
- config: {
5151
- sort: {
5152
- cells: "name" | "memberCount" | "capacityUsed";
5153
- entities: "name" | "updatedAt" | "state";
5290
+ pinnedPositions: {
5291
+ [x: string]: {
5292
+ x: number;
5293
+ y: number;
5294
+ };
5295
+ } | null;
5296
+ viewSpec: {
5297
+ schemaVersion: 1;
5298
+ grouping: {
5299
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5300
+ aggregate: {
5301
+ byType: boolean;
5302
+ threshold: number;
5303
+ };
5304
+ labelKey?: string | undefined;
5154
5305
  };
5155
- filter: {
5306
+ edges: {
5307
+ mode: "all" | "none" | "problems";
5308
+ labels: ("type" | "count")[];
5309
+ render: "refs" | "lines";
5310
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5311
+ };
5312
+ filters: {
5156
5313
  entityTypes: string[];
5157
- states: string[];
5158
5314
  labels: {
5159
5315
  [x: string]: string[];
5160
5316
  };
5161
- relationshipTypes?: string[] | undefined;
5162
- cellNames?: string[] | undefined;
5163
- };
5164
- grouping: {
5165
- cellsEnabled: boolean;
5166
- partitionsEnabled: boolean;
5317
+ cells: string[];
5318
+ relationshipTypes: string[];
5319
+ deploymentTargets: string[];
5320
+ lifecycle: string[];
5321
+ conformance: ("conformant" | "non-conformant")[];
5167
5322
  };
5168
- cardDisplay: {
5169
- properties: string[] | "all" | "required";
5170
- showState: boolean;
5171
- inlineRelationships: boolean;
5172
- maxRelsPerCard: number;
5173
- drawEdges: boolean;
5323
+ focus: {
5324
+ direction: "both" | "upstream" | "downstream";
5325
+ roots: string[];
5326
+ maxHops: 2 | 1 | 3 | "∞";
5327
+ edgeTypes: string[];
5174
5328
  };
5175
- layout: {
5176
- mode: "auto" | "free";
5177
- positionsPinned: boolean;
5329
+ expansion: {
5330
+ [x: string]: "expanded" | "collapsed";
5178
5331
  };
5179
- };
5180
- pinnedPositions: {
5181
- [x: string]: {
5182
- x: number;
5183
- y: number;
5332
+ style: {
5333
+ selector: string;
5334
+ style: {
5335
+ [x: string]: string;
5336
+ };
5337
+ }[];
5338
+ pins: {
5339
+ [x: string]: {
5340
+ x: number;
5341
+ y: number;
5342
+ };
5184
5343
  };
5344
+ interaction: "auto" | "free";
5185
5345
  } | null;
5186
5346
  createdAt: string;
5187
5347
  updatedAt: string;
@@ -5202,41 +5362,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5202
5362
  ownerUserId: string | null;
5203
5363
  name: string;
5204
5364
  isDefault: boolean;
5205
- config: {
5206
- sort: {
5207
- cells: "name" | "memberCount" | "capacityUsed";
5208
- entities: "name" | "updatedAt" | "state";
5365
+ pinnedPositions: {
5366
+ [x: string]: {
5367
+ x: number;
5368
+ y: number;
5369
+ };
5370
+ } | null;
5371
+ viewSpec: {
5372
+ schemaVersion: 1;
5373
+ grouping: {
5374
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5375
+ aggregate: {
5376
+ byType: boolean;
5377
+ threshold: number;
5378
+ };
5379
+ labelKey?: string | undefined;
5209
5380
  };
5210
- filter: {
5381
+ edges: {
5382
+ mode: "all" | "none" | "problems";
5383
+ labels: ("type" | "count")[];
5384
+ render: "refs" | "lines";
5385
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5386
+ };
5387
+ filters: {
5211
5388
  entityTypes: string[];
5212
- states: string[];
5213
5389
  labels: {
5214
5390
  [x: string]: string[];
5215
5391
  };
5216
- relationshipTypes?: string[] | undefined;
5217
- cellNames?: string[] | undefined;
5218
- };
5219
- grouping: {
5220
- cellsEnabled: boolean;
5221
- partitionsEnabled: boolean;
5392
+ cells: string[];
5393
+ relationshipTypes: string[];
5394
+ deploymentTargets: string[];
5395
+ lifecycle: string[];
5396
+ conformance: ("conformant" | "non-conformant")[];
5222
5397
  };
5223
- cardDisplay: {
5224
- properties: string[] | "all" | "required";
5225
- showState: boolean;
5226
- inlineRelationships: boolean;
5227
- maxRelsPerCard: number;
5228
- drawEdges: boolean;
5398
+ focus: {
5399
+ direction: "both" | "upstream" | "downstream";
5400
+ roots: string[];
5401
+ maxHops: 2 | 1 | 3 | "∞";
5402
+ edgeTypes: string[];
5229
5403
  };
5230
- layout: {
5231
- mode: "auto" | "free";
5232
- positionsPinned: boolean;
5404
+ expansion: {
5405
+ [x: string]: "expanded" | "collapsed";
5233
5406
  };
5234
- };
5235
- pinnedPositions: {
5236
- [x: string]: {
5237
- x: number;
5238
- y: number;
5407
+ style: {
5408
+ selector: string;
5409
+ style: {
5410
+ [x: string]: string;
5411
+ };
5412
+ }[];
5413
+ pins: {
5414
+ [x: string]: {
5415
+ x: number;
5416
+ y: number;
5417
+ };
5239
5418
  };
5419
+ interaction: "auto" | "free";
5240
5420
  } | null;
5241
5421
  createdAt: string;
5242
5422
  updatedAt: string;
@@ -5253,37 +5433,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
5253
5433
  ownerUserId: null;
5254
5434
  name: string;
5255
5435
  isDefault: true;
5256
- config: {
5257
- sort: {
5258
- cells: "name" | "memberCount" | "capacityUsed";
5259
- entities: "name" | "updatedAt" | "state";
5260
- };
5261
- filter: {
5262
- entityTypes: string[];
5263
- states: string[];
5264
- labels: {
5265
- [x: string]: string[];
5266
- };
5267
- relationshipTypes?: string[] | undefined;
5268
- cellNames?: string[] | undefined;
5269
- };
5270
- grouping: {
5271
- cellsEnabled: boolean;
5272
- partitionsEnabled: boolean;
5273
- };
5274
- cardDisplay: {
5275
- properties: string[] | "all" | "required";
5276
- showState: boolean;
5277
- inlineRelationships: boolean;
5278
- maxRelsPerCard: number;
5279
- drawEdges: boolean;
5280
- };
5281
- layout: {
5282
- mode: "auto" | "free";
5283
- positionsPinned: boolean;
5284
- };
5285
- };
5286
5436
  pinnedPositions: null;
5437
+ viewSpec: null;
5287
5438
  };
5288
5439
  outputFormat: "json";
5289
5440
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -5305,41 +5456,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5305
5456
  ownerUserId: string | null;
5306
5457
  name: string;
5307
5458
  isDefault: boolean;
5308
- config: {
5309
- sort: {
5310
- cells: "name" | "memberCount" | "capacityUsed";
5311
- entities: "name" | "updatedAt" | "state";
5459
+ pinnedPositions: {
5460
+ [x: string]: {
5461
+ x: number;
5462
+ y: number;
5463
+ };
5464
+ } | null;
5465
+ viewSpec: {
5466
+ schemaVersion: 1;
5467
+ grouping: {
5468
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5469
+ aggregate: {
5470
+ byType: boolean;
5471
+ threshold: number;
5472
+ };
5473
+ labelKey?: string | undefined;
5312
5474
  };
5313
- filter: {
5475
+ edges: {
5476
+ mode: "all" | "none" | "problems";
5477
+ labels: ("type" | "count")[];
5478
+ render: "refs" | "lines";
5479
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5480
+ };
5481
+ filters: {
5314
5482
  entityTypes: string[];
5315
- states: string[];
5316
5483
  labels: {
5317
5484
  [x: string]: string[];
5318
5485
  };
5319
- relationshipTypes?: string[] | undefined;
5320
- cellNames?: string[] | undefined;
5486
+ cells: string[];
5487
+ relationshipTypes: string[];
5488
+ deploymentTargets: string[];
5489
+ lifecycle: string[];
5490
+ conformance: ("conformant" | "non-conformant")[];
5321
5491
  };
5322
- grouping: {
5323
- cellsEnabled: boolean;
5324
- partitionsEnabled: boolean;
5492
+ focus: {
5493
+ direction: "both" | "upstream" | "downstream";
5494
+ roots: string[];
5495
+ maxHops: 2 | 1 | 3 | "∞";
5496
+ edgeTypes: string[];
5325
5497
  };
5326
- cardDisplay: {
5327
- properties: string[] | "all" | "required";
5328
- showState: boolean;
5329
- inlineRelationships: boolean;
5330
- maxRelsPerCard: number;
5331
- drawEdges: boolean;
5498
+ expansion: {
5499
+ [x: string]: "expanded" | "collapsed";
5332
5500
  };
5333
- layout: {
5334
- mode: "auto" | "free";
5335
- positionsPinned: boolean;
5336
- };
5337
- };
5338
- pinnedPositions: {
5339
- [x: string]: {
5340
- x: number;
5341
- y: number;
5501
+ style: {
5502
+ selector: string;
5503
+ style: {
5504
+ [x: string]: string;
5505
+ };
5506
+ }[];
5507
+ pins: {
5508
+ [x: string]: {
5509
+ x: number;
5510
+ y: number;
5511
+ };
5342
5512
  };
5513
+ interaction: "auto" | "free";
5343
5514
  } | null;
5344
5515
  createdAt: string;
5345
5516
  updatedAt: string;
@@ -5366,42 +5537,62 @@ declare const projectApp: hono_hono_base.HonoBase<{
5366
5537
  projectId: string;
5367
5538
  isDefault: boolean;
5368
5539
  scope: "user" | "project";
5369
- config: {
5370
- sort: {
5371
- cells: "name" | "memberCount" | "capacityUsed";
5372
- entities: "name" | "updatedAt" | "state";
5540
+ ownerUserId: string | null;
5541
+ pinnedPositions: {
5542
+ [x: string]: {
5543
+ x: number;
5544
+ y: number;
5545
+ };
5546
+ } | null;
5547
+ viewSpec: {
5548
+ schemaVersion: 1;
5549
+ grouping: {
5550
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5551
+ aggregate: {
5552
+ byType: boolean;
5553
+ threshold: number;
5554
+ };
5555
+ labelKey?: string | undefined;
5556
+ };
5557
+ edges: {
5558
+ mode: "all" | "none" | "problems";
5559
+ labels: ("type" | "count")[];
5560
+ render: "refs" | "lines";
5561
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5373
5562
  };
5374
- filter: {
5563
+ filters: {
5375
5564
  entityTypes: string[];
5376
- states: string[];
5377
5565
  labels: {
5378
5566
  [x: string]: string[];
5379
5567
  };
5380
- relationshipTypes?: string[] | undefined;
5381
- cellNames?: string[] | undefined;
5568
+ cells: string[];
5569
+ relationshipTypes: string[];
5570
+ deploymentTargets: string[];
5571
+ lifecycle: string[];
5572
+ conformance: ("conformant" | "non-conformant")[];
5382
5573
  };
5383
- grouping: {
5384
- cellsEnabled: boolean;
5385
- partitionsEnabled: boolean;
5386
- };
5387
- cardDisplay: {
5388
- properties: string[] | "all" | "required";
5389
- showState: boolean;
5390
- inlineRelationships: boolean;
5391
- maxRelsPerCard: number;
5392
- drawEdges: boolean;
5574
+ focus: {
5575
+ direction: "both" | "upstream" | "downstream";
5576
+ roots: string[];
5577
+ maxHops: 2 | 1 | 3 | "∞";
5578
+ edgeTypes: string[];
5393
5579
  };
5394
- layout: {
5395
- mode: "auto" | "free";
5396
- positionsPinned: boolean;
5580
+ expansion: {
5581
+ [x: string]: "expanded" | "collapsed";
5397
5582
  };
5398
- };
5399
- ownerUserId: string | null;
5400
- pinnedPositions: {
5401
- [x: string]: {
5402
- x: number;
5403
- y: number;
5583
+ style: {
5584
+ selector: string;
5585
+ style: {
5586
+ [x: string]: string;
5587
+ };
5588
+ }[];
5589
+ pins: {
5590
+ [x: string]: {
5591
+ x: number;
5592
+ y: number;
5593
+ };
5404
5594
  };
5595
+ interaction: "auto" | "free";
5405
5596
  } | null;
5406
5597
  };
5407
5598
  outputFormat: "json";
@@ -5429,41 +5620,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5429
5620
  ownerUserId: string | null;
5430
5621
  name: string;
5431
5622
  isDefault: boolean;
5432
- config: {
5433
- sort: {
5434
- cells: "name" | "memberCount" | "capacityUsed";
5435
- entities: "name" | "updatedAt" | "state";
5623
+ pinnedPositions: {
5624
+ [x: string]: {
5625
+ x: number;
5626
+ y: number;
5627
+ };
5628
+ } | null;
5629
+ viewSpec: {
5630
+ schemaVersion: 1;
5631
+ grouping: {
5632
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5633
+ aggregate: {
5634
+ byType: boolean;
5635
+ threshold: number;
5636
+ };
5637
+ labelKey?: string | undefined;
5436
5638
  };
5437
- filter: {
5639
+ edges: {
5640
+ mode: "all" | "none" | "problems";
5641
+ labels: ("type" | "count")[];
5642
+ render: "refs" | "lines";
5643
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5644
+ };
5645
+ filters: {
5438
5646
  entityTypes: string[];
5439
- states: string[];
5440
5647
  labels: {
5441
5648
  [x: string]: string[];
5442
5649
  };
5443
- relationshipTypes?: string[] | undefined;
5444
- cellNames?: string[] | undefined;
5445
- };
5446
- grouping: {
5447
- cellsEnabled: boolean;
5448
- partitionsEnabled: boolean;
5650
+ cells: string[];
5651
+ relationshipTypes: string[];
5652
+ deploymentTargets: string[];
5653
+ lifecycle: string[];
5654
+ conformance: ("conformant" | "non-conformant")[];
5449
5655
  };
5450
- cardDisplay: {
5451
- properties: string[] | "all" | "required";
5452
- showState: boolean;
5453
- inlineRelationships: boolean;
5454
- maxRelsPerCard: number;
5455
- drawEdges: boolean;
5656
+ focus: {
5657
+ direction: "both" | "upstream" | "downstream";
5658
+ roots: string[];
5659
+ maxHops: 2 | 1 | 3 | "∞";
5660
+ edgeTypes: string[];
5456
5661
  };
5457
- layout: {
5458
- mode: "auto" | "free";
5459
- positionsPinned: boolean;
5662
+ expansion: {
5663
+ [x: string]: "expanded" | "collapsed";
5460
5664
  };
5461
- };
5462
- pinnedPositions: {
5463
- [x: string]: {
5464
- x: number;
5465
- y: number;
5665
+ style: {
5666
+ selector: string;
5667
+ style: {
5668
+ [x: string]: string;
5669
+ };
5670
+ }[];
5671
+ pins: {
5672
+ [x: string]: {
5673
+ x: number;
5674
+ y: number;
5675
+ };
5466
5676
  };
5677
+ interaction: "auto" | "free";
5467
5678
  } | null;
5468
5679
  createdAt: string;
5469
5680
  updatedAt: string;
@@ -5504,41 +5715,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5504
5715
  ownerUserId: string | null;
5505
5716
  name: string;
5506
5717
  isDefault: boolean;
5507
- config: {
5508
- sort: {
5509
- cells: "name" | "memberCount" | "capacityUsed";
5510
- entities: "name" | "updatedAt" | "state";
5718
+ pinnedPositions: {
5719
+ [x: string]: {
5720
+ x: number;
5721
+ y: number;
5511
5722
  };
5512
- filter: {
5723
+ } | null;
5724
+ viewSpec: {
5725
+ schemaVersion: 1;
5726
+ grouping: {
5727
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5728
+ aggregate: {
5729
+ byType: boolean;
5730
+ threshold: number;
5731
+ };
5732
+ labelKey?: string | undefined;
5733
+ };
5734
+ edges: {
5735
+ mode: "all" | "none" | "problems";
5736
+ labels: ("type" | "count")[];
5737
+ render: "refs" | "lines";
5738
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5739
+ };
5740
+ filters: {
5513
5741
  entityTypes: string[];
5514
- states: string[];
5515
5742
  labels: {
5516
5743
  [x: string]: string[];
5517
5744
  };
5518
- relationshipTypes?: string[] | undefined;
5519
- cellNames?: string[] | undefined;
5520
- };
5521
- grouping: {
5522
- cellsEnabled: boolean;
5523
- partitionsEnabled: boolean;
5745
+ cells: string[];
5746
+ relationshipTypes: string[];
5747
+ deploymentTargets: string[];
5748
+ lifecycle: string[];
5749
+ conformance: ("conformant" | "non-conformant")[];
5524
5750
  };
5525
- cardDisplay: {
5526
- properties: string[] | "all" | "required";
5527
- showState: boolean;
5528
- inlineRelationships: boolean;
5529
- maxRelsPerCard: number;
5530
- drawEdges: boolean;
5751
+ focus: {
5752
+ direction: "both" | "upstream" | "downstream";
5753
+ roots: string[];
5754
+ maxHops: 2 | 1 | 3 | "∞";
5755
+ edgeTypes: string[];
5531
5756
  };
5532
- layout: {
5533
- mode: "auto" | "free";
5534
- positionsPinned: boolean;
5757
+ expansion: {
5758
+ [x: string]: "expanded" | "collapsed";
5535
5759
  };
5536
- };
5537
- pinnedPositions: {
5538
- [x: string]: {
5539
- x: number;
5540
- y: number;
5760
+ style: {
5761
+ selector: string;
5762
+ style: {
5763
+ [x: string]: string;
5764
+ };
5765
+ }[];
5766
+ pins: {
5767
+ [x: string]: {
5768
+ x: number;
5769
+ y: number;
5770
+ };
5541
5771
  };
5772
+ interaction: "auto" | "free";
5542
5773
  } | null;
5543
5774
  createdAt: string;
5544
5775
  updatedAt: string;
@@ -8147,6 +8378,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8147
8378
  kind: "data" | "resource" | "module";
8148
8379
  address: string;
8149
8380
  }[] | null;
8381
+ strictComposition: boolean;
8150
8382
  syncTracked: boolean;
8151
8383
  syncFreshness: {
8152
8384
  greenSeconds?: number | undefined;
@@ -8216,6 +8448,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8216
8448
  kind: "data" | "resource" | "module";
8217
8449
  address: string;
8218
8450
  }[] | null;
8451
+ strictComposition: boolean;
8219
8452
  syncTracked: boolean;
8220
8453
  syncFreshness: {
8221
8454
  greenSeconds?: number | undefined;
@@ -8378,6 +8611,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8378
8611
  kind: "data" | "resource" | "module";
8379
8612
  address: string;
8380
8613
  }>, "many">>;
8614
+ strictComposition: zod.ZodOptional<zod.ZodBoolean>;
8381
8615
  labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8382
8616
  labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8383
8617
  } & {
@@ -8427,6 +8661,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8427
8661
  kind: "data" | "resource" | "module";
8428
8662
  address: string;
8429
8663
  }[] | undefined;
8664
+ strictComposition?: boolean | undefined;
8430
8665
  syncFreshness?: {
8431
8666
  greenSeconds?: number | undefined;
8432
8667
  yellowSeconds?: number | undefined;
@@ -8477,6 +8712,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8477
8712
  kind: "data" | "resource" | "module";
8478
8713
  address: string;
8479
8714
  }[] | undefined;
8715
+ strictComposition?: boolean | undefined;
8480
8716
  syncTracked?: boolean | undefined;
8481
8717
  syncFreshness?: {
8482
8718
  greenSeconds?: number | undefined;
@@ -8529,6 +8765,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8529
8765
  kind: "data" | "resource" | "module";
8530
8766
  address: string;
8531
8767
  }[] | null;
8768
+ strictComposition: boolean;
8532
8769
  syncTracked: boolean;
8533
8770
  syncFreshness: {
8534
8771
  greenSeconds?: number | undefined;
@@ -8689,6 +8926,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8689
8926
  kind: "data" | "resource" | "module";
8690
8927
  address: string;
8691
8928
  }>, "many">>;
8929
+ strictComposition: zod.ZodOptional<zod.ZodBoolean>;
8692
8930
  labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8693
8931
  labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8694
8932
  } & {
@@ -8738,6 +8976,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8738
8976
  kind: "data" | "resource" | "module";
8739
8977
  address: string;
8740
8978
  }[] | undefined;
8979
+ strictComposition?: boolean | undefined;
8741
8980
  syncFreshness?: {
8742
8981
  greenSeconds?: number | undefined;
8743
8982
  yellowSeconds?: number | undefined;
@@ -8788,6 +9027,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8788
9027
  kind: "data" | "resource" | "module";
8789
9028
  address: string;
8790
9029
  }[] | undefined;
9030
+ strictComposition?: boolean | undefined;
8791
9031
  syncTracked?: boolean | undefined;
8792
9032
  syncFreshness?: {
8793
9033
  greenSeconds?: number | undefined;
@@ -8838,6 +9078,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8838
9078
  kind: "data" | "resource" | "module";
8839
9079
  address: string;
8840
9080
  }[] | null;
9081
+ strictComposition: boolean;
8841
9082
  syncTracked: boolean;
8842
9083
  syncFreshness: {
8843
9084
  greenSeconds?: number | undefined;
@@ -9515,7 +9756,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9515
9756
  orgId: string;
9516
9757
  projectId: string;
9517
9758
  envName: string;
9518
- }>, {
9759
+ }>, ({
9760
+ origin: "explicit";
9519
9761
  fromEntityName: string;
9520
9762
  toEntityName: string;
9521
9763
  id: string;
@@ -9523,7 +9765,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9523
9765
  fromEntityId: string;
9524
9766
  toEntityId: string;
9525
9767
  state: string;
9526
- properties: hono_utils_types.JSONValue;
9527
9768
  labels: hono_utils_types.JSONValue;
9528
9769
  createdAt: string;
9529
9770
  updatedAt: string;
@@ -9532,7 +9773,25 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9532
9773
  envId: string;
9533
9774
  deletionScheduledAt: string | null;
9534
9775
  deletionGracePeriodSeconds: number | null;
9535
- }[]>;
9776
+ } | {
9777
+ id: null;
9778
+ relationshipTypeName: string;
9779
+ fromEntityName: string;
9780
+ toEntityName: string;
9781
+ origin: "derived" | "explicit";
9782
+ state: string | null;
9783
+ labels: {
9784
+ [x: string]: string;
9785
+ };
9786
+ fromEntityId: null;
9787
+ toEntityId: null;
9788
+ envId: null;
9789
+ orgId: null;
9790
+ projectId: null;
9791
+ createdAt: null;
9792
+ updatedAt: null;
9793
+ deletionScheduledAt: null;
9794
+ })[]>;
9536
9795
  syncStamp: SchemaFn<zod.ZodObject<{
9537
9796
  orgId: zod.ZodString;
9538
9797
  projectId: zod.ZodString;
@@ -10765,13 +11024,20 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10765
11024
  }[];
10766
11025
  constraints: ({
10767
11026
  type: "property-sum";
10768
- property: string;
11027
+ fromProperty: string;
10769
11028
  leq: string;
10770
11029
  } | {
10771
11030
  type: "relationship-count";
10772
11031
  leq: string | number;
10773
11032
  })[];
10774
11033
  containment: boolean;
11034
+ derivedFrom: {
11035
+ property: string;
11036
+ targetProperty?: string | undefined;
11037
+ } | null | undefined;
11038
+ labels: {
11039
+ [x: string]: string;
11040
+ };
10775
11041
  createdAt: string;
10776
11042
  updatedAt: string;
10777
11043
  }[]>;
@@ -10807,13 +11073,20 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10807
11073
  }[];
10808
11074
  constraints: ({
10809
11075
  type: "property-sum";
10810
- property: string;
11076
+ fromProperty: string;
10811
11077
  leq: string;
10812
11078
  } | {
10813
11079
  type: "relationship-count";
10814
11080
  leq: string | number;
10815
11081
  })[];
10816
11082
  containment: boolean;
11083
+ derivedFrom: {
11084
+ property: string;
11085
+ targetProperty?: string | undefined;
11086
+ } | null | undefined;
11087
+ labels: {
11088
+ [x: string]: string;
11089
+ };
10817
11090
  createdAt: string;
10818
11091
  updatedAt: string;
10819
11092
  }>;
@@ -10824,7 +11097,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10824
11097
  from: zod.ZodString;
10825
11098
  to: zod.ZodString;
10826
11099
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
10827
- states: zod.ZodArray<zod.ZodString, "many">;
11100
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
10828
11101
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
10829
11102
  name: zod.ZodString;
10830
11103
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -10851,17 +11124,28 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10851
11124
  enum?: string[] | undefined;
10852
11125
  }>, "many">>>;
10853
11126
  containment: zod.ZodOptional<zod.ZodBoolean>;
11127
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
11128
+ property: zod.ZodString;
11129
+ targetProperty: zod.ZodOptional<zod.ZodString>;
11130
+ }, "strip", zod.ZodTypeAny, {
11131
+ property: string;
11132
+ targetProperty?: string | undefined;
11133
+ }, {
11134
+ property: string;
11135
+ targetProperty?: string | undefined;
11136
+ }>>;
11137
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
10854
11138
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
10855
11139
  type: zod.ZodLiteral<"property-sum">;
10856
- property: zod.ZodString;
11140
+ fromProperty: zod.ZodString;
10857
11141
  leq: zod.ZodString;
10858
11142
  }, "strip", zod.ZodTypeAny, {
10859
11143
  type: "property-sum";
10860
- property: string;
11144
+ fromProperty: string;
10861
11145
  leq: string;
10862
11146
  }, {
10863
11147
  type: "property-sum";
10864
- property: string;
11148
+ fromProperty: string;
10865
11149
  leq: string;
10866
11150
  }>, zod.ZodObject<{
10867
11151
  type: zod.ZodLiteral<"relationship-count">;
@@ -10893,7 +11177,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10893
11177
  }[];
10894
11178
  constraints: ({
10895
11179
  type: "property-sum";
10896
- property: string;
11180
+ fromProperty: string;
10897
11181
  leq: string;
10898
11182
  } | {
10899
11183
  type: "relationship-count";
@@ -10903,16 +11187,21 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10903
11187
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
10904
11188
  to: string;
10905
11189
  displayName?: string | undefined;
11190
+ derivedFrom?: {
11191
+ property: string;
11192
+ targetProperty?: string | undefined;
11193
+ } | undefined;
11194
+ labels?: Record<string, string> | undefined;
10906
11195
  containment?: boolean | undefined;
10907
11196
  }, {
10908
11197
  name: string;
10909
11198
  from: string;
10910
11199
  orgId: string;
10911
11200
  projectId: string;
10912
- states: string[];
10913
11201
  kind: "RelationshipType";
10914
11202
  to: string;
10915
11203
  displayName?: string | undefined;
11204
+ states?: string[] | undefined;
10916
11205
  properties?: {
10917
11206
  name: string;
10918
11207
  type: "string" | "number" | "boolean" | "integer";
@@ -10922,14 +11211,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10922
11211
  title?: string | undefined;
10923
11212
  enum?: string[] | undefined;
10924
11213
  }[] | undefined;
11214
+ derivedFrom?: {
11215
+ property: string;
11216
+ targetProperty?: string | undefined;
11217
+ } | undefined;
10925
11218
  constraints?: ({
10926
11219
  type: "property-sum";
10927
- property: string;
11220
+ fromProperty: string;
10928
11221
  leq: string;
10929
11222
  } | {
10930
11223
  type: "relationship-count";
10931
11224
  leq: string | number;
10932
11225
  })[] | undefined;
11226
+ labels?: Record<string, string> | undefined;
10933
11227
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
10934
11228
  containment?: boolean | undefined;
10935
11229
  }>, {
@@ -10949,14 +11243,21 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10949
11243
  title?: string | undefined;
10950
11244
  enum?: string[] | undefined;
10951
11245
  }[];
11246
+ derivedFrom: {
11247
+ property: string;
11248
+ targetProperty?: string | undefined;
11249
+ } | null | undefined;
10952
11250
  constraints: ({
10953
11251
  type: "property-sum";
10954
- property: string;
11252
+ fromProperty: string;
10955
11253
  leq: string;
10956
11254
  } | {
10957
11255
  type: "relationship-count";
10958
11256
  leq: string | number;
10959
11257
  })[];
11258
+ labels: {
11259
+ [x: string]: string;
11260
+ };
10960
11261
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
10961
11262
  fromEntityTypeName: string;
10962
11263
  toEntityTypeName: string;
@@ -10969,7 +11270,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10969
11270
  from: zod.ZodString;
10970
11271
  to: zod.ZodString;
10971
11272
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
10972
- states: zod.ZodArray<zod.ZodString, "many">;
11273
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
10973
11274
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
10974
11275
  name: zod.ZodString;
10975
11276
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -10996,17 +11297,28 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10996
11297
  enum?: string[] | undefined;
10997
11298
  }>, "many">>>;
10998
11299
  containment: zod.ZodOptional<zod.ZodBoolean>;
11300
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
11301
+ property: zod.ZodString;
11302
+ targetProperty: zod.ZodOptional<zod.ZodString>;
11303
+ }, "strip", zod.ZodTypeAny, {
11304
+ property: string;
11305
+ targetProperty?: string | undefined;
11306
+ }, {
11307
+ property: string;
11308
+ targetProperty?: string | undefined;
11309
+ }>>;
11310
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
10999
11311
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
11000
11312
  type: zod.ZodLiteral<"property-sum">;
11001
- property: zod.ZodString;
11313
+ fromProperty: zod.ZodString;
11002
11314
  leq: zod.ZodString;
11003
11315
  }, "strip", zod.ZodTypeAny, {
11004
11316
  type: "property-sum";
11005
- property: string;
11317
+ fromProperty: string;
11006
11318
  leq: string;
11007
11319
  }, {
11008
11320
  type: "property-sum";
11009
- property: string;
11321
+ fromProperty: string;
11010
11322
  leq: string;
11011
11323
  }>, zod.ZodObject<{
11012
11324
  type: zod.ZodLiteral<"relationship-count">;
@@ -11038,7 +11350,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11038
11350
  }[];
11039
11351
  constraints: ({
11040
11352
  type: "property-sum";
11041
- property: string;
11353
+ fromProperty: string;
11042
11354
  leq: string;
11043
11355
  } | {
11044
11356
  type: "relationship-count";
@@ -11048,16 +11360,21 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11048
11360
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
11049
11361
  to: string;
11050
11362
  displayName?: string | undefined;
11363
+ derivedFrom?: {
11364
+ property: string;
11365
+ targetProperty?: string | undefined;
11366
+ } | undefined;
11367
+ labels?: Record<string, string> | undefined;
11051
11368
  containment?: boolean | undefined;
11052
11369
  }, {
11053
11370
  name: string;
11054
11371
  from: string;
11055
11372
  orgId: string;
11056
11373
  projectId: string;
11057
- states: string[];
11058
11374
  kind: "RelationshipType";
11059
11375
  to: string;
11060
11376
  displayName?: string | undefined;
11377
+ states?: string[] | undefined;
11061
11378
  properties?: {
11062
11379
  name: string;
11063
11380
  type: "string" | "number" | "boolean" | "integer";
@@ -11067,14 +11384,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11067
11384
  title?: string | undefined;
11068
11385
  enum?: string[] | undefined;
11069
11386
  }[] | undefined;
11387
+ derivedFrom?: {
11388
+ property: string;
11389
+ targetProperty?: string | undefined;
11390
+ } | undefined;
11070
11391
  constraints?: ({
11071
11392
  type: "property-sum";
11072
- property: string;
11393
+ fromProperty: string;
11073
11394
  leq: string;
11074
11395
  } | {
11075
11396
  type: "relationship-count";
11076
11397
  leq: string | number;
11077
11398
  })[] | undefined;
11399
+ labels?: Record<string, string> | undefined;
11078
11400
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
11079
11401
  containment?: boolean | undefined;
11080
11402
  }>, {
@@ -11097,13 +11419,20 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11097
11419
  }[];
11098
11420
  constraints: ({
11099
11421
  type: "property-sum";
11100
- property: string;
11422
+ fromProperty: string;
11101
11423
  leq: string;
11102
11424
  } | {
11103
11425
  type: "relationship-count";
11104
11426
  leq: string | number;
11105
11427
  })[];
11106
11428
  containment: boolean;
11429
+ derivedFrom: {
11430
+ property: string;
11431
+ targetProperty?: string | undefined;
11432
+ } | null | undefined;
11433
+ labels: {
11434
+ [x: string]: string;
11435
+ };
11107
11436
  createdAt: string;
11108
11437
  updatedAt: string;
11109
11438
  }>;
@@ -11161,7 +11490,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11161
11490
  toEntity?: string | undefined;
11162
11491
  fromEntityCell?: string | undefined;
11163
11492
  toEntityCell?: string | undefined;
11164
- }>, {
11493
+ }>, ({
11494
+ origin: "explicit";
11165
11495
  fromEntityName: string;
11166
11496
  toEntityName: string;
11167
11497
  id: string;
@@ -11169,7 +11499,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11169
11499
  fromEntityId: string;
11170
11500
  toEntityId: string;
11171
11501
  state: string;
11172
- properties: hono_utils_types.JSONValue;
11173
11502
  labels: hono_utils_types.JSONValue;
11174
11503
  createdAt: string;
11175
11504
  updatedAt: string;
@@ -11178,7 +11507,25 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11178
11507
  envId: string;
11179
11508
  deletionScheduledAt: string | null;
11180
11509
  deletionGracePeriodSeconds: number | null;
11181
- }[]>;
11510
+ } | {
11511
+ id: null;
11512
+ relationshipTypeName: string;
11513
+ fromEntityName: string;
11514
+ toEntityName: string;
11515
+ origin: "derived" | "explicit";
11516
+ state: string | null;
11517
+ labels: {
11518
+ [x: string]: string;
11519
+ };
11520
+ fromEntityId: null;
11521
+ toEntityId: null;
11522
+ envId: null;
11523
+ orgId: null;
11524
+ projectId: null;
11525
+ createdAt: null;
11526
+ updatedAt: null;
11527
+ deletionScheduledAt: null;
11528
+ })[]>;
11182
11529
  get: SchemaFn<zod.ZodObject<{
11183
11530
  orgId: zod.ZodString;
11184
11531
  projectId: zod.ZodString;
@@ -11200,7 +11547,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11200
11547
  fromEntityId: string;
11201
11548
  toEntityId: string;
11202
11549
  state: string;
11203
- properties: hono_utils_types.JSONValue;
11204
11550
  labels: hono_utils_types.JSONValue;
11205
11551
  createdAt: string;
11206
11552
  updatedAt: string;
@@ -11216,7 +11562,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11216
11562
  from: zod.ZodString;
11217
11563
  to: zod.ZodString;
11218
11564
  state: zod.ZodOptional<zod.ZodString>;
11219
- properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
11220
11565
  labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
11221
11566
  } & {
11222
11567
  orgId: zod.ZodString;
@@ -11227,7 +11572,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11227
11572
  orgId: string;
11228
11573
  projectId: string;
11229
11574
  envName: string;
11230
- properties: Record<string, unknown>;
11231
11575
  relationshipType: string;
11232
11576
  kind: "Relationship";
11233
11577
  labels: Record<string, string>;
@@ -11242,23 +11586,21 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11242
11586
  kind: "Relationship";
11243
11587
  to: string;
11244
11588
  state?: string | undefined;
11245
- properties?: Record<string, unknown> | undefined;
11246
11589
  labels?: Record<string, string> | undefined;
11247
11590
  }>, {
11248
11591
  error: string;
11249
11592
  } | {
11250
11593
  id: string;
11594
+ relationshipTypeName: string;
11595
+ fromEntityId: string;
11596
+ toEntityId: string;
11597
+ state: string;
11598
+ labels: hono_utils_types.JSONValue;
11251
11599
  createdAt: string;
11252
11600
  updatedAt: string;
11253
- orgId: string;
11254
11601
  projectId: string;
11602
+ orgId: string;
11255
11603
  envId: string;
11256
- state: string;
11257
- properties: hono_utils_types.JSONValue;
11258
- labels: hono_utils_types.JSONValue;
11259
- relationshipTypeName: string;
11260
- fromEntityId: string;
11261
- toEntityId: string;
11262
11604
  deletionScheduledAt: string | null;
11263
11605
  deletionGracePeriodSeconds: number | null;
11264
11606
  }>;
@@ -11339,9 +11681,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11339
11681
  addToCell?: string | undefined;
11340
11682
  createRelationship?: {
11341
11683
  relationshipType: string;
11684
+ to: string;
11342
11685
  onSuccess: string;
11343
11686
  onFailure: string;
11344
- to: string;
11345
11687
  properties?: {
11346
11688
  [x: string]: string;
11347
11689
  } | undefined;
@@ -11409,10 +11751,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11409
11751
  type: "create-relationship";
11410
11752
  from: string;
11411
11753
  relationshipType: string;
11754
+ to: string;
11412
11755
  onTrigger: string;
11413
11756
  onSuccess: string;
11414
11757
  onFailure: string;
11415
- to: string;
11416
11758
  properties?: {
11417
11759
  [x: string]: string;
11418
11760
  } | undefined;
@@ -11434,10 +11776,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11434
11776
  } | {
11435
11777
  type: "migrate-relationship";
11436
11778
  relationshipType: string;
11779
+ to: string;
11437
11780
  onTrigger: string;
11438
11781
  onSuccess: string;
11439
11782
  onFailure: string;
11440
- to: string;
11441
11783
  };
11442
11784
  trigger: {
11443
11785
  type: "webhook";
@@ -11842,9 +12184,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11842
12184
  addToCell?: string | undefined;
11843
12185
  createRelationship?: {
11844
12186
  relationshipType: string;
12187
+ to: string;
11845
12188
  onSuccess: string;
11846
12189
  onFailure: string;
11847
- to: string;
11848
12190
  properties?: {
11849
12191
  [x: string]: string;
11850
12192
  } | undefined;
@@ -11912,10 +12254,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11912
12254
  type: "create-relationship";
11913
12255
  from: string;
11914
12256
  relationshipType: string;
12257
+ to: string;
11915
12258
  onTrigger: string;
11916
12259
  onSuccess: string;
11917
12260
  onFailure: string;
11918
- to: string;
11919
12261
  properties?: {
11920
12262
  [x: string]: string;
11921
12263
  } | undefined;
@@ -11937,10 +12279,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11937
12279
  } | {
11938
12280
  type: "migrate-relationship";
11939
12281
  relationshipType: string;
12282
+ to: string;
11940
12283
  onTrigger: string;
11941
12284
  onSuccess: string;
11942
12285
  onFailure: string;
11943
- to: string;
11944
12286
  };
11945
12287
  trigger: {
11946
12288
  type: "webhook";
@@ -12378,15 +12720,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12378
12720
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
12379
12721
  }, "strip", zod.ZodTypeAny, {
12380
12722
  relationshipType: string;
12723
+ to: string;
12381
12724
  onSuccess: string;
12382
12725
  onFailure: string;
12383
- to: string;
12384
12726
  properties?: Record<string, string> | undefined;
12385
12727
  }, {
12386
12728
  relationshipType: string;
12729
+ to: string;
12387
12730
  onSuccess: string;
12388
12731
  onFailure: string;
12389
- to: string;
12390
12732
  properties?: Record<string, string> | undefined;
12391
12733
  }>>;
12392
12734
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -12474,9 +12816,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12474
12816
  addToCell?: string | undefined;
12475
12817
  createRelationship?: {
12476
12818
  relationshipType: string;
12819
+ to: string;
12477
12820
  onSuccess: string;
12478
12821
  onFailure: string;
12479
- to: string;
12480
12822
  properties?: Record<string, string> | undefined;
12481
12823
  } | undefined;
12482
12824
  cascadeRules?: ({
@@ -12508,9 +12850,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12508
12850
  addToCell?: string | undefined;
12509
12851
  createRelationship?: {
12510
12852
  relationshipType: string;
12853
+ to: string;
12511
12854
  onSuccess: string;
12512
12855
  onFailure: string;
12513
- to: string;
12514
12856
  properties?: Record<string, string> | undefined;
12515
12857
  } | undefined;
12516
12858
  cascadeRules?: ({
@@ -12705,19 +13047,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12705
13047
  type: "create-relationship";
12706
13048
  from: string;
12707
13049
  relationshipType: string;
13050
+ to: string;
12708
13051
  onTrigger: string;
12709
13052
  onSuccess: string;
12710
13053
  onFailure: string;
12711
- to: string;
12712
13054
  properties?: Record<string, string> | undefined;
12713
13055
  }, {
12714
13056
  type: "create-relationship";
12715
13057
  from: string;
12716
13058
  relationshipType: string;
13059
+ to: string;
12717
13060
  onTrigger: string;
12718
13061
  onSuccess: string;
12719
13062
  onFailure: string;
12720
- to: string;
12721
13063
  properties?: Record<string, string> | undefined;
12722
13064
  }>, zod.ZodObject<{
12723
13065
  type: zod.ZodLiteral<"delete-relationship">;
@@ -12768,17 +13110,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12768
13110
  }, "strip", zod.ZodTypeAny, {
12769
13111
  type: "migrate-relationship";
12770
13112
  relationshipType: string;
13113
+ to: string;
12771
13114
  onTrigger: string;
12772
13115
  onSuccess: string;
12773
13116
  onFailure: string;
12774
- to: string;
12775
13117
  }, {
12776
13118
  type: "migrate-relationship";
12777
13119
  relationshipType: string;
13120
+ to: string;
12778
13121
  onTrigger: string;
12779
13122
  onSuccess: string;
12780
13123
  onFailure: string;
12781
- to: string;
12782
13124
  }>]>;
12783
13125
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
12784
13126
  type: zod.ZodLiteral<"webhook">;
@@ -14776,9 +15118,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14776
15118
  addToCell?: string | undefined;
14777
15119
  createRelationship?: {
14778
15120
  relationshipType: string;
15121
+ to: string;
14779
15122
  onSuccess: string;
14780
15123
  onFailure: string;
14781
- to: string;
14782
15124
  properties?: Record<string, string> | undefined;
14783
15125
  } | undefined;
14784
15126
  cascadeRules?: ({
@@ -14838,10 +15180,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14838
15180
  type: "create-relationship";
14839
15181
  from: string;
14840
15182
  relationshipType: string;
15183
+ to: string;
14841
15184
  onTrigger: string;
14842
15185
  onSuccess: string;
14843
15186
  onFailure: string;
14844
- to: string;
14845
15187
  properties?: Record<string, string> | undefined;
14846
15188
  } | {
14847
15189
  type: "delete-relationship";
@@ -14859,10 +15201,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14859
15201
  } | {
14860
15202
  type: "migrate-relationship";
14861
15203
  relationshipType: string;
15204
+ to: string;
14862
15205
  onTrigger: string;
14863
15206
  onSuccess: string;
14864
15207
  onFailure: string;
14865
- to: string;
14866
15208
  };
14867
15209
  associatedWith: {
14868
15210
  scope: "collection" | "instance";
@@ -15199,9 +15541,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15199
15541
  addToCell?: string | undefined;
15200
15542
  createRelationship?: {
15201
15543
  relationshipType: string;
15544
+ to: string;
15202
15545
  onSuccess: string;
15203
15546
  onFailure: string;
15204
- to: string;
15205
15547
  properties?: Record<string, string> | undefined;
15206
15548
  } | undefined;
15207
15549
  cascadeRules?: ({
@@ -15261,10 +15603,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15261
15603
  type: "create-relationship";
15262
15604
  from: string;
15263
15605
  relationshipType: string;
15606
+ to: string;
15264
15607
  onTrigger: string;
15265
15608
  onSuccess: string;
15266
15609
  onFailure: string;
15267
- to: string;
15268
15610
  properties?: Record<string, string> | undefined;
15269
15611
  } | {
15270
15612
  type: "delete-relationship";
@@ -15282,10 +15624,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15282
15624
  } | {
15283
15625
  type: "migrate-relationship";
15284
15626
  relationshipType: string;
15627
+ to: string;
15285
15628
  onTrigger: string;
15286
15629
  onSuccess: string;
15287
15630
  onFailure: string;
15288
- to: string;
15289
15631
  };
15290
15632
  associatedWith: {
15291
15633
  scope: "collection" | "instance";
@@ -15675,9 +16017,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15675
16017
  addToCell?: string | undefined;
15676
16018
  createRelationship?: {
15677
16019
  relationshipType: string;
16020
+ to: string;
15678
16021
  onSuccess: string;
15679
16022
  onFailure: string;
15680
- to: string;
15681
16023
  properties?: {
15682
16024
  [x: string]: string;
15683
16025
  } | undefined;
@@ -15745,10 +16087,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15745
16087
  type: "create-relationship";
15746
16088
  from: string;
15747
16089
  relationshipType: string;
16090
+ to: string;
15748
16091
  onTrigger: string;
15749
16092
  onSuccess: string;
15750
16093
  onFailure: string;
15751
- to: string;
15752
16094
  properties?: {
15753
16095
  [x: string]: string;
15754
16096
  } | undefined;
@@ -15770,10 +16112,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15770
16112
  } | {
15771
16113
  type: "migrate-relationship";
15772
16114
  relationshipType: string;
16115
+ to: string;
15773
16116
  onTrigger: string;
15774
16117
  onSuccess: string;
15775
16118
  onFailure: string;
15776
- to: string;
15777
16119
  };
15778
16120
  trigger: {
15779
16121
  type: "webhook";
@@ -16211,15 +16553,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16211
16553
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
16212
16554
  }, "strip", zod.ZodTypeAny, {
16213
16555
  relationshipType: string;
16556
+ to: string;
16214
16557
  onSuccess: string;
16215
16558
  onFailure: string;
16216
- to: string;
16217
16559
  properties?: Record<string, string> | undefined;
16218
16560
  }, {
16219
16561
  relationshipType: string;
16562
+ to: string;
16220
16563
  onSuccess: string;
16221
16564
  onFailure: string;
16222
- to: string;
16223
16565
  properties?: Record<string, string> | undefined;
16224
16566
  }>>;
16225
16567
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -16307,9 +16649,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16307
16649
  addToCell?: string | undefined;
16308
16650
  createRelationship?: {
16309
16651
  relationshipType: string;
16652
+ to: string;
16310
16653
  onSuccess: string;
16311
16654
  onFailure: string;
16312
- to: string;
16313
16655
  properties?: Record<string, string> | undefined;
16314
16656
  } | undefined;
16315
16657
  cascadeRules?: ({
@@ -16341,9 +16683,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16341
16683
  addToCell?: string | undefined;
16342
16684
  createRelationship?: {
16343
16685
  relationshipType: string;
16686
+ to: string;
16344
16687
  onSuccess: string;
16345
16688
  onFailure: string;
16346
- to: string;
16347
16689
  properties?: Record<string, string> | undefined;
16348
16690
  } | undefined;
16349
16691
  cascadeRules?: ({
@@ -16538,19 +16880,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16538
16880
  type: "create-relationship";
16539
16881
  from: string;
16540
16882
  relationshipType: string;
16883
+ to: string;
16541
16884
  onTrigger: string;
16542
16885
  onSuccess: string;
16543
16886
  onFailure: string;
16544
- to: string;
16545
16887
  properties?: Record<string, string> | undefined;
16546
16888
  }, {
16547
16889
  type: "create-relationship";
16548
16890
  from: string;
16549
16891
  relationshipType: string;
16892
+ to: string;
16550
16893
  onTrigger: string;
16551
16894
  onSuccess: string;
16552
16895
  onFailure: string;
16553
- to: string;
16554
16896
  properties?: Record<string, string> | undefined;
16555
16897
  }>, zod.ZodObject<{
16556
16898
  type: zod.ZodLiteral<"delete-relationship">;
@@ -16601,17 +16943,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16601
16943
  }, "strip", zod.ZodTypeAny, {
16602
16944
  type: "migrate-relationship";
16603
16945
  relationshipType: string;
16946
+ to: string;
16604
16947
  onTrigger: string;
16605
16948
  onSuccess: string;
16606
16949
  onFailure: string;
16607
- to: string;
16608
16950
  }, {
16609
16951
  type: "migrate-relationship";
16610
16952
  relationshipType: string;
16953
+ to: string;
16611
16954
  onTrigger: string;
16612
16955
  onSuccess: string;
16613
16956
  onFailure: string;
16614
- to: string;
16615
16957
  }>]>;
16616
16958
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
16617
16959
  type: zod.ZodLiteral<"webhook">;
@@ -18609,9 +18951,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18609
18951
  addToCell?: string | undefined;
18610
18952
  createRelationship?: {
18611
18953
  relationshipType: string;
18954
+ to: string;
18612
18955
  onSuccess: string;
18613
18956
  onFailure: string;
18614
- to: string;
18615
18957
  properties?: Record<string, string> | undefined;
18616
18958
  } | undefined;
18617
18959
  cascadeRules?: ({
@@ -18671,10 +19013,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18671
19013
  type: "create-relationship";
18672
19014
  from: string;
18673
19015
  relationshipType: string;
19016
+ to: string;
18674
19017
  onTrigger: string;
18675
19018
  onSuccess: string;
18676
19019
  onFailure: string;
18677
- to: string;
18678
19020
  properties?: Record<string, string> | undefined;
18679
19021
  } | {
18680
19022
  type: "delete-relationship";
@@ -18692,10 +19034,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18692
19034
  } | {
18693
19035
  type: "migrate-relationship";
18694
19036
  relationshipType: string;
19037
+ to: string;
18695
19038
  onTrigger: string;
18696
19039
  onSuccess: string;
18697
19040
  onFailure: string;
18698
- to: string;
18699
19041
  };
18700
19042
  associatedWith: {
18701
19043
  scope: "collection" | "instance";
@@ -19032,9 +19374,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19032
19374
  addToCell?: string | undefined;
19033
19375
  createRelationship?: {
19034
19376
  relationshipType: string;
19377
+ to: string;
19035
19378
  onSuccess: string;
19036
19379
  onFailure: string;
19037
- to: string;
19038
19380
  properties?: Record<string, string> | undefined;
19039
19381
  } | undefined;
19040
19382
  cascadeRules?: ({
@@ -19094,10 +19436,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19094
19436
  type: "create-relationship";
19095
19437
  from: string;
19096
19438
  relationshipType: string;
19439
+ to: string;
19097
19440
  onTrigger: string;
19098
19441
  onSuccess: string;
19099
19442
  onFailure: string;
19100
- to: string;
19101
19443
  properties?: Record<string, string> | undefined;
19102
19444
  } | {
19103
19445
  type: "delete-relationship";
@@ -19115,10 +19457,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19115
19457
  } | {
19116
19458
  type: "migrate-relationship";
19117
19459
  relationshipType: string;
19460
+ to: string;
19118
19461
  onTrigger: string;
19119
19462
  onSuccess: string;
19120
19463
  onFailure: string;
19121
- to: string;
19122
19464
  };
19123
19465
  associatedWith: {
19124
19466
  scope: "collection" | "instance";
@@ -19508,9 +19850,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19508
19850
  addToCell?: string | undefined;
19509
19851
  createRelationship?: {
19510
19852
  relationshipType: string;
19853
+ to: string;
19511
19854
  onSuccess: string;
19512
19855
  onFailure: string;
19513
- to: string;
19514
19856
  properties?: {
19515
19857
  [x: string]: string;
19516
19858
  } | undefined;
@@ -19578,10 +19920,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19578
19920
  type: "create-relationship";
19579
19921
  from: string;
19580
19922
  relationshipType: string;
19923
+ to: string;
19581
19924
  onTrigger: string;
19582
19925
  onSuccess: string;
19583
19926
  onFailure: string;
19584
- to: string;
19585
19927
  properties?: {
19586
19928
  [x: string]: string;
19587
19929
  } | undefined;
@@ -19603,10 +19945,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19603
19945
  } | {
19604
19946
  type: "migrate-relationship";
19605
19947
  relationshipType: string;
19948
+ to: string;
19606
19949
  onTrigger: string;
19607
19950
  onSuccess: string;
19608
19951
  onFailure: string;
19609
- to: string;
19610
19952
  };
19611
19953
  trigger: {
19612
19954
  type: "webhook";
@@ -20387,6 +20729,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20387
20729
  kind: "data" | "resource" | "module";
20388
20730
  address: string;
20389
20731
  }>, "many">>;
20732
+ strictComposition: zod.ZodOptional<zod.ZodBoolean>;
20390
20733
  labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20391
20734
  labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20392
20735
  }, "strip", zod.ZodTypeAny, {
@@ -20431,6 +20774,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20431
20774
  kind: "data" | "resource" | "module";
20432
20775
  address: string;
20433
20776
  }[] | undefined;
20777
+ strictComposition?: boolean | undefined;
20434
20778
  syncFreshness?: {
20435
20779
  greenSeconds?: number | undefined;
20436
20780
  yellowSeconds?: number | undefined;
@@ -20479,6 +20823,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20479
20823
  kind: "data" | "resource" | "module";
20480
20824
  address: string;
20481
20825
  }[] | undefined;
20826
+ strictComposition?: boolean | undefined;
20482
20827
  syncTracked?: boolean | undefined;
20483
20828
  syncFreshness?: {
20484
20829
  greenSeconds?: number | undefined;
@@ -20879,7 +21224,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20879
21224
  from: zod.ZodString;
20880
21225
  to: zod.ZodString;
20881
21226
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
20882
- states: zod.ZodArray<zod.ZodString, "many">;
21227
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
20883
21228
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
20884
21229
  name: zod.ZodString;
20885
21230
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -20906,17 +21251,28 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20906
21251
  enum?: string[] | undefined;
20907
21252
  }>, "many">>>;
20908
21253
  containment: zod.ZodOptional<zod.ZodBoolean>;
20909
- constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
20910
- type: zod.ZodLiteral<"property-sum">;
21254
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
20911
21255
  property: zod.ZodString;
20912
- leq: zod.ZodString;
21256
+ targetProperty: zod.ZodOptional<zod.ZodString>;
20913
21257
  }, "strip", zod.ZodTypeAny, {
20914
- type: "property-sum";
20915
21258
  property: string;
20916
- leq: string;
21259
+ targetProperty?: string | undefined;
20917
21260
  }, {
20918
- type: "property-sum";
20919
21261
  property: string;
21262
+ targetProperty?: string | undefined;
21263
+ }>>;
21264
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
21265
+ constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
21266
+ type: zod.ZodLiteral<"property-sum">;
21267
+ fromProperty: zod.ZodString;
21268
+ leq: zod.ZodString;
21269
+ }, "strip", zod.ZodTypeAny, {
21270
+ type: "property-sum";
21271
+ fromProperty: string;
21272
+ leq: string;
21273
+ }, {
21274
+ type: "property-sum";
21275
+ fromProperty: string;
20920
21276
  leq: string;
20921
21277
  }>, zod.ZodObject<{
20922
21278
  type: zod.ZodLiteral<"relationship-count">;
@@ -20943,7 +21299,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20943
21299
  }[];
20944
21300
  constraints: ({
20945
21301
  type: "property-sum";
20946
- property: string;
21302
+ fromProperty: string;
20947
21303
  leq: string;
20948
21304
  } | {
20949
21305
  type: "relationship-count";
@@ -20953,14 +21309,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20953
21309
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
20954
21310
  to: string;
20955
21311
  displayName?: string | undefined;
21312
+ derivedFrom?: {
21313
+ property: string;
21314
+ targetProperty?: string | undefined;
21315
+ } | undefined;
21316
+ labels?: Record<string, string> | undefined;
20956
21317
  containment?: boolean | undefined;
20957
21318
  }, {
20958
21319
  name: string;
20959
21320
  from: string;
20960
- states: string[];
20961
21321
  kind: "RelationshipType";
20962
21322
  to: string;
20963
21323
  displayName?: string | undefined;
21324
+ states?: string[] | undefined;
20964
21325
  properties?: {
20965
21326
  name: string;
20966
21327
  type: "string" | "number" | "boolean" | "integer";
@@ -20970,14 +21331,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20970
21331
  title?: string | undefined;
20971
21332
  enum?: string[] | undefined;
20972
21333
  }[] | undefined;
21334
+ derivedFrom?: {
21335
+ property: string;
21336
+ targetProperty?: string | undefined;
21337
+ } | undefined;
20973
21338
  constraints?: ({
20974
21339
  type: "property-sum";
20975
- property: string;
21340
+ fromProperty: string;
20976
21341
  leq: string;
20977
21342
  } | {
20978
21343
  type: "relationship-count";
20979
21344
  leq: string | number;
20980
21345
  })[] | undefined;
21346
+ labels?: Record<string, string> | undefined;
20981
21347
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
20982
21348
  containment?: boolean | undefined;
20983
21349
  }>, zod.ZodObject<{
@@ -21072,15 +21438,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21072
21438
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
21073
21439
  }, "strip", zod.ZodTypeAny, {
21074
21440
  relationshipType: string;
21441
+ to: string;
21075
21442
  onSuccess: string;
21076
21443
  onFailure: string;
21077
- to: string;
21078
21444
  properties?: Record<string, string> | undefined;
21079
21445
  }, {
21080
21446
  relationshipType: string;
21447
+ to: string;
21081
21448
  onSuccess: string;
21082
21449
  onFailure: string;
21083
- to: string;
21084
21450
  properties?: Record<string, string> | undefined;
21085
21451
  }>>;
21086
21452
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -21168,9 +21534,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21168
21534
  addToCell?: string | undefined;
21169
21535
  createRelationship?: {
21170
21536
  relationshipType: string;
21537
+ to: string;
21171
21538
  onSuccess: string;
21172
21539
  onFailure: string;
21173
- to: string;
21174
21540
  properties?: Record<string, string> | undefined;
21175
21541
  } | undefined;
21176
21542
  cascadeRules?: ({
@@ -21202,9 +21568,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21202
21568
  addToCell?: string | undefined;
21203
21569
  createRelationship?: {
21204
21570
  relationshipType: string;
21571
+ to: string;
21205
21572
  onSuccess: string;
21206
21573
  onFailure: string;
21207
- to: string;
21208
21574
  properties?: Record<string, string> | undefined;
21209
21575
  } | undefined;
21210
21576
  cascadeRules?: ({
@@ -21399,19 +21765,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21399
21765
  type: "create-relationship";
21400
21766
  from: string;
21401
21767
  relationshipType: string;
21768
+ to: string;
21402
21769
  onTrigger: string;
21403
21770
  onSuccess: string;
21404
21771
  onFailure: string;
21405
- to: string;
21406
21772
  properties?: Record<string, string> | undefined;
21407
21773
  }, {
21408
21774
  type: "create-relationship";
21409
21775
  from: string;
21410
21776
  relationshipType: string;
21777
+ to: string;
21411
21778
  onTrigger: string;
21412
21779
  onSuccess: string;
21413
21780
  onFailure: string;
21414
- to: string;
21415
21781
  properties?: Record<string, string> | undefined;
21416
21782
  }>, zod.ZodObject<{
21417
21783
  type: zod.ZodLiteral<"delete-relationship">;
@@ -21462,17 +21828,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21462
21828
  }, "strip", zod.ZodTypeAny, {
21463
21829
  type: "migrate-relationship";
21464
21830
  relationshipType: string;
21831
+ to: string;
21465
21832
  onTrigger: string;
21466
21833
  onSuccess: string;
21467
21834
  onFailure: string;
21468
- to: string;
21469
21835
  }, {
21470
21836
  type: "migrate-relationship";
21471
21837
  relationshipType: string;
21838
+ to: string;
21472
21839
  onTrigger: string;
21473
21840
  onSuccess: string;
21474
21841
  onFailure: string;
21475
- to: string;
21476
21842
  }>]>;
21477
21843
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
21478
21844
  type: zod.ZodLiteral<"webhook">;
@@ -23465,9 +23831,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23465
23831
  addToCell?: string | undefined;
23466
23832
  createRelationship?: {
23467
23833
  relationshipType: string;
23834
+ to: string;
23468
23835
  onSuccess: string;
23469
23836
  onFailure: string;
23470
- to: string;
23471
23837
  properties?: Record<string, string> | undefined;
23472
23838
  } | undefined;
23473
23839
  cascadeRules?: ({
@@ -23527,10 +23893,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23527
23893
  type: "create-relationship";
23528
23894
  from: string;
23529
23895
  relationshipType: string;
23896
+ to: string;
23530
23897
  onTrigger: string;
23531
23898
  onSuccess: string;
23532
23899
  onFailure: string;
23533
- to: string;
23534
23900
  properties?: Record<string, string> | undefined;
23535
23901
  } | {
23536
23902
  type: "delete-relationship";
@@ -23548,10 +23914,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23548
23914
  } | {
23549
23915
  type: "migrate-relationship";
23550
23916
  relationshipType: string;
23917
+ to: string;
23551
23918
  onTrigger: string;
23552
23919
  onSuccess: string;
23553
23920
  onFailure: string;
23554
- to: string;
23555
23921
  };
23556
23922
  associatedWith: {
23557
23923
  scope: "collection" | "instance";
@@ -23886,9 +24252,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23886
24252
  addToCell?: string | undefined;
23887
24253
  createRelationship?: {
23888
24254
  relationshipType: string;
24255
+ to: string;
23889
24256
  onSuccess: string;
23890
24257
  onFailure: string;
23891
- to: string;
23892
24258
  properties?: Record<string, string> | undefined;
23893
24259
  } | undefined;
23894
24260
  cascadeRules?: ({
@@ -23948,10 +24314,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23948
24314
  type: "create-relationship";
23949
24315
  from: string;
23950
24316
  relationshipType: string;
24317
+ to: string;
23951
24318
  onTrigger: string;
23952
24319
  onSuccess: string;
23953
24320
  onFailure: string;
23954
- to: string;
23955
24321
  properties?: Record<string, string> | undefined;
23956
24322
  } | {
23957
24323
  type: "delete-relationship";
@@ -23969,10 +24335,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23969
24335
  } | {
23970
24336
  type: "migrate-relationship";
23971
24337
  relationshipType: string;
24338
+ to: string;
23972
24339
  onTrigger: string;
23973
24340
  onSuccess: string;
23974
24341
  onFailure: string;
23975
- to: string;
23976
24342
  };
23977
24343
  associatedWith: {
23978
24344
  scope: "collection" | "instance";
@@ -24360,11 +24726,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24360
24726
  from: zod.ZodString;
24361
24727
  to: zod.ZodString;
24362
24728
  state: zod.ZodOptional<zod.ZodString>;
24363
- properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
24364
24729
  labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
24365
24730
  }, "strip", zod.ZodTypeAny, {
24366
24731
  from: string;
24367
- properties: Record<string, unknown>;
24368
24732
  relationshipType: string;
24369
24733
  kind: "Relationship";
24370
24734
  labels: Record<string, string>;
@@ -24376,7 +24740,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24376
24740
  kind: "Relationship";
24377
24741
  to: string;
24378
24742
  state?: string | undefined;
24379
- properties?: Record<string, unknown> | undefined;
24380
24743
  labels?: Record<string, string> | undefined;
24381
24744
  }>, zod.ZodObject<{
24382
24745
  kind: zod.ZodLiteral<"DeploymentTarget">;
@@ -24445,10 +24808,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24445
24808
  name: zod.ZodString;
24446
24809
  }, "strip", zod.ZodTypeAny, {
24447
24810
  name: string;
24448
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
24811
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
24449
24812
  }, {
24450
24813
  name: string;
24451
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
24814
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
24452
24815
  }>, "many">>>;
24453
24816
  dryRun: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
24454
24817
  } & {
@@ -24460,6 +24823,37 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24460
24823
  projectId: string;
24461
24824
  envName: string;
24462
24825
  items: ({
24826
+ name: string;
24827
+ from: string;
24828
+ states: string[];
24829
+ properties: {
24830
+ name: string;
24831
+ type: "string" | "number" | "boolean" | "integer";
24832
+ required: boolean;
24833
+ description?: string | undefined;
24834
+ default?: string | number | boolean | undefined;
24835
+ title?: string | undefined;
24836
+ enum?: string[] | undefined;
24837
+ }[];
24838
+ constraints: ({
24839
+ type: "property-sum";
24840
+ fromProperty: string;
24841
+ leq: string;
24842
+ } | {
24843
+ type: "relationship-count";
24844
+ leq: string | number;
24845
+ })[];
24846
+ kind: "RelationshipType";
24847
+ cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
24848
+ to: string;
24849
+ displayName?: string | undefined;
24850
+ derivedFrom?: {
24851
+ property: string;
24852
+ targetProperty?: string | undefined;
24853
+ } | undefined;
24854
+ labels?: Record<string, string> | undefined;
24855
+ containment?: boolean | undefined;
24856
+ } | {
24463
24857
  parameters: {
24464
24858
  name: string;
24465
24859
  type: "string" | "number" | "boolean" | "integer";
@@ -24495,9 +24889,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24495
24889
  addToCell?: string | undefined;
24496
24890
  createRelationship?: {
24497
24891
  relationshipType: string;
24892
+ to: string;
24498
24893
  onSuccess: string;
24499
24894
  onFailure: string;
24500
- to: string;
24501
24895
  properties?: Record<string, string> | undefined;
24502
24896
  } | undefined;
24503
24897
  cascadeRules?: ({
@@ -24557,10 +24951,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24557
24951
  type: "create-relationship";
24558
24952
  from: string;
24559
24953
  relationshipType: string;
24954
+ to: string;
24560
24955
  onTrigger: string;
24561
24956
  onSuccess: string;
24562
24957
  onFailure: string;
24563
- to: string;
24564
24958
  properties?: Record<string, string> | undefined;
24565
24959
  } | {
24566
24960
  type: "delete-relationship";
@@ -24578,10 +24972,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24578
24972
  } | {
24579
24973
  type: "migrate-relationship";
24580
24974
  relationshipType: string;
24975
+ to: string;
24581
24976
  onTrigger: string;
24582
24977
  onSuccess: string;
24583
24978
  onFailure: string;
24584
- to: string;
24585
24979
  };
24586
24980
  associatedWith: {
24587
24981
  scope: "collection" | "instance";
@@ -24944,6 +25338,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24944
25338
  kind: "data" | "resource" | "module";
24945
25339
  address: string;
24946
25340
  }[] | undefined;
25341
+ strictComposition?: boolean | undefined;
24947
25342
  syncFreshness?: {
24948
25343
  greenSeconds?: number | undefined;
24949
25344
  yellowSeconds?: number | undefined;
@@ -25004,32 +25399,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25004
25399
  value?: string | undefined;
25005
25400
  };
25006
25401
  } | undefined;
25007
- } | {
25008
- name: string;
25009
- from: string;
25010
- states: string[];
25011
- properties: {
25012
- name: string;
25013
- type: "string" | "number" | "boolean" | "integer";
25014
- required: boolean;
25015
- description?: string | undefined;
25016
- default?: string | number | boolean | undefined;
25017
- title?: string | undefined;
25018
- enum?: string[] | undefined;
25019
- }[];
25020
- constraints: ({
25021
- type: "property-sum";
25022
- property: string;
25023
- leq: string;
25024
- } | {
25025
- type: "relationship-count";
25026
- leq: string | number;
25027
- })[];
25028
- kind: "RelationshipType";
25029
- cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
25030
- to: string;
25031
- displayName?: string | undefined;
25032
- containment?: boolean | undefined;
25033
25402
  } | {
25034
25403
  name: string;
25035
25404
  kind: "Secret";
@@ -25045,7 +25414,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25045
25414
  syncSource?: string | undefined;
25046
25415
  } | {
25047
25416
  from: string;
25048
- properties: Record<string, unknown>;
25049
25417
  relationshipType: string;
25050
25418
  kind: "Relationship";
25051
25419
  labels: Record<string, string>;
@@ -25074,7 +25442,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25074
25442
  })[];
25075
25443
  deletions: {
25076
25444
  name: string;
25077
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
25445
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
25078
25446
  }[];
25079
25447
  force: boolean;
25080
25448
  dryRun: boolean;
@@ -25083,6 +25451,37 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25083
25451
  projectId: string;
25084
25452
  envName: string;
25085
25453
  items: ({
25454
+ name: string;
25455
+ from: string;
25456
+ kind: "RelationshipType";
25457
+ to: string;
25458
+ displayName?: string | undefined;
25459
+ states?: string[] | undefined;
25460
+ properties?: {
25461
+ name: string;
25462
+ type: "string" | "number" | "boolean" | "integer";
25463
+ description?: string | undefined;
25464
+ default?: string | number | boolean | undefined;
25465
+ required?: boolean | undefined;
25466
+ title?: string | undefined;
25467
+ enum?: string[] | undefined;
25468
+ }[] | undefined;
25469
+ derivedFrom?: {
25470
+ property: string;
25471
+ targetProperty?: string | undefined;
25472
+ } | undefined;
25473
+ constraints?: ({
25474
+ type: "property-sum";
25475
+ fromProperty: string;
25476
+ leq: string;
25477
+ } | {
25478
+ type: "relationship-count";
25479
+ leq: string | number;
25480
+ })[] | undefined;
25481
+ labels?: Record<string, string> | undefined;
25482
+ cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
25483
+ containment?: boolean | undefined;
25484
+ } | {
25086
25485
  name: string;
25087
25486
  kind: "Action";
25088
25487
  operation: {
@@ -25096,9 +25495,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25096
25495
  addToCell?: string | undefined;
25097
25496
  createRelationship?: {
25098
25497
  relationshipType: string;
25498
+ to: string;
25099
25499
  onSuccess: string;
25100
25500
  onFailure: string;
25101
- to: string;
25102
25501
  properties?: Record<string, string> | undefined;
25103
25502
  } | undefined;
25104
25503
  cascadeRules?: ({
@@ -25158,10 +25557,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25158
25557
  type: "create-relationship";
25159
25558
  from: string;
25160
25559
  relationshipType: string;
25560
+ to: string;
25161
25561
  onTrigger: string;
25162
25562
  onSuccess: string;
25163
25563
  onFailure: string;
25164
- to: string;
25165
25564
  properties?: Record<string, string> | undefined;
25166
25565
  } | {
25167
25566
  type: "delete-relationship";
@@ -25179,10 +25578,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25179
25578
  } | {
25180
25579
  type: "migrate-relationship";
25181
25580
  relationshipType: string;
25581
+ to: string;
25182
25582
  onTrigger: string;
25183
25583
  onSuccess: string;
25184
25584
  onFailure: string;
25185
- to: string;
25186
25585
  };
25187
25586
  associatedWith: {
25188
25587
  scope: "collection" | "instance";
@@ -25566,6 +25965,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25566
25965
  kind: "data" | "resource" | "module";
25567
25966
  address: string;
25568
25967
  }[] | undefined;
25968
+ strictComposition?: boolean | undefined;
25569
25969
  syncTracked?: boolean | undefined;
25570
25970
  syncFreshness?: {
25571
25971
  greenSeconds?: number | undefined;
@@ -25627,32 +26027,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25627
26027
  value?: string | undefined;
25628
26028
  };
25629
26029
  } | undefined;
25630
- } | {
25631
- name: string;
25632
- from: string;
25633
- states: string[];
25634
- kind: "RelationshipType";
25635
- to: string;
25636
- displayName?: string | undefined;
25637
- properties?: {
25638
- name: string;
25639
- type: "string" | "number" | "boolean" | "integer";
25640
- description?: string | undefined;
25641
- default?: string | number | boolean | undefined;
25642
- required?: boolean | undefined;
25643
- title?: string | undefined;
25644
- enum?: string[] | undefined;
25645
- }[] | undefined;
25646
- constraints?: ({
25647
- type: "property-sum";
25648
- property: string;
25649
- leq: string;
25650
- } | {
25651
- type: "relationship-count";
25652
- leq: string | number;
25653
- })[] | undefined;
25654
- cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
25655
- containment?: boolean | undefined;
25656
26030
  } | {
25657
26031
  name: string;
25658
26032
  kind: "Secret";
@@ -25672,7 +26046,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25672
26046
  kind: "Relationship";
25673
26047
  to: string;
25674
26048
  state?: string | undefined;
25675
- properties?: Record<string, unknown> | undefined;
25676
26049
  labels?: Record<string, string> | undefined;
25677
26050
  } | {
25678
26051
  name: string;
@@ -25697,7 +26070,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25697
26070
  })[];
25698
26071
  deletions?: {
25699
26072
  name: string;
25700
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
26073
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
25701
26074
  }[] | undefined;
25702
26075
  force?: boolean | undefined;
25703
26076
  dryRun?: boolean | undefined;
@@ -26096,6 +26469,114 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26096
26469
  status: string;
26097
26470
  }>;
26098
26471
  };
26472
+ conformanceFindings: {
26473
+ list: SchemaFn<zod.ZodObject<{
26474
+ orgId: zod.ZodString;
26475
+ projectId: zod.ZodString;
26476
+ envName: zod.ZodString;
26477
+ status: zod.ZodOptional<zod.ZodEnum<["open", "resolved", "ignored"]>>;
26478
+ severity: zod.ZodOptional<zod.ZodEnum<["critical", "high", "medium", "low", "info"]>>;
26479
+ kind: zod.ZodOptional<zod.ZodString>;
26480
+ findingKind: zod.ZodOptional<zod.ZodString>;
26481
+ entityName: zod.ZodOptional<zod.ZodString>;
26482
+ limit: zod.ZodOptional<zod.ZodNumber>;
26483
+ }, "strip", zod.ZodTypeAny, {
26484
+ orgId: string;
26485
+ projectId: string;
26486
+ envName: string;
26487
+ status?: "open" | "resolved" | "ignored" | undefined;
26488
+ limit?: number | undefined;
26489
+ kind?: string | undefined;
26490
+ entityName?: string | undefined;
26491
+ findingKind?: string | undefined;
26492
+ severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
26493
+ }, {
26494
+ orgId: string;
26495
+ projectId: string;
26496
+ envName: string;
26497
+ status?: "open" | "resolved" | "ignored" | undefined;
26498
+ limit?: number | undefined;
26499
+ kind?: string | undefined;
26500
+ entityName?: string | undefined;
26501
+ findingKind?: string | undefined;
26502
+ severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
26503
+ }>, {
26504
+ detectedAt: string;
26505
+ lastSeenAt: string;
26506
+ updatedAt: string;
26507
+ id: string;
26508
+ projectId: string | null;
26509
+ envId: string;
26510
+ entityId: string | null;
26511
+ relationshipId: string | null;
26512
+ entityTypeName: string | null;
26513
+ entityName: string | null;
26514
+ findingKind: string;
26515
+ severity: string;
26516
+ status: string;
26517
+ fieldPath: string | null;
26518
+ schemaRef: string | null;
26519
+ schemaVersion: string | null;
26520
+ expected: hono_utils_types.JSONValue;
26521
+ actual: hono_utils_types.JSONValue;
26522
+ message: string;
26523
+ dedupKey: string;
26524
+ auditRunId: string | null;
26525
+ }[]>;
26526
+ count: SchemaFn<zod.ZodObject<{
26527
+ orgId: zod.ZodString;
26528
+ projectId: zod.ZodString;
26529
+ envName: zod.ZodString;
26530
+ }, "strip", zod.ZodTypeAny, {
26531
+ orgId: string;
26532
+ projectId: string;
26533
+ envName: string;
26534
+ }, {
26535
+ orgId: string;
26536
+ projectId: string;
26537
+ envName: string;
26538
+ }>, {
26539
+ count: number;
26540
+ }>;
26541
+ get: SchemaFn<zod.ZodObject<{
26542
+ orgId: zod.ZodString;
26543
+ projectId: zod.ZodString;
26544
+ envName: zod.ZodString;
26545
+ id: zod.ZodString;
26546
+ }, "strip", zod.ZodTypeAny, {
26547
+ id: string;
26548
+ orgId: string;
26549
+ projectId: string;
26550
+ envName: string;
26551
+ }, {
26552
+ id: string;
26553
+ orgId: string;
26554
+ projectId: string;
26555
+ envName: string;
26556
+ }>, {
26557
+ detectedAt: string;
26558
+ lastSeenAt: string;
26559
+ updatedAt: string;
26560
+ id: string;
26561
+ projectId: string | null;
26562
+ envId: string;
26563
+ entityId: string | null;
26564
+ relationshipId: string | null;
26565
+ entityTypeName: string | null;
26566
+ entityName: string | null;
26567
+ findingKind: string;
26568
+ severity: string;
26569
+ status: string;
26570
+ fieldPath: string | null;
26571
+ schemaRef: string | null;
26572
+ schemaVersion: string | null;
26573
+ expected: hono_utils_types.JSONValue;
26574
+ actual: hono_utils_types.JSONValue;
26575
+ message: string;
26576
+ dedupKey: string;
26577
+ auditRunId: string | null;
26578
+ }>;
26579
+ };
26099
26580
  stats: {
26100
26581
  entitiesByState: SchemaFn<zod.ZodObject<{
26101
26582
  orgId: zod.ZodString;
@@ -26197,41 +26678,61 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26197
26678
  ownerUserId: string | null;
26198
26679
  name: string;
26199
26680
  isDefault: boolean;
26200
- config: {
26201
- sort: {
26202
- cells: "name" | "memberCount" | "capacityUsed";
26203
- entities: "name" | "updatedAt" | "state";
26681
+ pinnedPositions: {
26682
+ [x: string]: {
26683
+ x: number;
26684
+ y: number;
26685
+ };
26686
+ } | null;
26687
+ viewSpec: {
26688
+ schemaVersion: 1;
26689
+ grouping: {
26690
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
26691
+ aggregate: {
26692
+ byType: boolean;
26693
+ threshold: number;
26694
+ };
26695
+ labelKey?: string | undefined;
26204
26696
  };
26205
- filter: {
26697
+ edges: {
26698
+ mode: "all" | "none" | "problems";
26699
+ labels: ("type" | "count")[];
26700
+ render: "refs" | "lines";
26701
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
26702
+ };
26703
+ filters: {
26206
26704
  entityTypes: string[];
26207
- states: string[];
26208
26705
  labels: {
26209
26706
  [x: string]: string[];
26210
26707
  };
26211
- relationshipTypes?: string[] | undefined;
26212
- cellNames?: string[] | undefined;
26213
- };
26214
- grouping: {
26215
- cellsEnabled: boolean;
26216
- partitionsEnabled: boolean;
26217
- };
26218
- cardDisplay: {
26219
- properties: string[] | "all" | "required";
26220
- showState: boolean;
26221
- inlineRelationships: boolean;
26222
- maxRelsPerCard: number;
26223
- drawEdges: boolean;
26224
- };
26225
- layout: {
26226
- mode: "auto" | "free";
26227
- positionsPinned: boolean;
26228
- };
26229
- };
26230
- pinnedPositions: {
26231
- [x: string]: {
26232
- x: number;
26233
- y: number;
26708
+ cells: string[];
26709
+ relationshipTypes: string[];
26710
+ deploymentTargets: string[];
26711
+ lifecycle: string[];
26712
+ conformance: ("conformant" | "non-conformant")[];
26713
+ };
26714
+ focus: {
26715
+ direction: "both" | "upstream" | "downstream";
26716
+ roots: string[];
26717
+ maxHops: 2 | 1 | 3 | "∞";
26718
+ edgeTypes: string[];
26719
+ };
26720
+ expansion: {
26721
+ [x: string]: "expanded" | "collapsed";
26722
+ };
26723
+ style: {
26724
+ selector: string;
26725
+ style: {
26726
+ [x: string]: string;
26727
+ };
26728
+ }[];
26729
+ pins: {
26730
+ [x: string]: {
26731
+ x: number;
26732
+ y: number;
26733
+ };
26234
26734
  };
26735
+ interaction: "auto" | "free";
26235
26736
  } | null;
26236
26737
  createdAt: string;
26237
26738
  updatedAt: string;
@@ -26256,41 +26757,61 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26256
26757
  ownerUserId: string | null;
26257
26758
  name: string;
26258
26759
  isDefault: boolean;
26259
- config: {
26260
- sort: {
26261
- cells: "name" | "memberCount" | "capacityUsed";
26262
- entities: "name" | "updatedAt" | "state";
26760
+ pinnedPositions: {
26761
+ [x: string]: {
26762
+ x: number;
26763
+ y: number;
26764
+ };
26765
+ } | null;
26766
+ viewSpec: {
26767
+ schemaVersion: 1;
26768
+ grouping: {
26769
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
26770
+ aggregate: {
26771
+ byType: boolean;
26772
+ threshold: number;
26773
+ };
26774
+ labelKey?: string | undefined;
26263
26775
  };
26264
- filter: {
26776
+ edges: {
26777
+ mode: "all" | "none" | "problems";
26778
+ labels: ("type" | "count")[];
26779
+ render: "refs" | "lines";
26780
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
26781
+ };
26782
+ filters: {
26265
26783
  entityTypes: string[];
26266
- states: string[];
26267
26784
  labels: {
26268
26785
  [x: string]: string[];
26269
26786
  };
26270
- relationshipTypes?: string[] | undefined;
26271
- cellNames?: string[] | undefined;
26272
- };
26273
- grouping: {
26274
- cellsEnabled: boolean;
26275
- partitionsEnabled: boolean;
26276
- };
26277
- cardDisplay: {
26278
- properties: string[] | "all" | "required";
26279
- showState: boolean;
26280
- inlineRelationships: boolean;
26281
- maxRelsPerCard: number;
26282
- drawEdges: boolean;
26283
- };
26284
- layout: {
26285
- mode: "auto" | "free";
26286
- positionsPinned: boolean;
26287
- };
26288
- };
26289
- pinnedPositions: {
26290
- [x: string]: {
26291
- x: number;
26292
- y: number;
26787
+ cells: string[];
26788
+ relationshipTypes: string[];
26789
+ deploymentTargets: string[];
26790
+ lifecycle: string[];
26791
+ conformance: ("conformant" | "non-conformant")[];
26792
+ };
26793
+ focus: {
26794
+ direction: "both" | "upstream" | "downstream";
26795
+ roots: string[];
26796
+ maxHops: 2 | 1 | 3 | "∞";
26797
+ edgeTypes: string[];
26798
+ };
26799
+ expansion: {
26800
+ [x: string]: "expanded" | "collapsed";
26801
+ };
26802
+ style: {
26803
+ selector: string;
26804
+ style: {
26805
+ [x: string]: string;
26806
+ };
26807
+ }[];
26808
+ pins: {
26809
+ [x: string]: {
26810
+ x: number;
26811
+ y: number;
26812
+ };
26293
26813
  };
26814
+ interaction: "auto" | "free";
26294
26815
  } | null;
26295
26816
  createdAt: string;
26296
26817
  updatedAt: string;
@@ -26300,7 +26821,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26300
26821
  projectId: zod.ZodString;
26301
26822
  name: zod.ZodString;
26302
26823
  scope: zod.ZodEnum<["user", "project"]>;
26303
- config: zod.ZodUnknown;
26304
26824
  pinnedPositions: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
26305
26825
  x: zod.ZodNumber;
26306
26826
  y: zod.ZodNumber;
@@ -26311,26 +26831,27 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26311
26831
  x: number;
26312
26832
  y: number;
26313
26833
  }>>>>;
26834
+ viewSpec: zod.ZodOptional<zod.ZodNullable<zod.ZodUnknown>>;
26314
26835
  }, "strip", zod.ZodTypeAny, {
26315
26836
  name: string;
26316
26837
  orgId: string;
26317
26838
  projectId: string;
26318
26839
  scope: "user" | "project";
26319
- config?: unknown;
26320
26840
  pinnedPositions?: Record<string, {
26321
26841
  x: number;
26322
26842
  y: number;
26323
26843
  }> | null | undefined;
26844
+ viewSpec?: unknown;
26324
26845
  }, {
26325
26846
  name: string;
26326
26847
  orgId: string;
26327
26848
  projectId: string;
26328
26849
  scope: "user" | "project";
26329
- config?: unknown;
26330
26850
  pinnedPositions?: Record<string, {
26331
26851
  x: number;
26332
26852
  y: number;
26333
26853
  }> | null | undefined;
26854
+ viewSpec?: unknown;
26334
26855
  }>, {
26335
26856
  name: string;
26336
26857
  id: string;
@@ -26340,36 +26861,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26340
26861
  projectId: string;
26341
26862
  isDefault: boolean;
26342
26863
  scope: "user" | "project";
26343
- config: {
26344
- sort: {
26345
- cells: "name" | "memberCount" | "capacityUsed";
26346
- entities: "name" | "updatedAt" | "state";
26347
- };
26348
- filter: {
26349
- entityTypes: string[];
26350
- states: string[];
26351
- labels: {
26352
- [x: string]: string[];
26353
- };
26354
- relationshipTypes?: string[] | undefined;
26355
- cellNames?: string[] | undefined;
26356
- };
26357
- grouping: {
26358
- cellsEnabled: boolean;
26359
- partitionsEnabled: boolean;
26360
- };
26361
- cardDisplay: {
26362
- properties: string[] | "all" | "required";
26363
- showState: boolean;
26364
- inlineRelationships: boolean;
26365
- maxRelsPerCard: number;
26366
- drawEdges: boolean;
26367
- };
26368
- layout: {
26369
- mode: "auto" | "free";
26370
- positionsPinned: boolean;
26371
- };
26372
- };
26373
26864
  ownerUserId: string | null;
26374
26865
  pinnedPositions: {
26375
26866
  [x: string]: {
@@ -26377,13 +26868,62 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26377
26868
  y: number;
26378
26869
  };
26379
26870
  } | null;
26871
+ viewSpec: {
26872
+ schemaVersion: 1;
26873
+ grouping: {
26874
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
26875
+ aggregate: {
26876
+ byType: boolean;
26877
+ threshold: number;
26878
+ };
26879
+ labelKey?: string | undefined;
26880
+ };
26881
+ edges: {
26882
+ mode: "all" | "none" | "problems";
26883
+ labels: ("type" | "count")[];
26884
+ render: "refs" | "lines";
26885
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
26886
+ };
26887
+ filters: {
26888
+ entityTypes: string[];
26889
+ labels: {
26890
+ [x: string]: string[];
26891
+ };
26892
+ cells: string[];
26893
+ relationshipTypes: string[];
26894
+ deploymentTargets: string[];
26895
+ lifecycle: string[];
26896
+ conformance: ("conformant" | "non-conformant")[];
26897
+ };
26898
+ focus: {
26899
+ direction: "both" | "upstream" | "downstream";
26900
+ roots: string[];
26901
+ maxHops: 2 | 1 | 3 | "∞";
26902
+ edgeTypes: string[];
26903
+ };
26904
+ expansion: {
26905
+ [x: string]: "expanded" | "collapsed";
26906
+ };
26907
+ style: {
26908
+ selector: string;
26909
+ style: {
26910
+ [x: string]: string;
26911
+ };
26912
+ }[];
26913
+ pins: {
26914
+ [x: string]: {
26915
+ x: number;
26916
+ y: number;
26917
+ };
26918
+ };
26919
+ interaction: "auto" | "free";
26920
+ } | null;
26380
26921
  }>;
26381
26922
  update: SchemaFn<zod.ZodObject<{
26382
26923
  orgId: zod.ZodString;
26383
26924
  projectId: zod.ZodString;
26384
26925
  id: zod.ZodString;
26385
26926
  name: zod.ZodOptional<zod.ZodString>;
26386
- config: zod.ZodOptional<zod.ZodUnknown>;
26387
26927
  pinnedPositions: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
26388
26928
  x: zod.ZodNumber;
26389
26929
  y: zod.ZodNumber;
@@ -26394,26 +26934,27 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26394
26934
  x: number;
26395
26935
  y: number;
26396
26936
  }>>>>;
26937
+ viewSpec: zod.ZodOptional<zod.ZodNullable<zod.ZodUnknown>>;
26397
26938
  }, "strip", zod.ZodTypeAny, {
26398
26939
  id: string;
26399
26940
  orgId: string;
26400
26941
  projectId: string;
26401
26942
  name?: string | undefined;
26402
- config?: unknown;
26403
26943
  pinnedPositions?: Record<string, {
26404
26944
  x: number;
26405
26945
  y: number;
26406
26946
  }> | null | undefined;
26947
+ viewSpec?: unknown;
26407
26948
  }, {
26408
26949
  id: string;
26409
26950
  orgId: string;
26410
26951
  projectId: string;
26411
26952
  name?: string | undefined;
26412
- config?: unknown;
26413
26953
  pinnedPositions?: Record<string, {
26414
26954
  x: number;
26415
26955
  y: number;
26416
26956
  }> | null | undefined;
26957
+ viewSpec?: unknown;
26417
26958
  }>, {
26418
26959
  id: string;
26419
26960
  orgId: string;
@@ -26422,41 +26963,61 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26422
26963
  ownerUserId: string | null;
26423
26964
  name: string;
26424
26965
  isDefault: boolean;
26425
- config: {
26426
- sort: {
26427
- cells: "name" | "memberCount" | "capacityUsed";
26428
- entities: "name" | "updatedAt" | "state";
26966
+ pinnedPositions: {
26967
+ [x: string]: {
26968
+ x: number;
26969
+ y: number;
26429
26970
  };
26430
- filter: {
26971
+ } | null;
26972
+ viewSpec: {
26973
+ schemaVersion: 1;
26974
+ grouping: {
26975
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
26976
+ aggregate: {
26977
+ byType: boolean;
26978
+ threshold: number;
26979
+ };
26980
+ labelKey?: string | undefined;
26981
+ };
26982
+ edges: {
26983
+ mode: "all" | "none" | "problems";
26984
+ labels: ("type" | "count")[];
26985
+ render: "refs" | "lines";
26986
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
26987
+ };
26988
+ filters: {
26431
26989
  entityTypes: string[];
26432
- states: string[];
26433
26990
  labels: {
26434
26991
  [x: string]: string[];
26435
26992
  };
26436
- relationshipTypes?: string[] | undefined;
26437
- cellNames?: string[] | undefined;
26438
- };
26439
- grouping: {
26440
- cellsEnabled: boolean;
26441
- partitionsEnabled: boolean;
26442
- };
26443
- cardDisplay: {
26444
- properties: string[] | "all" | "required";
26445
- showState: boolean;
26446
- inlineRelationships: boolean;
26447
- maxRelsPerCard: number;
26448
- drawEdges: boolean;
26449
- };
26450
- layout: {
26451
- mode: "auto" | "free";
26452
- positionsPinned: boolean;
26453
- };
26454
- };
26455
- pinnedPositions: {
26456
- [x: string]: {
26457
- x: number;
26458
- y: number;
26993
+ cells: string[];
26994
+ relationshipTypes: string[];
26995
+ deploymentTargets: string[];
26996
+ lifecycle: string[];
26997
+ conformance: ("conformant" | "non-conformant")[];
26998
+ };
26999
+ focus: {
27000
+ direction: "both" | "upstream" | "downstream";
27001
+ roots: string[];
27002
+ maxHops: 2 | 1 | 3 | "∞";
27003
+ edgeTypes: string[];
27004
+ };
27005
+ expansion: {
27006
+ [x: string]: "expanded" | "collapsed";
27007
+ };
27008
+ style: {
27009
+ selector: string;
27010
+ style: {
27011
+ [x: string]: string;
27012
+ };
27013
+ }[];
27014
+ pins: {
27015
+ [x: string]: {
27016
+ x: number;
27017
+ y: number;
27018
+ };
26459
27019
  };
27020
+ interaction: "auto" | "free";
26460
27021
  } | null;
26461
27022
  createdAt: string;
26462
27023
  updatedAt: string;
@@ -26497,41 +27058,61 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26497
27058
  ownerUserId: string | null;
26498
27059
  name: string;
26499
27060
  isDefault: boolean;
26500
- config: {
26501
- sort: {
26502
- cells: "name" | "memberCount" | "capacityUsed";
26503
- entities: "name" | "updatedAt" | "state";
27061
+ pinnedPositions: {
27062
+ [x: string]: {
27063
+ x: number;
27064
+ y: number;
27065
+ };
27066
+ } | null;
27067
+ viewSpec: {
27068
+ schemaVersion: 1;
27069
+ grouping: {
27070
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
27071
+ aggregate: {
27072
+ byType: boolean;
27073
+ threshold: number;
27074
+ };
27075
+ labelKey?: string | undefined;
27076
+ };
27077
+ edges: {
27078
+ mode: "all" | "none" | "problems";
27079
+ labels: ("type" | "count")[];
27080
+ render: "refs" | "lines";
27081
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
26504
27082
  };
26505
- filter: {
27083
+ filters: {
26506
27084
  entityTypes: string[];
26507
- states: string[];
26508
27085
  labels: {
26509
27086
  [x: string]: string[];
26510
27087
  };
26511
- relationshipTypes?: string[] | undefined;
26512
- cellNames?: string[] | undefined;
26513
- };
26514
- grouping: {
26515
- cellsEnabled: boolean;
26516
- partitionsEnabled: boolean;
26517
- };
26518
- cardDisplay: {
26519
- properties: string[] | "all" | "required";
26520
- showState: boolean;
26521
- inlineRelationships: boolean;
26522
- maxRelsPerCard: number;
26523
- drawEdges: boolean;
26524
- };
26525
- layout: {
26526
- mode: "auto" | "free";
26527
- positionsPinned: boolean;
26528
- };
26529
- };
26530
- pinnedPositions: {
26531
- [x: string]: {
26532
- x: number;
26533
- y: number;
27088
+ cells: string[];
27089
+ relationshipTypes: string[];
27090
+ deploymentTargets: string[];
27091
+ lifecycle: string[];
27092
+ conformance: ("conformant" | "non-conformant")[];
27093
+ };
27094
+ focus: {
27095
+ direction: "both" | "upstream" | "downstream";
27096
+ roots: string[];
27097
+ maxHops: 2 | 1 | 3 | "∞";
27098
+ edgeTypes: string[];
27099
+ };
27100
+ expansion: {
27101
+ [x: string]: "expanded" | "collapsed";
27102
+ };
27103
+ style: {
27104
+ selector: string;
27105
+ style: {
27106
+ [x: string]: string;
27107
+ };
27108
+ }[];
27109
+ pins: {
27110
+ [x: string]: {
27111
+ x: number;
27112
+ y: number;
27113
+ };
26534
27114
  };
27115
+ interaction: "auto" | "free";
26535
27116
  } | null;
26536
27117
  createdAt: string;
26537
27118
  updatedAt: string;