@terrantula/sdk 0.11.0 → 0.11.1
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/{chunk-5JCSB6F5.mjs → chunk-773V5YNO.mjs} +28 -3
- package/dist/index.d.mts +357 -62
- package/dist/index.d.ts +357 -62
- package/dist/index.js +28 -3
- package/dist/index.mjs +1 -1
- package/dist/local.d.mts +258 -54
- package/dist/local.d.ts +258 -54
- package/dist/local.js +28 -3
- package/dist/local.mjs +1 -1
- package/package.json +3 -3
package/dist/local.d.ts
CHANGED
|
@@ -392,6 +392,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
392
392
|
projectId: string;
|
|
393
393
|
}>, {
|
|
394
394
|
error: string;
|
|
395
|
+
} | {
|
|
396
|
+
error: string;
|
|
395
397
|
} | {
|
|
396
398
|
id: string;
|
|
397
399
|
email: string;
|
|
@@ -424,6 +426,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
424
426
|
error: string;
|
|
425
427
|
} | {
|
|
426
428
|
error: string;
|
|
429
|
+
} | {
|
|
430
|
+
error: string;
|
|
427
431
|
} | {
|
|
428
432
|
added: true;
|
|
429
433
|
envName: any;
|
|
@@ -931,6 +935,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
931
935
|
max: number;
|
|
932
936
|
metric: string;
|
|
933
937
|
}[];
|
|
938
|
+
composition: {
|
|
939
|
+
provider: string;
|
|
940
|
+
kind: "data" | "resource" | "module";
|
|
941
|
+
address: string;
|
|
942
|
+
}[] | null;
|
|
934
943
|
syncTracked: boolean;
|
|
935
944
|
syncFreshness: {
|
|
936
945
|
greenSeconds?: number | undefined;
|
|
@@ -989,6 +998,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
989
998
|
max: number;
|
|
990
999
|
metric: string;
|
|
991
1000
|
}[];
|
|
1001
|
+
composition: {
|
|
1002
|
+
provider: string;
|
|
1003
|
+
kind: "data" | "resource" | "module";
|
|
1004
|
+
address: string;
|
|
1005
|
+
}[] | null;
|
|
992
1006
|
syncTracked: boolean;
|
|
993
1007
|
syncFreshness: {
|
|
994
1008
|
greenSeconds?: number | undefined;
|
|
@@ -1132,6 +1146,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1132
1146
|
yellowSeconds?: number | undefined;
|
|
1133
1147
|
}>>;
|
|
1134
1148
|
applier: zod.ZodOptional<zod.ZodString>;
|
|
1149
|
+
composition: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1150
|
+
kind: zod.ZodEnum<["resource", "module", "data"]>;
|
|
1151
|
+
address: zod.ZodString;
|
|
1152
|
+
provider: zod.ZodString;
|
|
1153
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1154
|
+
provider: string;
|
|
1155
|
+
kind: "data" | "resource" | "module";
|
|
1156
|
+
address: string;
|
|
1157
|
+
}, {
|
|
1158
|
+
provider: string;
|
|
1159
|
+
kind: "data" | "resource" | "module";
|
|
1160
|
+
address: string;
|
|
1161
|
+
}>, "many">>;
|
|
1135
1162
|
} & {
|
|
1136
1163
|
orgId: zod.ZodString;
|
|
1137
1164
|
projectId: zod.ZodString;
|
|
@@ -1171,9 +1198,14 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1171
1198
|
max: number;
|
|
1172
1199
|
metric: string;
|
|
1173
1200
|
}[];
|
|
1174
|
-
syncTracked: boolean;
|
|
1175
1201
|
kind: "EntityType";
|
|
1202
|
+
syncTracked: boolean;
|
|
1176
1203
|
displayName?: string | undefined;
|
|
1204
|
+
composition?: {
|
|
1205
|
+
provider: string;
|
|
1206
|
+
kind: "data" | "resource" | "module";
|
|
1207
|
+
address: string;
|
|
1208
|
+
}[] | undefined;
|
|
1177
1209
|
syncFreshness?: {
|
|
1178
1210
|
greenSeconds?: number | undefined;
|
|
1179
1211
|
yellowSeconds?: number | undefined;
|
|
@@ -1217,6 +1249,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1217
1249
|
max: number;
|
|
1218
1250
|
metric: string;
|
|
1219
1251
|
}[] | undefined;
|
|
1252
|
+
composition?: {
|
|
1253
|
+
provider: string;
|
|
1254
|
+
kind: "data" | "resource" | "module";
|
|
1255
|
+
address: string;
|
|
1256
|
+
}[] | undefined;
|
|
1220
1257
|
syncTracked?: boolean | undefined;
|
|
1221
1258
|
syncFreshness?: {
|
|
1222
1259
|
greenSeconds?: number | undefined;
|
|
@@ -1262,6 +1299,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1262
1299
|
max: number;
|
|
1263
1300
|
metric: string;
|
|
1264
1301
|
}[];
|
|
1302
|
+
composition: {
|
|
1303
|
+
provider: string;
|
|
1304
|
+
kind: "data" | "resource" | "module";
|
|
1305
|
+
address: string;
|
|
1306
|
+
}[] | null;
|
|
1265
1307
|
syncTracked: boolean;
|
|
1266
1308
|
syncFreshness: {
|
|
1267
1309
|
greenSeconds?: number | undefined;
|
|
@@ -1403,6 +1445,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1403
1445
|
yellowSeconds?: number | undefined;
|
|
1404
1446
|
}>>;
|
|
1405
1447
|
applier: zod.ZodOptional<zod.ZodString>;
|
|
1448
|
+
composition: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1449
|
+
kind: zod.ZodEnum<["resource", "module", "data"]>;
|
|
1450
|
+
address: zod.ZodString;
|
|
1451
|
+
provider: zod.ZodString;
|
|
1452
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1453
|
+
provider: string;
|
|
1454
|
+
kind: "data" | "resource" | "module";
|
|
1455
|
+
address: string;
|
|
1456
|
+
}, {
|
|
1457
|
+
provider: string;
|
|
1458
|
+
kind: "data" | "resource" | "module";
|
|
1459
|
+
address: string;
|
|
1460
|
+
}>, "many">>;
|
|
1406
1461
|
} & {
|
|
1407
1462
|
orgId: zod.ZodString;
|
|
1408
1463
|
projectId: zod.ZodString;
|
|
@@ -1442,9 +1497,14 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1442
1497
|
max: number;
|
|
1443
1498
|
metric: string;
|
|
1444
1499
|
}[];
|
|
1445
|
-
syncTracked: boolean;
|
|
1446
1500
|
kind: "EntityType";
|
|
1501
|
+
syncTracked: boolean;
|
|
1447
1502
|
displayName?: string | undefined;
|
|
1503
|
+
composition?: {
|
|
1504
|
+
provider: string;
|
|
1505
|
+
kind: "data" | "resource" | "module";
|
|
1506
|
+
address: string;
|
|
1507
|
+
}[] | undefined;
|
|
1448
1508
|
syncFreshness?: {
|
|
1449
1509
|
greenSeconds?: number | undefined;
|
|
1450
1510
|
yellowSeconds?: number | undefined;
|
|
@@ -1488,6 +1548,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1488
1548
|
max: number;
|
|
1489
1549
|
metric: string;
|
|
1490
1550
|
}[] | undefined;
|
|
1551
|
+
composition?: {
|
|
1552
|
+
provider: string;
|
|
1553
|
+
kind: "data" | "resource" | "module";
|
|
1554
|
+
address: string;
|
|
1555
|
+
}[] | undefined;
|
|
1491
1556
|
syncTracked?: boolean | undefined;
|
|
1492
1557
|
syncFreshness?: {
|
|
1493
1558
|
greenSeconds?: number | undefined;
|
|
@@ -1531,6 +1596,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1531
1596
|
max: number;
|
|
1532
1597
|
metric: string;
|
|
1533
1598
|
}[];
|
|
1599
|
+
composition: {
|
|
1600
|
+
provider: string;
|
|
1601
|
+
kind: "data" | "resource" | "module";
|
|
1602
|
+
address: string;
|
|
1603
|
+
}[] | null;
|
|
1534
1604
|
syncTracked: boolean;
|
|
1535
1605
|
syncFreshness: {
|
|
1536
1606
|
greenSeconds?: number | undefined;
|
|
@@ -1762,8 +1832,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1762
1832
|
owner?: string[] | undefined;
|
|
1763
1833
|
cellKey?: string | undefined;
|
|
1764
1834
|
state?: string[] | undefined;
|
|
1765
|
-
cell?: string[] | undefined;
|
|
1766
1835
|
kind?: string[] | undefined;
|
|
1836
|
+
cell?: string[] | undefined;
|
|
1767
1837
|
}, {
|
|
1768
1838
|
orgId: string;
|
|
1769
1839
|
projectId: string;
|
|
@@ -1772,8 +1842,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1772
1842
|
owner?: string[] | undefined;
|
|
1773
1843
|
cellKey?: string | undefined;
|
|
1774
1844
|
state?: string[] | undefined;
|
|
1775
|
-
cell?: string[] | undefined;
|
|
1776
1845
|
kind?: string[] | undefined;
|
|
1846
|
+
cell?: string[] | undefined;
|
|
1777
1847
|
}>, {
|
|
1778
1848
|
kind: {
|
|
1779
1849
|
value: string;
|
|
@@ -2184,9 +2254,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2184
2254
|
metric: string;
|
|
2185
2255
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
2186
2256
|
}[];
|
|
2257
|
+
kind: "Cell";
|
|
2187
2258
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
2188
2259
|
parentCells: string[];
|
|
2189
|
-
kind: "Cell";
|
|
2190
2260
|
displayName?: string | undefined;
|
|
2191
2261
|
deploymentTarget?: string | undefined;
|
|
2192
2262
|
membership?: {
|
|
@@ -2294,9 +2364,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2294
2364
|
metric: string;
|
|
2295
2365
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
2296
2366
|
}[];
|
|
2367
|
+
kind: "Cell";
|
|
2297
2368
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
2298
2369
|
parentCells: string[];
|
|
2299
|
-
kind: "Cell";
|
|
2300
2370
|
displayName?: string | undefined;
|
|
2301
2371
|
deploymentTarget?: string | undefined;
|
|
2302
2372
|
membership?: {
|
|
@@ -2504,11 +2574,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2504
2574
|
title?: string | undefined;
|
|
2505
2575
|
enum?: string[] | undefined;
|
|
2506
2576
|
}[];
|
|
2507
|
-
constraints: {
|
|
2577
|
+
constraints: ({
|
|
2508
2578
|
type: "property-sum";
|
|
2509
2579
|
property: string;
|
|
2510
2580
|
leq: string;
|
|
2511
|
-
}
|
|
2581
|
+
} | {
|
|
2582
|
+
type: "relationship-count";
|
|
2583
|
+
leq: string | number;
|
|
2584
|
+
})[];
|
|
2585
|
+
containment: boolean;
|
|
2512
2586
|
createdAt: string;
|
|
2513
2587
|
updatedAt: string;
|
|
2514
2588
|
}[]>;
|
|
@@ -2542,11 +2616,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2542
2616
|
title?: string | undefined;
|
|
2543
2617
|
enum?: string[] | undefined;
|
|
2544
2618
|
}[];
|
|
2545
|
-
constraints: {
|
|
2619
|
+
constraints: ({
|
|
2546
2620
|
type: "property-sum";
|
|
2547
2621
|
property: string;
|
|
2548
2622
|
leq: string;
|
|
2549
|
-
}
|
|
2623
|
+
} | {
|
|
2624
|
+
type: "relationship-count";
|
|
2625
|
+
leq: string | number;
|
|
2626
|
+
})[];
|
|
2627
|
+
containment: boolean;
|
|
2550
2628
|
createdAt: string;
|
|
2551
2629
|
updatedAt: string;
|
|
2552
2630
|
}>;
|
|
@@ -2583,7 +2661,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2583
2661
|
title?: string | undefined;
|
|
2584
2662
|
enum?: string[] | undefined;
|
|
2585
2663
|
}>, "many">>>;
|
|
2586
|
-
|
|
2664
|
+
containment: zod.ZodOptional<zod.ZodBoolean>;
|
|
2665
|
+
constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
2587
2666
|
type: zod.ZodLiteral<"property-sum">;
|
|
2588
2667
|
property: zod.ZodString;
|
|
2589
2668
|
leq: zod.ZodString;
|
|
@@ -2595,7 +2674,16 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2595
2674
|
type: "property-sum";
|
|
2596
2675
|
property: string;
|
|
2597
2676
|
leq: string;
|
|
2598
|
-
}>,
|
|
2677
|
+
}>, zod.ZodObject<{
|
|
2678
|
+
type: zod.ZodLiteral<"relationship-count">;
|
|
2679
|
+
leq: zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>;
|
|
2680
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2681
|
+
type: "relationship-count";
|
|
2682
|
+
leq: string | number;
|
|
2683
|
+
}, {
|
|
2684
|
+
type: "relationship-count";
|
|
2685
|
+
leq: string | number;
|
|
2686
|
+
}>]>, "many">>>;
|
|
2599
2687
|
} & {
|
|
2600
2688
|
orgId: zod.ZodString;
|
|
2601
2689
|
projectId: zod.ZodString;
|
|
@@ -2614,15 +2702,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2614
2702
|
title?: string | undefined;
|
|
2615
2703
|
enum?: string[] | undefined;
|
|
2616
2704
|
}[];
|
|
2617
|
-
constraints: {
|
|
2705
|
+
constraints: ({
|
|
2618
2706
|
type: "property-sum";
|
|
2619
2707
|
property: string;
|
|
2620
2708
|
leq: string;
|
|
2621
|
-
}
|
|
2622
|
-
|
|
2709
|
+
} | {
|
|
2710
|
+
type: "relationship-count";
|
|
2711
|
+
leq: string | number;
|
|
2712
|
+
})[];
|
|
2623
2713
|
kind: "RelationshipType";
|
|
2714
|
+
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
2624
2715
|
to: string;
|
|
2625
2716
|
displayName?: string | undefined;
|
|
2717
|
+
containment?: boolean | undefined;
|
|
2626
2718
|
}, {
|
|
2627
2719
|
name: string;
|
|
2628
2720
|
from: string;
|
|
@@ -2641,12 +2733,16 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2641
2733
|
title?: string | undefined;
|
|
2642
2734
|
enum?: string[] | undefined;
|
|
2643
2735
|
}[] | undefined;
|
|
2644
|
-
constraints?: {
|
|
2736
|
+
constraints?: ({
|
|
2645
2737
|
type: "property-sum";
|
|
2646
2738
|
property: string;
|
|
2647
2739
|
leq: string;
|
|
2648
|
-
}
|
|
2740
|
+
} | {
|
|
2741
|
+
type: "relationship-count";
|
|
2742
|
+
leq: string | number;
|
|
2743
|
+
})[] | undefined;
|
|
2649
2744
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
2745
|
+
containment?: boolean | undefined;
|
|
2650
2746
|
}>, {
|
|
2651
2747
|
name: string;
|
|
2652
2748
|
createdAt: string;
|
|
@@ -2664,14 +2760,18 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2664
2760
|
title?: string | undefined;
|
|
2665
2761
|
enum?: string[] | undefined;
|
|
2666
2762
|
}[];
|
|
2667
|
-
constraints: {
|
|
2763
|
+
constraints: ({
|
|
2668
2764
|
type: "property-sum";
|
|
2669
2765
|
property: string;
|
|
2670
2766
|
leq: string;
|
|
2671
|
-
}
|
|
2767
|
+
} | {
|
|
2768
|
+
type: "relationship-count";
|
|
2769
|
+
leq: string | number;
|
|
2770
|
+
})[];
|
|
2672
2771
|
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
2673
2772
|
fromEntityTypeName: string;
|
|
2674
2773
|
toEntityTypeName: string;
|
|
2774
|
+
containment: boolean;
|
|
2675
2775
|
}>;
|
|
2676
2776
|
update: SchemaFn<zod.ZodObject<{
|
|
2677
2777
|
kind: zod.ZodLiteral<"RelationshipType">;
|
|
@@ -2706,7 +2806,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2706
2806
|
title?: string | undefined;
|
|
2707
2807
|
enum?: string[] | undefined;
|
|
2708
2808
|
}>, "many">>>;
|
|
2709
|
-
|
|
2809
|
+
containment: zod.ZodOptional<zod.ZodBoolean>;
|
|
2810
|
+
constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
2710
2811
|
type: zod.ZodLiteral<"property-sum">;
|
|
2711
2812
|
property: zod.ZodString;
|
|
2712
2813
|
leq: zod.ZodString;
|
|
@@ -2718,7 +2819,16 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2718
2819
|
type: "property-sum";
|
|
2719
2820
|
property: string;
|
|
2720
2821
|
leq: string;
|
|
2721
|
-
}>,
|
|
2822
|
+
}>, zod.ZodObject<{
|
|
2823
|
+
type: zod.ZodLiteral<"relationship-count">;
|
|
2824
|
+
leq: zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>;
|
|
2825
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2826
|
+
type: "relationship-count";
|
|
2827
|
+
leq: string | number;
|
|
2828
|
+
}, {
|
|
2829
|
+
type: "relationship-count";
|
|
2830
|
+
leq: string | number;
|
|
2831
|
+
}>]>, "many">>>;
|
|
2722
2832
|
} & {
|
|
2723
2833
|
orgId: zod.ZodString;
|
|
2724
2834
|
projectId: zod.ZodString;
|
|
@@ -2737,15 +2847,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2737
2847
|
title?: string | undefined;
|
|
2738
2848
|
enum?: string[] | undefined;
|
|
2739
2849
|
}[];
|
|
2740
|
-
constraints: {
|
|
2850
|
+
constraints: ({
|
|
2741
2851
|
type: "property-sum";
|
|
2742
2852
|
property: string;
|
|
2743
2853
|
leq: string;
|
|
2744
|
-
}
|
|
2745
|
-
|
|
2854
|
+
} | {
|
|
2855
|
+
type: "relationship-count";
|
|
2856
|
+
leq: string | number;
|
|
2857
|
+
})[];
|
|
2746
2858
|
kind: "RelationshipType";
|
|
2859
|
+
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
2747
2860
|
to: string;
|
|
2748
2861
|
displayName?: string | undefined;
|
|
2862
|
+
containment?: boolean | undefined;
|
|
2749
2863
|
}, {
|
|
2750
2864
|
name: string;
|
|
2751
2865
|
from: string;
|
|
@@ -2764,12 +2878,16 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2764
2878
|
title?: string | undefined;
|
|
2765
2879
|
enum?: string[] | undefined;
|
|
2766
2880
|
}[] | undefined;
|
|
2767
|
-
constraints?: {
|
|
2881
|
+
constraints?: ({
|
|
2768
2882
|
type: "property-sum";
|
|
2769
2883
|
property: string;
|
|
2770
2884
|
leq: string;
|
|
2771
|
-
}
|
|
2885
|
+
} | {
|
|
2886
|
+
type: "relationship-count";
|
|
2887
|
+
leq: string | number;
|
|
2888
|
+
})[] | undefined;
|
|
2772
2889
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
2890
|
+
containment?: boolean | undefined;
|
|
2773
2891
|
}>, {
|
|
2774
2892
|
orgId: string;
|
|
2775
2893
|
projectId: string;
|
|
@@ -2788,11 +2906,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2788
2906
|
title?: string | undefined;
|
|
2789
2907
|
enum?: string[] | undefined;
|
|
2790
2908
|
}[];
|
|
2791
|
-
constraints: {
|
|
2909
|
+
constraints: ({
|
|
2792
2910
|
type: "property-sum";
|
|
2793
2911
|
property: string;
|
|
2794
2912
|
leq: string;
|
|
2795
|
-
}
|
|
2913
|
+
} | {
|
|
2914
|
+
type: "relationship-count";
|
|
2915
|
+
leq: string | number;
|
|
2916
|
+
})[];
|
|
2917
|
+
containment: boolean;
|
|
2796
2918
|
createdAt: string;
|
|
2797
2919
|
updatedAt: string;
|
|
2798
2920
|
}>;
|
|
@@ -6440,6 +6562,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
6440
6562
|
name: string;
|
|
6441
6563
|
orgId: string;
|
|
6442
6564
|
projectId: string;
|
|
6565
|
+
kind: "Action";
|
|
6443
6566
|
conditions: {
|
|
6444
6567
|
value: string | number | boolean | string[];
|
|
6445
6568
|
field: string;
|
|
@@ -6552,7 +6675,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
6552
6675
|
onFailure: string;
|
|
6553
6676
|
to: string;
|
|
6554
6677
|
};
|
|
6555
|
-
kind: "Action";
|
|
6556
6678
|
associatedWith: {
|
|
6557
6679
|
scope: "collection" | "instance";
|
|
6558
6680
|
entityType: string;
|
|
@@ -6876,6 +6998,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
6876
6998
|
name: string;
|
|
6877
6999
|
orgId: string;
|
|
6878
7000
|
projectId: string;
|
|
7001
|
+
kind: "Action";
|
|
6879
7002
|
operation: {
|
|
6880
7003
|
type: "create-entity";
|
|
6881
7004
|
entityType: string;
|
|
@@ -6975,7 +7098,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
6975
7098
|
onFailure: string;
|
|
6976
7099
|
to: string;
|
|
6977
7100
|
};
|
|
6978
|
-
kind: "Action";
|
|
6979
7101
|
associatedWith: {
|
|
6980
7102
|
scope: "collection" | "instance";
|
|
6981
7103
|
entityType: string;
|
|
@@ -10273,6 +10395,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
10273
10395
|
name: string;
|
|
10274
10396
|
orgId: string;
|
|
10275
10397
|
projectId: string;
|
|
10398
|
+
kind: "Action";
|
|
10276
10399
|
conditions: {
|
|
10277
10400
|
value: string | number | boolean | string[];
|
|
10278
10401
|
field: string;
|
|
@@ -10385,7 +10508,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
10385
10508
|
onFailure: string;
|
|
10386
10509
|
to: string;
|
|
10387
10510
|
};
|
|
10388
|
-
kind: "Action";
|
|
10389
10511
|
associatedWith: {
|
|
10390
10512
|
scope: "collection" | "instance";
|
|
10391
10513
|
entityType: string;
|
|
@@ -10709,6 +10831,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
10709
10831
|
name: string;
|
|
10710
10832
|
orgId: string;
|
|
10711
10833
|
projectId: string;
|
|
10834
|
+
kind: "Action";
|
|
10712
10835
|
operation: {
|
|
10713
10836
|
type: "create-entity";
|
|
10714
10837
|
entityType: string;
|
|
@@ -10808,7 +10931,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
10808
10931
|
onFailure: string;
|
|
10809
10932
|
to: string;
|
|
10810
10933
|
};
|
|
10811
|
-
kind: "Action";
|
|
10812
10934
|
associatedWith: {
|
|
10813
10935
|
scope: "collection" | "instance";
|
|
10814
10936
|
entityType: string;
|
|
@@ -12063,6 +12185,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
12063
12185
|
yellowSeconds?: number | undefined;
|
|
12064
12186
|
}>>;
|
|
12065
12187
|
applier: zod.ZodOptional<zod.ZodString>;
|
|
12188
|
+
composition: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
12189
|
+
kind: zod.ZodEnum<["resource", "module", "data"]>;
|
|
12190
|
+
address: zod.ZodString;
|
|
12191
|
+
provider: zod.ZodString;
|
|
12192
|
+
}, "strip", zod.ZodTypeAny, {
|
|
12193
|
+
provider: string;
|
|
12194
|
+
kind: "data" | "resource" | "module";
|
|
12195
|
+
address: string;
|
|
12196
|
+
}, {
|
|
12197
|
+
provider: string;
|
|
12198
|
+
kind: "data" | "resource" | "module";
|
|
12199
|
+
address: string;
|
|
12200
|
+
}>, "many">>;
|
|
12066
12201
|
}, "strip", zod.ZodTypeAny, {
|
|
12067
12202
|
name: string;
|
|
12068
12203
|
states: string[];
|
|
@@ -12097,9 +12232,14 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
12097
12232
|
max: number;
|
|
12098
12233
|
metric: string;
|
|
12099
12234
|
}[];
|
|
12100
|
-
syncTracked: boolean;
|
|
12101
12235
|
kind: "EntityType";
|
|
12236
|
+
syncTracked: boolean;
|
|
12102
12237
|
displayName?: string | undefined;
|
|
12238
|
+
composition?: {
|
|
12239
|
+
provider: string;
|
|
12240
|
+
kind: "data" | "resource" | "module";
|
|
12241
|
+
address: string;
|
|
12242
|
+
}[] | undefined;
|
|
12103
12243
|
syncFreshness?: {
|
|
12104
12244
|
greenSeconds?: number | undefined;
|
|
12105
12245
|
yellowSeconds?: number | undefined;
|
|
@@ -12141,6 +12281,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
12141
12281
|
max: number;
|
|
12142
12282
|
metric: string;
|
|
12143
12283
|
}[] | undefined;
|
|
12284
|
+
composition?: {
|
|
12285
|
+
provider: string;
|
|
12286
|
+
kind: "data" | "resource" | "module";
|
|
12287
|
+
address: string;
|
|
12288
|
+
}[] | undefined;
|
|
12144
12289
|
syncTracked?: boolean | undefined;
|
|
12145
12290
|
syncFreshness?: {
|
|
12146
12291
|
greenSeconds?: number | undefined;
|
|
@@ -12198,9 +12343,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
12198
12343
|
metric: string;
|
|
12199
12344
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
12200
12345
|
}[];
|
|
12346
|
+
kind: "Cell";
|
|
12201
12347
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
12202
12348
|
parentCells: string[];
|
|
12203
|
-
kind: "Cell";
|
|
12204
12349
|
displayName?: string | undefined;
|
|
12205
12350
|
deploymentTarget?: string | undefined;
|
|
12206
12351
|
membership?: {
|
|
@@ -12261,7 +12406,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
12261
12406
|
title?: string | undefined;
|
|
12262
12407
|
enum?: string[] | undefined;
|
|
12263
12408
|
}>, "many">>>;
|
|
12264
|
-
|
|
12409
|
+
containment: zod.ZodOptional<zod.ZodBoolean>;
|
|
12410
|
+
constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
12265
12411
|
type: zod.ZodLiteral<"property-sum">;
|
|
12266
12412
|
property: zod.ZodString;
|
|
12267
12413
|
leq: zod.ZodString;
|
|
@@ -12273,7 +12419,16 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
12273
12419
|
type: "property-sum";
|
|
12274
12420
|
property: string;
|
|
12275
12421
|
leq: string;
|
|
12276
|
-
}>,
|
|
12422
|
+
}>, zod.ZodObject<{
|
|
12423
|
+
type: zod.ZodLiteral<"relationship-count">;
|
|
12424
|
+
leq: zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>;
|
|
12425
|
+
}, "strip", zod.ZodTypeAny, {
|
|
12426
|
+
type: "relationship-count";
|
|
12427
|
+
leq: string | number;
|
|
12428
|
+
}, {
|
|
12429
|
+
type: "relationship-count";
|
|
12430
|
+
leq: string | number;
|
|
12431
|
+
}>]>, "many">>>;
|
|
12277
12432
|
}, "strip", zod.ZodTypeAny, {
|
|
12278
12433
|
name: string;
|
|
12279
12434
|
from: string;
|
|
@@ -12287,15 +12442,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
12287
12442
|
title?: string | undefined;
|
|
12288
12443
|
enum?: string[] | undefined;
|
|
12289
12444
|
}[];
|
|
12290
|
-
constraints: {
|
|
12445
|
+
constraints: ({
|
|
12291
12446
|
type: "property-sum";
|
|
12292
12447
|
property: string;
|
|
12293
12448
|
leq: string;
|
|
12294
|
-
}
|
|
12295
|
-
|
|
12449
|
+
} | {
|
|
12450
|
+
type: "relationship-count";
|
|
12451
|
+
leq: string | number;
|
|
12452
|
+
})[];
|
|
12296
12453
|
kind: "RelationshipType";
|
|
12454
|
+
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
12297
12455
|
to: string;
|
|
12298
12456
|
displayName?: string | undefined;
|
|
12457
|
+
containment?: boolean | undefined;
|
|
12299
12458
|
}, {
|
|
12300
12459
|
name: string;
|
|
12301
12460
|
from: string;
|
|
@@ -12312,12 +12471,16 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
12312
12471
|
title?: string | undefined;
|
|
12313
12472
|
enum?: string[] | undefined;
|
|
12314
12473
|
}[] | undefined;
|
|
12315
|
-
constraints?: {
|
|
12474
|
+
constraints?: ({
|
|
12316
12475
|
type: "property-sum";
|
|
12317
12476
|
property: string;
|
|
12318
12477
|
leq: string;
|
|
12319
|
-
}
|
|
12478
|
+
} | {
|
|
12479
|
+
type: "relationship-count";
|
|
12480
|
+
leq: string | number;
|
|
12481
|
+
})[] | undefined;
|
|
12320
12482
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
12483
|
+
containment?: boolean | undefined;
|
|
12321
12484
|
}>, zod.ZodObject<{
|
|
12322
12485
|
kind: zod.ZodLiteral<"Action">;
|
|
12323
12486
|
name: zod.ZodString;
|
|
@@ -14778,6 +14941,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
14778
14941
|
enum?: string[] | undefined;
|
|
14779
14942
|
}[];
|
|
14780
14943
|
name: string;
|
|
14944
|
+
kind: "Action";
|
|
14781
14945
|
conditions: {
|
|
14782
14946
|
value: string | number | boolean | string[];
|
|
14783
14947
|
field: string;
|
|
@@ -14890,7 +15054,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
14890
15054
|
onFailure: string;
|
|
14891
15055
|
to: string;
|
|
14892
15056
|
};
|
|
14893
|
-
kind: "Action";
|
|
14894
15057
|
associatedWith: {
|
|
14895
15058
|
scope: "collection" | "instance";
|
|
14896
15059
|
entityType: string;
|
|
@@ -15212,6 +15375,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
15212
15375
|
mutatesProperty?: string | undefined;
|
|
15213
15376
|
}, {
|
|
15214
15377
|
name: string;
|
|
15378
|
+
kind: "Action";
|
|
15215
15379
|
operation: {
|
|
15216
15380
|
type: "create-entity";
|
|
15217
15381
|
entityType: string;
|
|
@@ -15311,7 +15475,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
15311
15475
|
onFailure: string;
|
|
15312
15476
|
to: string;
|
|
15313
15477
|
};
|
|
15314
|
-
kind: "Action";
|
|
15315
15478
|
associatedWith: {
|
|
15316
15479
|
scope: "collection" | "instance";
|
|
15317
15480
|
entityType: string;
|
|
@@ -15769,6 +15932,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
15769
15932
|
enum?: string[] | undefined;
|
|
15770
15933
|
}[];
|
|
15771
15934
|
name: string;
|
|
15935
|
+
kind: "Action";
|
|
15772
15936
|
conditions: {
|
|
15773
15937
|
value: string | number | boolean | string[];
|
|
15774
15938
|
field: string;
|
|
@@ -15881,7 +16045,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
15881
16045
|
onFailure: string;
|
|
15882
16046
|
to: string;
|
|
15883
16047
|
};
|
|
15884
|
-
kind: "Action";
|
|
15885
16048
|
associatedWith: {
|
|
15886
16049
|
scope: "collection" | "instance";
|
|
15887
16050
|
entityType: string;
|
|
@@ -16235,9 +16398,14 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16235
16398
|
max: number;
|
|
16236
16399
|
metric: string;
|
|
16237
16400
|
}[];
|
|
16238
|
-
syncTracked: boolean;
|
|
16239
16401
|
kind: "EntityType";
|
|
16402
|
+
syncTracked: boolean;
|
|
16240
16403
|
displayName?: string | undefined;
|
|
16404
|
+
composition?: {
|
|
16405
|
+
provider: string;
|
|
16406
|
+
kind: "data" | "resource" | "module";
|
|
16407
|
+
address: string;
|
|
16408
|
+
}[] | undefined;
|
|
16241
16409
|
syncFreshness?: {
|
|
16242
16410
|
greenSeconds?: number | undefined;
|
|
16243
16411
|
yellowSeconds?: number | undefined;
|
|
@@ -16251,9 +16419,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16251
16419
|
metric: string;
|
|
16252
16420
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
16253
16421
|
}[];
|
|
16422
|
+
kind: "Cell";
|
|
16254
16423
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
16255
16424
|
parentCells: string[];
|
|
16256
|
-
kind: "Cell";
|
|
16257
16425
|
displayName?: string | undefined;
|
|
16258
16426
|
deploymentTarget?: string | undefined;
|
|
16259
16427
|
membership?: {
|
|
@@ -16275,15 +16443,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16275
16443
|
title?: string | undefined;
|
|
16276
16444
|
enum?: string[] | undefined;
|
|
16277
16445
|
}[];
|
|
16278
|
-
constraints: {
|
|
16446
|
+
constraints: ({
|
|
16279
16447
|
type: "property-sum";
|
|
16280
16448
|
property: string;
|
|
16281
16449
|
leq: string;
|
|
16282
|
-
}
|
|
16283
|
-
|
|
16450
|
+
} | {
|
|
16451
|
+
type: "relationship-count";
|
|
16452
|
+
leq: string | number;
|
|
16453
|
+
})[];
|
|
16284
16454
|
kind: "RelationshipType";
|
|
16455
|
+
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
16285
16456
|
to: string;
|
|
16286
16457
|
displayName?: string | undefined;
|
|
16458
|
+
containment?: boolean | undefined;
|
|
16287
16459
|
} | {
|
|
16288
16460
|
name: string;
|
|
16289
16461
|
kind: "Secret";
|
|
@@ -16325,6 +16497,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16325
16497
|
envName: string;
|
|
16326
16498
|
items: ({
|
|
16327
16499
|
name: string;
|
|
16500
|
+
kind: "Action";
|
|
16328
16501
|
operation: {
|
|
16329
16502
|
type: "create-entity";
|
|
16330
16503
|
entityType: string;
|
|
@@ -16424,7 +16597,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16424
16597
|
onFailure: string;
|
|
16425
16598
|
to: string;
|
|
16426
16599
|
};
|
|
16427
|
-
kind: "Action";
|
|
16428
16600
|
associatedWith: {
|
|
16429
16601
|
scope: "collection" | "instance";
|
|
16430
16602
|
entityType: string;
|
|
@@ -16802,6 +16974,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16802
16974
|
max: number;
|
|
16803
16975
|
metric: string;
|
|
16804
16976
|
}[] | undefined;
|
|
16977
|
+
composition?: {
|
|
16978
|
+
provider: string;
|
|
16979
|
+
kind: "data" | "resource" | "module";
|
|
16980
|
+
address: string;
|
|
16981
|
+
}[] | undefined;
|
|
16805
16982
|
syncTracked?: boolean | undefined;
|
|
16806
16983
|
syncFreshness?: {
|
|
16807
16984
|
greenSeconds?: number | undefined;
|
|
@@ -16843,12 +17020,16 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16843
17020
|
title?: string | undefined;
|
|
16844
17021
|
enum?: string[] | undefined;
|
|
16845
17022
|
}[] | undefined;
|
|
16846
|
-
constraints?: {
|
|
17023
|
+
constraints?: ({
|
|
16847
17024
|
type: "property-sum";
|
|
16848
17025
|
property: string;
|
|
16849
17026
|
leq: string;
|
|
16850
|
-
}
|
|
17027
|
+
} | {
|
|
17028
|
+
type: "relationship-count";
|
|
17029
|
+
leq: string | number;
|
|
17030
|
+
})[] | undefined;
|
|
16851
17031
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
17032
|
+
containment?: boolean | undefined;
|
|
16852
17033
|
} | {
|
|
16853
17034
|
name: string;
|
|
16854
17035
|
kind: "Secret";
|
|
@@ -18069,6 +18250,29 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
18069
18250
|
decidedBy: string | null;
|
|
18070
18251
|
}>;
|
|
18071
18252
|
};
|
|
18253
|
+
resolveSource: SchemaFn<zod.ZodObject<{
|
|
18254
|
+
orgId: zod.ZodString;
|
|
18255
|
+
projectId: zod.ZodString;
|
|
18256
|
+
kind: zod.ZodLiteral<"registry">;
|
|
18257
|
+
ref: zod.ZodString;
|
|
18258
|
+
version: zod.ZodOptional<zod.ZodString>;
|
|
18259
|
+
}, "strip", zod.ZodTypeAny, {
|
|
18260
|
+
ref: string;
|
|
18261
|
+
orgId: string;
|
|
18262
|
+
projectId: string;
|
|
18263
|
+
kind: "registry";
|
|
18264
|
+
version?: string | undefined;
|
|
18265
|
+
}, {
|
|
18266
|
+
ref: string;
|
|
18267
|
+
orgId: string;
|
|
18268
|
+
projectId: string;
|
|
18269
|
+
kind: "registry";
|
|
18270
|
+
version?: string | undefined;
|
|
18271
|
+
}>, {
|
|
18272
|
+
name: string;
|
|
18273
|
+
inputs: _terrantula_types.RegistryInput[];
|
|
18274
|
+
outputs: _terrantula_types.RegistryOutput[];
|
|
18275
|
+
}>;
|
|
18072
18276
|
exportCatalog: SchemaFn<zod.ZodObject<{
|
|
18073
18277
|
orgId: zod.ZodString;
|
|
18074
18278
|
projectId: zod.ZodString;
|
|
@@ -18275,9 +18479,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
18275
18479
|
metric: string;
|
|
18276
18480
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
18277
18481
|
}[];
|
|
18482
|
+
kind: "Cell";
|
|
18278
18483
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
18279
18484
|
parentCells: string[];
|
|
18280
|
-
kind: "Cell";
|
|
18281
18485
|
displayName?: string | undefined;
|
|
18282
18486
|
deploymentTarget?: string | undefined;
|
|
18283
18487
|
membership?: {
|
|
@@ -18385,9 +18589,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
18385
18589
|
metric: string;
|
|
18386
18590
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
18387
18591
|
}[];
|
|
18592
|
+
kind: "Cell";
|
|
18388
18593
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
18389
18594
|
parentCells: string[];
|
|
18390
|
-
kind: "Cell";
|
|
18391
18595
|
displayName?: string | undefined;
|
|
18392
18596
|
deploymentTarget?: string | undefined;
|
|
18393
18597
|
membership?: {
|