@terrantula/sdk 0.11.2 → 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/local.d.ts CHANGED
@@ -23,9 +23,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
23
23
  slug: string;
24
24
  id: string;
25
25
  createdAt: string;
26
+ metadata: string | null;
26
27
  deletedAt: string | null;
27
28
  logo: string | null;
28
- metadata: string | null;
29
29
  suspendedAt: string | null;
30
30
  }>;
31
31
  get: SchemaFn<zod.ZodObject<{
@@ -37,12 +37,14 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
37
37
  }>, {
38
38
  error: string;
39
39
  } | {
40
+ metadata: {
41
+ [x: string]: hono_utils_types.JSONValue;
42
+ } | null;
40
43
  id: string;
41
44
  name: string;
42
45
  slug: string;
43
46
  logo: string | null;
44
47
  createdAt: string;
45
- metadata: string | null;
46
48
  deletedAt: string | null;
47
49
  suspendedAt: string | null;
48
50
  }>;
@@ -294,10 +296,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
294
296
  name: string;
295
297
  slug: string;
296
298
  createdAt: string;
297
- updatedAt: string;
298
299
  metadata: {
299
300
  [x: string]: hono_utils_types.JSONValue;
300
301
  };
302
+ updatedAt: string;
301
303
  orgId: string;
302
304
  isDemo: boolean;
303
305
  lastDriftRunAt: string | null;
@@ -940,12 +942,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
940
942
  kind: "data" | "resource" | "module";
941
943
  address: string;
942
944
  }[] | null;
945
+ strictComposition: boolean;
943
946
  syncTracked: boolean;
944
947
  syncFreshness: {
945
948
  greenSeconds?: number | undefined;
946
949
  yellowSeconds?: number | undefined;
947
950
  } | null;
948
951
  applier: string | null;
952
+ labels: {
953
+ [x: string]: string;
954
+ };
955
+ labelMappings: {
956
+ [x: string]: string;
957
+ };
949
958
  createdAt: string;
950
959
  updatedAt: string;
951
960
  }[]>;
@@ -1003,12 +1012,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1003
1012
  kind: "data" | "resource" | "module";
1004
1013
  address: string;
1005
1014
  }[] | null;
1015
+ strictComposition: boolean;
1006
1016
  syncTracked: boolean;
1007
1017
  syncFreshness: {
1008
1018
  greenSeconds?: number | undefined;
1009
1019
  yellowSeconds?: number | undefined;
1010
1020
  } | null;
1011
1021
  applier: string | null;
1022
+ labels: {
1023
+ [x: string]: string;
1024
+ };
1025
+ labelMappings: {
1026
+ [x: string]: string;
1027
+ };
1012
1028
  createdAt: string;
1013
1029
  updatedAt: string;
1014
1030
  }>;
@@ -1159,6 +1175,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1159
1175
  kind: "data" | "resource" | "module";
1160
1176
  address: string;
1161
1177
  }>, "many">>;
1178
+ strictComposition: zod.ZodOptional<zod.ZodBoolean>;
1179
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1180
+ labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1162
1181
  } & {
1163
1182
  orgId: zod.ZodString;
1164
1183
  projectId: zod.ZodString;
@@ -1206,11 +1225,14 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1206
1225
  kind: "data" | "resource" | "module";
1207
1226
  address: string;
1208
1227
  }[] | undefined;
1228
+ strictComposition?: boolean | undefined;
1209
1229
  syncFreshness?: {
1210
1230
  greenSeconds?: number | undefined;
1211
1231
  yellowSeconds?: number | undefined;
1212
1232
  } | undefined;
1213
1233
  applier?: string | undefined;
1234
+ labels?: Record<string, string> | undefined;
1235
+ labelMappings?: Record<string, string> | undefined;
1214
1236
  }, {
1215
1237
  name: string;
1216
1238
  orgId: string;
@@ -1254,12 +1276,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1254
1276
  kind: "data" | "resource" | "module";
1255
1277
  address: string;
1256
1278
  }[] | undefined;
1279
+ strictComposition?: boolean | undefined;
1257
1280
  syncTracked?: boolean | undefined;
1258
1281
  syncFreshness?: {
1259
1282
  greenSeconds?: number | undefined;
1260
1283
  yellowSeconds?: number | undefined;
1261
1284
  } | undefined;
1262
1285
  applier?: string | undefined;
1286
+ labels?: Record<string, string> | undefined;
1287
+ labelMappings?: Record<string, string> | undefined;
1263
1288
  }>, {
1264
1289
  name: string;
1265
1290
  createdAt: string;
@@ -1304,12 +1329,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1304
1329
  kind: "data" | "resource" | "module";
1305
1330
  address: string;
1306
1331
  }[] | null;
1332
+ strictComposition: boolean;
1307
1333
  syncTracked: boolean;
1308
1334
  syncFreshness: {
1309
1335
  greenSeconds?: number | undefined;
1310
1336
  yellowSeconds?: number | undefined;
1311
1337
  } | null;
1312
1338
  applier: string | null;
1339
+ labels: {
1340
+ [x: string]: string;
1341
+ };
1342
+ labelMappings: {
1343
+ [x: string]: string;
1344
+ };
1313
1345
  }>;
1314
1346
  update: SchemaFn<zod.ZodObject<{
1315
1347
  kind: zod.ZodLiteral<"EntityType">;
@@ -1458,6 +1490,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1458
1490
  kind: "data" | "resource" | "module";
1459
1491
  address: string;
1460
1492
  }>, "many">>;
1493
+ strictComposition: zod.ZodOptional<zod.ZodBoolean>;
1494
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1495
+ labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1461
1496
  } & {
1462
1497
  orgId: zod.ZodString;
1463
1498
  projectId: zod.ZodString;
@@ -1505,11 +1540,14 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1505
1540
  kind: "data" | "resource" | "module";
1506
1541
  address: string;
1507
1542
  }[] | undefined;
1543
+ strictComposition?: boolean | undefined;
1508
1544
  syncFreshness?: {
1509
1545
  greenSeconds?: number | undefined;
1510
1546
  yellowSeconds?: number | undefined;
1511
1547
  } | undefined;
1512
1548
  applier?: string | undefined;
1549
+ labels?: Record<string, string> | undefined;
1550
+ labelMappings?: Record<string, string> | undefined;
1513
1551
  }, {
1514
1552
  name: string;
1515
1553
  orgId: string;
@@ -1553,12 +1591,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1553
1591
  kind: "data" | "resource" | "module";
1554
1592
  address: string;
1555
1593
  }[] | undefined;
1594
+ strictComposition?: boolean | undefined;
1556
1595
  syncTracked?: boolean | undefined;
1557
1596
  syncFreshness?: {
1558
1597
  greenSeconds?: number | undefined;
1559
1598
  yellowSeconds?: number | undefined;
1560
1599
  } | undefined;
1561
1600
  applier?: string | undefined;
1601
+ labels?: Record<string, string> | undefined;
1602
+ labelMappings?: Record<string, string> | undefined;
1562
1603
  }>, {
1563
1604
  orgId: string;
1564
1605
  projectId: string;
@@ -1601,12 +1642,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1601
1642
  kind: "data" | "resource" | "module";
1602
1643
  address: string;
1603
1644
  }[] | null;
1645
+ strictComposition: boolean;
1604
1646
  syncTracked: boolean;
1605
1647
  syncFreshness: {
1606
1648
  greenSeconds?: number | undefined;
1607
1649
  yellowSeconds?: number | undefined;
1608
1650
  } | null;
1609
1651
  applier: string | null;
1652
+ labels: {
1653
+ [x: string]: string;
1654
+ };
1655
+ labelMappings: {
1656
+ [x: string]: string;
1657
+ };
1610
1658
  createdAt: string;
1611
1659
  updatedAt: string;
1612
1660
  }>;
@@ -1652,6 +1700,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1652
1700
  [x: string]: string;
1653
1701
  };
1654
1702
  capacity: number | null;
1703
+ labels: {
1704
+ [x: string]: string;
1705
+ };
1655
1706
  createdAt: string;
1656
1707
  updatedAt: string;
1657
1708
  }[]>;
@@ -1682,6 +1733,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1682
1733
  [x: string]: string;
1683
1734
  };
1684
1735
  capacity: number | null;
1736
+ labels: {
1737
+ [x: string]: string;
1738
+ };
1685
1739
  createdAt: string;
1686
1740
  updatedAt: string;
1687
1741
  }>;
@@ -1695,6 +1749,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1695
1749
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1696
1750
  capacity: zod.ZodOptional<zod.ZodNumber>;
1697
1751
  credentialRef: zod.ZodOptional<zod.ZodString>;
1752
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1698
1753
  } & {
1699
1754
  orgId: zod.ZodString;
1700
1755
  projectId: zod.ZodString;
@@ -1708,6 +1763,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1708
1763
  set?: string | undefined;
1709
1764
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
1710
1765
  displayName?: string | undefined;
1766
+ labels?: Record<string, string> | undefined;
1711
1767
  credentialRef?: string | undefined;
1712
1768
  capacity?: number | undefined;
1713
1769
  }, {
@@ -1719,6 +1775,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1719
1775
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
1720
1776
  displayName?: string | undefined;
1721
1777
  properties?: Record<string, string> | undefined;
1778
+ labels?: Record<string, string> | undefined;
1722
1779
  config?: Record<string, unknown> | undefined;
1723
1780
  credentialRef?: string | undefined;
1724
1781
  capacity?: number | undefined;
@@ -1734,6 +1791,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1734
1791
  properties: {
1735
1792
  [x: string]: string;
1736
1793
  };
1794
+ labels: {
1795
+ [x: string]: string;
1796
+ };
1737
1797
  config: {
1738
1798
  [x: string]: hono_utils_types.JSONValue;
1739
1799
  };
@@ -1750,6 +1810,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1750
1810
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1751
1811
  capacity: zod.ZodOptional<zod.ZodNumber>;
1752
1812
  credentialRef: zod.ZodOptional<zod.ZodString>;
1813
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1753
1814
  } & {
1754
1815
  orgId: zod.ZodString;
1755
1816
  projectId: zod.ZodString;
@@ -1763,6 +1824,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1763
1824
  set?: string | undefined;
1764
1825
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
1765
1826
  displayName?: string | undefined;
1827
+ labels?: Record<string, string> | undefined;
1766
1828
  credentialRef?: string | undefined;
1767
1829
  capacity?: number | undefined;
1768
1830
  }, {
@@ -1774,6 +1836,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1774
1836
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
1775
1837
  displayName?: string | undefined;
1776
1838
  properties?: Record<string, string> | undefined;
1839
+ labels?: Record<string, string> | undefined;
1777
1840
  config?: Record<string, unknown> | undefined;
1778
1841
  credentialRef?: string | undefined;
1779
1842
  capacity?: number | undefined;
@@ -1792,6 +1855,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1792
1855
  [x: string]: string;
1793
1856
  };
1794
1857
  capacity: number | null;
1858
+ labels: {
1859
+ [x: string]: string;
1860
+ };
1795
1861
  createdAt: string;
1796
1862
  updatedAt: string;
1797
1863
  }>;
@@ -1831,7 +1897,13 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1831
1897
  properties: {
1832
1898
  [x: string]: string;
1833
1899
  };
1900
+ config: {
1901
+ [x: string]: hono_utils_types.JSONValue;
1902
+ };
1834
1903
  credentialRef: string | null;
1904
+ labels: {
1905
+ [x: string]: string;
1906
+ };
1835
1907
  createdAt: string;
1836
1908
  updatedAt: string;
1837
1909
  }[]>;
@@ -1856,7 +1928,13 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1856
1928
  properties: {
1857
1929
  [x: string]: string;
1858
1930
  };
1931
+ config: {
1932
+ [x: string]: hono_utils_types.JSONValue;
1933
+ };
1859
1934
  credentialRef: string | null;
1935
+ labels: {
1936
+ [x: string]: string;
1937
+ };
1860
1938
  createdAt: string;
1861
1939
  updatedAt: string;
1862
1940
  }>;
@@ -1866,7 +1944,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1866
1944
  displayName: zod.ZodOptional<zod.ZodString>;
1867
1945
  provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
1868
1946
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1947
+ config: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
1869
1948
  credentialRef: zod.ZodOptional<zod.ZodString>;
1949
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1870
1950
  } & {
1871
1951
  orgId: zod.ZodString;
1872
1952
  projectId: zod.ZodString;
@@ -1878,6 +1958,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1878
1958
  properties: Record<string, string>;
1879
1959
  kind: "DeploymentTargetSet";
1880
1960
  displayName?: string | undefined;
1961
+ labels?: Record<string, string> | undefined;
1962
+ config?: Record<string, unknown> | undefined;
1881
1963
  credentialRef?: string | undefined;
1882
1964
  }, {
1883
1965
  name: string;
@@ -1887,6 +1969,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1887
1969
  kind: "DeploymentTargetSet";
1888
1970
  displayName?: string | undefined;
1889
1971
  properties?: Record<string, string> | undefined;
1972
+ labels?: Record<string, string> | undefined;
1973
+ config?: Record<string, unknown> | undefined;
1890
1974
  credentialRef?: string | undefined;
1891
1975
  }>, {
1892
1976
  name: string;
@@ -1899,6 +1983,12 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1899
1983
  properties: {
1900
1984
  [x: string]: string;
1901
1985
  };
1986
+ labels: {
1987
+ [x: string]: string;
1988
+ };
1989
+ config: {
1990
+ [x: string]: hono_utils_types.JSONValue;
1991
+ };
1902
1992
  credentialRef: string | null;
1903
1993
  }>;
1904
1994
  delete: SchemaFn<zod.ZodObject<{
@@ -2086,8 +2176,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2086
2176
  envId: string;
2087
2177
  state: string;
2088
2178
  properties: hono_utils_types.JSONValue;
2089
- entityTypeName: string;
2090
2179
  labels: hono_utils_types.JSONValue;
2180
+ entityTypeName: string;
2091
2181
  lastSyncedAt: string | null;
2092
2182
  syncSource: string | null;
2093
2183
  }>;
@@ -2165,8 +2255,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2165
2255
  status: "failed" | "pending" | "running" | "succeeded" | "cancelled" | "dispatching" | "blocked";
2166
2256
  id: string;
2167
2257
  createdAt: string;
2168
- error: string | null;
2169
2258
  metadata: hono_utils_types.JSONValue;
2259
+ error: string | null;
2170
2260
  output: hono_utils_types.JSONValue;
2171
2261
  orgId: string;
2172
2262
  projectId: string;
@@ -2230,7 +2320,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2230
2320
  orgId: string;
2231
2321
  projectId: string;
2232
2322
  envName: string;
2233
- }>, {
2323
+ }>, ({
2324
+ origin: "explicit";
2234
2325
  fromEntityName: string;
2235
2326
  toEntityName: string;
2236
2327
  id: string;
@@ -2238,7 +2329,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2238
2329
  fromEntityId: string;
2239
2330
  toEntityId: string;
2240
2331
  state: string;
2241
- properties: hono_utils_types.JSONValue;
2242
2332
  labels: hono_utils_types.JSONValue;
2243
2333
  createdAt: string;
2244
2334
  updatedAt: string;
@@ -2247,7 +2337,25 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2247
2337
  envId: string;
2248
2338
  deletionScheduledAt: string | null;
2249
2339
  deletionGracePeriodSeconds: number | null;
2250
- }[]>;
2340
+ } | {
2341
+ id: null;
2342
+ relationshipTypeName: string;
2343
+ fromEntityName: string;
2344
+ toEntityName: string;
2345
+ origin: "derived" | "explicit";
2346
+ state: string | null;
2347
+ labels: {
2348
+ [x: string]: string;
2349
+ };
2350
+ fromEntityId: null;
2351
+ toEntityId: null;
2352
+ envId: null;
2353
+ orgId: null;
2354
+ projectId: null;
2355
+ createdAt: null;
2356
+ updatedAt: null;
2357
+ deletionScheduledAt: null;
2358
+ })[]>;
2251
2359
  syncStamp: SchemaFn<zod.ZodObject<{
2252
2360
  orgId: zod.ZodString;
2253
2361
  projectId: zod.ZodString;
@@ -2340,6 +2448,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2340
2448
  };
2341
2449
  } | undefined;
2342
2450
  } | null;
2451
+ labels: {
2452
+ [x: string]: string;
2453
+ };
2343
2454
  createdAt: string;
2344
2455
  updatedAt: string;
2345
2456
  }[]>;
@@ -2409,6 +2520,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2409
2520
  };
2410
2521
  } | undefined;
2411
2522
  } | null;
2523
+ labels: {
2524
+ [x: string]: string;
2525
+ };
2412
2526
  createdAt: string;
2413
2527
  updatedAt: string;
2414
2528
  }>;
@@ -2690,6 +2804,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2690
2804
  policy?: "least-loaded" | "round-robin" | "random" | undefined;
2691
2805
  }> | undefined;
2692
2806
  }>>;
2807
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
2693
2808
  } & {
2694
2809
  orgId: zod.ZodString;
2695
2810
  projectId: zod.ZodString;
@@ -2707,6 +2822,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2707
2822
  placementPolicy: "least-loaded" | "round-robin" | "random";
2708
2823
  parentCells: string[];
2709
2824
  displayName?: string | undefined;
2825
+ labels?: Record<string, string> | undefined;
2710
2826
  targetSelector?: {
2711
2827
  primary: {
2712
2828
  set: string;
@@ -2759,6 +2875,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2759
2875
  metric: string;
2760
2876
  aggregate: "max" | "sum" | "avg" | "min";
2761
2877
  }[] | undefined;
2878
+ labels?: Record<string, string> | undefined;
2762
2879
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
2763
2880
  parentCells?: string[] | undefined;
2764
2881
  targetSelector?: {
@@ -2813,6 +2930,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2813
2930
  metric: string;
2814
2931
  aggregate: "max" | "sum" | "avg" | "min";
2815
2932
  }[];
2933
+ labels: {
2934
+ [x: string]: string;
2935
+ };
2816
2936
  entityTypeName: string;
2817
2937
  placementPolicy: "least-loaded" | "round-robin" | "random";
2818
2938
  parentCells: string[];
@@ -3136,6 +3256,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3136
3256
  policy?: "least-loaded" | "round-robin" | "random" | undefined;
3137
3257
  }> | undefined;
3138
3258
  }>>;
3259
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
3139
3260
  } & {
3140
3261
  orgId: zod.ZodString;
3141
3262
  projectId: zod.ZodString;
@@ -3153,6 +3274,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3153
3274
  placementPolicy: "least-loaded" | "round-robin" | "random";
3154
3275
  parentCells: string[];
3155
3276
  displayName?: string | undefined;
3277
+ labels?: Record<string, string> | undefined;
3156
3278
  targetSelector?: {
3157
3279
  primary: {
3158
3280
  set: string;
@@ -3205,6 +3327,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3205
3327
  metric: string;
3206
3328
  aggregate: "max" | "sum" | "avg" | "min";
3207
3329
  }[] | undefined;
3330
+ labels?: Record<string, string> | undefined;
3208
3331
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
3209
3332
  parentCells?: string[] | undefined;
3210
3333
  targetSelector?: {
@@ -3301,6 +3424,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3301
3424
  };
3302
3425
  } | undefined;
3303
3426
  } | null;
3427
+ labels: {
3428
+ [x: string]: string;
3429
+ };
3304
3430
  createdAt: string;
3305
3431
  updatedAt: string;
3306
3432
  }>;
@@ -3423,8 +3549,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3423
3549
  envId: string;
3424
3550
  state: string;
3425
3551
  properties: hono_utils_types.JSONValue;
3426
- entityTypeName: string;
3427
3552
  labels: hono_utils_types.JSONValue;
3553
+ entityTypeName: string;
3428
3554
  lastSyncedAt: string | null;
3429
3555
  syncSource: string | null;
3430
3556
  };
@@ -3462,13 +3588,20 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3462
3588
  }[];
3463
3589
  constraints: ({
3464
3590
  type: "property-sum";
3465
- property: string;
3591
+ fromProperty: string;
3466
3592
  leq: string;
3467
3593
  } | {
3468
3594
  type: "relationship-count";
3469
3595
  leq: string | number;
3470
3596
  })[];
3471
3597
  containment: boolean;
3598
+ derivedFrom: {
3599
+ property: string;
3600
+ targetProperty?: string | undefined;
3601
+ } | null | undefined;
3602
+ labels: {
3603
+ [x: string]: string;
3604
+ };
3472
3605
  createdAt: string;
3473
3606
  updatedAt: string;
3474
3607
  }[]>;
@@ -3504,13 +3637,20 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3504
3637
  }[];
3505
3638
  constraints: ({
3506
3639
  type: "property-sum";
3507
- property: string;
3640
+ fromProperty: string;
3508
3641
  leq: string;
3509
3642
  } | {
3510
3643
  type: "relationship-count";
3511
3644
  leq: string | number;
3512
3645
  })[];
3513
3646
  containment: boolean;
3647
+ derivedFrom: {
3648
+ property: string;
3649
+ targetProperty?: string | undefined;
3650
+ } | null | undefined;
3651
+ labels: {
3652
+ [x: string]: string;
3653
+ };
3514
3654
  createdAt: string;
3515
3655
  updatedAt: string;
3516
3656
  }>;
@@ -3521,7 +3661,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3521
3661
  from: zod.ZodString;
3522
3662
  to: zod.ZodString;
3523
3663
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
3524
- states: zod.ZodArray<zod.ZodString, "many">;
3664
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
3525
3665
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3526
3666
  name: zod.ZodString;
3527
3667
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -3548,17 +3688,28 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3548
3688
  enum?: string[] | undefined;
3549
3689
  }>, "many">>>;
3550
3690
  containment: zod.ZodOptional<zod.ZodBoolean>;
3691
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
3692
+ property: zod.ZodString;
3693
+ targetProperty: zod.ZodOptional<zod.ZodString>;
3694
+ }, "strip", zod.ZodTypeAny, {
3695
+ property: string;
3696
+ targetProperty?: string | undefined;
3697
+ }, {
3698
+ property: string;
3699
+ targetProperty?: string | undefined;
3700
+ }>>;
3701
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
3551
3702
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
3552
3703
  type: zod.ZodLiteral<"property-sum">;
3553
- property: zod.ZodString;
3704
+ fromProperty: zod.ZodString;
3554
3705
  leq: zod.ZodString;
3555
3706
  }, "strip", zod.ZodTypeAny, {
3556
3707
  type: "property-sum";
3557
- property: string;
3708
+ fromProperty: string;
3558
3709
  leq: string;
3559
3710
  }, {
3560
3711
  type: "property-sum";
3561
- property: string;
3712
+ fromProperty: string;
3562
3713
  leq: string;
3563
3714
  }>, zod.ZodObject<{
3564
3715
  type: zod.ZodLiteral<"relationship-count">;
@@ -3590,7 +3741,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3590
3741
  }[];
3591
3742
  constraints: ({
3592
3743
  type: "property-sum";
3593
- property: string;
3744
+ fromProperty: string;
3594
3745
  leq: string;
3595
3746
  } | {
3596
3747
  type: "relationship-count";
@@ -3600,16 +3751,21 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3600
3751
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
3601
3752
  to: string;
3602
3753
  displayName?: string | undefined;
3754
+ derivedFrom?: {
3755
+ property: string;
3756
+ targetProperty?: string | undefined;
3757
+ } | undefined;
3758
+ labels?: Record<string, string> | undefined;
3603
3759
  containment?: boolean | undefined;
3604
3760
  }, {
3605
3761
  name: string;
3606
3762
  from: string;
3607
3763
  orgId: string;
3608
3764
  projectId: string;
3609
- states: string[];
3610
3765
  kind: "RelationshipType";
3611
3766
  to: string;
3612
3767
  displayName?: string | undefined;
3768
+ states?: string[] | undefined;
3613
3769
  properties?: {
3614
3770
  name: string;
3615
3771
  type: "string" | "number" | "boolean" | "integer";
@@ -3619,14 +3775,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3619
3775
  title?: string | undefined;
3620
3776
  enum?: string[] | undefined;
3621
3777
  }[] | undefined;
3778
+ derivedFrom?: {
3779
+ property: string;
3780
+ targetProperty?: string | undefined;
3781
+ } | undefined;
3622
3782
  constraints?: ({
3623
3783
  type: "property-sum";
3624
- property: string;
3784
+ fromProperty: string;
3625
3785
  leq: string;
3626
3786
  } | {
3627
3787
  type: "relationship-count";
3628
3788
  leq: string | number;
3629
3789
  })[] | undefined;
3790
+ labels?: Record<string, string> | undefined;
3630
3791
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
3631
3792
  containment?: boolean | undefined;
3632
3793
  }>, {
@@ -3646,14 +3807,21 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3646
3807
  title?: string | undefined;
3647
3808
  enum?: string[] | undefined;
3648
3809
  }[];
3810
+ derivedFrom: {
3811
+ property: string;
3812
+ targetProperty?: string | undefined;
3813
+ } | null | undefined;
3649
3814
  constraints: ({
3650
3815
  type: "property-sum";
3651
- property: string;
3816
+ fromProperty: string;
3652
3817
  leq: string;
3653
3818
  } | {
3654
3819
  type: "relationship-count";
3655
3820
  leq: string | number;
3656
3821
  })[];
3822
+ labels: {
3823
+ [x: string]: string;
3824
+ };
3657
3825
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
3658
3826
  fromEntityTypeName: string;
3659
3827
  toEntityTypeName: string;
@@ -3666,7 +3834,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3666
3834
  from: zod.ZodString;
3667
3835
  to: zod.ZodString;
3668
3836
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
3669
- states: zod.ZodArray<zod.ZodString, "many">;
3837
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
3670
3838
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3671
3839
  name: zod.ZodString;
3672
3840
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -3693,17 +3861,28 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3693
3861
  enum?: string[] | undefined;
3694
3862
  }>, "many">>>;
3695
3863
  containment: zod.ZodOptional<zod.ZodBoolean>;
3864
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
3865
+ property: zod.ZodString;
3866
+ targetProperty: zod.ZodOptional<zod.ZodString>;
3867
+ }, "strip", zod.ZodTypeAny, {
3868
+ property: string;
3869
+ targetProperty?: string | undefined;
3870
+ }, {
3871
+ property: string;
3872
+ targetProperty?: string | undefined;
3873
+ }>>;
3874
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
3696
3875
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
3697
3876
  type: zod.ZodLiteral<"property-sum">;
3698
- property: zod.ZodString;
3877
+ fromProperty: zod.ZodString;
3699
3878
  leq: zod.ZodString;
3700
3879
  }, "strip", zod.ZodTypeAny, {
3701
3880
  type: "property-sum";
3702
- property: string;
3881
+ fromProperty: string;
3703
3882
  leq: string;
3704
3883
  }, {
3705
3884
  type: "property-sum";
3706
- property: string;
3885
+ fromProperty: string;
3707
3886
  leq: string;
3708
3887
  }>, zod.ZodObject<{
3709
3888
  type: zod.ZodLiteral<"relationship-count">;
@@ -3735,7 +3914,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3735
3914
  }[];
3736
3915
  constraints: ({
3737
3916
  type: "property-sum";
3738
- property: string;
3917
+ fromProperty: string;
3739
3918
  leq: string;
3740
3919
  } | {
3741
3920
  type: "relationship-count";
@@ -3745,16 +3924,21 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3745
3924
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
3746
3925
  to: string;
3747
3926
  displayName?: string | undefined;
3927
+ derivedFrom?: {
3928
+ property: string;
3929
+ targetProperty?: string | undefined;
3930
+ } | undefined;
3931
+ labels?: Record<string, string> | undefined;
3748
3932
  containment?: boolean | undefined;
3749
3933
  }, {
3750
3934
  name: string;
3751
3935
  from: string;
3752
3936
  orgId: string;
3753
3937
  projectId: string;
3754
- states: string[];
3755
3938
  kind: "RelationshipType";
3756
3939
  to: string;
3757
3940
  displayName?: string | undefined;
3941
+ states?: string[] | undefined;
3758
3942
  properties?: {
3759
3943
  name: string;
3760
3944
  type: "string" | "number" | "boolean" | "integer";
@@ -3764,14 +3948,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3764
3948
  title?: string | undefined;
3765
3949
  enum?: string[] | undefined;
3766
3950
  }[] | undefined;
3951
+ derivedFrom?: {
3952
+ property: string;
3953
+ targetProperty?: string | undefined;
3954
+ } | undefined;
3767
3955
  constraints?: ({
3768
3956
  type: "property-sum";
3769
- property: string;
3957
+ fromProperty: string;
3770
3958
  leq: string;
3771
3959
  } | {
3772
3960
  type: "relationship-count";
3773
3961
  leq: string | number;
3774
3962
  })[] | undefined;
3963
+ labels?: Record<string, string> | undefined;
3775
3964
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
3776
3965
  containment?: boolean | undefined;
3777
3966
  }>, {
@@ -3794,13 +3983,20 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3794
3983
  }[];
3795
3984
  constraints: ({
3796
3985
  type: "property-sum";
3797
- property: string;
3986
+ fromProperty: string;
3798
3987
  leq: string;
3799
3988
  } | {
3800
3989
  type: "relationship-count";
3801
3990
  leq: string | number;
3802
3991
  })[];
3803
3992
  containment: boolean;
3993
+ derivedFrom: {
3994
+ property: string;
3995
+ targetProperty?: string | undefined;
3996
+ } | null | undefined;
3997
+ labels: {
3998
+ [x: string]: string;
3999
+ };
3804
4000
  createdAt: string;
3805
4001
  updatedAt: string;
3806
4002
  }>;
@@ -3858,7 +4054,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3858
4054
  toEntity?: string | undefined;
3859
4055
  fromEntityCell?: string | undefined;
3860
4056
  toEntityCell?: string | undefined;
3861
- }>, {
4057
+ }>, ({
4058
+ origin: "explicit";
3862
4059
  fromEntityName: string;
3863
4060
  toEntityName: string;
3864
4061
  id: string;
@@ -3866,7 +4063,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3866
4063
  fromEntityId: string;
3867
4064
  toEntityId: string;
3868
4065
  state: string;
3869
- properties: hono_utils_types.JSONValue;
3870
4066
  labels: hono_utils_types.JSONValue;
3871
4067
  createdAt: string;
3872
4068
  updatedAt: string;
@@ -3875,7 +4071,25 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3875
4071
  envId: string;
3876
4072
  deletionScheduledAt: string | null;
3877
4073
  deletionGracePeriodSeconds: number | null;
3878
- }[]>;
4074
+ } | {
4075
+ id: null;
4076
+ relationshipTypeName: string;
4077
+ fromEntityName: string;
4078
+ toEntityName: string;
4079
+ origin: "derived" | "explicit";
4080
+ state: string | null;
4081
+ labels: {
4082
+ [x: string]: string;
4083
+ };
4084
+ fromEntityId: null;
4085
+ toEntityId: null;
4086
+ envId: null;
4087
+ orgId: null;
4088
+ projectId: null;
4089
+ createdAt: null;
4090
+ updatedAt: null;
4091
+ deletionScheduledAt: null;
4092
+ })[]>;
3879
4093
  get: SchemaFn<zod.ZodObject<{
3880
4094
  orgId: zod.ZodString;
3881
4095
  projectId: zod.ZodString;
@@ -3897,7 +4111,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3897
4111
  fromEntityId: string;
3898
4112
  toEntityId: string;
3899
4113
  state: string;
3900
- properties: hono_utils_types.JSONValue;
3901
4114
  labels: hono_utils_types.JSONValue;
3902
4115
  createdAt: string;
3903
4116
  updatedAt: string;
@@ -3913,7 +4126,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3913
4126
  from: zod.ZodString;
3914
4127
  to: zod.ZodString;
3915
4128
  state: zod.ZodOptional<zod.ZodString>;
3916
- properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
3917
4129
  labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
3918
4130
  } & {
3919
4131
  orgId: zod.ZodString;
@@ -3924,11 +4136,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3924
4136
  orgId: string;
3925
4137
  projectId: string;
3926
4138
  envName: string;
3927
- properties: Record<string, unknown>;
3928
4139
  relationshipType: string;
3929
4140
  kind: "Relationship";
3930
- to: string;
3931
4141
  labels: Record<string, string>;
4142
+ to: string;
3932
4143
  state?: string | undefined;
3933
4144
  }, {
3934
4145
  from: string;
@@ -3939,23 +4150,21 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3939
4150
  kind: "Relationship";
3940
4151
  to: string;
3941
4152
  state?: string | undefined;
3942
- properties?: Record<string, unknown> | undefined;
3943
4153
  labels?: Record<string, string> | undefined;
3944
4154
  }>, {
3945
4155
  error: string;
3946
4156
  } | {
3947
4157
  id: string;
4158
+ relationshipTypeName: string;
4159
+ fromEntityId: string;
4160
+ toEntityId: string;
4161
+ state: string;
4162
+ labels: hono_utils_types.JSONValue;
3948
4163
  createdAt: string;
3949
4164
  updatedAt: string;
3950
- orgId: string;
3951
4165
  projectId: string;
4166
+ orgId: string;
3952
4167
  envId: string;
3953
- state: string;
3954
- properties: hono_utils_types.JSONValue;
3955
- labels: hono_utils_types.JSONValue;
3956
- relationshipTypeName: string;
3957
- fromEntityId: string;
3958
- toEntityId: string;
3959
4168
  deletionScheduledAt: string | null;
3960
4169
  deletionGracePeriodSeconds: number | null;
3961
4170
  }>;
@@ -4036,9 +4245,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4036
4245
  addToCell?: string | undefined;
4037
4246
  createRelationship?: {
4038
4247
  relationshipType: string;
4248
+ to: string;
4039
4249
  onSuccess: string;
4040
4250
  onFailure: string;
4041
- to: string;
4042
4251
  properties?: {
4043
4252
  [x: string]: string;
4044
4253
  } | undefined;
@@ -4106,10 +4315,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4106
4315
  type: "create-relationship";
4107
4316
  from: string;
4108
4317
  relationshipType: string;
4318
+ to: string;
4109
4319
  onTrigger: string;
4110
4320
  onSuccess: string;
4111
4321
  onFailure: string;
4112
- to: string;
4113
4322
  properties?: {
4114
4323
  [x: string]: string;
4115
4324
  } | undefined;
@@ -4131,10 +4340,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4131
4340
  } | {
4132
4341
  type: "migrate-relationship";
4133
4342
  relationshipType: string;
4343
+ to: string;
4134
4344
  onTrigger: string;
4135
4345
  onSuccess: string;
4136
4346
  onFailure: string;
4137
- to: string;
4138
4347
  };
4139
4348
  trigger: {
4140
4349
  type: "webhook";
@@ -4345,6 +4554,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4345
4554
  webhookSecret?: string | undefined;
4346
4555
  body?: string | undefined;
4347
4556
  title?: string | undefined;
4557
+ labels?: string[] | undefined;
4348
4558
  auth?: {
4349
4559
  token: string;
4350
4560
  type: "token";
@@ -4369,7 +4579,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4369
4579
  value?: hono_utils_types.JSONValue | undefined;
4370
4580
  } | undefined;
4371
4581
  }[] | undefined;
4372
- labels?: string[] | undefined;
4373
4582
  reviewers?: string[] | undefined;
4374
4583
  teamReviewers?: string[] | undefined;
4375
4584
  postMergeDispatch?: {
@@ -4539,9 +4748,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4539
4748
  addToCell?: string | undefined;
4540
4749
  createRelationship?: {
4541
4750
  relationshipType: string;
4751
+ to: string;
4542
4752
  onSuccess: string;
4543
4753
  onFailure: string;
4544
- to: string;
4545
4754
  properties?: {
4546
4755
  [x: string]: string;
4547
4756
  } | undefined;
@@ -4609,10 +4818,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4609
4818
  type: "create-relationship";
4610
4819
  from: string;
4611
4820
  relationshipType: string;
4821
+ to: string;
4612
4822
  onTrigger: string;
4613
4823
  onSuccess: string;
4614
4824
  onFailure: string;
4615
- to: string;
4616
4825
  properties?: {
4617
4826
  [x: string]: string;
4618
4827
  } | undefined;
@@ -4634,10 +4843,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4634
4843
  } | {
4635
4844
  type: "migrate-relationship";
4636
4845
  relationshipType: string;
4846
+ to: string;
4637
4847
  onTrigger: string;
4638
4848
  onSuccess: string;
4639
4849
  onFailure: string;
4640
- to: string;
4641
4850
  };
4642
4851
  trigger: {
4643
4852
  type: "webhook";
@@ -4848,6 +5057,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4848
5057
  webhookSecret?: string | undefined;
4849
5058
  body?: string | undefined;
4850
5059
  title?: string | undefined;
5060
+ labels?: string[] | undefined;
4851
5061
  auth?: {
4852
5062
  token: string;
4853
5063
  type: "token";
@@ -4872,7 +5082,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4872
5082
  value?: hono_utils_types.JSONValue | undefined;
4873
5083
  } | undefined;
4874
5084
  }[] | undefined;
4875
- labels?: string[] | undefined;
4876
5085
  reviewers?: string[] | undefined;
4877
5086
  teamReviewers?: string[] | undefined;
4878
5087
  postMergeDispatch?: {
@@ -5075,15 +5284,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5075
5284
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
5076
5285
  }, "strip", zod.ZodTypeAny, {
5077
5286
  relationshipType: string;
5287
+ to: string;
5078
5288
  onSuccess: string;
5079
5289
  onFailure: string;
5080
- to: string;
5081
5290
  properties?: Record<string, string> | undefined;
5082
5291
  }, {
5083
5292
  relationshipType: string;
5293
+ to: string;
5084
5294
  onSuccess: string;
5085
5295
  onFailure: string;
5086
- to: string;
5087
5296
  properties?: Record<string, string> | undefined;
5088
5297
  }>>;
5089
5298
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -5171,9 +5380,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5171
5380
  addToCell?: string | undefined;
5172
5381
  createRelationship?: {
5173
5382
  relationshipType: string;
5383
+ to: string;
5174
5384
  onSuccess: string;
5175
5385
  onFailure: string;
5176
- to: string;
5177
5386
  properties?: Record<string, string> | undefined;
5178
5387
  } | undefined;
5179
5388
  cascadeRules?: ({
@@ -5205,9 +5414,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5205
5414
  addToCell?: string | undefined;
5206
5415
  createRelationship?: {
5207
5416
  relationshipType: string;
5417
+ to: string;
5208
5418
  onSuccess: string;
5209
5419
  onFailure: string;
5210
- to: string;
5211
5420
  properties?: Record<string, string> | undefined;
5212
5421
  } | undefined;
5213
5422
  cascadeRules?: ({
@@ -5402,19 +5611,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5402
5611
  type: "create-relationship";
5403
5612
  from: string;
5404
5613
  relationshipType: string;
5614
+ to: string;
5405
5615
  onTrigger: string;
5406
5616
  onSuccess: string;
5407
5617
  onFailure: string;
5408
- to: string;
5409
5618
  properties?: Record<string, string> | undefined;
5410
5619
  }, {
5411
5620
  type: "create-relationship";
5412
5621
  from: string;
5413
5622
  relationshipType: string;
5623
+ to: string;
5414
5624
  onTrigger: string;
5415
5625
  onSuccess: string;
5416
5626
  onFailure: string;
5417
- to: string;
5418
5627
  properties?: Record<string, string> | undefined;
5419
5628
  }>, zod.ZodObject<{
5420
5629
  type: zod.ZodLiteral<"delete-relationship">;
@@ -5465,17 +5674,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5465
5674
  }, "strip", zod.ZodTypeAny, {
5466
5675
  type: "migrate-relationship";
5467
5676
  relationshipType: string;
5677
+ to: string;
5468
5678
  onTrigger: string;
5469
5679
  onSuccess: string;
5470
5680
  onFailure: string;
5471
- to: string;
5472
5681
  }, {
5473
5682
  type: "migrate-relationship";
5474
5683
  relationshipType: string;
5684
+ to: string;
5475
5685
  onTrigger: string;
5476
5686
  onSuccess: string;
5477
5687
  onFailure: string;
5478
- to: string;
5479
5688
  }>]>;
5480
5689
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
5481
5690
  type: zod.ZodLiteral<"webhook">;
@@ -5811,8 +6020,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5811
6020
  }[];
5812
6021
  webhookSecret?: string | undefined;
5813
6022
  body?: string | undefined;
5814
- base?: string | undefined;
5815
6023
  labels?: string[] | undefined;
6024
+ base?: string | undefined;
5816
6025
  reviewers?: string[] | undefined;
5817
6026
  teamReviewers?: string[] | undefined;
5818
6027
  postMergeDispatch?: {
@@ -6097,8 +6306,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6097
6306
  }[];
6098
6307
  webhookSecret?: string | undefined;
6099
6308
  body?: string | undefined;
6100
- base?: string | undefined;
6101
6309
  labels?: string[] | undefined;
6310
+ base?: string | undefined;
6102
6311
  reviewers?: string[] | undefined;
6103
6312
  teamReviewers?: string[] | undefined;
6104
6313
  }>>;
@@ -6201,8 +6410,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6201
6410
  }[];
6202
6411
  webhookSecret?: string | undefined;
6203
6412
  body?: string | undefined;
6204
- base?: string | undefined;
6205
6413
  labels?: string[] | undefined;
6414
+ base?: string | undefined;
6206
6415
  reviewers?: string[] | undefined;
6207
6416
  teamReviewers?: string[] | undefined;
6208
6417
  } | undefined;
@@ -6509,8 +6718,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6509
6718
  }[];
6510
6719
  webhookSecret?: string | undefined;
6511
6720
  body?: string | undefined;
6512
- base?: string | undefined;
6513
6721
  labels?: string[] | undefined;
6722
+ base?: string | undefined;
6514
6723
  reviewers?: string[] | undefined;
6515
6724
  teamReviewers?: string[] | undefined;
6516
6725
  postMergeDispatch?: {
@@ -6581,8 +6790,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6581
6790
  }[];
6582
6791
  webhookSecret?: string | undefined;
6583
6792
  body?: string | undefined;
6584
- base?: string | undefined;
6585
6793
  labels?: string[] | undefined;
6794
+ base?: string | undefined;
6586
6795
  reviewers?: string[] | undefined;
6587
6796
  teamReviewers?: string[] | undefined;
6588
6797
  } | undefined;
@@ -6877,6 +7086,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6877
7086
  webhookSecret?: string | undefined;
6878
7087
  body?: string | undefined;
6879
7088
  title?: string | undefined;
7089
+ labels?: string[] | undefined;
6880
7090
  auth?: {
6881
7091
  token: string;
6882
7092
  type: "token";
@@ -6901,7 +7111,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6901
7111
  value?: unknown;
6902
7112
  } | undefined;
6903
7113
  }[] | undefined;
6904
- labels?: string[] | undefined;
6905
7114
  reviewers?: string[] | undefined;
6906
7115
  teamReviewers?: string[] | undefined;
6907
7116
  postMergeDispatch?: {
@@ -6915,6 +7124,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6915
7124
  webhookSecret?: string | undefined;
6916
7125
  body?: string | undefined;
6917
7126
  title?: string | undefined;
7127
+ labels?: string[] | undefined;
6918
7128
  auth?: {
6919
7129
  token: string;
6920
7130
  type: "token";
@@ -6939,7 +7149,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6939
7149
  } | undefined;
6940
7150
  operation?: "replace" | "patch" | undefined;
6941
7151
  }[] | undefined;
6942
- labels?: string[] | undefined;
6943
7152
  reviewers?: string[] | undefined;
6944
7153
  teamReviewers?: string[] | undefined;
6945
7154
  postMergeDispatch?: {
@@ -7223,8 +7432,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7223
7432
  }[];
7224
7433
  webhookSecret?: string | undefined;
7225
7434
  body?: string | undefined;
7226
- base?: string | undefined;
7227
7435
  labels?: string[] | undefined;
7436
+ base?: string | undefined;
7228
7437
  reviewers?: string[] | undefined;
7229
7438
  teamReviewers?: string[] | undefined;
7230
7439
  }>>;
@@ -7327,8 +7536,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7327
7536
  }[];
7328
7537
  webhookSecret?: string | undefined;
7329
7538
  body?: string | undefined;
7330
- base?: string | undefined;
7331
7539
  labels?: string[] | undefined;
7540
+ base?: string | undefined;
7332
7541
  reviewers?: string[] | undefined;
7333
7542
  teamReviewers?: string[] | undefined;
7334
7543
  } | undefined;
@@ -7473,9 +7682,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7473
7682
  addToCell?: string | undefined;
7474
7683
  createRelationship?: {
7475
7684
  relationshipType: string;
7685
+ to: string;
7476
7686
  onSuccess: string;
7477
7687
  onFailure: string;
7478
- to: string;
7479
7688
  properties?: Record<string, string> | undefined;
7480
7689
  } | undefined;
7481
7690
  cascadeRules?: ({
@@ -7535,10 +7744,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7535
7744
  type: "create-relationship";
7536
7745
  from: string;
7537
7746
  relationshipType: string;
7747
+ to: string;
7538
7748
  onTrigger: string;
7539
7749
  onSuccess: string;
7540
7750
  onFailure: string;
7541
- to: string;
7542
7751
  properties?: Record<string, string> | undefined;
7543
7752
  } | {
7544
7753
  type: "delete-relationship";
@@ -7556,10 +7765,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7556
7765
  } | {
7557
7766
  type: "migrate-relationship";
7558
7767
  relationshipType: string;
7768
+ to: string;
7559
7769
  onTrigger: string;
7560
7770
  onSuccess: string;
7561
7771
  onFailure: string;
7562
- to: string;
7563
7772
  };
7564
7773
  associatedWith: {
7565
7774
  scope: "collection" | "instance";
@@ -7755,6 +7964,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7755
7964
  webhookSecret?: string | undefined;
7756
7965
  body?: string | undefined;
7757
7966
  title?: string | undefined;
7967
+ labels?: string[] | undefined;
7758
7968
  auth?: {
7759
7969
  token: string;
7760
7970
  type: "token";
@@ -7779,7 +7989,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7779
7989
  value?: unknown;
7780
7990
  } | undefined;
7781
7991
  }[] | undefined;
7782
- labels?: string[] | undefined;
7783
7992
  reviewers?: string[] | undefined;
7784
7993
  teamReviewers?: string[] | undefined;
7785
7994
  postMergeDispatch?: {
@@ -7896,9 +8105,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7896
8105
  addToCell?: string | undefined;
7897
8106
  createRelationship?: {
7898
8107
  relationshipType: string;
8108
+ to: string;
7899
8109
  onSuccess: string;
7900
8110
  onFailure: string;
7901
- to: string;
7902
8111
  properties?: Record<string, string> | undefined;
7903
8112
  } | undefined;
7904
8113
  cascadeRules?: ({
@@ -7958,10 +8167,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7958
8167
  type: "create-relationship";
7959
8168
  from: string;
7960
8169
  relationshipType: string;
8170
+ to: string;
7961
8171
  onTrigger: string;
7962
8172
  onSuccess: string;
7963
8173
  onFailure: string;
7964
- to: string;
7965
8174
  properties?: Record<string, string> | undefined;
7966
8175
  } | {
7967
8176
  type: "delete-relationship";
@@ -7979,10 +8188,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7979
8188
  } | {
7980
8189
  type: "migrate-relationship";
7981
8190
  relationshipType: string;
8191
+ to: string;
7982
8192
  onTrigger: string;
7983
8193
  onSuccess: string;
7984
8194
  onFailure: string;
7985
- to: string;
7986
8195
  };
7987
8196
  associatedWith: {
7988
8197
  scope: "collection" | "instance";
@@ -8044,8 +8253,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8044
8253
  }[];
8045
8254
  webhookSecret?: string | undefined;
8046
8255
  body?: string | undefined;
8047
- base?: string | undefined;
8048
8256
  labels?: string[] | undefined;
8257
+ base?: string | undefined;
8049
8258
  reviewers?: string[] | undefined;
8050
8259
  teamReviewers?: string[] | undefined;
8051
8260
  postMergeDispatch?: {
@@ -8116,8 +8325,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8116
8325
  }[];
8117
8326
  webhookSecret?: string | undefined;
8118
8327
  body?: string | undefined;
8119
- base?: string | undefined;
8120
8328
  labels?: string[] | undefined;
8329
+ base?: string | undefined;
8121
8330
  reviewers?: string[] | undefined;
8122
8331
  teamReviewers?: string[] | undefined;
8123
8332
  } | undefined;
@@ -8200,6 +8409,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8200
8409
  webhookSecret?: string | undefined;
8201
8410
  body?: string | undefined;
8202
8411
  title?: string | undefined;
8412
+ labels?: string[] | undefined;
8203
8413
  auth?: {
8204
8414
  token: string;
8205
8415
  type: "token";
@@ -8224,7 +8434,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8224
8434
  } | undefined;
8225
8435
  operation?: "replace" | "patch" | undefined;
8226
8436
  }[] | undefined;
8227
- labels?: string[] | undefined;
8228
8437
  reviewers?: string[] | undefined;
8229
8438
  teamReviewers?: string[] | undefined;
8230
8439
  postMergeDispatch?: {
@@ -8294,8 +8503,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8294
8503
  }[];
8295
8504
  webhookSecret?: string | undefined;
8296
8505
  body?: string | undefined;
8297
- base?: string | undefined;
8298
8506
  labels?: string[] | undefined;
8507
+ base?: string | undefined;
8299
8508
  reviewers?: string[] | undefined;
8300
8509
  teamReviewers?: string[] | undefined;
8301
8510
  } | undefined;
@@ -8372,9 +8581,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8372
8581
  addToCell?: string | undefined;
8373
8582
  createRelationship?: {
8374
8583
  relationshipType: string;
8584
+ to: string;
8375
8585
  onSuccess: string;
8376
8586
  onFailure: string;
8377
- to: string;
8378
8587
  properties?: {
8379
8588
  [x: string]: string;
8380
8589
  } | undefined;
@@ -8442,10 +8651,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8442
8651
  type: "create-relationship";
8443
8652
  from: string;
8444
8653
  relationshipType: string;
8654
+ to: string;
8445
8655
  onTrigger: string;
8446
8656
  onSuccess: string;
8447
8657
  onFailure: string;
8448
- to: string;
8449
8658
  properties?: {
8450
8659
  [x: string]: string;
8451
8660
  } | undefined;
@@ -8467,10 +8676,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8467
8676
  } | {
8468
8677
  type: "migrate-relationship";
8469
8678
  relationshipType: string;
8679
+ to: string;
8470
8680
  onTrigger: string;
8471
8681
  onSuccess: string;
8472
8682
  onFailure: string;
8473
- to: string;
8474
8683
  };
8475
8684
  trigger: {
8476
8685
  type: "webhook";
@@ -8681,6 +8890,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8681
8890
  webhookSecret?: string | undefined;
8682
8891
  body?: string | undefined;
8683
8892
  title?: string | undefined;
8893
+ labels?: string[] | undefined;
8684
8894
  auth?: {
8685
8895
  token: string;
8686
8896
  type: "token";
@@ -8705,7 +8915,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8705
8915
  value?: hono_utils_types.JSONValue | undefined;
8706
8916
  } | undefined;
8707
8917
  }[] | undefined;
8708
- labels?: string[] | undefined;
8709
8918
  reviewers?: string[] | undefined;
8710
8919
  teamReviewers?: string[] | undefined;
8711
8920
  postMergeDispatch?: {
@@ -8908,15 +9117,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8908
9117
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8909
9118
  }, "strip", zod.ZodTypeAny, {
8910
9119
  relationshipType: string;
9120
+ to: string;
8911
9121
  onSuccess: string;
8912
9122
  onFailure: string;
8913
- to: string;
8914
9123
  properties?: Record<string, string> | undefined;
8915
9124
  }, {
8916
9125
  relationshipType: string;
9126
+ to: string;
8917
9127
  onSuccess: string;
8918
9128
  onFailure: string;
8919
- to: string;
8920
9129
  properties?: Record<string, string> | undefined;
8921
9130
  }>>;
8922
9131
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -9004,9 +9213,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9004
9213
  addToCell?: string | undefined;
9005
9214
  createRelationship?: {
9006
9215
  relationshipType: string;
9216
+ to: string;
9007
9217
  onSuccess: string;
9008
9218
  onFailure: string;
9009
- to: string;
9010
9219
  properties?: Record<string, string> | undefined;
9011
9220
  } | undefined;
9012
9221
  cascadeRules?: ({
@@ -9038,9 +9247,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9038
9247
  addToCell?: string | undefined;
9039
9248
  createRelationship?: {
9040
9249
  relationshipType: string;
9250
+ to: string;
9041
9251
  onSuccess: string;
9042
9252
  onFailure: string;
9043
- to: string;
9044
9253
  properties?: Record<string, string> | undefined;
9045
9254
  } | undefined;
9046
9255
  cascadeRules?: ({
@@ -9235,19 +9444,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9235
9444
  type: "create-relationship";
9236
9445
  from: string;
9237
9446
  relationshipType: string;
9447
+ to: string;
9238
9448
  onTrigger: string;
9239
9449
  onSuccess: string;
9240
9450
  onFailure: string;
9241
- to: string;
9242
9451
  properties?: Record<string, string> | undefined;
9243
9452
  }, {
9244
9453
  type: "create-relationship";
9245
9454
  from: string;
9246
9455
  relationshipType: string;
9456
+ to: string;
9247
9457
  onTrigger: string;
9248
9458
  onSuccess: string;
9249
9459
  onFailure: string;
9250
- to: string;
9251
9460
  properties?: Record<string, string> | undefined;
9252
9461
  }>, zod.ZodObject<{
9253
9462
  type: zod.ZodLiteral<"delete-relationship">;
@@ -9298,17 +9507,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9298
9507
  }, "strip", zod.ZodTypeAny, {
9299
9508
  type: "migrate-relationship";
9300
9509
  relationshipType: string;
9510
+ to: string;
9301
9511
  onTrigger: string;
9302
9512
  onSuccess: string;
9303
9513
  onFailure: string;
9304
- to: string;
9305
9514
  }, {
9306
9515
  type: "migrate-relationship";
9307
9516
  relationshipType: string;
9517
+ to: string;
9308
9518
  onTrigger: string;
9309
9519
  onSuccess: string;
9310
9520
  onFailure: string;
9311
- to: string;
9312
9521
  }>]>;
9313
9522
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
9314
9523
  type: zod.ZodLiteral<"webhook">;
@@ -9644,8 +9853,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9644
9853
  }[];
9645
9854
  webhookSecret?: string | undefined;
9646
9855
  body?: string | undefined;
9647
- base?: string | undefined;
9648
9856
  labels?: string[] | undefined;
9857
+ base?: string | undefined;
9649
9858
  reviewers?: string[] | undefined;
9650
9859
  teamReviewers?: string[] | undefined;
9651
9860
  postMergeDispatch?: {
@@ -9930,8 +10139,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9930
10139
  }[];
9931
10140
  webhookSecret?: string | undefined;
9932
10141
  body?: string | undefined;
9933
- base?: string | undefined;
9934
10142
  labels?: string[] | undefined;
10143
+ base?: string | undefined;
9935
10144
  reviewers?: string[] | undefined;
9936
10145
  teamReviewers?: string[] | undefined;
9937
10146
  }>>;
@@ -10034,8 +10243,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10034
10243
  }[];
10035
10244
  webhookSecret?: string | undefined;
10036
10245
  body?: string | undefined;
10037
- base?: string | undefined;
10038
10246
  labels?: string[] | undefined;
10247
+ base?: string | undefined;
10039
10248
  reviewers?: string[] | undefined;
10040
10249
  teamReviewers?: string[] | undefined;
10041
10250
  } | undefined;
@@ -10342,8 +10551,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10342
10551
  }[];
10343
10552
  webhookSecret?: string | undefined;
10344
10553
  body?: string | undefined;
10345
- base?: string | undefined;
10346
10554
  labels?: string[] | undefined;
10555
+ base?: string | undefined;
10347
10556
  reviewers?: string[] | undefined;
10348
10557
  teamReviewers?: string[] | undefined;
10349
10558
  postMergeDispatch?: {
@@ -10414,8 +10623,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10414
10623
  }[];
10415
10624
  webhookSecret?: string | undefined;
10416
10625
  body?: string | undefined;
10417
- base?: string | undefined;
10418
10626
  labels?: string[] | undefined;
10627
+ base?: string | undefined;
10419
10628
  reviewers?: string[] | undefined;
10420
10629
  teamReviewers?: string[] | undefined;
10421
10630
  } | undefined;
@@ -10710,6 +10919,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10710
10919
  webhookSecret?: string | undefined;
10711
10920
  body?: string | undefined;
10712
10921
  title?: string | undefined;
10922
+ labels?: string[] | undefined;
10713
10923
  auth?: {
10714
10924
  token: string;
10715
10925
  type: "token";
@@ -10734,7 +10944,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10734
10944
  value?: unknown;
10735
10945
  } | undefined;
10736
10946
  }[] | undefined;
10737
- labels?: string[] | undefined;
10738
10947
  reviewers?: string[] | undefined;
10739
10948
  teamReviewers?: string[] | undefined;
10740
10949
  postMergeDispatch?: {
@@ -10748,6 +10957,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10748
10957
  webhookSecret?: string | undefined;
10749
10958
  body?: string | undefined;
10750
10959
  title?: string | undefined;
10960
+ labels?: string[] | undefined;
10751
10961
  auth?: {
10752
10962
  token: string;
10753
10963
  type: "token";
@@ -10772,7 +10982,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10772
10982
  } | undefined;
10773
10983
  operation?: "replace" | "patch" | undefined;
10774
10984
  }[] | undefined;
10775
- labels?: string[] | undefined;
10776
10985
  reviewers?: string[] | undefined;
10777
10986
  teamReviewers?: string[] | undefined;
10778
10987
  postMergeDispatch?: {
@@ -11056,8 +11265,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11056
11265
  }[];
11057
11266
  webhookSecret?: string | undefined;
11058
11267
  body?: string | undefined;
11059
- base?: string | undefined;
11060
11268
  labels?: string[] | undefined;
11269
+ base?: string | undefined;
11061
11270
  reviewers?: string[] | undefined;
11062
11271
  teamReviewers?: string[] | undefined;
11063
11272
  }>>;
@@ -11160,8 +11369,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11160
11369
  }[];
11161
11370
  webhookSecret?: string | undefined;
11162
11371
  body?: string | undefined;
11163
- base?: string | undefined;
11164
11372
  labels?: string[] | undefined;
11373
+ base?: string | undefined;
11165
11374
  reviewers?: string[] | undefined;
11166
11375
  teamReviewers?: string[] | undefined;
11167
11376
  } | undefined;
@@ -11306,9 +11515,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11306
11515
  addToCell?: string | undefined;
11307
11516
  createRelationship?: {
11308
11517
  relationshipType: string;
11518
+ to: string;
11309
11519
  onSuccess: string;
11310
11520
  onFailure: string;
11311
- to: string;
11312
11521
  properties?: Record<string, string> | undefined;
11313
11522
  } | undefined;
11314
11523
  cascadeRules?: ({
@@ -11368,10 +11577,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11368
11577
  type: "create-relationship";
11369
11578
  from: string;
11370
11579
  relationshipType: string;
11580
+ to: string;
11371
11581
  onTrigger: string;
11372
11582
  onSuccess: string;
11373
11583
  onFailure: string;
11374
- to: string;
11375
11584
  properties?: Record<string, string> | undefined;
11376
11585
  } | {
11377
11586
  type: "delete-relationship";
@@ -11389,10 +11598,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11389
11598
  } | {
11390
11599
  type: "migrate-relationship";
11391
11600
  relationshipType: string;
11601
+ to: string;
11392
11602
  onTrigger: string;
11393
11603
  onSuccess: string;
11394
11604
  onFailure: string;
11395
- to: string;
11396
11605
  };
11397
11606
  associatedWith: {
11398
11607
  scope: "collection" | "instance";
@@ -11588,6 +11797,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11588
11797
  webhookSecret?: string | undefined;
11589
11798
  body?: string | undefined;
11590
11799
  title?: string | undefined;
11800
+ labels?: string[] | undefined;
11591
11801
  auth?: {
11592
11802
  token: string;
11593
11803
  type: "token";
@@ -11612,7 +11822,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11612
11822
  value?: unknown;
11613
11823
  } | undefined;
11614
11824
  }[] | undefined;
11615
- labels?: string[] | undefined;
11616
11825
  reviewers?: string[] | undefined;
11617
11826
  teamReviewers?: string[] | undefined;
11618
11827
  postMergeDispatch?: {
@@ -11729,9 +11938,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11729
11938
  addToCell?: string | undefined;
11730
11939
  createRelationship?: {
11731
11940
  relationshipType: string;
11941
+ to: string;
11732
11942
  onSuccess: string;
11733
11943
  onFailure: string;
11734
- to: string;
11735
11944
  properties?: Record<string, string> | undefined;
11736
11945
  } | undefined;
11737
11946
  cascadeRules?: ({
@@ -11791,10 +12000,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11791
12000
  type: "create-relationship";
11792
12001
  from: string;
11793
12002
  relationshipType: string;
12003
+ to: string;
11794
12004
  onTrigger: string;
11795
12005
  onSuccess: string;
11796
12006
  onFailure: string;
11797
- to: string;
11798
12007
  properties?: Record<string, string> | undefined;
11799
12008
  } | {
11800
12009
  type: "delete-relationship";
@@ -11812,10 +12021,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11812
12021
  } | {
11813
12022
  type: "migrate-relationship";
11814
12023
  relationshipType: string;
12024
+ to: string;
11815
12025
  onTrigger: string;
11816
12026
  onSuccess: string;
11817
12027
  onFailure: string;
11818
- to: string;
11819
12028
  };
11820
12029
  associatedWith: {
11821
12030
  scope: "collection" | "instance";
@@ -11877,8 +12086,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11877
12086
  }[];
11878
12087
  webhookSecret?: string | undefined;
11879
12088
  body?: string | undefined;
11880
- base?: string | undefined;
11881
12089
  labels?: string[] | undefined;
12090
+ base?: string | undefined;
11882
12091
  reviewers?: string[] | undefined;
11883
12092
  teamReviewers?: string[] | undefined;
11884
12093
  postMergeDispatch?: {
@@ -11949,8 +12158,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11949
12158
  }[];
11950
12159
  webhookSecret?: string | undefined;
11951
12160
  body?: string | undefined;
11952
- base?: string | undefined;
11953
12161
  labels?: string[] | undefined;
12162
+ base?: string | undefined;
11954
12163
  reviewers?: string[] | undefined;
11955
12164
  teamReviewers?: string[] | undefined;
11956
12165
  } | undefined;
@@ -12033,6 +12242,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12033
12242
  webhookSecret?: string | undefined;
12034
12243
  body?: string | undefined;
12035
12244
  title?: string | undefined;
12245
+ labels?: string[] | undefined;
12036
12246
  auth?: {
12037
12247
  token: string;
12038
12248
  type: "token";
@@ -12057,7 +12267,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12057
12267
  } | undefined;
12058
12268
  operation?: "replace" | "patch" | undefined;
12059
12269
  }[] | undefined;
12060
- labels?: string[] | undefined;
12061
12270
  reviewers?: string[] | undefined;
12062
12271
  teamReviewers?: string[] | undefined;
12063
12272
  postMergeDispatch?: {
@@ -12127,8 +12336,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12127
12336
  }[];
12128
12337
  webhookSecret?: string | undefined;
12129
12338
  body?: string | undefined;
12130
- base?: string | undefined;
12131
12339
  labels?: string[] | undefined;
12340
+ base?: string | undefined;
12132
12341
  reviewers?: string[] | undefined;
12133
12342
  teamReviewers?: string[] | undefined;
12134
12343
  } | undefined;
@@ -12205,9 +12414,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12205
12414
  addToCell?: string | undefined;
12206
12415
  createRelationship?: {
12207
12416
  relationshipType: string;
12417
+ to: string;
12208
12418
  onSuccess: string;
12209
12419
  onFailure: string;
12210
- to: string;
12211
12420
  properties?: {
12212
12421
  [x: string]: string;
12213
12422
  } | undefined;
@@ -12275,10 +12484,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12275
12484
  type: "create-relationship";
12276
12485
  from: string;
12277
12486
  relationshipType: string;
12487
+ to: string;
12278
12488
  onTrigger: string;
12279
12489
  onSuccess: string;
12280
12490
  onFailure: string;
12281
- to: string;
12282
12491
  properties?: {
12283
12492
  [x: string]: string;
12284
12493
  } | undefined;
@@ -12300,10 +12509,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12300
12509
  } | {
12301
12510
  type: "migrate-relationship";
12302
12511
  relationshipType: string;
12512
+ to: string;
12303
12513
  onTrigger: string;
12304
12514
  onSuccess: string;
12305
12515
  onFailure: string;
12306
- to: string;
12307
12516
  };
12308
12517
  trigger: {
12309
12518
  type: "webhook";
@@ -12514,6 +12723,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12514
12723
  webhookSecret?: string | undefined;
12515
12724
  body?: string | undefined;
12516
12725
  title?: string | undefined;
12726
+ labels?: string[] | undefined;
12517
12727
  auth?: {
12518
12728
  token: string;
12519
12729
  type: "token";
@@ -12538,7 +12748,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12538
12748
  value?: hono_utils_types.JSONValue | undefined;
12539
12749
  } | undefined;
12540
12750
  }[] | undefined;
12541
- labels?: string[] | undefined;
12542
12751
  reviewers?: string[] | undefined;
12543
12752
  teamReviewers?: string[] | undefined;
12544
12753
  postMergeDispatch?: {
@@ -12691,8 +12900,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12691
12900
  status: "failed" | "pending" | "running" | "succeeded" | "cancelled" | "dispatching" | "blocked";
12692
12901
  id: string;
12693
12902
  createdAt: string;
12694
- error: string | null;
12695
12903
  metadata: hono_utils_types.JSONValue;
12904
+ error: string | null;
12696
12905
  output: hono_utils_types.JSONValue;
12697
12906
  orgId: string;
12698
12907
  projectId: string;
@@ -13084,6 +13293,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13084
13293
  kind: "data" | "resource" | "module";
13085
13294
  address: string;
13086
13295
  }>, "many">>;
13296
+ strictComposition: zod.ZodOptional<zod.ZodBoolean>;
13297
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
13298
+ labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
13087
13299
  }, "strip", zod.ZodTypeAny, {
13088
13300
  name: string;
13089
13301
  states: string[];
@@ -13126,11 +13338,14 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13126
13338
  kind: "data" | "resource" | "module";
13127
13339
  address: string;
13128
13340
  }[] | undefined;
13341
+ strictComposition?: boolean | undefined;
13129
13342
  syncFreshness?: {
13130
13343
  greenSeconds?: number | undefined;
13131
13344
  yellowSeconds?: number | undefined;
13132
13345
  } | undefined;
13133
13346
  applier?: string | undefined;
13347
+ labels?: Record<string, string> | undefined;
13348
+ labelMappings?: Record<string, string> | undefined;
13134
13349
  }, {
13135
13350
  name: string;
13136
13351
  states: string[];
@@ -13172,12 +13387,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13172
13387
  kind: "data" | "resource" | "module";
13173
13388
  address: string;
13174
13389
  }[] | undefined;
13390
+ strictComposition?: boolean | undefined;
13175
13391
  syncTracked?: boolean | undefined;
13176
13392
  syncFreshness?: {
13177
13393
  greenSeconds?: number | undefined;
13178
13394
  yellowSeconds?: number | undefined;
13179
13395
  } | undefined;
13180
13396
  applier?: string | undefined;
13397
+ labels?: Record<string, string> | undefined;
13398
+ labelMappings?: Record<string, string> | undefined;
13181
13399
  }>, zod.ZodObject<{
13182
13400
  kind: zod.ZodLiteral<"Cell">;
13183
13401
  name: zod.ZodString;
@@ -13456,6 +13674,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13456
13674
  policy?: "least-loaded" | "round-robin" | "random" | undefined;
13457
13675
  }> | undefined;
13458
13676
  }>>;
13677
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
13459
13678
  }, "strip", zod.ZodTypeAny, {
13460
13679
  name: string;
13461
13680
  entityType: string;
@@ -13468,6 +13687,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13468
13687
  placementPolicy: "least-loaded" | "round-robin" | "random";
13469
13688
  parentCells: string[];
13470
13689
  displayName?: string | undefined;
13690
+ labels?: Record<string, string> | undefined;
13471
13691
  targetSelector?: {
13472
13692
  primary: {
13473
13693
  set: string;
@@ -13518,6 +13738,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13518
13738
  metric: string;
13519
13739
  aggregate: "max" | "sum" | "avg" | "min";
13520
13740
  }[] | undefined;
13741
+ labels?: Record<string, string> | undefined;
13521
13742
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
13522
13743
  parentCells?: string[] | undefined;
13523
13744
  targetSelector?: {
@@ -13567,7 +13788,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13567
13788
  from: zod.ZodString;
13568
13789
  to: zod.ZodString;
13569
13790
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
13570
- states: zod.ZodArray<zod.ZodString, "many">;
13791
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
13571
13792
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
13572
13793
  name: zod.ZodString;
13573
13794
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -13594,17 +13815,28 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13594
13815
  enum?: string[] | undefined;
13595
13816
  }>, "many">>>;
13596
13817
  containment: zod.ZodOptional<zod.ZodBoolean>;
13818
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
13819
+ property: zod.ZodString;
13820
+ targetProperty: zod.ZodOptional<zod.ZodString>;
13821
+ }, "strip", zod.ZodTypeAny, {
13822
+ property: string;
13823
+ targetProperty?: string | undefined;
13824
+ }, {
13825
+ property: string;
13826
+ targetProperty?: string | undefined;
13827
+ }>>;
13828
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
13597
13829
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
13598
13830
  type: zod.ZodLiteral<"property-sum">;
13599
- property: zod.ZodString;
13831
+ fromProperty: zod.ZodString;
13600
13832
  leq: zod.ZodString;
13601
13833
  }, "strip", zod.ZodTypeAny, {
13602
13834
  type: "property-sum";
13603
- property: string;
13835
+ fromProperty: string;
13604
13836
  leq: string;
13605
13837
  }, {
13606
13838
  type: "property-sum";
13607
- property: string;
13839
+ fromProperty: string;
13608
13840
  leq: string;
13609
13841
  }>, zod.ZodObject<{
13610
13842
  type: zod.ZodLiteral<"relationship-count">;
@@ -13631,7 +13863,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13631
13863
  }[];
13632
13864
  constraints: ({
13633
13865
  type: "property-sum";
13634
- property: string;
13866
+ fromProperty: string;
13635
13867
  leq: string;
13636
13868
  } | {
13637
13869
  type: "relationship-count";
@@ -13641,14 +13873,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13641
13873
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
13642
13874
  to: string;
13643
13875
  displayName?: string | undefined;
13876
+ derivedFrom?: {
13877
+ property: string;
13878
+ targetProperty?: string | undefined;
13879
+ } | undefined;
13880
+ labels?: Record<string, string> | undefined;
13644
13881
  containment?: boolean | undefined;
13645
13882
  }, {
13646
13883
  name: string;
13647
13884
  from: string;
13648
- states: string[];
13649
13885
  kind: "RelationshipType";
13650
13886
  to: string;
13651
13887
  displayName?: string | undefined;
13888
+ states?: string[] | undefined;
13652
13889
  properties?: {
13653
13890
  name: string;
13654
13891
  type: "string" | "number" | "boolean" | "integer";
@@ -13658,14 +13895,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13658
13895
  title?: string | undefined;
13659
13896
  enum?: string[] | undefined;
13660
13897
  }[] | undefined;
13898
+ derivedFrom?: {
13899
+ property: string;
13900
+ targetProperty?: string | undefined;
13901
+ } | undefined;
13661
13902
  constraints?: ({
13662
13903
  type: "property-sum";
13663
- property: string;
13904
+ fromProperty: string;
13664
13905
  leq: string;
13665
13906
  } | {
13666
13907
  type: "relationship-count";
13667
13908
  leq: string | number;
13668
13909
  })[] | undefined;
13910
+ labels?: Record<string, string> | undefined;
13669
13911
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
13670
13912
  containment?: boolean | undefined;
13671
13913
  }>, zod.ZodObject<{
@@ -13760,15 +14002,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13760
14002
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
13761
14003
  }, "strip", zod.ZodTypeAny, {
13762
14004
  relationshipType: string;
14005
+ to: string;
13763
14006
  onSuccess: string;
13764
14007
  onFailure: string;
13765
- to: string;
13766
14008
  properties?: Record<string, string> | undefined;
13767
14009
  }, {
13768
14010
  relationshipType: string;
14011
+ to: string;
13769
14012
  onSuccess: string;
13770
14013
  onFailure: string;
13771
- to: string;
13772
14014
  properties?: Record<string, string> | undefined;
13773
14015
  }>>;
13774
14016
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -13856,9 +14098,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13856
14098
  addToCell?: string | undefined;
13857
14099
  createRelationship?: {
13858
14100
  relationshipType: string;
14101
+ to: string;
13859
14102
  onSuccess: string;
13860
14103
  onFailure: string;
13861
- to: string;
13862
14104
  properties?: Record<string, string> | undefined;
13863
14105
  } | undefined;
13864
14106
  cascadeRules?: ({
@@ -13890,9 +14132,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13890
14132
  addToCell?: string | undefined;
13891
14133
  createRelationship?: {
13892
14134
  relationshipType: string;
14135
+ to: string;
13893
14136
  onSuccess: string;
13894
14137
  onFailure: string;
13895
- to: string;
13896
14138
  properties?: Record<string, string> | undefined;
13897
14139
  } | undefined;
13898
14140
  cascadeRules?: ({
@@ -14087,19 +14329,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14087
14329
  type: "create-relationship";
14088
14330
  from: string;
14089
14331
  relationshipType: string;
14332
+ to: string;
14090
14333
  onTrigger: string;
14091
14334
  onSuccess: string;
14092
14335
  onFailure: string;
14093
- to: string;
14094
14336
  properties?: Record<string, string> | undefined;
14095
14337
  }, {
14096
14338
  type: "create-relationship";
14097
14339
  from: string;
14098
14340
  relationshipType: string;
14341
+ to: string;
14099
14342
  onTrigger: string;
14100
14343
  onSuccess: string;
14101
14344
  onFailure: string;
14102
- to: string;
14103
14345
  properties?: Record<string, string> | undefined;
14104
14346
  }>, zod.ZodObject<{
14105
14347
  type: zod.ZodLiteral<"delete-relationship">;
@@ -14150,17 +14392,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14150
14392
  }, "strip", zod.ZodTypeAny, {
14151
14393
  type: "migrate-relationship";
14152
14394
  relationshipType: string;
14395
+ to: string;
14153
14396
  onTrigger: string;
14154
14397
  onSuccess: string;
14155
14398
  onFailure: string;
14156
- to: string;
14157
14399
  }, {
14158
14400
  type: "migrate-relationship";
14159
14401
  relationshipType: string;
14402
+ to: string;
14160
14403
  onTrigger: string;
14161
14404
  onSuccess: string;
14162
14405
  onFailure: string;
14163
- to: string;
14164
14406
  }>]>;
14165
14407
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
14166
14408
  type: zod.ZodLiteral<"webhook">;
@@ -14496,8 +14738,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14496
14738
  }[];
14497
14739
  webhookSecret?: string | undefined;
14498
14740
  body?: string | undefined;
14499
- base?: string | undefined;
14500
14741
  labels?: string[] | undefined;
14742
+ base?: string | undefined;
14501
14743
  reviewers?: string[] | undefined;
14502
14744
  teamReviewers?: string[] | undefined;
14503
14745
  postMergeDispatch?: {
@@ -14782,8 +15024,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14782
15024
  }[];
14783
15025
  webhookSecret?: string | undefined;
14784
15026
  body?: string | undefined;
14785
- base?: string | undefined;
14786
15027
  labels?: string[] | undefined;
15028
+ base?: string | undefined;
14787
15029
  reviewers?: string[] | undefined;
14788
15030
  teamReviewers?: string[] | undefined;
14789
15031
  }>>;
@@ -14886,8 +15128,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14886
15128
  }[];
14887
15129
  webhookSecret?: string | undefined;
14888
15130
  body?: string | undefined;
14889
- base?: string | undefined;
14890
15131
  labels?: string[] | undefined;
15132
+ base?: string | undefined;
14891
15133
  reviewers?: string[] | undefined;
14892
15134
  teamReviewers?: string[] | undefined;
14893
15135
  } | undefined;
@@ -15194,8 +15436,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15194
15436
  }[];
15195
15437
  webhookSecret?: string | undefined;
15196
15438
  body?: string | undefined;
15197
- base?: string | undefined;
15198
15439
  labels?: string[] | undefined;
15440
+ base?: string | undefined;
15199
15441
  reviewers?: string[] | undefined;
15200
15442
  teamReviewers?: string[] | undefined;
15201
15443
  postMergeDispatch?: {
@@ -15266,8 +15508,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15266
15508
  }[];
15267
15509
  webhookSecret?: string | undefined;
15268
15510
  body?: string | undefined;
15269
- base?: string | undefined;
15270
15511
  labels?: string[] | undefined;
15512
+ base?: string | undefined;
15271
15513
  reviewers?: string[] | undefined;
15272
15514
  teamReviewers?: string[] | undefined;
15273
15515
  } | undefined;
@@ -15562,6 +15804,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15562
15804
  webhookSecret?: string | undefined;
15563
15805
  body?: string | undefined;
15564
15806
  title?: string | undefined;
15807
+ labels?: string[] | undefined;
15565
15808
  auth?: {
15566
15809
  token: string;
15567
15810
  type: "token";
@@ -15586,7 +15829,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15586
15829
  value?: unknown;
15587
15830
  } | undefined;
15588
15831
  }[] | undefined;
15589
- labels?: string[] | undefined;
15590
15832
  reviewers?: string[] | undefined;
15591
15833
  teamReviewers?: string[] | undefined;
15592
15834
  postMergeDispatch?: {
@@ -15600,6 +15842,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15600
15842
  webhookSecret?: string | undefined;
15601
15843
  body?: string | undefined;
15602
15844
  title?: string | undefined;
15845
+ labels?: string[] | undefined;
15603
15846
  auth?: {
15604
15847
  token: string;
15605
15848
  type: "token";
@@ -15624,7 +15867,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15624
15867
  } | undefined;
15625
15868
  operation?: "replace" | "patch" | undefined;
15626
15869
  }[] | undefined;
15627
- labels?: string[] | undefined;
15628
15870
  reviewers?: string[] | undefined;
15629
15871
  teamReviewers?: string[] | undefined;
15630
15872
  postMergeDispatch?: {
@@ -15908,8 +16150,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15908
16150
  }[];
15909
16151
  webhookSecret?: string | undefined;
15910
16152
  body?: string | undefined;
15911
- base?: string | undefined;
15912
16153
  labels?: string[] | undefined;
16154
+ base?: string | undefined;
15913
16155
  reviewers?: string[] | undefined;
15914
16156
  teamReviewers?: string[] | undefined;
15915
16157
  }>>;
@@ -16012,8 +16254,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16012
16254
  }[];
16013
16255
  webhookSecret?: string | undefined;
16014
16256
  body?: string | undefined;
16015
- base?: string | undefined;
16016
16257
  labels?: string[] | undefined;
16258
+ base?: string | undefined;
16017
16259
  reviewers?: string[] | undefined;
16018
16260
  teamReviewers?: string[] | undefined;
16019
16261
  } | undefined;
@@ -16153,9 +16395,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16153
16395
  addToCell?: string | undefined;
16154
16396
  createRelationship?: {
16155
16397
  relationshipType: string;
16398
+ to: string;
16156
16399
  onSuccess: string;
16157
16400
  onFailure: string;
16158
- to: string;
16159
16401
  properties?: Record<string, string> | undefined;
16160
16402
  } | undefined;
16161
16403
  cascadeRules?: ({
@@ -16215,10 +16457,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16215
16457
  type: "create-relationship";
16216
16458
  from: string;
16217
16459
  relationshipType: string;
16460
+ to: string;
16218
16461
  onTrigger: string;
16219
16462
  onSuccess: string;
16220
16463
  onFailure: string;
16221
- to: string;
16222
16464
  properties?: Record<string, string> | undefined;
16223
16465
  } | {
16224
16466
  type: "delete-relationship";
@@ -16236,10 +16478,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16236
16478
  } | {
16237
16479
  type: "migrate-relationship";
16238
16480
  relationshipType: string;
16481
+ to: string;
16239
16482
  onTrigger: string;
16240
16483
  onSuccess: string;
16241
16484
  onFailure: string;
16242
- to: string;
16243
16485
  };
16244
16486
  associatedWith: {
16245
16487
  scope: "collection" | "instance";
@@ -16435,6 +16677,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16435
16677
  webhookSecret?: string | undefined;
16436
16678
  body?: string | undefined;
16437
16679
  title?: string | undefined;
16680
+ labels?: string[] | undefined;
16438
16681
  auth?: {
16439
16682
  token: string;
16440
16683
  type: "token";
@@ -16459,7 +16702,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16459
16702
  value?: unknown;
16460
16703
  } | undefined;
16461
16704
  }[] | undefined;
16462
- labels?: string[] | undefined;
16463
16705
  reviewers?: string[] | undefined;
16464
16706
  teamReviewers?: string[] | undefined;
16465
16707
  postMergeDispatch?: {
@@ -16574,9 +16816,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16574
16816
  addToCell?: string | undefined;
16575
16817
  createRelationship?: {
16576
16818
  relationshipType: string;
16819
+ to: string;
16577
16820
  onSuccess: string;
16578
16821
  onFailure: string;
16579
- to: string;
16580
16822
  properties?: Record<string, string> | undefined;
16581
16823
  } | undefined;
16582
16824
  cascadeRules?: ({
@@ -16636,10 +16878,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16636
16878
  type: "create-relationship";
16637
16879
  from: string;
16638
16880
  relationshipType: string;
16881
+ to: string;
16639
16882
  onTrigger: string;
16640
16883
  onSuccess: string;
16641
16884
  onFailure: string;
16642
- to: string;
16643
16885
  properties?: Record<string, string> | undefined;
16644
16886
  } | {
16645
16887
  type: "delete-relationship";
@@ -16657,10 +16899,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16657
16899
  } | {
16658
16900
  type: "migrate-relationship";
16659
16901
  relationshipType: string;
16902
+ to: string;
16660
16903
  onTrigger: string;
16661
16904
  onSuccess: string;
16662
16905
  onFailure: string;
16663
- to: string;
16664
16906
  };
16665
16907
  associatedWith: {
16666
16908
  scope: "collection" | "instance";
@@ -16722,8 +16964,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16722
16964
  }[];
16723
16965
  webhookSecret?: string | undefined;
16724
16966
  body?: string | undefined;
16725
- base?: string | undefined;
16726
16967
  labels?: string[] | undefined;
16968
+ base?: string | undefined;
16727
16969
  reviewers?: string[] | undefined;
16728
16970
  teamReviewers?: string[] | undefined;
16729
16971
  postMergeDispatch?: {
@@ -16794,8 +17036,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16794
17036
  }[];
16795
17037
  webhookSecret?: string | undefined;
16796
17038
  body?: string | undefined;
16797
- base?: string | undefined;
16798
17039
  labels?: string[] | undefined;
17040
+ base?: string | undefined;
16799
17041
  reviewers?: string[] | undefined;
16800
17042
  teamReviewers?: string[] | undefined;
16801
17043
  } | undefined;
@@ -16878,6 +17120,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16878
17120
  webhookSecret?: string | undefined;
16879
17121
  body?: string | undefined;
16880
17122
  title?: string | undefined;
17123
+ labels?: string[] | undefined;
16881
17124
  auth?: {
16882
17125
  token: string;
16883
17126
  type: "token";
@@ -16902,7 +17145,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16902
17145
  } | undefined;
16903
17146
  operation?: "replace" | "patch" | undefined;
16904
17147
  }[] | undefined;
16905
- labels?: string[] | undefined;
16906
17148
  reviewers?: string[] | undefined;
16907
17149
  teamReviewers?: string[] | undefined;
16908
17150
  postMergeDispatch?: {
@@ -16972,8 +17214,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16972
17214
  }[];
16973
17215
  webhookSecret?: string | undefined;
16974
17216
  body?: string | undefined;
16975
- base?: string | undefined;
16976
17217
  labels?: string[] | undefined;
17218
+ base?: string | undefined;
16977
17219
  reviewers?: string[] | undefined;
16978
17220
  teamReviewers?: string[] | undefined;
16979
17221
  } | undefined;
@@ -17048,15 +17290,13 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17048
17290
  from: zod.ZodString;
17049
17291
  to: zod.ZodString;
17050
17292
  state: zod.ZodOptional<zod.ZodString>;
17051
- properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
17052
17293
  labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
17053
17294
  }, "strip", zod.ZodTypeAny, {
17054
17295
  from: string;
17055
- properties: Record<string, unknown>;
17056
17296
  relationshipType: string;
17057
17297
  kind: "Relationship";
17058
- to: string;
17059
17298
  labels: Record<string, string>;
17299
+ to: string;
17060
17300
  state?: string | undefined;
17061
17301
  }, {
17062
17302
  from: string;
@@ -17064,7 +17304,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17064
17304
  kind: "Relationship";
17065
17305
  to: string;
17066
17306
  state?: string | undefined;
17067
- properties?: Record<string, unknown> | undefined;
17068
17307
  labels?: Record<string, string> | undefined;
17069
17308
  }>, zod.ZodObject<{
17070
17309
  kind: zod.ZodLiteral<"DeploymentTarget">;
@@ -17076,6 +17315,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17076
17315
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
17077
17316
  capacity: zod.ZodOptional<zod.ZodNumber>;
17078
17317
  credentialRef: zod.ZodOptional<zod.ZodString>;
17318
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
17079
17319
  }, "strip", zod.ZodTypeAny, {
17080
17320
  name: string;
17081
17321
  properties: Record<string, string>;
@@ -17084,6 +17324,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17084
17324
  set?: string | undefined;
17085
17325
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
17086
17326
  displayName?: string | undefined;
17327
+ labels?: Record<string, string> | undefined;
17087
17328
  credentialRef?: string | undefined;
17088
17329
  capacity?: number | undefined;
17089
17330
  }, {
@@ -17093,6 +17334,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17093
17334
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
17094
17335
  displayName?: string | undefined;
17095
17336
  properties?: Record<string, string> | undefined;
17337
+ labels?: Record<string, string> | undefined;
17096
17338
  config?: Record<string, unknown> | undefined;
17097
17339
  credentialRef?: string | undefined;
17098
17340
  capacity?: number | undefined;
@@ -17102,13 +17344,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17102
17344
  displayName: zod.ZodOptional<zod.ZodString>;
17103
17345
  provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
17104
17346
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
17347
+ config: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
17105
17348
  credentialRef: zod.ZodOptional<zod.ZodString>;
17349
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
17106
17350
  }, "strip", zod.ZodTypeAny, {
17107
17351
  name: string;
17108
17352
  provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
17109
17353
  properties: Record<string, string>;
17110
17354
  kind: "DeploymentTargetSet";
17111
17355
  displayName?: string | undefined;
17356
+ labels?: Record<string, string> | undefined;
17357
+ config?: Record<string, unknown> | undefined;
17112
17358
  credentialRef?: string | undefined;
17113
17359
  }, {
17114
17360
  name: string;
@@ -17116,6 +17362,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17116
17362
  kind: "DeploymentTargetSet";
17117
17363
  displayName?: string | undefined;
17118
17364
  properties?: Record<string, string> | undefined;
17365
+ labels?: Record<string, string> | undefined;
17366
+ config?: Record<string, unknown> | undefined;
17119
17367
  credentialRef?: string | undefined;
17120
17368
  }>]>, "many">;
17121
17369
  force: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
@@ -17124,10 +17372,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17124
17372
  name: zod.ZodString;
17125
17373
  }, "strip", zod.ZodTypeAny, {
17126
17374
  name: string;
17127
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
17375
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
17128
17376
  }, {
17129
17377
  name: string;
17130
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
17378
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
17131
17379
  }>, "many">>>;
17132
17380
  dryRun: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
17133
17381
  } & {
@@ -17139,6 +17387,37 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17139
17387
  projectId: string;
17140
17388
  envName: string;
17141
17389
  items: ({
17390
+ name: string;
17391
+ from: string;
17392
+ states: string[];
17393
+ properties: {
17394
+ name: string;
17395
+ type: "string" | "number" | "boolean" | "integer";
17396
+ required: boolean;
17397
+ description?: string | undefined;
17398
+ default?: string | number | boolean | undefined;
17399
+ title?: string | undefined;
17400
+ enum?: string[] | undefined;
17401
+ }[];
17402
+ constraints: ({
17403
+ type: "property-sum";
17404
+ fromProperty: string;
17405
+ leq: string;
17406
+ } | {
17407
+ type: "relationship-count";
17408
+ leq: string | number;
17409
+ })[];
17410
+ kind: "RelationshipType";
17411
+ cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
17412
+ to: string;
17413
+ displayName?: string | undefined;
17414
+ derivedFrom?: {
17415
+ property: string;
17416
+ targetProperty?: string | undefined;
17417
+ } | undefined;
17418
+ labels?: Record<string, string> | undefined;
17419
+ containment?: boolean | undefined;
17420
+ } | {
17142
17421
  parameters: {
17143
17422
  name: string;
17144
17423
  type: "string" | "number" | "boolean" | "integer";
@@ -17174,9 +17453,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17174
17453
  addToCell?: string | undefined;
17175
17454
  createRelationship?: {
17176
17455
  relationshipType: string;
17456
+ to: string;
17177
17457
  onSuccess: string;
17178
17458
  onFailure: string;
17179
- to: string;
17180
17459
  properties?: Record<string, string> | undefined;
17181
17460
  } | undefined;
17182
17461
  cascadeRules?: ({
@@ -17236,10 +17515,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17236
17515
  type: "create-relationship";
17237
17516
  from: string;
17238
17517
  relationshipType: string;
17518
+ to: string;
17239
17519
  onTrigger: string;
17240
17520
  onSuccess: string;
17241
17521
  onFailure: string;
17242
- to: string;
17243
17522
  properties?: Record<string, string> | undefined;
17244
17523
  } | {
17245
17524
  type: "delete-relationship";
@@ -17257,10 +17536,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17257
17536
  } | {
17258
17537
  type: "migrate-relationship";
17259
17538
  relationshipType: string;
17539
+ to: string;
17260
17540
  onTrigger: string;
17261
17541
  onSuccess: string;
17262
17542
  onFailure: string;
17263
- to: string;
17264
17543
  };
17265
17544
  associatedWith: {
17266
17545
  scope: "collection" | "instance";
@@ -17456,6 +17735,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17456
17735
  webhookSecret?: string | undefined;
17457
17736
  body?: string | undefined;
17458
17737
  title?: string | undefined;
17738
+ labels?: string[] | undefined;
17459
17739
  auth?: {
17460
17740
  token: string;
17461
17741
  type: "token";
@@ -17480,7 +17760,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17480
17760
  value?: unknown;
17481
17761
  } | undefined;
17482
17762
  }[] | undefined;
17483
- labels?: string[] | undefined;
17484
17763
  reviewers?: string[] | undefined;
17485
17764
  teamReviewers?: string[] | undefined;
17486
17765
  postMergeDispatch?: {
@@ -17623,11 +17902,14 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17623
17902
  kind: "data" | "resource" | "module";
17624
17903
  address: string;
17625
17904
  }[] | undefined;
17905
+ strictComposition?: boolean | undefined;
17626
17906
  syncFreshness?: {
17627
17907
  greenSeconds?: number | undefined;
17628
17908
  yellowSeconds?: number | undefined;
17629
17909
  } | undefined;
17630
17910
  applier?: string | undefined;
17911
+ labels?: Record<string, string> | undefined;
17912
+ labelMappings?: Record<string, string> | undefined;
17631
17913
  } | {
17632
17914
  name: string;
17633
17915
  entityType: string;
@@ -17640,6 +17922,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17640
17922
  placementPolicy: "least-loaded" | "round-robin" | "random";
17641
17923
  parentCells: string[];
17642
17924
  displayName?: string | undefined;
17925
+ labels?: Record<string, string> | undefined;
17643
17926
  targetSelector?: {
17644
17927
  primary: {
17645
17928
  set: string;
@@ -17680,32 +17963,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17680
17963
  value?: string | undefined;
17681
17964
  };
17682
17965
  } | undefined;
17683
- } | {
17684
- name: string;
17685
- from: string;
17686
- states: string[];
17687
- properties: {
17688
- name: string;
17689
- type: "string" | "number" | "boolean" | "integer";
17690
- required: boolean;
17691
- description?: string | undefined;
17692
- default?: string | number | boolean | undefined;
17693
- title?: string | undefined;
17694
- enum?: string[] | undefined;
17695
- }[];
17696
- constraints: ({
17697
- type: "property-sum";
17698
- property: string;
17699
- leq: string;
17700
- } | {
17701
- type: "relationship-count";
17702
- leq: string | number;
17703
- })[];
17704
- kind: "RelationshipType";
17705
- cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
17706
- to: string;
17707
- displayName?: string | undefined;
17708
- containment?: boolean | undefined;
17709
17966
  } | {
17710
17967
  name: string;
17711
17968
  kind: "Secret";
@@ -17721,11 +17978,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17721
17978
  syncSource?: string | undefined;
17722
17979
  } | {
17723
17980
  from: string;
17724
- properties: Record<string, unknown>;
17725
17981
  relationshipType: string;
17726
17982
  kind: "Relationship";
17727
- to: string;
17728
17983
  labels: Record<string, string>;
17984
+ to: string;
17729
17985
  state?: string | undefined;
17730
17986
  } | {
17731
17987
  name: string;
@@ -17735,6 +17991,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17735
17991
  set?: string | undefined;
17736
17992
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
17737
17993
  displayName?: string | undefined;
17994
+ labels?: Record<string, string> | undefined;
17738
17995
  credentialRef?: string | undefined;
17739
17996
  capacity?: number | undefined;
17740
17997
  } | {
@@ -17743,11 +18000,13 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17743
18000
  properties: Record<string, string>;
17744
18001
  kind: "DeploymentTargetSet";
17745
18002
  displayName?: string | undefined;
18003
+ labels?: Record<string, string> | undefined;
18004
+ config?: Record<string, unknown> | undefined;
17746
18005
  credentialRef?: string | undefined;
17747
18006
  })[];
17748
18007
  deletions: {
17749
18008
  name: string;
17750
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
18009
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
17751
18010
  }[];
17752
18011
  force: boolean;
17753
18012
  dryRun: boolean;
@@ -17756,6 +18015,37 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17756
18015
  projectId: string;
17757
18016
  envName: string;
17758
18017
  items: ({
18018
+ name: string;
18019
+ from: string;
18020
+ kind: "RelationshipType";
18021
+ to: string;
18022
+ displayName?: string | undefined;
18023
+ states?: string[] | undefined;
18024
+ properties?: {
18025
+ name: string;
18026
+ type: "string" | "number" | "boolean" | "integer";
18027
+ description?: string | undefined;
18028
+ default?: string | number | boolean | undefined;
18029
+ required?: boolean | undefined;
18030
+ title?: string | undefined;
18031
+ enum?: string[] | undefined;
18032
+ }[] | undefined;
18033
+ derivedFrom?: {
18034
+ property: string;
18035
+ targetProperty?: string | undefined;
18036
+ } | undefined;
18037
+ constraints?: ({
18038
+ type: "property-sum";
18039
+ fromProperty: string;
18040
+ leq: string;
18041
+ } | {
18042
+ type: "relationship-count";
18043
+ leq: string | number;
18044
+ })[] | undefined;
18045
+ labels?: Record<string, string> | undefined;
18046
+ cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
18047
+ containment?: boolean | undefined;
18048
+ } | {
17759
18049
  name: string;
17760
18050
  kind: "Action";
17761
18051
  operation: {
@@ -17769,9 +18059,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17769
18059
  addToCell?: string | undefined;
17770
18060
  createRelationship?: {
17771
18061
  relationshipType: string;
18062
+ to: string;
17772
18063
  onSuccess: string;
17773
18064
  onFailure: string;
17774
- to: string;
17775
18065
  properties?: Record<string, string> | undefined;
17776
18066
  } | undefined;
17777
18067
  cascadeRules?: ({
@@ -17831,10 +18121,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17831
18121
  type: "create-relationship";
17832
18122
  from: string;
17833
18123
  relationshipType: string;
18124
+ to: string;
17834
18125
  onTrigger: string;
17835
18126
  onSuccess: string;
17836
18127
  onFailure: string;
17837
- to: string;
17838
18128
  properties?: Record<string, string> | undefined;
17839
18129
  } | {
17840
18130
  type: "delete-relationship";
@@ -17852,10 +18142,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17852
18142
  } | {
17853
18143
  type: "migrate-relationship";
17854
18144
  relationshipType: string;
18145
+ to: string;
17855
18146
  onTrigger: string;
17856
18147
  onSuccess: string;
17857
18148
  onFailure: string;
17858
- to: string;
17859
18149
  };
17860
18150
  associatedWith: {
17861
18151
  scope: "collection" | "instance";
@@ -17917,8 +18207,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17917
18207
  }[];
17918
18208
  webhookSecret?: string | undefined;
17919
18209
  body?: string | undefined;
17920
- base?: string | undefined;
17921
18210
  labels?: string[] | undefined;
18211
+ base?: string | undefined;
17922
18212
  reviewers?: string[] | undefined;
17923
18213
  teamReviewers?: string[] | undefined;
17924
18214
  postMergeDispatch?: {
@@ -17989,8 +18279,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17989
18279
  }[];
17990
18280
  webhookSecret?: string | undefined;
17991
18281
  body?: string | undefined;
17992
- base?: string | undefined;
17993
18282
  labels?: string[] | undefined;
18283
+ base?: string | undefined;
17994
18284
  reviewers?: string[] | undefined;
17995
18285
  teamReviewers?: string[] | undefined;
17996
18286
  } | undefined;
@@ -18073,6 +18363,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18073
18363
  webhookSecret?: string | undefined;
18074
18364
  body?: string | undefined;
18075
18365
  title?: string | undefined;
18366
+ labels?: string[] | undefined;
18076
18367
  auth?: {
18077
18368
  token: string;
18078
18369
  type: "token";
@@ -18097,7 +18388,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18097
18388
  } | undefined;
18098
18389
  operation?: "replace" | "patch" | undefined;
18099
18390
  }[] | undefined;
18100
- labels?: string[] | undefined;
18101
18391
  reviewers?: string[] | undefined;
18102
18392
  teamReviewers?: string[] | undefined;
18103
18393
  postMergeDispatch?: {
@@ -18167,8 +18457,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18167
18457
  }[];
18168
18458
  webhookSecret?: string | undefined;
18169
18459
  body?: string | undefined;
18170
- base?: string | undefined;
18171
18460
  labels?: string[] | undefined;
18461
+ base?: string | undefined;
18172
18462
  reviewers?: string[] | undefined;
18173
18463
  teamReviewers?: string[] | undefined;
18174
18464
  } | undefined;
@@ -18239,12 +18529,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18239
18529
  kind: "data" | "resource" | "module";
18240
18530
  address: string;
18241
18531
  }[] | undefined;
18532
+ strictComposition?: boolean | undefined;
18242
18533
  syncTracked?: boolean | undefined;
18243
18534
  syncFreshness?: {
18244
18535
  greenSeconds?: number | undefined;
18245
18536
  yellowSeconds?: number | undefined;
18246
18537
  } | undefined;
18247
18538
  applier?: string | undefined;
18539
+ labels?: Record<string, string> | undefined;
18540
+ labelMappings?: Record<string, string> | undefined;
18248
18541
  } | {
18249
18542
  name: string;
18250
18543
  entityType: string;
@@ -18255,6 +18548,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18255
18548
  metric: string;
18256
18549
  aggregate: "max" | "sum" | "avg" | "min";
18257
18550
  }[] | undefined;
18551
+ labels?: Record<string, string> | undefined;
18258
18552
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
18259
18553
  parentCells?: string[] | undefined;
18260
18554
  targetSelector?: {
@@ -18297,32 +18591,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18297
18591
  value?: string | undefined;
18298
18592
  };
18299
18593
  } | undefined;
18300
- } | {
18301
- name: string;
18302
- from: string;
18303
- states: string[];
18304
- kind: "RelationshipType";
18305
- to: string;
18306
- displayName?: string | undefined;
18307
- properties?: {
18308
- name: string;
18309
- type: "string" | "number" | "boolean" | "integer";
18310
- description?: string | undefined;
18311
- default?: string | number | boolean | undefined;
18312
- required?: boolean | undefined;
18313
- title?: string | undefined;
18314
- enum?: string[] | undefined;
18315
- }[] | undefined;
18316
- constraints?: ({
18317
- type: "property-sum";
18318
- property: string;
18319
- leq: string;
18320
- } | {
18321
- type: "relationship-count";
18322
- leq: string | number;
18323
- })[] | undefined;
18324
- cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
18325
- containment?: boolean | undefined;
18326
18594
  } | {
18327
18595
  name: string;
18328
18596
  kind: "Secret";
@@ -18342,7 +18610,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18342
18610
  kind: "Relationship";
18343
18611
  to: string;
18344
18612
  state?: string | undefined;
18345
- properties?: Record<string, unknown> | undefined;
18346
18613
  labels?: Record<string, string> | undefined;
18347
18614
  } | {
18348
18615
  name: string;
@@ -18351,6 +18618,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18351
18618
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
18352
18619
  displayName?: string | undefined;
18353
18620
  properties?: Record<string, string> | undefined;
18621
+ labels?: Record<string, string> | undefined;
18354
18622
  config?: Record<string, unknown> | undefined;
18355
18623
  credentialRef?: string | undefined;
18356
18624
  capacity?: number | undefined;
@@ -18360,11 +18628,13 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18360
18628
  kind: "DeploymentTargetSet";
18361
18629
  displayName?: string | undefined;
18362
18630
  properties?: Record<string, string> | undefined;
18631
+ labels?: Record<string, string> | undefined;
18632
+ config?: Record<string, unknown> | undefined;
18363
18633
  credentialRef?: string | undefined;
18364
18634
  })[];
18365
18635
  deletions?: {
18366
18636
  name: string;
18367
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
18637
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
18368
18638
  }[] | undefined;
18369
18639
  force?: boolean | undefined;
18370
18640
  dryRun?: boolean | undefined;
@@ -18408,14 +18678,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18408
18678
  orgId: zod.ZodString;
18409
18679
  projectId: zod.ZodString;
18410
18680
  limit: zod.ZodOptional<zod.ZodNumber>;
18681
+ before: zod.ZodOptional<zod.ZodString>;
18411
18682
  }, "strip", zod.ZodTypeAny, {
18412
18683
  orgId: string;
18413
18684
  projectId: string;
18414
18685
  limit?: number | undefined;
18686
+ before?: string | undefined;
18415
18687
  }, {
18416
18688
  orgId: string;
18417
18689
  projectId: string;
18418
18690
  limit?: number | undefined;
18691
+ before?: string | undefined;
18419
18692
  }>, {
18420
18693
  id: string;
18421
18694
  projectId: string | null;
@@ -18527,6 +18800,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18527
18800
  action: zod.ZodOptional<zod.ZodString>;
18528
18801
  resourceKind: zod.ZodOptional<zod.ZodString>;
18529
18802
  since: zod.ZodOptional<zod.ZodString>;
18803
+ before: zod.ZodOptional<zod.ZodString>;
18530
18804
  limit: zod.ZodOptional<zod.ZodNumber>;
18531
18805
  }, "strip", zod.ZodTypeAny, {
18532
18806
  orgId: string;
@@ -18537,6 +18811,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18537
18811
  actorId?: string | undefined;
18538
18812
  action?: string | undefined;
18539
18813
  resourceKind?: string | undefined;
18814
+ before?: string | undefined;
18540
18815
  since?: string | undefined;
18541
18816
  }, {
18542
18817
  orgId: string;
@@ -18547,6 +18822,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18547
18822
  actorId?: string | undefined;
18548
18823
  action?: string | undefined;
18549
18824
  resourceKind?: string | undefined;
18825
+ before?: string | undefined;
18550
18826
  since?: string | undefined;
18551
18827
  }>, {
18552
18828
  id: string;
@@ -18576,6 +18852,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18576
18852
  kind: zod.ZodOptional<zod.ZodString>;
18577
18853
  entityName: zod.ZodOptional<zod.ZodString>;
18578
18854
  since: zod.ZodOptional<zod.ZodString>;
18855
+ before: zod.ZodOptional<zod.ZodString>;
18579
18856
  limit: zod.ZodOptional<zod.ZodNumber>;
18580
18857
  }, "strip", zod.ZodTypeAny, {
18581
18858
  orgId: string;
@@ -18585,6 +18862,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18585
18862
  limit?: number | undefined;
18586
18863
  kind?: string | undefined;
18587
18864
  entityName?: string | undefined;
18865
+ before?: string | undefined;
18588
18866
  since?: string | undefined;
18589
18867
  }, {
18590
18868
  orgId: string;
@@ -18594,6 +18872,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18594
18872
  limit?: number | undefined;
18595
18873
  kind?: string | undefined;
18596
18874
  entityName?: string | undefined;
18875
+ before?: string | undefined;
18597
18876
  since?: string | undefined;
18598
18877
  }>, {
18599
18878
  detectedAt: string;
@@ -18754,6 +19033,114 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18754
19033
  status: string;
18755
19034
  }>;
18756
19035
  };
19036
+ conformanceFindings: {
19037
+ list: SchemaFn<zod.ZodObject<{
19038
+ orgId: zod.ZodString;
19039
+ projectId: zod.ZodString;
19040
+ envName: zod.ZodString;
19041
+ status: zod.ZodOptional<zod.ZodEnum<["open", "resolved", "ignored"]>>;
19042
+ severity: zod.ZodOptional<zod.ZodEnum<["critical", "high", "medium", "low", "info"]>>;
19043
+ kind: zod.ZodOptional<zod.ZodString>;
19044
+ findingKind: zod.ZodOptional<zod.ZodString>;
19045
+ entityName: zod.ZodOptional<zod.ZodString>;
19046
+ limit: zod.ZodOptional<zod.ZodNumber>;
19047
+ }, "strip", zod.ZodTypeAny, {
19048
+ orgId: string;
19049
+ projectId: string;
19050
+ envName: string;
19051
+ status?: "open" | "resolved" | "ignored" | undefined;
19052
+ limit?: number | undefined;
19053
+ kind?: string | undefined;
19054
+ entityName?: string | undefined;
19055
+ findingKind?: string | undefined;
19056
+ severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
19057
+ }, {
19058
+ orgId: string;
19059
+ projectId: string;
19060
+ envName: string;
19061
+ status?: "open" | "resolved" | "ignored" | undefined;
19062
+ limit?: number | undefined;
19063
+ kind?: string | undefined;
19064
+ entityName?: string | undefined;
19065
+ findingKind?: string | undefined;
19066
+ severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
19067
+ }>, {
19068
+ detectedAt: string;
19069
+ lastSeenAt: string;
19070
+ updatedAt: string;
19071
+ id: string;
19072
+ projectId: string | null;
19073
+ envId: string;
19074
+ entityId: string | null;
19075
+ relationshipId: string | null;
19076
+ entityTypeName: string | null;
19077
+ entityName: string | null;
19078
+ findingKind: string;
19079
+ severity: string;
19080
+ status: string;
19081
+ fieldPath: string | null;
19082
+ schemaRef: string | null;
19083
+ schemaVersion: string | null;
19084
+ expected: hono_utils_types.JSONValue;
19085
+ actual: hono_utils_types.JSONValue;
19086
+ message: string;
19087
+ dedupKey: string;
19088
+ auditRunId: string | null;
19089
+ }[]>;
19090
+ count: SchemaFn<zod.ZodObject<{
19091
+ orgId: zod.ZodString;
19092
+ projectId: zod.ZodString;
19093
+ envName: zod.ZodString;
19094
+ }, "strip", zod.ZodTypeAny, {
19095
+ orgId: string;
19096
+ projectId: string;
19097
+ envName: string;
19098
+ }, {
19099
+ orgId: string;
19100
+ projectId: string;
19101
+ envName: string;
19102
+ }>, {
19103
+ count: number;
19104
+ }>;
19105
+ get: SchemaFn<zod.ZodObject<{
19106
+ orgId: zod.ZodString;
19107
+ projectId: zod.ZodString;
19108
+ envName: zod.ZodString;
19109
+ id: zod.ZodString;
19110
+ }, "strip", zod.ZodTypeAny, {
19111
+ id: string;
19112
+ orgId: string;
19113
+ projectId: string;
19114
+ envName: string;
19115
+ }, {
19116
+ id: string;
19117
+ orgId: string;
19118
+ projectId: string;
19119
+ envName: string;
19120
+ }>, {
19121
+ detectedAt: string;
19122
+ lastSeenAt: string;
19123
+ updatedAt: string;
19124
+ id: string;
19125
+ projectId: string | null;
19126
+ envId: string;
19127
+ entityId: string | null;
19128
+ relationshipId: string | null;
19129
+ entityTypeName: string | null;
19130
+ entityName: string | null;
19131
+ findingKind: string;
19132
+ severity: string;
19133
+ status: string;
19134
+ fieldPath: string | null;
19135
+ schemaRef: string | null;
19136
+ schemaVersion: string | null;
19137
+ expected: hono_utils_types.JSONValue;
19138
+ actual: hono_utils_types.JSONValue;
19139
+ message: string;
19140
+ dedupKey: string;
19141
+ auditRunId: string | null;
19142
+ }>;
19143
+ };
18757
19144
  stats: {
18758
19145
  entitiesByState: SchemaFn<zod.ZodObject<{
18759
19146
  orgId: zod.ZodString;
@@ -18855,39 +19242,61 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18855
19242
  ownerUserId: string | null;
18856
19243
  name: string;
18857
19244
  isDefault: boolean;
18858
- config: {
18859
- sort: {
18860
- cells: "name" | "memberCount" | "capacityUsed";
18861
- entities: "name" | "updatedAt" | "state";
19245
+ pinnedPositions: {
19246
+ [x: string]: {
19247
+ x: number;
19248
+ y: number;
19249
+ };
19250
+ } | null;
19251
+ viewSpec: {
19252
+ schemaVersion: 1;
19253
+ grouping: {
19254
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
19255
+ aggregate: {
19256
+ byType: boolean;
19257
+ threshold: number;
19258
+ };
19259
+ labelKey?: string | undefined;
19260
+ };
19261
+ edges: {
19262
+ mode: "all" | "none" | "problems";
19263
+ labels: ("type" | "count")[];
19264
+ render: "refs" | "lines";
19265
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
18862
19266
  };
18863
- filter: {
19267
+ filters: {
18864
19268
  entityTypes: string[];
18865
- states: string[];
18866
19269
  labels: {
18867
19270
  [x: string]: string[];
18868
19271
  };
19272
+ cells: string[];
19273
+ relationshipTypes: string[];
19274
+ deploymentTargets: string[];
19275
+ lifecycle: string[];
19276
+ conformance: ("conformant" | "non-conformant")[];
18869
19277
  };
18870
- grouping: {
18871
- cellsEnabled: boolean;
18872
- partitionsEnabled: boolean;
18873
- };
18874
- cardDisplay: {
18875
- properties: string[] | "all" | "required";
18876
- showState: boolean;
18877
- inlineRelationships: boolean;
18878
- maxRelsPerCard: number;
18879
- drawEdges: boolean;
19278
+ focus: {
19279
+ direction: "both" | "upstream" | "downstream";
19280
+ roots: string[];
19281
+ maxHops: 1 | 2 | 3 | "∞";
19282
+ edgeTypes: string[];
18880
19283
  };
18881
- layout: {
18882
- mode: "auto" | "free";
18883
- positionsPinned: boolean;
19284
+ expansion: {
19285
+ [x: string]: "expanded" | "collapsed";
18884
19286
  };
18885
- };
18886
- pinnedPositions: {
18887
- [x: string]: {
18888
- x: number;
18889
- y: number;
19287
+ style: {
19288
+ selector: string;
19289
+ style: {
19290
+ [x: string]: string;
19291
+ };
19292
+ }[];
19293
+ pins: {
19294
+ [x: string]: {
19295
+ x: number;
19296
+ y: number;
19297
+ };
18890
19298
  };
19299
+ interaction: "auto" | "free";
18891
19300
  } | null;
18892
19301
  createdAt: string;
18893
19302
  updatedAt: string;
@@ -18912,39 +19321,61 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18912
19321
  ownerUserId: string | null;
18913
19322
  name: string;
18914
19323
  isDefault: boolean;
18915
- config: {
18916
- sort: {
18917
- cells: "name" | "memberCount" | "capacityUsed";
18918
- entities: "name" | "updatedAt" | "state";
19324
+ pinnedPositions: {
19325
+ [x: string]: {
19326
+ x: number;
19327
+ y: number;
18919
19328
  };
18920
- filter: {
19329
+ } | null;
19330
+ viewSpec: {
19331
+ schemaVersion: 1;
19332
+ grouping: {
19333
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
19334
+ aggregate: {
19335
+ byType: boolean;
19336
+ threshold: number;
19337
+ };
19338
+ labelKey?: string | undefined;
19339
+ };
19340
+ edges: {
19341
+ mode: "all" | "none" | "problems";
19342
+ labels: ("type" | "count")[];
19343
+ render: "refs" | "lines";
19344
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
19345
+ };
19346
+ filters: {
18921
19347
  entityTypes: string[];
18922
- states: string[];
18923
19348
  labels: {
18924
19349
  [x: string]: string[];
18925
19350
  };
19351
+ cells: string[];
19352
+ relationshipTypes: string[];
19353
+ deploymentTargets: string[];
19354
+ lifecycle: string[];
19355
+ conformance: ("conformant" | "non-conformant")[];
18926
19356
  };
18927
- grouping: {
18928
- cellsEnabled: boolean;
18929
- partitionsEnabled: boolean;
18930
- };
18931
- cardDisplay: {
18932
- properties: string[] | "all" | "required";
18933
- showState: boolean;
18934
- inlineRelationships: boolean;
18935
- maxRelsPerCard: number;
18936
- drawEdges: boolean;
19357
+ focus: {
19358
+ direction: "both" | "upstream" | "downstream";
19359
+ roots: string[];
19360
+ maxHops: 1 | 2 | 3 | "∞";
19361
+ edgeTypes: string[];
18937
19362
  };
18938
- layout: {
18939
- mode: "auto" | "free";
18940
- positionsPinned: boolean;
19363
+ expansion: {
19364
+ [x: string]: "expanded" | "collapsed";
18941
19365
  };
18942
- };
18943
- pinnedPositions: {
18944
- [x: string]: {
18945
- x: number;
18946
- y: number;
19366
+ style: {
19367
+ selector: string;
19368
+ style: {
19369
+ [x: string]: string;
19370
+ };
19371
+ }[];
19372
+ pins: {
19373
+ [x: string]: {
19374
+ x: number;
19375
+ y: number;
19376
+ };
18947
19377
  };
19378
+ interaction: "auto" | "free";
18948
19379
  } | null;
18949
19380
  createdAt: string;
18950
19381
  updatedAt: string;
@@ -18954,7 +19385,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18954
19385
  projectId: zod.ZodString;
18955
19386
  name: zod.ZodString;
18956
19387
  scope: zod.ZodEnum<["user", "project"]>;
18957
- config: zod.ZodUnknown;
18958
19388
  pinnedPositions: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
18959
19389
  x: zod.ZodNumber;
18960
19390
  y: zod.ZodNumber;
@@ -18965,26 +19395,27 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18965
19395
  x: number;
18966
19396
  y: number;
18967
19397
  }>>>>;
19398
+ viewSpec: zod.ZodOptional<zod.ZodNullable<zod.ZodUnknown>>;
18968
19399
  }, "strip", zod.ZodTypeAny, {
18969
19400
  name: string;
18970
19401
  orgId: string;
18971
19402
  projectId: string;
18972
19403
  scope: "user" | "project";
18973
- config?: unknown;
18974
19404
  pinnedPositions?: Record<string, {
18975
19405
  x: number;
18976
19406
  y: number;
18977
19407
  }> | null | undefined;
19408
+ viewSpec?: unknown;
18978
19409
  }, {
18979
19410
  name: string;
18980
19411
  orgId: string;
18981
19412
  projectId: string;
18982
19413
  scope: "user" | "project";
18983
- config?: unknown;
18984
19414
  pinnedPositions?: Record<string, {
18985
19415
  x: number;
18986
19416
  y: number;
18987
19417
  }> | null | undefined;
19418
+ viewSpec?: unknown;
18988
19419
  }>, {
18989
19420
  name: string;
18990
19421
  id: string;
@@ -18994,40 +19425,62 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18994
19425
  projectId: string;
18995
19426
  isDefault: boolean;
18996
19427
  scope: "user" | "project";
18997
- config: {
18998
- sort: {
18999
- cells: "name" | "memberCount" | "capacityUsed";
19000
- entities: "name" | "updatedAt" | "state";
19428
+ ownerUserId: string | null;
19429
+ pinnedPositions: {
19430
+ [x: string]: {
19431
+ x: number;
19432
+ y: number;
19001
19433
  };
19002
- filter: {
19434
+ } | null;
19435
+ viewSpec: {
19436
+ schemaVersion: 1;
19437
+ grouping: {
19438
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
19439
+ aggregate: {
19440
+ byType: boolean;
19441
+ threshold: number;
19442
+ };
19443
+ labelKey?: string | undefined;
19444
+ };
19445
+ edges: {
19446
+ mode: "all" | "none" | "problems";
19447
+ labels: ("type" | "count")[];
19448
+ render: "refs" | "lines";
19449
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
19450
+ };
19451
+ filters: {
19003
19452
  entityTypes: string[];
19004
- states: string[];
19005
19453
  labels: {
19006
19454
  [x: string]: string[];
19007
19455
  };
19456
+ cells: string[];
19457
+ relationshipTypes: string[];
19458
+ deploymentTargets: string[];
19459
+ lifecycle: string[];
19460
+ conformance: ("conformant" | "non-conformant")[];
19008
19461
  };
19009
- grouping: {
19010
- cellsEnabled: boolean;
19011
- partitionsEnabled: boolean;
19012
- };
19013
- cardDisplay: {
19014
- properties: string[] | "all" | "required";
19015
- showState: boolean;
19016
- inlineRelationships: boolean;
19017
- maxRelsPerCard: number;
19018
- drawEdges: boolean;
19462
+ focus: {
19463
+ direction: "both" | "upstream" | "downstream";
19464
+ roots: string[];
19465
+ maxHops: 1 | 2 | 3 | "∞";
19466
+ edgeTypes: string[];
19019
19467
  };
19020
- layout: {
19021
- mode: "auto" | "free";
19022
- positionsPinned: boolean;
19468
+ expansion: {
19469
+ [x: string]: "expanded" | "collapsed";
19023
19470
  };
19024
- };
19025
- ownerUserId: string | null;
19026
- pinnedPositions: {
19027
- [x: string]: {
19028
- x: number;
19029
- y: number;
19471
+ style: {
19472
+ selector: string;
19473
+ style: {
19474
+ [x: string]: string;
19475
+ };
19476
+ }[];
19477
+ pins: {
19478
+ [x: string]: {
19479
+ x: number;
19480
+ y: number;
19481
+ };
19030
19482
  };
19483
+ interaction: "auto" | "free";
19031
19484
  } | null;
19032
19485
  }>;
19033
19486
  update: SchemaFn<zod.ZodObject<{
@@ -19035,7 +19488,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19035
19488
  projectId: zod.ZodString;
19036
19489
  id: zod.ZodString;
19037
19490
  name: zod.ZodOptional<zod.ZodString>;
19038
- config: zod.ZodOptional<zod.ZodUnknown>;
19039
19491
  pinnedPositions: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
19040
19492
  x: zod.ZodNumber;
19041
19493
  y: zod.ZodNumber;
@@ -19046,26 +19498,27 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19046
19498
  x: number;
19047
19499
  y: number;
19048
19500
  }>>>>;
19501
+ viewSpec: zod.ZodOptional<zod.ZodNullable<zod.ZodUnknown>>;
19049
19502
  }, "strip", zod.ZodTypeAny, {
19050
19503
  id: string;
19051
19504
  orgId: string;
19052
19505
  projectId: string;
19053
19506
  name?: string | undefined;
19054
- config?: unknown;
19055
19507
  pinnedPositions?: Record<string, {
19056
19508
  x: number;
19057
19509
  y: number;
19058
19510
  }> | null | undefined;
19511
+ viewSpec?: unknown;
19059
19512
  }, {
19060
19513
  id: string;
19061
19514
  orgId: string;
19062
19515
  projectId: string;
19063
19516
  name?: string | undefined;
19064
- config?: unknown;
19065
19517
  pinnedPositions?: Record<string, {
19066
19518
  x: number;
19067
19519
  y: number;
19068
19520
  }> | null | undefined;
19521
+ viewSpec?: unknown;
19069
19522
  }>, {
19070
19523
  id: string;
19071
19524
  orgId: string;
@@ -19074,39 +19527,61 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19074
19527
  ownerUserId: string | null;
19075
19528
  name: string;
19076
19529
  isDefault: boolean;
19077
- config: {
19078
- sort: {
19079
- cells: "name" | "memberCount" | "capacityUsed";
19080
- entities: "name" | "updatedAt" | "state";
19530
+ pinnedPositions: {
19531
+ [x: string]: {
19532
+ x: number;
19533
+ y: number;
19081
19534
  };
19082
- filter: {
19535
+ } | null;
19536
+ viewSpec: {
19537
+ schemaVersion: 1;
19538
+ grouping: {
19539
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
19540
+ aggregate: {
19541
+ byType: boolean;
19542
+ threshold: number;
19543
+ };
19544
+ labelKey?: string | undefined;
19545
+ };
19546
+ edges: {
19547
+ mode: "all" | "none" | "problems";
19548
+ labels: ("type" | "count")[];
19549
+ render: "refs" | "lines";
19550
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
19551
+ };
19552
+ filters: {
19083
19553
  entityTypes: string[];
19084
- states: string[];
19085
19554
  labels: {
19086
19555
  [x: string]: string[];
19087
19556
  };
19557
+ cells: string[];
19558
+ relationshipTypes: string[];
19559
+ deploymentTargets: string[];
19560
+ lifecycle: string[];
19561
+ conformance: ("conformant" | "non-conformant")[];
19088
19562
  };
19089
- grouping: {
19090
- cellsEnabled: boolean;
19091
- partitionsEnabled: boolean;
19092
- };
19093
- cardDisplay: {
19094
- properties: string[] | "all" | "required";
19095
- showState: boolean;
19096
- inlineRelationships: boolean;
19097
- maxRelsPerCard: number;
19098
- drawEdges: boolean;
19563
+ focus: {
19564
+ direction: "both" | "upstream" | "downstream";
19565
+ roots: string[];
19566
+ maxHops: 1 | 2 | 3 | "∞";
19567
+ edgeTypes: string[];
19099
19568
  };
19100
- layout: {
19101
- mode: "auto" | "free";
19102
- positionsPinned: boolean;
19569
+ expansion: {
19570
+ [x: string]: "expanded" | "collapsed";
19103
19571
  };
19104
- };
19105
- pinnedPositions: {
19106
- [x: string]: {
19107
- x: number;
19108
- y: number;
19572
+ style: {
19573
+ selector: string;
19574
+ style: {
19575
+ [x: string]: string;
19576
+ };
19577
+ }[];
19578
+ pins: {
19579
+ [x: string]: {
19580
+ x: number;
19581
+ y: number;
19582
+ };
19109
19583
  };
19584
+ interaction: "auto" | "free";
19110
19585
  } | null;
19111
19586
  createdAt: string;
19112
19587
  updatedAt: string;
@@ -19147,39 +19622,61 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19147
19622
  ownerUserId: string | null;
19148
19623
  name: string;
19149
19624
  isDefault: boolean;
19150
- config: {
19151
- sort: {
19152
- cells: "name" | "memberCount" | "capacityUsed";
19153
- entities: "name" | "updatedAt" | "state";
19625
+ pinnedPositions: {
19626
+ [x: string]: {
19627
+ x: number;
19628
+ y: number;
19154
19629
  };
19155
- filter: {
19630
+ } | null;
19631
+ viewSpec: {
19632
+ schemaVersion: 1;
19633
+ grouping: {
19634
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
19635
+ aggregate: {
19636
+ byType: boolean;
19637
+ threshold: number;
19638
+ };
19639
+ labelKey?: string | undefined;
19640
+ };
19641
+ edges: {
19642
+ mode: "all" | "none" | "problems";
19643
+ labels: ("type" | "count")[];
19644
+ render: "refs" | "lines";
19645
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
19646
+ };
19647
+ filters: {
19156
19648
  entityTypes: string[];
19157
- states: string[];
19158
19649
  labels: {
19159
19650
  [x: string]: string[];
19160
19651
  };
19652
+ cells: string[];
19653
+ relationshipTypes: string[];
19654
+ deploymentTargets: string[];
19655
+ lifecycle: string[];
19656
+ conformance: ("conformant" | "non-conformant")[];
19161
19657
  };
19162
- grouping: {
19163
- cellsEnabled: boolean;
19164
- partitionsEnabled: boolean;
19165
- };
19166
- cardDisplay: {
19167
- properties: string[] | "all" | "required";
19168
- showState: boolean;
19169
- inlineRelationships: boolean;
19170
- maxRelsPerCard: number;
19171
- drawEdges: boolean;
19658
+ focus: {
19659
+ direction: "both" | "upstream" | "downstream";
19660
+ roots: string[];
19661
+ maxHops: 1 | 2 | 3 | "∞";
19662
+ edgeTypes: string[];
19172
19663
  };
19173
- layout: {
19174
- mode: "auto" | "free";
19175
- positionsPinned: boolean;
19664
+ expansion: {
19665
+ [x: string]: "expanded" | "collapsed";
19176
19666
  };
19177
- };
19178
- pinnedPositions: {
19179
- [x: string]: {
19180
- x: number;
19181
- y: number;
19667
+ style: {
19668
+ selector: string;
19669
+ style: {
19670
+ [x: string]: string;
19671
+ };
19672
+ }[];
19673
+ pins: {
19674
+ [x: string]: {
19675
+ x: number;
19676
+ y: number;
19677
+ };
19182
19678
  };
19679
+ interaction: "auto" | "free";
19183
19680
  } | null;
19184
19681
  createdAt: string;
19185
19682
  updatedAt: string;
@@ -19724,6 +20221,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19724
20221
  };
19725
20222
  } | undefined;
19726
20223
  } | null;
20224
+ labels: {
20225
+ [x: string]: string;
20226
+ };
19727
20227
  createdAt: string;
19728
20228
  updatedAt: string;
19729
20229
  }[]>;
@@ -19793,6 +20293,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19793
20293
  };
19794
20294
  } | undefined;
19795
20295
  } | null;
20296
+ labels: {
20297
+ [x: string]: string;
20298
+ };
19796
20299
  createdAt: string;
19797
20300
  updatedAt: string;
19798
20301
  }>;
@@ -20074,6 +20577,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
20074
20577
  policy?: "least-loaded" | "round-robin" | "random" | undefined;
20075
20578
  }> | undefined;
20076
20579
  }>>;
20580
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20077
20581
  } & {
20078
20582
  orgId: zod.ZodString;
20079
20583
  projectId: zod.ZodString;
@@ -20091,6 +20595,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
20091
20595
  placementPolicy: "least-loaded" | "round-robin" | "random";
20092
20596
  parentCells: string[];
20093
20597
  displayName?: string | undefined;
20598
+ labels?: Record<string, string> | undefined;
20094
20599
  targetSelector?: {
20095
20600
  primary: {
20096
20601
  set: string;
@@ -20143,6 +20648,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
20143
20648
  metric: string;
20144
20649
  aggregate: "max" | "sum" | "avg" | "min";
20145
20650
  }[] | undefined;
20651
+ labels?: Record<string, string> | undefined;
20146
20652
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
20147
20653
  parentCells?: string[] | undefined;
20148
20654
  targetSelector?: {
@@ -20197,6 +20703,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
20197
20703
  metric: string;
20198
20704
  aggregate: "max" | "sum" | "avg" | "min";
20199
20705
  }[];
20706
+ labels: {
20707
+ [x: string]: string;
20708
+ };
20200
20709
  entityTypeName: string;
20201
20710
  placementPolicy: "least-loaded" | "round-robin" | "random";
20202
20711
  parentCells: string[];
@@ -20520,6 +21029,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
20520
21029
  policy?: "least-loaded" | "round-robin" | "random" | undefined;
20521
21030
  }> | undefined;
20522
21031
  }>>;
21032
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20523
21033
  } & {
20524
21034
  orgId: zod.ZodString;
20525
21035
  projectId: zod.ZodString;
@@ -20537,6 +21047,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
20537
21047
  placementPolicy: "least-loaded" | "round-robin" | "random";
20538
21048
  parentCells: string[];
20539
21049
  displayName?: string | undefined;
21050
+ labels?: Record<string, string> | undefined;
20540
21051
  targetSelector?: {
20541
21052
  primary: {
20542
21053
  set: string;
@@ -20589,6 +21100,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
20589
21100
  metric: string;
20590
21101
  aggregate: "max" | "sum" | "avg" | "min";
20591
21102
  }[] | undefined;
21103
+ labels?: Record<string, string> | undefined;
20592
21104
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
20593
21105
  parentCells?: string[] | undefined;
20594
21106
  targetSelector?: {
@@ -20685,6 +21197,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
20685
21197
  };
20686
21198
  } | undefined;
20687
21199
  } | null;
21200
+ labels: {
21201
+ [x: string]: string;
21202
+ };
20688
21203
  createdAt: string;
20689
21204
  updatedAt: string;
20690
21205
  }>;
@@ -20807,8 +21322,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
20807
21322
  envId: string;
20808
21323
  state: string;
20809
21324
  properties: hono_utils_types.JSONValue;
20810
- entityTypeName: string;
20811
21325
  labels: hono_utils_types.JSONValue;
21326
+ entityTypeName: string;
20812
21327
  lastSyncedAt: string | null;
20813
21328
  syncSource: string | null;
20814
21329
  };
@@ -20821,14 +21336,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
20821
21336
  orgId: zod.ZodString;
20822
21337
  projectId: zod.ZodString;
20823
21338
  limit: zod.ZodOptional<zod.ZodNumber>;
21339
+ before: zod.ZodOptional<zod.ZodString>;
20824
21340
  }, "strip", zod.ZodTypeAny, {
20825
21341
  orgId: string;
20826
21342
  projectId: string;
20827
21343
  limit?: number | undefined;
21344
+ before?: string | undefined;
20828
21345
  }, {
20829
21346
  orgId: string;
20830
21347
  projectId: string;
20831
21348
  limit?: number | undefined;
21349
+ before?: string | undefined;
20832
21350
  }>, {
20833
21351
  id: string;
20834
21352
  projectId: string | null;