@terrantula/sdk 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-665GEJRV.mjs → chunk-E3CKS754.mjs} +177 -128
- package/dist/index.d.mts +1139 -558
- package/dist/index.d.ts +1139 -558
- package/dist/index.js +177 -128
- package/dist/index.mjs +1 -1
- package/dist/local.d.mts +650 -300
- package/dist/local.d.ts +650 -300
- package/dist/local.js +177 -128
- package/dist/local.mjs +1 -1
- package/package.json +3 -3
package/dist/local.d.mts
CHANGED
|
@@ -942,6 +942,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
942
942
|
kind: "data" | "resource" | "module";
|
|
943
943
|
address: string;
|
|
944
944
|
}[] | null;
|
|
945
|
+
strictComposition: boolean;
|
|
945
946
|
syncTracked: boolean;
|
|
946
947
|
syncFreshness: {
|
|
947
948
|
greenSeconds?: number | undefined;
|
|
@@ -1011,6 +1012,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1011
1012
|
kind: "data" | "resource" | "module";
|
|
1012
1013
|
address: string;
|
|
1013
1014
|
}[] | null;
|
|
1015
|
+
strictComposition: boolean;
|
|
1014
1016
|
syncTracked: boolean;
|
|
1015
1017
|
syncFreshness: {
|
|
1016
1018
|
greenSeconds?: number | undefined;
|
|
@@ -1173,6 +1175,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1173
1175
|
kind: "data" | "resource" | "module";
|
|
1174
1176
|
address: string;
|
|
1175
1177
|
}>, "many">>;
|
|
1178
|
+
strictComposition: zod.ZodOptional<zod.ZodBoolean>;
|
|
1176
1179
|
labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
1177
1180
|
labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
1178
1181
|
} & {
|
|
@@ -1222,6 +1225,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1222
1225
|
kind: "data" | "resource" | "module";
|
|
1223
1226
|
address: string;
|
|
1224
1227
|
}[] | undefined;
|
|
1228
|
+
strictComposition?: boolean | undefined;
|
|
1225
1229
|
syncFreshness?: {
|
|
1226
1230
|
greenSeconds?: number | undefined;
|
|
1227
1231
|
yellowSeconds?: number | undefined;
|
|
@@ -1272,6 +1276,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1272
1276
|
kind: "data" | "resource" | "module";
|
|
1273
1277
|
address: string;
|
|
1274
1278
|
}[] | undefined;
|
|
1279
|
+
strictComposition?: boolean | undefined;
|
|
1275
1280
|
syncTracked?: boolean | undefined;
|
|
1276
1281
|
syncFreshness?: {
|
|
1277
1282
|
greenSeconds?: number | undefined;
|
|
@@ -1324,6 +1329,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1324
1329
|
kind: "data" | "resource" | "module";
|
|
1325
1330
|
address: string;
|
|
1326
1331
|
}[] | null;
|
|
1332
|
+
strictComposition: boolean;
|
|
1327
1333
|
syncTracked: boolean;
|
|
1328
1334
|
syncFreshness: {
|
|
1329
1335
|
greenSeconds?: number | undefined;
|
|
@@ -1484,6 +1490,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1484
1490
|
kind: "data" | "resource" | "module";
|
|
1485
1491
|
address: string;
|
|
1486
1492
|
}>, "many">>;
|
|
1493
|
+
strictComposition: zod.ZodOptional<zod.ZodBoolean>;
|
|
1487
1494
|
labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
1488
1495
|
labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
1489
1496
|
} & {
|
|
@@ -1533,6 +1540,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1533
1540
|
kind: "data" | "resource" | "module";
|
|
1534
1541
|
address: string;
|
|
1535
1542
|
}[] | undefined;
|
|
1543
|
+
strictComposition?: boolean | undefined;
|
|
1536
1544
|
syncFreshness?: {
|
|
1537
1545
|
greenSeconds?: number | undefined;
|
|
1538
1546
|
yellowSeconds?: number | undefined;
|
|
@@ -1583,6 +1591,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1583
1591
|
kind: "data" | "resource" | "module";
|
|
1584
1592
|
address: string;
|
|
1585
1593
|
}[] | undefined;
|
|
1594
|
+
strictComposition?: boolean | undefined;
|
|
1586
1595
|
syncTracked?: boolean | undefined;
|
|
1587
1596
|
syncFreshness?: {
|
|
1588
1597
|
greenSeconds?: number | undefined;
|
|
@@ -1633,6 +1642,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1633
1642
|
kind: "data" | "resource" | "module";
|
|
1634
1643
|
address: string;
|
|
1635
1644
|
}[] | null;
|
|
1645
|
+
strictComposition: boolean;
|
|
1636
1646
|
syncTracked: boolean;
|
|
1637
1647
|
syncFreshness: {
|
|
1638
1648
|
greenSeconds?: number | undefined;
|
|
@@ -2310,7 +2320,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2310
2320
|
orgId: string;
|
|
2311
2321
|
projectId: string;
|
|
2312
2322
|
envName: string;
|
|
2313
|
-
}>, {
|
|
2323
|
+
}>, ({
|
|
2324
|
+
origin: "explicit";
|
|
2314
2325
|
fromEntityName: string;
|
|
2315
2326
|
toEntityName: string;
|
|
2316
2327
|
id: string;
|
|
@@ -2318,7 +2329,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2318
2329
|
fromEntityId: string;
|
|
2319
2330
|
toEntityId: string;
|
|
2320
2331
|
state: string;
|
|
2321
|
-
properties: hono_utils_types.JSONValue;
|
|
2322
2332
|
labels: hono_utils_types.JSONValue;
|
|
2323
2333
|
createdAt: string;
|
|
2324
2334
|
updatedAt: string;
|
|
@@ -2327,7 +2337,25 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2327
2337
|
envId: string;
|
|
2328
2338
|
deletionScheduledAt: string | null;
|
|
2329
2339
|
deletionGracePeriodSeconds: number | null;
|
|
2330
|
-
}
|
|
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
|
+
})[]>;
|
|
2331
2359
|
syncStamp: SchemaFn<zod.ZodObject<{
|
|
2332
2360
|
orgId: zod.ZodString;
|
|
2333
2361
|
projectId: zod.ZodString;
|
|
@@ -3560,13 +3588,20 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3560
3588
|
}[];
|
|
3561
3589
|
constraints: ({
|
|
3562
3590
|
type: "property-sum";
|
|
3563
|
-
|
|
3591
|
+
fromProperty: string;
|
|
3564
3592
|
leq: string;
|
|
3565
3593
|
} | {
|
|
3566
3594
|
type: "relationship-count";
|
|
3567
3595
|
leq: string | number;
|
|
3568
3596
|
})[];
|
|
3569
3597
|
containment: boolean;
|
|
3598
|
+
derivedFrom: {
|
|
3599
|
+
property: string;
|
|
3600
|
+
targetProperty?: string | undefined;
|
|
3601
|
+
} | null | undefined;
|
|
3602
|
+
labels: {
|
|
3603
|
+
[x: string]: string;
|
|
3604
|
+
};
|
|
3570
3605
|
createdAt: string;
|
|
3571
3606
|
updatedAt: string;
|
|
3572
3607
|
}[]>;
|
|
@@ -3602,13 +3637,20 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3602
3637
|
}[];
|
|
3603
3638
|
constraints: ({
|
|
3604
3639
|
type: "property-sum";
|
|
3605
|
-
|
|
3640
|
+
fromProperty: string;
|
|
3606
3641
|
leq: string;
|
|
3607
3642
|
} | {
|
|
3608
3643
|
type: "relationship-count";
|
|
3609
3644
|
leq: string | number;
|
|
3610
3645
|
})[];
|
|
3611
3646
|
containment: boolean;
|
|
3647
|
+
derivedFrom: {
|
|
3648
|
+
property: string;
|
|
3649
|
+
targetProperty?: string | undefined;
|
|
3650
|
+
} | null | undefined;
|
|
3651
|
+
labels: {
|
|
3652
|
+
[x: string]: string;
|
|
3653
|
+
};
|
|
3612
3654
|
createdAt: string;
|
|
3613
3655
|
updatedAt: string;
|
|
3614
3656
|
}>;
|
|
@@ -3619,7 +3661,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3619
3661
|
from: zod.ZodString;
|
|
3620
3662
|
to: zod.ZodString;
|
|
3621
3663
|
cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
|
|
3622
|
-
states: zod.ZodArray<zod.ZodString, "many"
|
|
3664
|
+
states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
|
|
3623
3665
|
properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
3624
3666
|
name: zod.ZodString;
|
|
3625
3667
|
type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
|
|
@@ -3646,17 +3688,28 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3646
3688
|
enum?: string[] | undefined;
|
|
3647
3689
|
}>, "many">>>;
|
|
3648
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>>;
|
|
3649
3702
|
constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
3650
3703
|
type: zod.ZodLiteral<"property-sum">;
|
|
3651
|
-
|
|
3704
|
+
fromProperty: zod.ZodString;
|
|
3652
3705
|
leq: zod.ZodString;
|
|
3653
3706
|
}, "strip", zod.ZodTypeAny, {
|
|
3654
3707
|
type: "property-sum";
|
|
3655
|
-
|
|
3708
|
+
fromProperty: string;
|
|
3656
3709
|
leq: string;
|
|
3657
3710
|
}, {
|
|
3658
3711
|
type: "property-sum";
|
|
3659
|
-
|
|
3712
|
+
fromProperty: string;
|
|
3660
3713
|
leq: string;
|
|
3661
3714
|
}>, zod.ZodObject<{
|
|
3662
3715
|
type: zod.ZodLiteral<"relationship-count">;
|
|
@@ -3688,7 +3741,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3688
3741
|
}[];
|
|
3689
3742
|
constraints: ({
|
|
3690
3743
|
type: "property-sum";
|
|
3691
|
-
|
|
3744
|
+
fromProperty: string;
|
|
3692
3745
|
leq: string;
|
|
3693
3746
|
} | {
|
|
3694
3747
|
type: "relationship-count";
|
|
@@ -3698,16 +3751,21 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3698
3751
|
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
3699
3752
|
to: string;
|
|
3700
3753
|
displayName?: string | undefined;
|
|
3754
|
+
derivedFrom?: {
|
|
3755
|
+
property: string;
|
|
3756
|
+
targetProperty?: string | undefined;
|
|
3757
|
+
} | undefined;
|
|
3758
|
+
labels?: Record<string, string> | undefined;
|
|
3701
3759
|
containment?: boolean | undefined;
|
|
3702
3760
|
}, {
|
|
3703
3761
|
name: string;
|
|
3704
3762
|
from: string;
|
|
3705
3763
|
orgId: string;
|
|
3706
3764
|
projectId: string;
|
|
3707
|
-
states: string[];
|
|
3708
3765
|
kind: "RelationshipType";
|
|
3709
3766
|
to: string;
|
|
3710
3767
|
displayName?: string | undefined;
|
|
3768
|
+
states?: string[] | undefined;
|
|
3711
3769
|
properties?: {
|
|
3712
3770
|
name: string;
|
|
3713
3771
|
type: "string" | "number" | "boolean" | "integer";
|
|
@@ -3717,14 +3775,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3717
3775
|
title?: string | undefined;
|
|
3718
3776
|
enum?: string[] | undefined;
|
|
3719
3777
|
}[] | undefined;
|
|
3778
|
+
derivedFrom?: {
|
|
3779
|
+
property: string;
|
|
3780
|
+
targetProperty?: string | undefined;
|
|
3781
|
+
} | undefined;
|
|
3720
3782
|
constraints?: ({
|
|
3721
3783
|
type: "property-sum";
|
|
3722
|
-
|
|
3784
|
+
fromProperty: string;
|
|
3723
3785
|
leq: string;
|
|
3724
3786
|
} | {
|
|
3725
3787
|
type: "relationship-count";
|
|
3726
3788
|
leq: string | number;
|
|
3727
3789
|
})[] | undefined;
|
|
3790
|
+
labels?: Record<string, string> | undefined;
|
|
3728
3791
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
3729
3792
|
containment?: boolean | undefined;
|
|
3730
3793
|
}>, {
|
|
@@ -3744,14 +3807,21 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3744
3807
|
title?: string | undefined;
|
|
3745
3808
|
enum?: string[] | undefined;
|
|
3746
3809
|
}[];
|
|
3810
|
+
derivedFrom: {
|
|
3811
|
+
property: string;
|
|
3812
|
+
targetProperty?: string | undefined;
|
|
3813
|
+
} | null | undefined;
|
|
3747
3814
|
constraints: ({
|
|
3748
3815
|
type: "property-sum";
|
|
3749
|
-
|
|
3816
|
+
fromProperty: string;
|
|
3750
3817
|
leq: string;
|
|
3751
3818
|
} | {
|
|
3752
3819
|
type: "relationship-count";
|
|
3753
3820
|
leq: string | number;
|
|
3754
3821
|
})[];
|
|
3822
|
+
labels: {
|
|
3823
|
+
[x: string]: string;
|
|
3824
|
+
};
|
|
3755
3825
|
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
3756
3826
|
fromEntityTypeName: string;
|
|
3757
3827
|
toEntityTypeName: string;
|
|
@@ -3764,7 +3834,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3764
3834
|
from: zod.ZodString;
|
|
3765
3835
|
to: zod.ZodString;
|
|
3766
3836
|
cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
|
|
3767
|
-
states: zod.ZodArray<zod.ZodString, "many"
|
|
3837
|
+
states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
|
|
3768
3838
|
properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
3769
3839
|
name: zod.ZodString;
|
|
3770
3840
|
type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
|
|
@@ -3791,17 +3861,28 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3791
3861
|
enum?: string[] | undefined;
|
|
3792
3862
|
}>, "many">>>;
|
|
3793
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>>;
|
|
3794
3875
|
constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
3795
3876
|
type: zod.ZodLiteral<"property-sum">;
|
|
3796
|
-
|
|
3877
|
+
fromProperty: zod.ZodString;
|
|
3797
3878
|
leq: zod.ZodString;
|
|
3798
3879
|
}, "strip", zod.ZodTypeAny, {
|
|
3799
3880
|
type: "property-sum";
|
|
3800
|
-
|
|
3881
|
+
fromProperty: string;
|
|
3801
3882
|
leq: string;
|
|
3802
3883
|
}, {
|
|
3803
3884
|
type: "property-sum";
|
|
3804
|
-
|
|
3885
|
+
fromProperty: string;
|
|
3805
3886
|
leq: string;
|
|
3806
3887
|
}>, zod.ZodObject<{
|
|
3807
3888
|
type: zod.ZodLiteral<"relationship-count">;
|
|
@@ -3833,7 +3914,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3833
3914
|
}[];
|
|
3834
3915
|
constraints: ({
|
|
3835
3916
|
type: "property-sum";
|
|
3836
|
-
|
|
3917
|
+
fromProperty: string;
|
|
3837
3918
|
leq: string;
|
|
3838
3919
|
} | {
|
|
3839
3920
|
type: "relationship-count";
|
|
@@ -3843,16 +3924,21 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3843
3924
|
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
3844
3925
|
to: string;
|
|
3845
3926
|
displayName?: string | undefined;
|
|
3927
|
+
derivedFrom?: {
|
|
3928
|
+
property: string;
|
|
3929
|
+
targetProperty?: string | undefined;
|
|
3930
|
+
} | undefined;
|
|
3931
|
+
labels?: Record<string, string> | undefined;
|
|
3846
3932
|
containment?: boolean | undefined;
|
|
3847
3933
|
}, {
|
|
3848
3934
|
name: string;
|
|
3849
3935
|
from: string;
|
|
3850
3936
|
orgId: string;
|
|
3851
3937
|
projectId: string;
|
|
3852
|
-
states: string[];
|
|
3853
3938
|
kind: "RelationshipType";
|
|
3854
3939
|
to: string;
|
|
3855
3940
|
displayName?: string | undefined;
|
|
3941
|
+
states?: string[] | undefined;
|
|
3856
3942
|
properties?: {
|
|
3857
3943
|
name: string;
|
|
3858
3944
|
type: "string" | "number" | "boolean" | "integer";
|
|
@@ -3862,14 +3948,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3862
3948
|
title?: string | undefined;
|
|
3863
3949
|
enum?: string[] | undefined;
|
|
3864
3950
|
}[] | undefined;
|
|
3951
|
+
derivedFrom?: {
|
|
3952
|
+
property: string;
|
|
3953
|
+
targetProperty?: string | undefined;
|
|
3954
|
+
} | undefined;
|
|
3865
3955
|
constraints?: ({
|
|
3866
3956
|
type: "property-sum";
|
|
3867
|
-
|
|
3957
|
+
fromProperty: string;
|
|
3868
3958
|
leq: string;
|
|
3869
3959
|
} | {
|
|
3870
3960
|
type: "relationship-count";
|
|
3871
3961
|
leq: string | number;
|
|
3872
3962
|
})[] | undefined;
|
|
3963
|
+
labels?: Record<string, string> | undefined;
|
|
3873
3964
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
3874
3965
|
containment?: boolean | undefined;
|
|
3875
3966
|
}>, {
|
|
@@ -3892,13 +3983,20 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3892
3983
|
}[];
|
|
3893
3984
|
constraints: ({
|
|
3894
3985
|
type: "property-sum";
|
|
3895
|
-
|
|
3986
|
+
fromProperty: string;
|
|
3896
3987
|
leq: string;
|
|
3897
3988
|
} | {
|
|
3898
3989
|
type: "relationship-count";
|
|
3899
3990
|
leq: string | number;
|
|
3900
3991
|
})[];
|
|
3901
3992
|
containment: boolean;
|
|
3993
|
+
derivedFrom: {
|
|
3994
|
+
property: string;
|
|
3995
|
+
targetProperty?: string | undefined;
|
|
3996
|
+
} | null | undefined;
|
|
3997
|
+
labels: {
|
|
3998
|
+
[x: string]: string;
|
|
3999
|
+
};
|
|
3902
4000
|
createdAt: string;
|
|
3903
4001
|
updatedAt: string;
|
|
3904
4002
|
}>;
|
|
@@ -3956,7 +4054,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3956
4054
|
toEntity?: string | undefined;
|
|
3957
4055
|
fromEntityCell?: string | undefined;
|
|
3958
4056
|
toEntityCell?: string | undefined;
|
|
3959
|
-
}>, {
|
|
4057
|
+
}>, ({
|
|
4058
|
+
origin: "explicit";
|
|
3960
4059
|
fromEntityName: string;
|
|
3961
4060
|
toEntityName: string;
|
|
3962
4061
|
id: string;
|
|
@@ -3964,7 +4063,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3964
4063
|
fromEntityId: string;
|
|
3965
4064
|
toEntityId: string;
|
|
3966
4065
|
state: string;
|
|
3967
|
-
properties: hono_utils_types.JSONValue;
|
|
3968
4066
|
labels: hono_utils_types.JSONValue;
|
|
3969
4067
|
createdAt: string;
|
|
3970
4068
|
updatedAt: string;
|
|
@@ -3973,7 +4071,25 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3973
4071
|
envId: string;
|
|
3974
4072
|
deletionScheduledAt: string | null;
|
|
3975
4073
|
deletionGracePeriodSeconds: number | null;
|
|
3976
|
-
}
|
|
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
|
+
})[]>;
|
|
3977
4093
|
get: SchemaFn<zod.ZodObject<{
|
|
3978
4094
|
orgId: zod.ZodString;
|
|
3979
4095
|
projectId: zod.ZodString;
|
|
@@ -3995,7 +4111,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
3995
4111
|
fromEntityId: string;
|
|
3996
4112
|
toEntityId: string;
|
|
3997
4113
|
state: string;
|
|
3998
|
-
properties: hono_utils_types.JSONValue;
|
|
3999
4114
|
labels: hono_utils_types.JSONValue;
|
|
4000
4115
|
createdAt: string;
|
|
4001
4116
|
updatedAt: string;
|
|
@@ -4011,7 +4126,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
4011
4126
|
from: zod.ZodString;
|
|
4012
4127
|
to: zod.ZodString;
|
|
4013
4128
|
state: zod.ZodOptional<zod.ZodString>;
|
|
4014
|
-
properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
|
|
4015
4129
|
labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
4016
4130
|
} & {
|
|
4017
4131
|
orgId: zod.ZodString;
|
|
@@ -4022,7 +4136,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
4022
4136
|
orgId: string;
|
|
4023
4137
|
projectId: string;
|
|
4024
4138
|
envName: string;
|
|
4025
|
-
properties: Record<string, unknown>;
|
|
4026
4139
|
relationshipType: string;
|
|
4027
4140
|
kind: "Relationship";
|
|
4028
4141
|
labels: Record<string, string>;
|
|
@@ -4037,23 +4150,21 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
4037
4150
|
kind: "Relationship";
|
|
4038
4151
|
to: string;
|
|
4039
4152
|
state?: string | undefined;
|
|
4040
|
-
properties?: Record<string, unknown> | undefined;
|
|
4041
4153
|
labels?: Record<string, string> | undefined;
|
|
4042
4154
|
}>, {
|
|
4043
4155
|
error: string;
|
|
4044
4156
|
} | {
|
|
4045
4157
|
id: string;
|
|
4158
|
+
relationshipTypeName: string;
|
|
4159
|
+
fromEntityId: string;
|
|
4160
|
+
toEntityId: string;
|
|
4161
|
+
state: string;
|
|
4162
|
+
labels: hono_utils_types.JSONValue;
|
|
4046
4163
|
createdAt: string;
|
|
4047
4164
|
updatedAt: string;
|
|
4048
|
-
orgId: string;
|
|
4049
4165
|
projectId: string;
|
|
4166
|
+
orgId: string;
|
|
4050
4167
|
envId: string;
|
|
4051
|
-
state: string;
|
|
4052
|
-
properties: hono_utils_types.JSONValue;
|
|
4053
|
-
labels: hono_utils_types.JSONValue;
|
|
4054
|
-
relationshipTypeName: string;
|
|
4055
|
-
fromEntityId: string;
|
|
4056
|
-
toEntityId: string;
|
|
4057
4168
|
deletionScheduledAt: string | null;
|
|
4058
4169
|
deletionGracePeriodSeconds: number | null;
|
|
4059
4170
|
}>;
|
|
@@ -4134,9 +4245,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
4134
4245
|
addToCell?: string | undefined;
|
|
4135
4246
|
createRelationship?: {
|
|
4136
4247
|
relationshipType: string;
|
|
4248
|
+
to: string;
|
|
4137
4249
|
onSuccess: string;
|
|
4138
4250
|
onFailure: string;
|
|
4139
|
-
to: string;
|
|
4140
4251
|
properties?: {
|
|
4141
4252
|
[x: string]: string;
|
|
4142
4253
|
} | undefined;
|
|
@@ -4204,10 +4315,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
4204
4315
|
type: "create-relationship";
|
|
4205
4316
|
from: string;
|
|
4206
4317
|
relationshipType: string;
|
|
4318
|
+
to: string;
|
|
4207
4319
|
onTrigger: string;
|
|
4208
4320
|
onSuccess: string;
|
|
4209
4321
|
onFailure: string;
|
|
4210
|
-
to: string;
|
|
4211
4322
|
properties?: {
|
|
4212
4323
|
[x: string]: string;
|
|
4213
4324
|
} | undefined;
|
|
@@ -4229,10 +4340,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
4229
4340
|
} | {
|
|
4230
4341
|
type: "migrate-relationship";
|
|
4231
4342
|
relationshipType: string;
|
|
4343
|
+
to: string;
|
|
4232
4344
|
onTrigger: string;
|
|
4233
4345
|
onSuccess: string;
|
|
4234
4346
|
onFailure: string;
|
|
4235
|
-
to: string;
|
|
4236
4347
|
};
|
|
4237
4348
|
trigger: {
|
|
4238
4349
|
type: "webhook";
|
|
@@ -4637,9 +4748,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
4637
4748
|
addToCell?: string | undefined;
|
|
4638
4749
|
createRelationship?: {
|
|
4639
4750
|
relationshipType: string;
|
|
4751
|
+
to: string;
|
|
4640
4752
|
onSuccess: string;
|
|
4641
4753
|
onFailure: string;
|
|
4642
|
-
to: string;
|
|
4643
4754
|
properties?: {
|
|
4644
4755
|
[x: string]: string;
|
|
4645
4756
|
} | undefined;
|
|
@@ -4707,10 +4818,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
4707
4818
|
type: "create-relationship";
|
|
4708
4819
|
from: string;
|
|
4709
4820
|
relationshipType: string;
|
|
4821
|
+
to: string;
|
|
4710
4822
|
onTrigger: string;
|
|
4711
4823
|
onSuccess: string;
|
|
4712
4824
|
onFailure: string;
|
|
4713
|
-
to: string;
|
|
4714
4825
|
properties?: {
|
|
4715
4826
|
[x: string]: string;
|
|
4716
4827
|
} | undefined;
|
|
@@ -4732,10 +4843,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
4732
4843
|
} | {
|
|
4733
4844
|
type: "migrate-relationship";
|
|
4734
4845
|
relationshipType: string;
|
|
4846
|
+
to: string;
|
|
4735
4847
|
onTrigger: string;
|
|
4736
4848
|
onSuccess: string;
|
|
4737
4849
|
onFailure: string;
|
|
4738
|
-
to: string;
|
|
4739
4850
|
};
|
|
4740
4851
|
trigger: {
|
|
4741
4852
|
type: "webhook";
|
|
@@ -5173,15 +5284,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
5173
5284
|
properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
5174
5285
|
}, "strip", zod.ZodTypeAny, {
|
|
5175
5286
|
relationshipType: string;
|
|
5287
|
+
to: string;
|
|
5176
5288
|
onSuccess: string;
|
|
5177
5289
|
onFailure: string;
|
|
5178
|
-
to: string;
|
|
5179
5290
|
properties?: Record<string, string> | undefined;
|
|
5180
5291
|
}, {
|
|
5181
5292
|
relationshipType: string;
|
|
5293
|
+
to: string;
|
|
5182
5294
|
onSuccess: string;
|
|
5183
5295
|
onFailure: string;
|
|
5184
|
-
to: string;
|
|
5185
5296
|
properties?: Record<string, string> | undefined;
|
|
5186
5297
|
}>>;
|
|
5187
5298
|
cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
|
|
@@ -5269,9 +5380,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
5269
5380
|
addToCell?: string | undefined;
|
|
5270
5381
|
createRelationship?: {
|
|
5271
5382
|
relationshipType: string;
|
|
5383
|
+
to: string;
|
|
5272
5384
|
onSuccess: string;
|
|
5273
5385
|
onFailure: string;
|
|
5274
|
-
to: string;
|
|
5275
5386
|
properties?: Record<string, string> | undefined;
|
|
5276
5387
|
} | undefined;
|
|
5277
5388
|
cascadeRules?: ({
|
|
@@ -5303,9 +5414,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
5303
5414
|
addToCell?: string | undefined;
|
|
5304
5415
|
createRelationship?: {
|
|
5305
5416
|
relationshipType: string;
|
|
5417
|
+
to: string;
|
|
5306
5418
|
onSuccess: string;
|
|
5307
5419
|
onFailure: string;
|
|
5308
|
-
to: string;
|
|
5309
5420
|
properties?: Record<string, string> | undefined;
|
|
5310
5421
|
} | undefined;
|
|
5311
5422
|
cascadeRules?: ({
|
|
@@ -5500,19 +5611,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
5500
5611
|
type: "create-relationship";
|
|
5501
5612
|
from: string;
|
|
5502
5613
|
relationshipType: string;
|
|
5614
|
+
to: string;
|
|
5503
5615
|
onTrigger: string;
|
|
5504
5616
|
onSuccess: string;
|
|
5505
5617
|
onFailure: string;
|
|
5506
|
-
to: string;
|
|
5507
5618
|
properties?: Record<string, string> | undefined;
|
|
5508
5619
|
}, {
|
|
5509
5620
|
type: "create-relationship";
|
|
5510
5621
|
from: string;
|
|
5511
5622
|
relationshipType: string;
|
|
5623
|
+
to: string;
|
|
5512
5624
|
onTrigger: string;
|
|
5513
5625
|
onSuccess: string;
|
|
5514
5626
|
onFailure: string;
|
|
5515
|
-
to: string;
|
|
5516
5627
|
properties?: Record<string, string> | undefined;
|
|
5517
5628
|
}>, zod.ZodObject<{
|
|
5518
5629
|
type: zod.ZodLiteral<"delete-relationship">;
|
|
@@ -5563,17 +5674,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
5563
5674
|
}, "strip", zod.ZodTypeAny, {
|
|
5564
5675
|
type: "migrate-relationship";
|
|
5565
5676
|
relationshipType: string;
|
|
5677
|
+
to: string;
|
|
5566
5678
|
onTrigger: string;
|
|
5567
5679
|
onSuccess: string;
|
|
5568
5680
|
onFailure: string;
|
|
5569
|
-
to: string;
|
|
5570
5681
|
}, {
|
|
5571
5682
|
type: "migrate-relationship";
|
|
5572
5683
|
relationshipType: string;
|
|
5684
|
+
to: string;
|
|
5573
5685
|
onTrigger: string;
|
|
5574
5686
|
onSuccess: string;
|
|
5575
5687
|
onFailure: string;
|
|
5576
|
-
to: string;
|
|
5577
5688
|
}>]>;
|
|
5578
5689
|
trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
5579
5690
|
type: zod.ZodLiteral<"webhook">;
|
|
@@ -7571,9 +7682,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
7571
7682
|
addToCell?: string | undefined;
|
|
7572
7683
|
createRelationship?: {
|
|
7573
7684
|
relationshipType: string;
|
|
7685
|
+
to: string;
|
|
7574
7686
|
onSuccess: string;
|
|
7575
7687
|
onFailure: string;
|
|
7576
|
-
to: string;
|
|
7577
7688
|
properties?: Record<string, string> | undefined;
|
|
7578
7689
|
} | undefined;
|
|
7579
7690
|
cascadeRules?: ({
|
|
@@ -7633,10 +7744,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
7633
7744
|
type: "create-relationship";
|
|
7634
7745
|
from: string;
|
|
7635
7746
|
relationshipType: string;
|
|
7747
|
+
to: string;
|
|
7636
7748
|
onTrigger: string;
|
|
7637
7749
|
onSuccess: string;
|
|
7638
7750
|
onFailure: string;
|
|
7639
|
-
to: string;
|
|
7640
7751
|
properties?: Record<string, string> | undefined;
|
|
7641
7752
|
} | {
|
|
7642
7753
|
type: "delete-relationship";
|
|
@@ -7654,10 +7765,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
7654
7765
|
} | {
|
|
7655
7766
|
type: "migrate-relationship";
|
|
7656
7767
|
relationshipType: string;
|
|
7768
|
+
to: string;
|
|
7657
7769
|
onTrigger: string;
|
|
7658
7770
|
onSuccess: string;
|
|
7659
7771
|
onFailure: string;
|
|
7660
|
-
to: string;
|
|
7661
7772
|
};
|
|
7662
7773
|
associatedWith: {
|
|
7663
7774
|
scope: "collection" | "instance";
|
|
@@ -7994,9 +8105,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
7994
8105
|
addToCell?: string | undefined;
|
|
7995
8106
|
createRelationship?: {
|
|
7996
8107
|
relationshipType: string;
|
|
8108
|
+
to: string;
|
|
7997
8109
|
onSuccess: string;
|
|
7998
8110
|
onFailure: string;
|
|
7999
|
-
to: string;
|
|
8000
8111
|
properties?: Record<string, string> | undefined;
|
|
8001
8112
|
} | undefined;
|
|
8002
8113
|
cascadeRules?: ({
|
|
@@ -8056,10 +8167,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
8056
8167
|
type: "create-relationship";
|
|
8057
8168
|
from: string;
|
|
8058
8169
|
relationshipType: string;
|
|
8170
|
+
to: string;
|
|
8059
8171
|
onTrigger: string;
|
|
8060
8172
|
onSuccess: string;
|
|
8061
8173
|
onFailure: string;
|
|
8062
|
-
to: string;
|
|
8063
8174
|
properties?: Record<string, string> | undefined;
|
|
8064
8175
|
} | {
|
|
8065
8176
|
type: "delete-relationship";
|
|
@@ -8077,10 +8188,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
8077
8188
|
} | {
|
|
8078
8189
|
type: "migrate-relationship";
|
|
8079
8190
|
relationshipType: string;
|
|
8191
|
+
to: string;
|
|
8080
8192
|
onTrigger: string;
|
|
8081
8193
|
onSuccess: string;
|
|
8082
8194
|
onFailure: string;
|
|
8083
|
-
to: string;
|
|
8084
8195
|
};
|
|
8085
8196
|
associatedWith: {
|
|
8086
8197
|
scope: "collection" | "instance";
|
|
@@ -8470,9 +8581,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
8470
8581
|
addToCell?: string | undefined;
|
|
8471
8582
|
createRelationship?: {
|
|
8472
8583
|
relationshipType: string;
|
|
8584
|
+
to: string;
|
|
8473
8585
|
onSuccess: string;
|
|
8474
8586
|
onFailure: string;
|
|
8475
|
-
to: string;
|
|
8476
8587
|
properties?: {
|
|
8477
8588
|
[x: string]: string;
|
|
8478
8589
|
} | undefined;
|
|
@@ -8540,10 +8651,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
8540
8651
|
type: "create-relationship";
|
|
8541
8652
|
from: string;
|
|
8542
8653
|
relationshipType: string;
|
|
8654
|
+
to: string;
|
|
8543
8655
|
onTrigger: string;
|
|
8544
8656
|
onSuccess: string;
|
|
8545
8657
|
onFailure: string;
|
|
8546
|
-
to: string;
|
|
8547
8658
|
properties?: {
|
|
8548
8659
|
[x: string]: string;
|
|
8549
8660
|
} | undefined;
|
|
@@ -8565,10 +8676,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
8565
8676
|
} | {
|
|
8566
8677
|
type: "migrate-relationship";
|
|
8567
8678
|
relationshipType: string;
|
|
8679
|
+
to: string;
|
|
8568
8680
|
onTrigger: string;
|
|
8569
8681
|
onSuccess: string;
|
|
8570
8682
|
onFailure: string;
|
|
8571
|
-
to: string;
|
|
8572
8683
|
};
|
|
8573
8684
|
trigger: {
|
|
8574
8685
|
type: "webhook";
|
|
@@ -9006,15 +9117,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
9006
9117
|
properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
9007
9118
|
}, "strip", zod.ZodTypeAny, {
|
|
9008
9119
|
relationshipType: string;
|
|
9120
|
+
to: string;
|
|
9009
9121
|
onSuccess: string;
|
|
9010
9122
|
onFailure: string;
|
|
9011
|
-
to: string;
|
|
9012
9123
|
properties?: Record<string, string> | undefined;
|
|
9013
9124
|
}, {
|
|
9014
9125
|
relationshipType: string;
|
|
9126
|
+
to: string;
|
|
9015
9127
|
onSuccess: string;
|
|
9016
9128
|
onFailure: string;
|
|
9017
|
-
to: string;
|
|
9018
9129
|
properties?: Record<string, string> | undefined;
|
|
9019
9130
|
}>>;
|
|
9020
9131
|
cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
|
|
@@ -9102,9 +9213,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
9102
9213
|
addToCell?: string | undefined;
|
|
9103
9214
|
createRelationship?: {
|
|
9104
9215
|
relationshipType: string;
|
|
9216
|
+
to: string;
|
|
9105
9217
|
onSuccess: string;
|
|
9106
9218
|
onFailure: string;
|
|
9107
|
-
to: string;
|
|
9108
9219
|
properties?: Record<string, string> | undefined;
|
|
9109
9220
|
} | undefined;
|
|
9110
9221
|
cascadeRules?: ({
|
|
@@ -9136,9 +9247,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
9136
9247
|
addToCell?: string | undefined;
|
|
9137
9248
|
createRelationship?: {
|
|
9138
9249
|
relationshipType: string;
|
|
9250
|
+
to: string;
|
|
9139
9251
|
onSuccess: string;
|
|
9140
9252
|
onFailure: string;
|
|
9141
|
-
to: string;
|
|
9142
9253
|
properties?: Record<string, string> | undefined;
|
|
9143
9254
|
} | undefined;
|
|
9144
9255
|
cascadeRules?: ({
|
|
@@ -9333,19 +9444,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
9333
9444
|
type: "create-relationship";
|
|
9334
9445
|
from: string;
|
|
9335
9446
|
relationshipType: string;
|
|
9447
|
+
to: string;
|
|
9336
9448
|
onTrigger: string;
|
|
9337
9449
|
onSuccess: string;
|
|
9338
9450
|
onFailure: string;
|
|
9339
|
-
to: string;
|
|
9340
9451
|
properties?: Record<string, string> | undefined;
|
|
9341
9452
|
}, {
|
|
9342
9453
|
type: "create-relationship";
|
|
9343
9454
|
from: string;
|
|
9344
9455
|
relationshipType: string;
|
|
9456
|
+
to: string;
|
|
9345
9457
|
onTrigger: string;
|
|
9346
9458
|
onSuccess: string;
|
|
9347
9459
|
onFailure: string;
|
|
9348
|
-
to: string;
|
|
9349
9460
|
properties?: Record<string, string> | undefined;
|
|
9350
9461
|
}>, zod.ZodObject<{
|
|
9351
9462
|
type: zod.ZodLiteral<"delete-relationship">;
|
|
@@ -9396,17 +9507,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
9396
9507
|
}, "strip", zod.ZodTypeAny, {
|
|
9397
9508
|
type: "migrate-relationship";
|
|
9398
9509
|
relationshipType: string;
|
|
9510
|
+
to: string;
|
|
9399
9511
|
onTrigger: string;
|
|
9400
9512
|
onSuccess: string;
|
|
9401
9513
|
onFailure: string;
|
|
9402
|
-
to: string;
|
|
9403
9514
|
}, {
|
|
9404
9515
|
type: "migrate-relationship";
|
|
9405
9516
|
relationshipType: string;
|
|
9517
|
+
to: string;
|
|
9406
9518
|
onTrigger: string;
|
|
9407
9519
|
onSuccess: string;
|
|
9408
9520
|
onFailure: string;
|
|
9409
|
-
to: string;
|
|
9410
9521
|
}>]>;
|
|
9411
9522
|
trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
9412
9523
|
type: zod.ZodLiteral<"webhook">;
|
|
@@ -11404,9 +11515,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
11404
11515
|
addToCell?: string | undefined;
|
|
11405
11516
|
createRelationship?: {
|
|
11406
11517
|
relationshipType: string;
|
|
11518
|
+
to: string;
|
|
11407
11519
|
onSuccess: string;
|
|
11408
11520
|
onFailure: string;
|
|
11409
|
-
to: string;
|
|
11410
11521
|
properties?: Record<string, string> | undefined;
|
|
11411
11522
|
} | undefined;
|
|
11412
11523
|
cascadeRules?: ({
|
|
@@ -11466,10 +11577,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
11466
11577
|
type: "create-relationship";
|
|
11467
11578
|
from: string;
|
|
11468
11579
|
relationshipType: string;
|
|
11580
|
+
to: string;
|
|
11469
11581
|
onTrigger: string;
|
|
11470
11582
|
onSuccess: string;
|
|
11471
11583
|
onFailure: string;
|
|
11472
|
-
to: string;
|
|
11473
11584
|
properties?: Record<string, string> | undefined;
|
|
11474
11585
|
} | {
|
|
11475
11586
|
type: "delete-relationship";
|
|
@@ -11487,10 +11598,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
11487
11598
|
} | {
|
|
11488
11599
|
type: "migrate-relationship";
|
|
11489
11600
|
relationshipType: string;
|
|
11601
|
+
to: string;
|
|
11490
11602
|
onTrigger: string;
|
|
11491
11603
|
onSuccess: string;
|
|
11492
11604
|
onFailure: string;
|
|
11493
|
-
to: string;
|
|
11494
11605
|
};
|
|
11495
11606
|
associatedWith: {
|
|
11496
11607
|
scope: "collection" | "instance";
|
|
@@ -11827,9 +11938,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
11827
11938
|
addToCell?: string | undefined;
|
|
11828
11939
|
createRelationship?: {
|
|
11829
11940
|
relationshipType: string;
|
|
11941
|
+
to: string;
|
|
11830
11942
|
onSuccess: string;
|
|
11831
11943
|
onFailure: string;
|
|
11832
|
-
to: string;
|
|
11833
11944
|
properties?: Record<string, string> | undefined;
|
|
11834
11945
|
} | undefined;
|
|
11835
11946
|
cascadeRules?: ({
|
|
@@ -11889,10 +12000,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
11889
12000
|
type: "create-relationship";
|
|
11890
12001
|
from: string;
|
|
11891
12002
|
relationshipType: string;
|
|
12003
|
+
to: string;
|
|
11892
12004
|
onTrigger: string;
|
|
11893
12005
|
onSuccess: string;
|
|
11894
12006
|
onFailure: string;
|
|
11895
|
-
to: string;
|
|
11896
12007
|
properties?: Record<string, string> | undefined;
|
|
11897
12008
|
} | {
|
|
11898
12009
|
type: "delete-relationship";
|
|
@@ -11910,10 +12021,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
11910
12021
|
} | {
|
|
11911
12022
|
type: "migrate-relationship";
|
|
11912
12023
|
relationshipType: string;
|
|
12024
|
+
to: string;
|
|
11913
12025
|
onTrigger: string;
|
|
11914
12026
|
onSuccess: string;
|
|
11915
12027
|
onFailure: string;
|
|
11916
|
-
to: string;
|
|
11917
12028
|
};
|
|
11918
12029
|
associatedWith: {
|
|
11919
12030
|
scope: "collection" | "instance";
|
|
@@ -12303,9 +12414,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
12303
12414
|
addToCell?: string | undefined;
|
|
12304
12415
|
createRelationship?: {
|
|
12305
12416
|
relationshipType: string;
|
|
12417
|
+
to: string;
|
|
12306
12418
|
onSuccess: string;
|
|
12307
12419
|
onFailure: string;
|
|
12308
|
-
to: string;
|
|
12309
12420
|
properties?: {
|
|
12310
12421
|
[x: string]: string;
|
|
12311
12422
|
} | undefined;
|
|
@@ -12373,10 +12484,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
12373
12484
|
type: "create-relationship";
|
|
12374
12485
|
from: string;
|
|
12375
12486
|
relationshipType: string;
|
|
12487
|
+
to: string;
|
|
12376
12488
|
onTrigger: string;
|
|
12377
12489
|
onSuccess: string;
|
|
12378
12490
|
onFailure: string;
|
|
12379
|
-
to: string;
|
|
12380
12491
|
properties?: {
|
|
12381
12492
|
[x: string]: string;
|
|
12382
12493
|
} | undefined;
|
|
@@ -12398,10 +12509,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
12398
12509
|
} | {
|
|
12399
12510
|
type: "migrate-relationship";
|
|
12400
12511
|
relationshipType: string;
|
|
12512
|
+
to: string;
|
|
12401
12513
|
onTrigger: string;
|
|
12402
12514
|
onSuccess: string;
|
|
12403
12515
|
onFailure: string;
|
|
12404
|
-
to: string;
|
|
12405
12516
|
};
|
|
12406
12517
|
trigger: {
|
|
12407
12518
|
type: "webhook";
|
|
@@ -13182,6 +13293,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
13182
13293
|
kind: "data" | "resource" | "module";
|
|
13183
13294
|
address: string;
|
|
13184
13295
|
}>, "many">>;
|
|
13296
|
+
strictComposition: zod.ZodOptional<zod.ZodBoolean>;
|
|
13185
13297
|
labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
13186
13298
|
labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
13187
13299
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -13226,6 +13338,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
13226
13338
|
kind: "data" | "resource" | "module";
|
|
13227
13339
|
address: string;
|
|
13228
13340
|
}[] | undefined;
|
|
13341
|
+
strictComposition?: boolean | undefined;
|
|
13229
13342
|
syncFreshness?: {
|
|
13230
13343
|
greenSeconds?: number | undefined;
|
|
13231
13344
|
yellowSeconds?: number | undefined;
|
|
@@ -13274,6 +13387,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
13274
13387
|
kind: "data" | "resource" | "module";
|
|
13275
13388
|
address: string;
|
|
13276
13389
|
}[] | undefined;
|
|
13390
|
+
strictComposition?: boolean | undefined;
|
|
13277
13391
|
syncTracked?: boolean | undefined;
|
|
13278
13392
|
syncFreshness?: {
|
|
13279
13393
|
greenSeconds?: number | undefined;
|
|
@@ -13674,7 +13788,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
13674
13788
|
from: zod.ZodString;
|
|
13675
13789
|
to: zod.ZodString;
|
|
13676
13790
|
cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
|
|
13677
|
-
states: zod.ZodArray<zod.ZodString, "many"
|
|
13791
|
+
states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
|
|
13678
13792
|
properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
13679
13793
|
name: zod.ZodString;
|
|
13680
13794
|
type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
|
|
@@ -13701,17 +13815,28 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
13701
13815
|
enum?: string[] | undefined;
|
|
13702
13816
|
}>, "many">>>;
|
|
13703
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>>;
|
|
13704
13829
|
constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
13705
13830
|
type: zod.ZodLiteral<"property-sum">;
|
|
13706
|
-
|
|
13831
|
+
fromProperty: zod.ZodString;
|
|
13707
13832
|
leq: zod.ZodString;
|
|
13708
13833
|
}, "strip", zod.ZodTypeAny, {
|
|
13709
13834
|
type: "property-sum";
|
|
13710
|
-
|
|
13835
|
+
fromProperty: string;
|
|
13711
13836
|
leq: string;
|
|
13712
13837
|
}, {
|
|
13713
13838
|
type: "property-sum";
|
|
13714
|
-
|
|
13839
|
+
fromProperty: string;
|
|
13715
13840
|
leq: string;
|
|
13716
13841
|
}>, zod.ZodObject<{
|
|
13717
13842
|
type: zod.ZodLiteral<"relationship-count">;
|
|
@@ -13738,7 +13863,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
13738
13863
|
}[];
|
|
13739
13864
|
constraints: ({
|
|
13740
13865
|
type: "property-sum";
|
|
13741
|
-
|
|
13866
|
+
fromProperty: string;
|
|
13742
13867
|
leq: string;
|
|
13743
13868
|
} | {
|
|
13744
13869
|
type: "relationship-count";
|
|
@@ -13748,14 +13873,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
13748
13873
|
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
13749
13874
|
to: string;
|
|
13750
13875
|
displayName?: string | undefined;
|
|
13876
|
+
derivedFrom?: {
|
|
13877
|
+
property: string;
|
|
13878
|
+
targetProperty?: string | undefined;
|
|
13879
|
+
} | undefined;
|
|
13880
|
+
labels?: Record<string, string> | undefined;
|
|
13751
13881
|
containment?: boolean | undefined;
|
|
13752
13882
|
}, {
|
|
13753
13883
|
name: string;
|
|
13754
13884
|
from: string;
|
|
13755
|
-
states: string[];
|
|
13756
13885
|
kind: "RelationshipType";
|
|
13757
13886
|
to: string;
|
|
13758
13887
|
displayName?: string | undefined;
|
|
13888
|
+
states?: string[] | undefined;
|
|
13759
13889
|
properties?: {
|
|
13760
13890
|
name: string;
|
|
13761
13891
|
type: "string" | "number" | "boolean" | "integer";
|
|
@@ -13765,14 +13895,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
13765
13895
|
title?: string | undefined;
|
|
13766
13896
|
enum?: string[] | undefined;
|
|
13767
13897
|
}[] | undefined;
|
|
13898
|
+
derivedFrom?: {
|
|
13899
|
+
property: string;
|
|
13900
|
+
targetProperty?: string | undefined;
|
|
13901
|
+
} | undefined;
|
|
13768
13902
|
constraints?: ({
|
|
13769
13903
|
type: "property-sum";
|
|
13770
|
-
|
|
13904
|
+
fromProperty: string;
|
|
13771
13905
|
leq: string;
|
|
13772
13906
|
} | {
|
|
13773
13907
|
type: "relationship-count";
|
|
13774
13908
|
leq: string | number;
|
|
13775
13909
|
})[] | undefined;
|
|
13910
|
+
labels?: Record<string, string> | undefined;
|
|
13776
13911
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
13777
13912
|
containment?: boolean | undefined;
|
|
13778
13913
|
}>, zod.ZodObject<{
|
|
@@ -13867,15 +14002,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
13867
14002
|
properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
13868
14003
|
}, "strip", zod.ZodTypeAny, {
|
|
13869
14004
|
relationshipType: string;
|
|
14005
|
+
to: string;
|
|
13870
14006
|
onSuccess: string;
|
|
13871
14007
|
onFailure: string;
|
|
13872
|
-
to: string;
|
|
13873
14008
|
properties?: Record<string, string> | undefined;
|
|
13874
14009
|
}, {
|
|
13875
14010
|
relationshipType: string;
|
|
14011
|
+
to: string;
|
|
13876
14012
|
onSuccess: string;
|
|
13877
14013
|
onFailure: string;
|
|
13878
|
-
to: string;
|
|
13879
14014
|
properties?: Record<string, string> | undefined;
|
|
13880
14015
|
}>>;
|
|
13881
14016
|
cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
|
|
@@ -13963,9 +14098,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
13963
14098
|
addToCell?: string | undefined;
|
|
13964
14099
|
createRelationship?: {
|
|
13965
14100
|
relationshipType: string;
|
|
14101
|
+
to: string;
|
|
13966
14102
|
onSuccess: string;
|
|
13967
14103
|
onFailure: string;
|
|
13968
|
-
to: string;
|
|
13969
14104
|
properties?: Record<string, string> | undefined;
|
|
13970
14105
|
} | undefined;
|
|
13971
14106
|
cascadeRules?: ({
|
|
@@ -13997,9 +14132,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
13997
14132
|
addToCell?: string | undefined;
|
|
13998
14133
|
createRelationship?: {
|
|
13999
14134
|
relationshipType: string;
|
|
14135
|
+
to: string;
|
|
14000
14136
|
onSuccess: string;
|
|
14001
14137
|
onFailure: string;
|
|
14002
|
-
to: string;
|
|
14003
14138
|
properties?: Record<string, string> | undefined;
|
|
14004
14139
|
} | undefined;
|
|
14005
14140
|
cascadeRules?: ({
|
|
@@ -14194,19 +14329,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
14194
14329
|
type: "create-relationship";
|
|
14195
14330
|
from: string;
|
|
14196
14331
|
relationshipType: string;
|
|
14332
|
+
to: string;
|
|
14197
14333
|
onTrigger: string;
|
|
14198
14334
|
onSuccess: string;
|
|
14199
14335
|
onFailure: string;
|
|
14200
|
-
to: string;
|
|
14201
14336
|
properties?: Record<string, string> | undefined;
|
|
14202
14337
|
}, {
|
|
14203
14338
|
type: "create-relationship";
|
|
14204
14339
|
from: string;
|
|
14205
14340
|
relationshipType: string;
|
|
14341
|
+
to: string;
|
|
14206
14342
|
onTrigger: string;
|
|
14207
14343
|
onSuccess: string;
|
|
14208
14344
|
onFailure: string;
|
|
14209
|
-
to: string;
|
|
14210
14345
|
properties?: Record<string, string> | undefined;
|
|
14211
14346
|
}>, zod.ZodObject<{
|
|
14212
14347
|
type: zod.ZodLiteral<"delete-relationship">;
|
|
@@ -14257,17 +14392,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
14257
14392
|
}, "strip", zod.ZodTypeAny, {
|
|
14258
14393
|
type: "migrate-relationship";
|
|
14259
14394
|
relationshipType: string;
|
|
14395
|
+
to: string;
|
|
14260
14396
|
onTrigger: string;
|
|
14261
14397
|
onSuccess: string;
|
|
14262
14398
|
onFailure: string;
|
|
14263
|
-
to: string;
|
|
14264
14399
|
}, {
|
|
14265
14400
|
type: "migrate-relationship";
|
|
14266
14401
|
relationshipType: string;
|
|
14402
|
+
to: string;
|
|
14267
14403
|
onTrigger: string;
|
|
14268
14404
|
onSuccess: string;
|
|
14269
14405
|
onFailure: string;
|
|
14270
|
-
to: string;
|
|
14271
14406
|
}>]>;
|
|
14272
14407
|
trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
14273
14408
|
type: zod.ZodLiteral<"webhook">;
|
|
@@ -16260,9 +16395,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16260
16395
|
addToCell?: string | undefined;
|
|
16261
16396
|
createRelationship?: {
|
|
16262
16397
|
relationshipType: string;
|
|
16398
|
+
to: string;
|
|
16263
16399
|
onSuccess: string;
|
|
16264
16400
|
onFailure: string;
|
|
16265
|
-
to: string;
|
|
16266
16401
|
properties?: Record<string, string> | undefined;
|
|
16267
16402
|
} | undefined;
|
|
16268
16403
|
cascadeRules?: ({
|
|
@@ -16322,10 +16457,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16322
16457
|
type: "create-relationship";
|
|
16323
16458
|
from: string;
|
|
16324
16459
|
relationshipType: string;
|
|
16460
|
+
to: string;
|
|
16325
16461
|
onTrigger: string;
|
|
16326
16462
|
onSuccess: string;
|
|
16327
16463
|
onFailure: string;
|
|
16328
|
-
to: string;
|
|
16329
16464
|
properties?: Record<string, string> | undefined;
|
|
16330
16465
|
} | {
|
|
16331
16466
|
type: "delete-relationship";
|
|
@@ -16343,10 +16478,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16343
16478
|
} | {
|
|
16344
16479
|
type: "migrate-relationship";
|
|
16345
16480
|
relationshipType: string;
|
|
16481
|
+
to: string;
|
|
16346
16482
|
onTrigger: string;
|
|
16347
16483
|
onSuccess: string;
|
|
16348
16484
|
onFailure: string;
|
|
16349
|
-
to: string;
|
|
16350
16485
|
};
|
|
16351
16486
|
associatedWith: {
|
|
16352
16487
|
scope: "collection" | "instance";
|
|
@@ -16681,9 +16816,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16681
16816
|
addToCell?: string | undefined;
|
|
16682
16817
|
createRelationship?: {
|
|
16683
16818
|
relationshipType: string;
|
|
16819
|
+
to: string;
|
|
16684
16820
|
onSuccess: string;
|
|
16685
16821
|
onFailure: string;
|
|
16686
|
-
to: string;
|
|
16687
16822
|
properties?: Record<string, string> | undefined;
|
|
16688
16823
|
} | undefined;
|
|
16689
16824
|
cascadeRules?: ({
|
|
@@ -16743,10 +16878,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16743
16878
|
type: "create-relationship";
|
|
16744
16879
|
from: string;
|
|
16745
16880
|
relationshipType: string;
|
|
16881
|
+
to: string;
|
|
16746
16882
|
onTrigger: string;
|
|
16747
16883
|
onSuccess: string;
|
|
16748
16884
|
onFailure: string;
|
|
16749
|
-
to: string;
|
|
16750
16885
|
properties?: Record<string, string> | undefined;
|
|
16751
16886
|
} | {
|
|
16752
16887
|
type: "delete-relationship";
|
|
@@ -16764,10 +16899,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16764
16899
|
} | {
|
|
16765
16900
|
type: "migrate-relationship";
|
|
16766
16901
|
relationshipType: string;
|
|
16902
|
+
to: string;
|
|
16767
16903
|
onTrigger: string;
|
|
16768
16904
|
onSuccess: string;
|
|
16769
16905
|
onFailure: string;
|
|
16770
|
-
to: string;
|
|
16771
16906
|
};
|
|
16772
16907
|
associatedWith: {
|
|
16773
16908
|
scope: "collection" | "instance";
|
|
@@ -17155,11 +17290,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17155
17290
|
from: zod.ZodString;
|
|
17156
17291
|
to: zod.ZodString;
|
|
17157
17292
|
state: zod.ZodOptional<zod.ZodString>;
|
|
17158
|
-
properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
|
|
17159
17293
|
labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
17160
17294
|
}, "strip", zod.ZodTypeAny, {
|
|
17161
17295
|
from: string;
|
|
17162
|
-
properties: Record<string, unknown>;
|
|
17163
17296
|
relationshipType: string;
|
|
17164
17297
|
kind: "Relationship";
|
|
17165
17298
|
labels: Record<string, string>;
|
|
@@ -17171,7 +17304,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17171
17304
|
kind: "Relationship";
|
|
17172
17305
|
to: string;
|
|
17173
17306
|
state?: string | undefined;
|
|
17174
|
-
properties?: Record<string, unknown> | undefined;
|
|
17175
17307
|
labels?: Record<string, string> | undefined;
|
|
17176
17308
|
}>, zod.ZodObject<{
|
|
17177
17309
|
kind: zod.ZodLiteral<"DeploymentTarget">;
|
|
@@ -17240,10 +17372,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17240
17372
|
name: zod.ZodString;
|
|
17241
17373
|
}, "strip", zod.ZodTypeAny, {
|
|
17242
17374
|
name: string;
|
|
17243
|
-
kind: "
|
|
17375
|
+
kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
|
|
17244
17376
|
}, {
|
|
17245
17377
|
name: string;
|
|
17246
|
-
kind: "
|
|
17378
|
+
kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
|
|
17247
17379
|
}>, "many">>>;
|
|
17248
17380
|
dryRun: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
|
|
17249
17381
|
} & {
|
|
@@ -17255,6 +17387,37 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17255
17387
|
projectId: string;
|
|
17256
17388
|
envName: string;
|
|
17257
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
|
+
} | {
|
|
17258
17421
|
parameters: {
|
|
17259
17422
|
name: string;
|
|
17260
17423
|
type: "string" | "number" | "boolean" | "integer";
|
|
@@ -17290,9 +17453,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17290
17453
|
addToCell?: string | undefined;
|
|
17291
17454
|
createRelationship?: {
|
|
17292
17455
|
relationshipType: string;
|
|
17456
|
+
to: string;
|
|
17293
17457
|
onSuccess: string;
|
|
17294
17458
|
onFailure: string;
|
|
17295
|
-
to: string;
|
|
17296
17459
|
properties?: Record<string, string> | undefined;
|
|
17297
17460
|
} | undefined;
|
|
17298
17461
|
cascadeRules?: ({
|
|
@@ -17352,10 +17515,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17352
17515
|
type: "create-relationship";
|
|
17353
17516
|
from: string;
|
|
17354
17517
|
relationshipType: string;
|
|
17518
|
+
to: string;
|
|
17355
17519
|
onTrigger: string;
|
|
17356
17520
|
onSuccess: string;
|
|
17357
17521
|
onFailure: string;
|
|
17358
|
-
to: string;
|
|
17359
17522
|
properties?: Record<string, string> | undefined;
|
|
17360
17523
|
} | {
|
|
17361
17524
|
type: "delete-relationship";
|
|
@@ -17373,10 +17536,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17373
17536
|
} | {
|
|
17374
17537
|
type: "migrate-relationship";
|
|
17375
17538
|
relationshipType: string;
|
|
17539
|
+
to: string;
|
|
17376
17540
|
onTrigger: string;
|
|
17377
17541
|
onSuccess: string;
|
|
17378
17542
|
onFailure: string;
|
|
17379
|
-
to: string;
|
|
17380
17543
|
};
|
|
17381
17544
|
associatedWith: {
|
|
17382
17545
|
scope: "collection" | "instance";
|
|
@@ -17739,6 +17902,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17739
17902
|
kind: "data" | "resource" | "module";
|
|
17740
17903
|
address: string;
|
|
17741
17904
|
}[] | undefined;
|
|
17905
|
+
strictComposition?: boolean | undefined;
|
|
17742
17906
|
syncFreshness?: {
|
|
17743
17907
|
greenSeconds?: number | undefined;
|
|
17744
17908
|
yellowSeconds?: number | undefined;
|
|
@@ -17799,32 +17963,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17799
17963
|
value?: string | undefined;
|
|
17800
17964
|
};
|
|
17801
17965
|
} | undefined;
|
|
17802
|
-
} | {
|
|
17803
|
-
name: string;
|
|
17804
|
-
from: string;
|
|
17805
|
-
states: string[];
|
|
17806
|
-
properties: {
|
|
17807
|
-
name: string;
|
|
17808
|
-
type: "string" | "number" | "boolean" | "integer";
|
|
17809
|
-
required: boolean;
|
|
17810
|
-
description?: string | undefined;
|
|
17811
|
-
default?: string | number | boolean | undefined;
|
|
17812
|
-
title?: string | undefined;
|
|
17813
|
-
enum?: string[] | undefined;
|
|
17814
|
-
}[];
|
|
17815
|
-
constraints: ({
|
|
17816
|
-
type: "property-sum";
|
|
17817
|
-
property: string;
|
|
17818
|
-
leq: string;
|
|
17819
|
-
} | {
|
|
17820
|
-
type: "relationship-count";
|
|
17821
|
-
leq: string | number;
|
|
17822
|
-
})[];
|
|
17823
|
-
kind: "RelationshipType";
|
|
17824
|
-
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
17825
|
-
to: string;
|
|
17826
|
-
displayName?: string | undefined;
|
|
17827
|
-
containment?: boolean | undefined;
|
|
17828
17966
|
} | {
|
|
17829
17967
|
name: string;
|
|
17830
17968
|
kind: "Secret";
|
|
@@ -17840,7 +17978,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17840
17978
|
syncSource?: string | undefined;
|
|
17841
17979
|
} | {
|
|
17842
17980
|
from: string;
|
|
17843
|
-
properties: Record<string, unknown>;
|
|
17844
17981
|
relationshipType: string;
|
|
17845
17982
|
kind: "Relationship";
|
|
17846
17983
|
labels: Record<string, string>;
|
|
@@ -17869,7 +18006,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17869
18006
|
})[];
|
|
17870
18007
|
deletions: {
|
|
17871
18008
|
name: string;
|
|
17872
|
-
kind: "
|
|
18009
|
+
kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
|
|
17873
18010
|
}[];
|
|
17874
18011
|
force: boolean;
|
|
17875
18012
|
dryRun: boolean;
|
|
@@ -17878,6 +18015,37 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17878
18015
|
projectId: string;
|
|
17879
18016
|
envName: string;
|
|
17880
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
|
+
} | {
|
|
17881
18049
|
name: string;
|
|
17882
18050
|
kind: "Action";
|
|
17883
18051
|
operation: {
|
|
@@ -17891,9 +18059,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17891
18059
|
addToCell?: string | undefined;
|
|
17892
18060
|
createRelationship?: {
|
|
17893
18061
|
relationshipType: string;
|
|
18062
|
+
to: string;
|
|
17894
18063
|
onSuccess: string;
|
|
17895
18064
|
onFailure: string;
|
|
17896
|
-
to: string;
|
|
17897
18065
|
properties?: Record<string, string> | undefined;
|
|
17898
18066
|
} | undefined;
|
|
17899
18067
|
cascadeRules?: ({
|
|
@@ -17953,10 +18121,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17953
18121
|
type: "create-relationship";
|
|
17954
18122
|
from: string;
|
|
17955
18123
|
relationshipType: string;
|
|
18124
|
+
to: string;
|
|
17956
18125
|
onTrigger: string;
|
|
17957
18126
|
onSuccess: string;
|
|
17958
18127
|
onFailure: string;
|
|
17959
|
-
to: string;
|
|
17960
18128
|
properties?: Record<string, string> | undefined;
|
|
17961
18129
|
} | {
|
|
17962
18130
|
type: "delete-relationship";
|
|
@@ -17974,10 +18142,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
17974
18142
|
} | {
|
|
17975
18143
|
type: "migrate-relationship";
|
|
17976
18144
|
relationshipType: string;
|
|
18145
|
+
to: string;
|
|
17977
18146
|
onTrigger: string;
|
|
17978
18147
|
onSuccess: string;
|
|
17979
18148
|
onFailure: string;
|
|
17980
|
-
to: string;
|
|
17981
18149
|
};
|
|
17982
18150
|
associatedWith: {
|
|
17983
18151
|
scope: "collection" | "instance";
|
|
@@ -18361,6 +18529,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
18361
18529
|
kind: "data" | "resource" | "module";
|
|
18362
18530
|
address: string;
|
|
18363
18531
|
}[] | undefined;
|
|
18532
|
+
strictComposition?: boolean | undefined;
|
|
18364
18533
|
syncTracked?: boolean | undefined;
|
|
18365
18534
|
syncFreshness?: {
|
|
18366
18535
|
greenSeconds?: number | undefined;
|
|
@@ -18422,32 +18591,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
18422
18591
|
value?: string | undefined;
|
|
18423
18592
|
};
|
|
18424
18593
|
} | undefined;
|
|
18425
|
-
} | {
|
|
18426
|
-
name: string;
|
|
18427
|
-
from: string;
|
|
18428
|
-
states: string[];
|
|
18429
|
-
kind: "RelationshipType";
|
|
18430
|
-
to: string;
|
|
18431
|
-
displayName?: string | undefined;
|
|
18432
|
-
properties?: {
|
|
18433
|
-
name: string;
|
|
18434
|
-
type: "string" | "number" | "boolean" | "integer";
|
|
18435
|
-
description?: string | undefined;
|
|
18436
|
-
default?: string | number | boolean | undefined;
|
|
18437
|
-
required?: boolean | undefined;
|
|
18438
|
-
title?: string | undefined;
|
|
18439
|
-
enum?: string[] | undefined;
|
|
18440
|
-
}[] | undefined;
|
|
18441
|
-
constraints?: ({
|
|
18442
|
-
type: "property-sum";
|
|
18443
|
-
property: string;
|
|
18444
|
-
leq: string;
|
|
18445
|
-
} | {
|
|
18446
|
-
type: "relationship-count";
|
|
18447
|
-
leq: string | number;
|
|
18448
|
-
})[] | undefined;
|
|
18449
|
-
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
18450
|
-
containment?: boolean | undefined;
|
|
18451
18594
|
} | {
|
|
18452
18595
|
name: string;
|
|
18453
18596
|
kind: "Secret";
|
|
@@ -18467,7 +18610,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
18467
18610
|
kind: "Relationship";
|
|
18468
18611
|
to: string;
|
|
18469
18612
|
state?: string | undefined;
|
|
18470
|
-
properties?: Record<string, unknown> | undefined;
|
|
18471
18613
|
labels?: Record<string, string> | undefined;
|
|
18472
18614
|
} | {
|
|
18473
18615
|
name: string;
|
|
@@ -18492,7 +18634,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
18492
18634
|
})[];
|
|
18493
18635
|
deletions?: {
|
|
18494
18636
|
name: string;
|
|
18495
|
-
kind: "
|
|
18637
|
+
kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
|
|
18496
18638
|
}[] | undefined;
|
|
18497
18639
|
force?: boolean | undefined;
|
|
18498
18640
|
dryRun?: boolean | undefined;
|
|
@@ -18891,6 +19033,114 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
18891
19033
|
status: string;
|
|
18892
19034
|
}>;
|
|
18893
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
|
+
};
|
|
18894
19144
|
stats: {
|
|
18895
19145
|
entitiesByState: SchemaFn<zod.ZodObject<{
|
|
18896
19146
|
orgId: zod.ZodString;
|
|
@@ -18992,41 +19242,61 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
18992
19242
|
ownerUserId: string | null;
|
|
18993
19243
|
name: string;
|
|
18994
19244
|
isDefault: boolean;
|
|
18995
|
-
|
|
18996
|
-
|
|
18997
|
-
|
|
18998
|
-
|
|
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")[];
|
|
18999
19266
|
};
|
|
19000
|
-
|
|
19267
|
+
filters: {
|
|
19001
19268
|
entityTypes: string[];
|
|
19002
|
-
states: string[];
|
|
19003
19269
|
labels: {
|
|
19004
19270
|
[x: string]: string[];
|
|
19005
19271
|
};
|
|
19006
|
-
|
|
19007
|
-
|
|
19272
|
+
cells: string[];
|
|
19273
|
+
relationshipTypes: string[];
|
|
19274
|
+
deploymentTargets: string[];
|
|
19275
|
+
lifecycle: string[];
|
|
19276
|
+
conformance: ("conformant" | "non-conformant")[];
|
|
19008
19277
|
};
|
|
19009
|
-
|
|
19010
|
-
|
|
19011
|
-
|
|
19278
|
+
focus: {
|
|
19279
|
+
direction: "both" | "upstream" | "downstream";
|
|
19280
|
+
roots: string[];
|
|
19281
|
+
maxHops: 1 | 2 | 3 | "∞";
|
|
19282
|
+
edgeTypes: string[];
|
|
19012
19283
|
};
|
|
19013
|
-
|
|
19014
|
-
|
|
19015
|
-
showState: boolean;
|
|
19016
|
-
inlineRelationships: boolean;
|
|
19017
|
-
maxRelsPerCard: number;
|
|
19018
|
-
drawEdges: boolean;
|
|
19284
|
+
expansion: {
|
|
19285
|
+
[x: string]: "expanded" | "collapsed";
|
|
19019
19286
|
};
|
|
19020
|
-
|
|
19021
|
-
|
|
19022
|
-
|
|
19023
|
-
|
|
19024
|
-
|
|
19025
|
-
|
|
19026
|
-
|
|
19027
|
-
x:
|
|
19028
|
-
|
|
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
|
+
};
|
|
19029
19298
|
};
|
|
19299
|
+
interaction: "auto" | "free";
|
|
19030
19300
|
} | null;
|
|
19031
19301
|
createdAt: string;
|
|
19032
19302
|
updatedAt: string;
|
|
@@ -19051,41 +19321,61 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
19051
19321
|
ownerUserId: string | null;
|
|
19052
19322
|
name: string;
|
|
19053
19323
|
isDefault: boolean;
|
|
19054
|
-
|
|
19055
|
-
|
|
19056
|
-
|
|
19057
|
-
|
|
19324
|
+
pinnedPositions: {
|
|
19325
|
+
[x: string]: {
|
|
19326
|
+
x: number;
|
|
19327
|
+
y: number;
|
|
19328
|
+
};
|
|
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;
|
|
19058
19339
|
};
|
|
19059
|
-
|
|
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: {
|
|
19060
19347
|
entityTypes: string[];
|
|
19061
|
-
states: string[];
|
|
19062
19348
|
labels: {
|
|
19063
19349
|
[x: string]: string[];
|
|
19064
19350
|
};
|
|
19065
|
-
|
|
19066
|
-
|
|
19067
|
-
|
|
19068
|
-
|
|
19069
|
-
|
|
19070
|
-
partitionsEnabled: boolean;
|
|
19351
|
+
cells: string[];
|
|
19352
|
+
relationshipTypes: string[];
|
|
19353
|
+
deploymentTargets: string[];
|
|
19354
|
+
lifecycle: string[];
|
|
19355
|
+
conformance: ("conformant" | "non-conformant")[];
|
|
19071
19356
|
};
|
|
19072
|
-
|
|
19073
|
-
|
|
19074
|
-
|
|
19075
|
-
|
|
19076
|
-
|
|
19077
|
-
drawEdges: boolean;
|
|
19357
|
+
focus: {
|
|
19358
|
+
direction: "both" | "upstream" | "downstream";
|
|
19359
|
+
roots: string[];
|
|
19360
|
+
maxHops: 1 | 2 | 3 | "∞";
|
|
19361
|
+
edgeTypes: string[];
|
|
19078
19362
|
};
|
|
19079
|
-
|
|
19080
|
-
|
|
19081
|
-
positionsPinned: boolean;
|
|
19363
|
+
expansion: {
|
|
19364
|
+
[x: string]: "expanded" | "collapsed";
|
|
19082
19365
|
};
|
|
19083
|
-
|
|
19084
|
-
|
|
19085
|
-
|
|
19086
|
-
|
|
19087
|
-
|
|
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
|
+
};
|
|
19088
19377
|
};
|
|
19378
|
+
interaction: "auto" | "free";
|
|
19089
19379
|
} | null;
|
|
19090
19380
|
createdAt: string;
|
|
19091
19381
|
updatedAt: string;
|
|
@@ -19095,7 +19385,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
19095
19385
|
projectId: zod.ZodString;
|
|
19096
19386
|
name: zod.ZodString;
|
|
19097
19387
|
scope: zod.ZodEnum<["user", "project"]>;
|
|
19098
|
-
config: zod.ZodUnknown;
|
|
19099
19388
|
pinnedPositions: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
19100
19389
|
x: zod.ZodNumber;
|
|
19101
19390
|
y: zod.ZodNumber;
|
|
@@ -19106,26 +19395,27 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
19106
19395
|
x: number;
|
|
19107
19396
|
y: number;
|
|
19108
19397
|
}>>>>;
|
|
19398
|
+
viewSpec: zod.ZodOptional<zod.ZodNullable<zod.ZodUnknown>>;
|
|
19109
19399
|
}, "strip", zod.ZodTypeAny, {
|
|
19110
19400
|
name: string;
|
|
19111
19401
|
orgId: string;
|
|
19112
19402
|
projectId: string;
|
|
19113
19403
|
scope: "user" | "project";
|
|
19114
|
-
config?: unknown;
|
|
19115
19404
|
pinnedPositions?: Record<string, {
|
|
19116
19405
|
x: number;
|
|
19117
19406
|
y: number;
|
|
19118
19407
|
}> | null | undefined;
|
|
19408
|
+
viewSpec?: unknown;
|
|
19119
19409
|
}, {
|
|
19120
19410
|
name: string;
|
|
19121
19411
|
orgId: string;
|
|
19122
19412
|
projectId: string;
|
|
19123
19413
|
scope: "user" | "project";
|
|
19124
|
-
config?: unknown;
|
|
19125
19414
|
pinnedPositions?: Record<string, {
|
|
19126
19415
|
x: number;
|
|
19127
19416
|
y: number;
|
|
19128
19417
|
}> | null | undefined;
|
|
19418
|
+
viewSpec?: unknown;
|
|
19129
19419
|
}>, {
|
|
19130
19420
|
name: string;
|
|
19131
19421
|
id: string;
|
|
@@ -19135,42 +19425,62 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
19135
19425
|
projectId: string;
|
|
19136
19426
|
isDefault: boolean;
|
|
19137
19427
|
scope: "user" | "project";
|
|
19138
|
-
|
|
19139
|
-
|
|
19140
|
-
|
|
19141
|
-
|
|
19428
|
+
ownerUserId: string | null;
|
|
19429
|
+
pinnedPositions: {
|
|
19430
|
+
[x: string]: {
|
|
19431
|
+
x: number;
|
|
19432
|
+
y: number;
|
|
19433
|
+
};
|
|
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")[];
|
|
19142
19450
|
};
|
|
19143
|
-
|
|
19451
|
+
filters: {
|
|
19144
19452
|
entityTypes: string[];
|
|
19145
|
-
states: string[];
|
|
19146
19453
|
labels: {
|
|
19147
19454
|
[x: string]: string[];
|
|
19148
19455
|
};
|
|
19149
|
-
|
|
19150
|
-
|
|
19151
|
-
|
|
19152
|
-
|
|
19153
|
-
|
|
19154
|
-
partitionsEnabled: boolean;
|
|
19456
|
+
cells: string[];
|
|
19457
|
+
relationshipTypes: string[];
|
|
19458
|
+
deploymentTargets: string[];
|
|
19459
|
+
lifecycle: string[];
|
|
19460
|
+
conformance: ("conformant" | "non-conformant")[];
|
|
19155
19461
|
};
|
|
19156
|
-
|
|
19157
|
-
|
|
19158
|
-
|
|
19159
|
-
|
|
19160
|
-
|
|
19161
|
-
drawEdges: boolean;
|
|
19462
|
+
focus: {
|
|
19463
|
+
direction: "both" | "upstream" | "downstream";
|
|
19464
|
+
roots: string[];
|
|
19465
|
+
maxHops: 1 | 2 | 3 | "∞";
|
|
19466
|
+
edgeTypes: string[];
|
|
19162
19467
|
};
|
|
19163
|
-
|
|
19164
|
-
|
|
19165
|
-
positionsPinned: boolean;
|
|
19468
|
+
expansion: {
|
|
19469
|
+
[x: string]: "expanded" | "collapsed";
|
|
19166
19470
|
};
|
|
19167
|
-
|
|
19168
|
-
|
|
19169
|
-
|
|
19170
|
-
|
|
19171
|
-
|
|
19172
|
-
|
|
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
|
+
};
|
|
19173
19482
|
};
|
|
19483
|
+
interaction: "auto" | "free";
|
|
19174
19484
|
} | null;
|
|
19175
19485
|
}>;
|
|
19176
19486
|
update: SchemaFn<zod.ZodObject<{
|
|
@@ -19178,7 +19488,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
19178
19488
|
projectId: zod.ZodString;
|
|
19179
19489
|
id: zod.ZodString;
|
|
19180
19490
|
name: zod.ZodOptional<zod.ZodString>;
|
|
19181
|
-
config: zod.ZodOptional<zod.ZodUnknown>;
|
|
19182
19491
|
pinnedPositions: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
19183
19492
|
x: zod.ZodNumber;
|
|
19184
19493
|
y: zod.ZodNumber;
|
|
@@ -19189,26 +19498,27 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
19189
19498
|
x: number;
|
|
19190
19499
|
y: number;
|
|
19191
19500
|
}>>>>;
|
|
19501
|
+
viewSpec: zod.ZodOptional<zod.ZodNullable<zod.ZodUnknown>>;
|
|
19192
19502
|
}, "strip", zod.ZodTypeAny, {
|
|
19193
19503
|
id: string;
|
|
19194
19504
|
orgId: string;
|
|
19195
19505
|
projectId: string;
|
|
19196
19506
|
name?: string | undefined;
|
|
19197
|
-
config?: unknown;
|
|
19198
19507
|
pinnedPositions?: Record<string, {
|
|
19199
19508
|
x: number;
|
|
19200
19509
|
y: number;
|
|
19201
19510
|
}> | null | undefined;
|
|
19511
|
+
viewSpec?: unknown;
|
|
19202
19512
|
}, {
|
|
19203
19513
|
id: string;
|
|
19204
19514
|
orgId: string;
|
|
19205
19515
|
projectId: string;
|
|
19206
19516
|
name?: string | undefined;
|
|
19207
|
-
config?: unknown;
|
|
19208
19517
|
pinnedPositions?: Record<string, {
|
|
19209
19518
|
x: number;
|
|
19210
19519
|
y: number;
|
|
19211
19520
|
}> | null | undefined;
|
|
19521
|
+
viewSpec?: unknown;
|
|
19212
19522
|
}>, {
|
|
19213
19523
|
id: string;
|
|
19214
19524
|
orgId: string;
|
|
@@ -19217,41 +19527,61 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
19217
19527
|
ownerUserId: string | null;
|
|
19218
19528
|
name: string;
|
|
19219
19529
|
isDefault: boolean;
|
|
19220
|
-
|
|
19221
|
-
|
|
19222
|
-
|
|
19223
|
-
|
|
19530
|
+
pinnedPositions: {
|
|
19531
|
+
[x: string]: {
|
|
19532
|
+
x: number;
|
|
19533
|
+
y: number;
|
|
19534
|
+
};
|
|
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")[];
|
|
19224
19551
|
};
|
|
19225
|
-
|
|
19552
|
+
filters: {
|
|
19226
19553
|
entityTypes: string[];
|
|
19227
|
-
states: string[];
|
|
19228
19554
|
labels: {
|
|
19229
19555
|
[x: string]: string[];
|
|
19230
19556
|
};
|
|
19231
|
-
|
|
19232
|
-
|
|
19557
|
+
cells: string[];
|
|
19558
|
+
relationshipTypes: string[];
|
|
19559
|
+
deploymentTargets: string[];
|
|
19560
|
+
lifecycle: string[];
|
|
19561
|
+
conformance: ("conformant" | "non-conformant")[];
|
|
19233
19562
|
};
|
|
19234
|
-
|
|
19235
|
-
|
|
19236
|
-
|
|
19237
|
-
|
|
19238
|
-
|
|
19239
|
-
properties: string[] | "all" | "required";
|
|
19240
|
-
showState: boolean;
|
|
19241
|
-
inlineRelationships: boolean;
|
|
19242
|
-
maxRelsPerCard: number;
|
|
19243
|
-
drawEdges: boolean;
|
|
19563
|
+
focus: {
|
|
19564
|
+
direction: "both" | "upstream" | "downstream";
|
|
19565
|
+
roots: string[];
|
|
19566
|
+
maxHops: 1 | 2 | 3 | "∞";
|
|
19567
|
+
edgeTypes: string[];
|
|
19244
19568
|
};
|
|
19245
|
-
|
|
19246
|
-
|
|
19247
|
-
positionsPinned: boolean;
|
|
19569
|
+
expansion: {
|
|
19570
|
+
[x: string]: "expanded" | "collapsed";
|
|
19248
19571
|
};
|
|
19249
|
-
|
|
19250
|
-
|
|
19251
|
-
|
|
19252
|
-
|
|
19253
|
-
|
|
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
|
+
};
|
|
19254
19583
|
};
|
|
19584
|
+
interaction: "auto" | "free";
|
|
19255
19585
|
} | null;
|
|
19256
19586
|
createdAt: string;
|
|
19257
19587
|
updatedAt: string;
|
|
@@ -19292,41 +19622,61 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
19292
19622
|
ownerUserId: string | null;
|
|
19293
19623
|
name: string;
|
|
19294
19624
|
isDefault: boolean;
|
|
19295
|
-
|
|
19296
|
-
|
|
19297
|
-
|
|
19298
|
-
|
|
19625
|
+
pinnedPositions: {
|
|
19626
|
+
[x: string]: {
|
|
19627
|
+
x: number;
|
|
19628
|
+
y: number;
|
|
19299
19629
|
};
|
|
19300
|
-
|
|
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: {
|
|
19301
19648
|
entityTypes: string[];
|
|
19302
|
-
states: string[];
|
|
19303
19649
|
labels: {
|
|
19304
19650
|
[x: string]: string[];
|
|
19305
19651
|
};
|
|
19306
|
-
|
|
19307
|
-
|
|
19652
|
+
cells: string[];
|
|
19653
|
+
relationshipTypes: string[];
|
|
19654
|
+
deploymentTargets: string[];
|
|
19655
|
+
lifecycle: string[];
|
|
19656
|
+
conformance: ("conformant" | "non-conformant")[];
|
|
19308
19657
|
};
|
|
19309
|
-
|
|
19310
|
-
|
|
19311
|
-
|
|
19312
|
-
|
|
19313
|
-
|
|
19314
|
-
properties: string[] | "all" | "required";
|
|
19315
|
-
showState: boolean;
|
|
19316
|
-
inlineRelationships: boolean;
|
|
19317
|
-
maxRelsPerCard: number;
|
|
19318
|
-
drawEdges: boolean;
|
|
19658
|
+
focus: {
|
|
19659
|
+
direction: "both" | "upstream" | "downstream";
|
|
19660
|
+
roots: string[];
|
|
19661
|
+
maxHops: 1 | 2 | 3 | "∞";
|
|
19662
|
+
edgeTypes: string[];
|
|
19319
19663
|
};
|
|
19320
|
-
|
|
19321
|
-
|
|
19322
|
-
positionsPinned: boolean;
|
|
19664
|
+
expansion: {
|
|
19665
|
+
[x: string]: "expanded" | "collapsed";
|
|
19323
19666
|
};
|
|
19324
|
-
|
|
19325
|
-
|
|
19326
|
-
|
|
19327
|
-
|
|
19328
|
-
|
|
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
|
+
};
|
|
19329
19678
|
};
|
|
19679
|
+
interaction: "auto" | "free";
|
|
19330
19680
|
} | null;
|
|
19331
19681
|
createdAt: string;
|
|
19332
19682
|
updatedAt: string;
|