@terrantula/sdk 0.12.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/local.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as SchemaFn, P as ProjectNukeResponse, S as SnapshotOp, A as AuditExportConfigResponse, b as TestConnectionResponse, c as AuditExportRunResponse, E as ExportCatalogResult, d as AdminAuditListResponse, e as AdminOrgListResponse, f as AdminOrgDetail, g as AdminSuspendResponse, h as AdminProjectNukeResponse, i as AdminMetricsOverview, j as AdminGitHubInstallationListResponse } from './projects-D-LiD32g.js';
1
+ import { a as SchemaFn, P as ProjectNukeResponse, O as ObservationImportResult, S as SnapshotOp, A as AuditExportConfigResponse, b as TestConnectionResponse, c as AuditExportRunResponse, E as ExportCatalogResult, d as AdminAuditListResponse, e as AdminOrgListResponse, f as AdminOrgDetail, g as AdminSuspendResponse, h as AdminProjectNukeResponse, i as AdminMetricsOverview, j as AdminGitHubInstallationListResponse } from './projects-DmWHHY1a.js';
2
2
  import * as _terrantula_types from '@terrantula/types';
3
3
  import * as hono_utils_types from 'hono/utils/types';
4
4
  import * as zod from 'zod';
@@ -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;
@@ -1997,6 +2007,22 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1997
2007
  deleted: true;
1998
2008
  name: string;
1999
2009
  }>;
2010
+ listMembers: SchemaFn<zod.ZodObject<{
2011
+ orgId: zod.ZodString;
2012
+ projectId: zod.ZodString;
2013
+ name: zod.ZodString;
2014
+ }, "strip", zod.ZodTypeAny, {
2015
+ name: string;
2016
+ orgId: string;
2017
+ projectId: string;
2018
+ }, {
2019
+ name: string;
2020
+ orgId: string;
2021
+ projectId: string;
2022
+ }>, {
2023
+ set: string;
2024
+ members: string[];
2025
+ }>;
2000
2026
  };
2001
2027
  entities: {
2002
2028
  list: SchemaFn<zod.ZodObject<{
@@ -2310,7 +2336,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2310
2336
  orgId: string;
2311
2337
  projectId: string;
2312
2338
  envName: string;
2313
- }>, {
2339
+ }>, ({
2340
+ origin: "explicit";
2314
2341
  fromEntityName: string;
2315
2342
  toEntityName: string;
2316
2343
  id: string;
@@ -2318,7 +2345,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2318
2345
  fromEntityId: string;
2319
2346
  toEntityId: string;
2320
2347
  state: string;
2321
- properties: hono_utils_types.JSONValue;
2322
2348
  labels: hono_utils_types.JSONValue;
2323
2349
  createdAt: string;
2324
2350
  updatedAt: string;
@@ -2327,7 +2353,25 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2327
2353
  envId: string;
2328
2354
  deletionScheduledAt: string | null;
2329
2355
  deletionGracePeriodSeconds: number | null;
2330
- }[]>;
2356
+ } | {
2357
+ id: null;
2358
+ relationshipTypeName: string;
2359
+ fromEntityName: string;
2360
+ toEntityName: string;
2361
+ origin: "derived" | "explicit";
2362
+ state: string | null;
2363
+ labels: {
2364
+ [x: string]: string;
2365
+ };
2366
+ fromEntityId: null;
2367
+ toEntityId: null;
2368
+ envId: null;
2369
+ orgId: null;
2370
+ projectId: null;
2371
+ createdAt: null;
2372
+ updatedAt: null;
2373
+ deletionScheduledAt: null;
2374
+ })[]>;
2331
2375
  syncStamp: SchemaFn<zod.ZodObject<{
2332
2376
  orgId: zod.ZodString;
2333
2377
  projectId: zod.ZodString;
@@ -3560,13 +3604,20 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3560
3604
  }[];
3561
3605
  constraints: ({
3562
3606
  type: "property-sum";
3563
- property: string;
3607
+ fromProperty: string;
3564
3608
  leq: string;
3565
3609
  } | {
3566
3610
  type: "relationship-count";
3567
3611
  leq: string | number;
3568
3612
  })[];
3569
3613
  containment: boolean;
3614
+ derivedFrom: {
3615
+ property: string;
3616
+ targetProperty?: string | undefined;
3617
+ } | null | undefined;
3618
+ labels: {
3619
+ [x: string]: string;
3620
+ };
3570
3621
  createdAt: string;
3571
3622
  updatedAt: string;
3572
3623
  }[]>;
@@ -3602,13 +3653,20 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3602
3653
  }[];
3603
3654
  constraints: ({
3604
3655
  type: "property-sum";
3605
- property: string;
3656
+ fromProperty: string;
3606
3657
  leq: string;
3607
3658
  } | {
3608
3659
  type: "relationship-count";
3609
3660
  leq: string | number;
3610
3661
  })[];
3611
3662
  containment: boolean;
3663
+ derivedFrom: {
3664
+ property: string;
3665
+ targetProperty?: string | undefined;
3666
+ } | null | undefined;
3667
+ labels: {
3668
+ [x: string]: string;
3669
+ };
3612
3670
  createdAt: string;
3613
3671
  updatedAt: string;
3614
3672
  }>;
@@ -3619,7 +3677,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3619
3677
  from: zod.ZodString;
3620
3678
  to: zod.ZodString;
3621
3679
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
3622
- states: zod.ZodArray<zod.ZodString, "many">;
3680
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
3623
3681
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3624
3682
  name: zod.ZodString;
3625
3683
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -3646,17 +3704,28 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3646
3704
  enum?: string[] | undefined;
3647
3705
  }>, "many">>>;
3648
3706
  containment: zod.ZodOptional<zod.ZodBoolean>;
3707
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
3708
+ property: zod.ZodString;
3709
+ targetProperty: zod.ZodOptional<zod.ZodString>;
3710
+ }, "strip", zod.ZodTypeAny, {
3711
+ property: string;
3712
+ targetProperty?: string | undefined;
3713
+ }, {
3714
+ property: string;
3715
+ targetProperty?: string | undefined;
3716
+ }>>;
3717
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
3649
3718
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
3650
3719
  type: zod.ZodLiteral<"property-sum">;
3651
- property: zod.ZodString;
3720
+ fromProperty: zod.ZodString;
3652
3721
  leq: zod.ZodString;
3653
3722
  }, "strip", zod.ZodTypeAny, {
3654
3723
  type: "property-sum";
3655
- property: string;
3724
+ fromProperty: string;
3656
3725
  leq: string;
3657
3726
  }, {
3658
3727
  type: "property-sum";
3659
- property: string;
3728
+ fromProperty: string;
3660
3729
  leq: string;
3661
3730
  }>, zod.ZodObject<{
3662
3731
  type: zod.ZodLiteral<"relationship-count">;
@@ -3688,7 +3757,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3688
3757
  }[];
3689
3758
  constraints: ({
3690
3759
  type: "property-sum";
3691
- property: string;
3760
+ fromProperty: string;
3692
3761
  leq: string;
3693
3762
  } | {
3694
3763
  type: "relationship-count";
@@ -3698,16 +3767,21 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3698
3767
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
3699
3768
  to: string;
3700
3769
  displayName?: string | undefined;
3770
+ derivedFrom?: {
3771
+ property: string;
3772
+ targetProperty?: string | undefined;
3773
+ } | undefined;
3774
+ labels?: Record<string, string> | undefined;
3701
3775
  containment?: boolean | undefined;
3702
3776
  }, {
3703
3777
  name: string;
3704
3778
  from: string;
3705
3779
  orgId: string;
3706
3780
  projectId: string;
3707
- states: string[];
3708
3781
  kind: "RelationshipType";
3709
3782
  to: string;
3710
3783
  displayName?: string | undefined;
3784
+ states?: string[] | undefined;
3711
3785
  properties?: {
3712
3786
  name: string;
3713
3787
  type: "string" | "number" | "boolean" | "integer";
@@ -3717,14 +3791,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3717
3791
  title?: string | undefined;
3718
3792
  enum?: string[] | undefined;
3719
3793
  }[] | undefined;
3794
+ derivedFrom?: {
3795
+ property: string;
3796
+ targetProperty?: string | undefined;
3797
+ } | undefined;
3720
3798
  constraints?: ({
3721
3799
  type: "property-sum";
3722
- property: string;
3800
+ fromProperty: string;
3723
3801
  leq: string;
3724
3802
  } | {
3725
3803
  type: "relationship-count";
3726
3804
  leq: string | number;
3727
3805
  })[] | undefined;
3806
+ labels?: Record<string, string> | undefined;
3728
3807
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
3729
3808
  containment?: boolean | undefined;
3730
3809
  }>, {
@@ -3744,14 +3823,21 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3744
3823
  title?: string | undefined;
3745
3824
  enum?: string[] | undefined;
3746
3825
  }[];
3826
+ derivedFrom: {
3827
+ property: string;
3828
+ targetProperty?: string | undefined;
3829
+ } | null | undefined;
3747
3830
  constraints: ({
3748
3831
  type: "property-sum";
3749
- property: string;
3832
+ fromProperty: string;
3750
3833
  leq: string;
3751
3834
  } | {
3752
3835
  type: "relationship-count";
3753
3836
  leq: string | number;
3754
3837
  })[];
3838
+ labels: {
3839
+ [x: string]: string;
3840
+ };
3755
3841
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
3756
3842
  fromEntityTypeName: string;
3757
3843
  toEntityTypeName: string;
@@ -3764,7 +3850,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3764
3850
  from: zod.ZodString;
3765
3851
  to: zod.ZodString;
3766
3852
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
3767
- states: zod.ZodArray<zod.ZodString, "many">;
3853
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
3768
3854
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3769
3855
  name: zod.ZodString;
3770
3856
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -3791,17 +3877,28 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3791
3877
  enum?: string[] | undefined;
3792
3878
  }>, "many">>>;
3793
3879
  containment: zod.ZodOptional<zod.ZodBoolean>;
3880
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
3881
+ property: zod.ZodString;
3882
+ targetProperty: zod.ZodOptional<zod.ZodString>;
3883
+ }, "strip", zod.ZodTypeAny, {
3884
+ property: string;
3885
+ targetProperty?: string | undefined;
3886
+ }, {
3887
+ property: string;
3888
+ targetProperty?: string | undefined;
3889
+ }>>;
3890
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
3794
3891
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
3795
3892
  type: zod.ZodLiteral<"property-sum">;
3796
- property: zod.ZodString;
3893
+ fromProperty: zod.ZodString;
3797
3894
  leq: zod.ZodString;
3798
3895
  }, "strip", zod.ZodTypeAny, {
3799
3896
  type: "property-sum";
3800
- property: string;
3897
+ fromProperty: string;
3801
3898
  leq: string;
3802
3899
  }, {
3803
3900
  type: "property-sum";
3804
- property: string;
3901
+ fromProperty: string;
3805
3902
  leq: string;
3806
3903
  }>, zod.ZodObject<{
3807
3904
  type: zod.ZodLiteral<"relationship-count">;
@@ -3833,7 +3930,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3833
3930
  }[];
3834
3931
  constraints: ({
3835
3932
  type: "property-sum";
3836
- property: string;
3933
+ fromProperty: string;
3837
3934
  leq: string;
3838
3935
  } | {
3839
3936
  type: "relationship-count";
@@ -3843,16 +3940,21 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3843
3940
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
3844
3941
  to: string;
3845
3942
  displayName?: string | undefined;
3943
+ derivedFrom?: {
3944
+ property: string;
3945
+ targetProperty?: string | undefined;
3946
+ } | undefined;
3947
+ labels?: Record<string, string> | undefined;
3846
3948
  containment?: boolean | undefined;
3847
3949
  }, {
3848
3950
  name: string;
3849
3951
  from: string;
3850
3952
  orgId: string;
3851
3953
  projectId: string;
3852
- states: string[];
3853
3954
  kind: "RelationshipType";
3854
3955
  to: string;
3855
3956
  displayName?: string | undefined;
3957
+ states?: string[] | undefined;
3856
3958
  properties?: {
3857
3959
  name: string;
3858
3960
  type: "string" | "number" | "boolean" | "integer";
@@ -3862,14 +3964,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3862
3964
  title?: string | undefined;
3863
3965
  enum?: string[] | undefined;
3864
3966
  }[] | undefined;
3967
+ derivedFrom?: {
3968
+ property: string;
3969
+ targetProperty?: string | undefined;
3970
+ } | undefined;
3865
3971
  constraints?: ({
3866
3972
  type: "property-sum";
3867
- property: string;
3973
+ fromProperty: string;
3868
3974
  leq: string;
3869
3975
  } | {
3870
3976
  type: "relationship-count";
3871
3977
  leq: string | number;
3872
3978
  })[] | undefined;
3979
+ labels?: Record<string, string> | undefined;
3873
3980
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
3874
3981
  containment?: boolean | undefined;
3875
3982
  }>, {
@@ -3892,13 +3999,20 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3892
3999
  }[];
3893
4000
  constraints: ({
3894
4001
  type: "property-sum";
3895
- property: string;
4002
+ fromProperty: string;
3896
4003
  leq: string;
3897
4004
  } | {
3898
4005
  type: "relationship-count";
3899
4006
  leq: string | number;
3900
4007
  })[];
3901
4008
  containment: boolean;
4009
+ derivedFrom: {
4010
+ property: string;
4011
+ targetProperty?: string | undefined;
4012
+ } | null | undefined;
4013
+ labels: {
4014
+ [x: string]: string;
4015
+ };
3902
4016
  createdAt: string;
3903
4017
  updatedAt: string;
3904
4018
  }>;
@@ -3956,7 +4070,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3956
4070
  toEntity?: string | undefined;
3957
4071
  fromEntityCell?: string | undefined;
3958
4072
  toEntityCell?: string | undefined;
3959
- }>, {
4073
+ }>, ({
4074
+ origin: "explicit";
3960
4075
  fromEntityName: string;
3961
4076
  toEntityName: string;
3962
4077
  id: string;
@@ -3964,7 +4079,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3964
4079
  fromEntityId: string;
3965
4080
  toEntityId: string;
3966
4081
  state: string;
3967
- properties: hono_utils_types.JSONValue;
3968
4082
  labels: hono_utils_types.JSONValue;
3969
4083
  createdAt: string;
3970
4084
  updatedAt: string;
@@ -3973,7 +4087,25 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3973
4087
  envId: string;
3974
4088
  deletionScheduledAt: string | null;
3975
4089
  deletionGracePeriodSeconds: number | null;
3976
- }[]>;
4090
+ } | {
4091
+ id: null;
4092
+ relationshipTypeName: string;
4093
+ fromEntityName: string;
4094
+ toEntityName: string;
4095
+ origin: "derived" | "explicit";
4096
+ state: string | null;
4097
+ labels: {
4098
+ [x: string]: string;
4099
+ };
4100
+ fromEntityId: null;
4101
+ toEntityId: null;
4102
+ envId: null;
4103
+ orgId: null;
4104
+ projectId: null;
4105
+ createdAt: null;
4106
+ updatedAt: null;
4107
+ deletionScheduledAt: null;
4108
+ })[]>;
3977
4109
  get: SchemaFn<zod.ZodObject<{
3978
4110
  orgId: zod.ZodString;
3979
4111
  projectId: zod.ZodString;
@@ -3995,7 +4127,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3995
4127
  fromEntityId: string;
3996
4128
  toEntityId: string;
3997
4129
  state: string;
3998
- properties: hono_utils_types.JSONValue;
3999
4130
  labels: hono_utils_types.JSONValue;
4000
4131
  createdAt: string;
4001
4132
  updatedAt: string;
@@ -4011,7 +4142,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4011
4142
  from: zod.ZodString;
4012
4143
  to: zod.ZodString;
4013
4144
  state: zod.ZodOptional<zod.ZodString>;
4014
- properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
4015
4145
  labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
4016
4146
  } & {
4017
4147
  orgId: zod.ZodString;
@@ -4022,7 +4152,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4022
4152
  orgId: string;
4023
4153
  projectId: string;
4024
4154
  envName: string;
4025
- properties: Record<string, unknown>;
4026
4155
  relationshipType: string;
4027
4156
  kind: "Relationship";
4028
4157
  labels: Record<string, string>;
@@ -4037,23 +4166,21 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4037
4166
  kind: "Relationship";
4038
4167
  to: string;
4039
4168
  state?: string | undefined;
4040
- properties?: Record<string, unknown> | undefined;
4041
4169
  labels?: Record<string, string> | undefined;
4042
4170
  }>, {
4043
4171
  error: string;
4044
4172
  } | {
4045
4173
  id: string;
4174
+ relationshipTypeName: string;
4175
+ fromEntityId: string;
4176
+ toEntityId: string;
4177
+ state: string;
4178
+ labels: hono_utils_types.JSONValue;
4046
4179
  createdAt: string;
4047
4180
  updatedAt: string;
4048
- orgId: string;
4049
4181
  projectId: string;
4182
+ orgId: string;
4050
4183
  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
4184
  deletionScheduledAt: string | null;
4058
4185
  deletionGracePeriodSeconds: number | null;
4059
4186
  }>;
@@ -4134,9 +4261,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4134
4261
  addToCell?: string | undefined;
4135
4262
  createRelationship?: {
4136
4263
  relationshipType: string;
4264
+ to: string;
4137
4265
  onSuccess: string;
4138
4266
  onFailure: string;
4139
- to: string;
4140
4267
  properties?: {
4141
4268
  [x: string]: string;
4142
4269
  } | undefined;
@@ -4204,10 +4331,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4204
4331
  type: "create-relationship";
4205
4332
  from: string;
4206
4333
  relationshipType: string;
4334
+ to: string;
4207
4335
  onTrigger: string;
4208
4336
  onSuccess: string;
4209
4337
  onFailure: string;
4210
- to: string;
4211
4338
  properties?: {
4212
4339
  [x: string]: string;
4213
4340
  } | undefined;
@@ -4229,10 +4356,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4229
4356
  } | {
4230
4357
  type: "migrate-relationship";
4231
4358
  relationshipType: string;
4359
+ to: string;
4232
4360
  onTrigger: string;
4233
4361
  onSuccess: string;
4234
4362
  onFailure: string;
4235
- to: string;
4236
4363
  };
4237
4364
  trigger: {
4238
4365
  type: "webhook";
@@ -4637,9 +4764,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4637
4764
  addToCell?: string | undefined;
4638
4765
  createRelationship?: {
4639
4766
  relationshipType: string;
4767
+ to: string;
4640
4768
  onSuccess: string;
4641
4769
  onFailure: string;
4642
- to: string;
4643
4770
  properties?: {
4644
4771
  [x: string]: string;
4645
4772
  } | undefined;
@@ -4707,10 +4834,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4707
4834
  type: "create-relationship";
4708
4835
  from: string;
4709
4836
  relationshipType: string;
4837
+ to: string;
4710
4838
  onTrigger: string;
4711
4839
  onSuccess: string;
4712
4840
  onFailure: string;
4713
- to: string;
4714
4841
  properties?: {
4715
4842
  [x: string]: string;
4716
4843
  } | undefined;
@@ -4732,10 +4859,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4732
4859
  } | {
4733
4860
  type: "migrate-relationship";
4734
4861
  relationshipType: string;
4862
+ to: string;
4735
4863
  onTrigger: string;
4736
4864
  onSuccess: string;
4737
4865
  onFailure: string;
4738
- to: string;
4739
4866
  };
4740
4867
  trigger: {
4741
4868
  type: "webhook";
@@ -5173,15 +5300,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5173
5300
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
5174
5301
  }, "strip", zod.ZodTypeAny, {
5175
5302
  relationshipType: string;
5303
+ to: string;
5176
5304
  onSuccess: string;
5177
5305
  onFailure: string;
5178
- to: string;
5179
5306
  properties?: Record<string, string> | undefined;
5180
5307
  }, {
5181
5308
  relationshipType: string;
5309
+ to: string;
5182
5310
  onSuccess: string;
5183
5311
  onFailure: string;
5184
- to: string;
5185
5312
  properties?: Record<string, string> | undefined;
5186
5313
  }>>;
5187
5314
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -5269,9 +5396,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5269
5396
  addToCell?: string | undefined;
5270
5397
  createRelationship?: {
5271
5398
  relationshipType: string;
5399
+ to: string;
5272
5400
  onSuccess: string;
5273
5401
  onFailure: string;
5274
- to: string;
5275
5402
  properties?: Record<string, string> | undefined;
5276
5403
  } | undefined;
5277
5404
  cascadeRules?: ({
@@ -5303,9 +5430,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5303
5430
  addToCell?: string | undefined;
5304
5431
  createRelationship?: {
5305
5432
  relationshipType: string;
5433
+ to: string;
5306
5434
  onSuccess: string;
5307
5435
  onFailure: string;
5308
- to: string;
5309
5436
  properties?: Record<string, string> | undefined;
5310
5437
  } | undefined;
5311
5438
  cascadeRules?: ({
@@ -5500,19 +5627,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5500
5627
  type: "create-relationship";
5501
5628
  from: string;
5502
5629
  relationshipType: string;
5630
+ to: string;
5503
5631
  onTrigger: string;
5504
5632
  onSuccess: string;
5505
5633
  onFailure: string;
5506
- to: string;
5507
5634
  properties?: Record<string, string> | undefined;
5508
5635
  }, {
5509
5636
  type: "create-relationship";
5510
5637
  from: string;
5511
5638
  relationshipType: string;
5639
+ to: string;
5512
5640
  onTrigger: string;
5513
5641
  onSuccess: string;
5514
5642
  onFailure: string;
5515
- to: string;
5516
5643
  properties?: Record<string, string> | undefined;
5517
5644
  }>, zod.ZodObject<{
5518
5645
  type: zod.ZodLiteral<"delete-relationship">;
@@ -5563,17 +5690,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5563
5690
  }, "strip", zod.ZodTypeAny, {
5564
5691
  type: "migrate-relationship";
5565
5692
  relationshipType: string;
5693
+ to: string;
5566
5694
  onTrigger: string;
5567
5695
  onSuccess: string;
5568
5696
  onFailure: string;
5569
- to: string;
5570
5697
  }, {
5571
5698
  type: "migrate-relationship";
5572
5699
  relationshipType: string;
5700
+ to: string;
5573
5701
  onTrigger: string;
5574
5702
  onSuccess: string;
5575
5703
  onFailure: string;
5576
- to: string;
5577
5704
  }>]>;
5578
5705
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
5579
5706
  type: zod.ZodLiteral<"webhook">;
@@ -7571,9 +7698,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7571
7698
  addToCell?: string | undefined;
7572
7699
  createRelationship?: {
7573
7700
  relationshipType: string;
7701
+ to: string;
7574
7702
  onSuccess: string;
7575
7703
  onFailure: string;
7576
- to: string;
7577
7704
  properties?: Record<string, string> | undefined;
7578
7705
  } | undefined;
7579
7706
  cascadeRules?: ({
@@ -7633,10 +7760,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7633
7760
  type: "create-relationship";
7634
7761
  from: string;
7635
7762
  relationshipType: string;
7763
+ to: string;
7636
7764
  onTrigger: string;
7637
7765
  onSuccess: string;
7638
7766
  onFailure: string;
7639
- to: string;
7640
7767
  properties?: Record<string, string> | undefined;
7641
7768
  } | {
7642
7769
  type: "delete-relationship";
@@ -7654,10 +7781,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7654
7781
  } | {
7655
7782
  type: "migrate-relationship";
7656
7783
  relationshipType: string;
7784
+ to: string;
7657
7785
  onTrigger: string;
7658
7786
  onSuccess: string;
7659
7787
  onFailure: string;
7660
- to: string;
7661
7788
  };
7662
7789
  associatedWith: {
7663
7790
  scope: "collection" | "instance";
@@ -7994,9 +8121,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7994
8121
  addToCell?: string | undefined;
7995
8122
  createRelationship?: {
7996
8123
  relationshipType: string;
8124
+ to: string;
7997
8125
  onSuccess: string;
7998
8126
  onFailure: string;
7999
- to: string;
8000
8127
  properties?: Record<string, string> | undefined;
8001
8128
  } | undefined;
8002
8129
  cascadeRules?: ({
@@ -8056,10 +8183,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8056
8183
  type: "create-relationship";
8057
8184
  from: string;
8058
8185
  relationshipType: string;
8186
+ to: string;
8059
8187
  onTrigger: string;
8060
8188
  onSuccess: string;
8061
8189
  onFailure: string;
8062
- to: string;
8063
8190
  properties?: Record<string, string> | undefined;
8064
8191
  } | {
8065
8192
  type: "delete-relationship";
@@ -8077,10 +8204,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8077
8204
  } | {
8078
8205
  type: "migrate-relationship";
8079
8206
  relationshipType: string;
8207
+ to: string;
8080
8208
  onTrigger: string;
8081
8209
  onSuccess: string;
8082
8210
  onFailure: string;
8083
- to: string;
8084
8211
  };
8085
8212
  associatedWith: {
8086
8213
  scope: "collection" | "instance";
@@ -8470,9 +8597,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8470
8597
  addToCell?: string | undefined;
8471
8598
  createRelationship?: {
8472
8599
  relationshipType: string;
8600
+ to: string;
8473
8601
  onSuccess: string;
8474
8602
  onFailure: string;
8475
- to: string;
8476
8603
  properties?: {
8477
8604
  [x: string]: string;
8478
8605
  } | undefined;
@@ -8540,10 +8667,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8540
8667
  type: "create-relationship";
8541
8668
  from: string;
8542
8669
  relationshipType: string;
8670
+ to: string;
8543
8671
  onTrigger: string;
8544
8672
  onSuccess: string;
8545
8673
  onFailure: string;
8546
- to: string;
8547
8674
  properties?: {
8548
8675
  [x: string]: string;
8549
8676
  } | undefined;
@@ -8565,10 +8692,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8565
8692
  } | {
8566
8693
  type: "migrate-relationship";
8567
8694
  relationshipType: string;
8695
+ to: string;
8568
8696
  onTrigger: string;
8569
8697
  onSuccess: string;
8570
8698
  onFailure: string;
8571
- to: string;
8572
8699
  };
8573
8700
  trigger: {
8574
8701
  type: "webhook";
@@ -9006,15 +9133,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9006
9133
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
9007
9134
  }, "strip", zod.ZodTypeAny, {
9008
9135
  relationshipType: string;
9136
+ to: string;
9009
9137
  onSuccess: string;
9010
9138
  onFailure: string;
9011
- to: string;
9012
9139
  properties?: Record<string, string> | undefined;
9013
9140
  }, {
9014
9141
  relationshipType: string;
9142
+ to: string;
9015
9143
  onSuccess: string;
9016
9144
  onFailure: string;
9017
- to: string;
9018
9145
  properties?: Record<string, string> | undefined;
9019
9146
  }>>;
9020
9147
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -9102,9 +9229,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9102
9229
  addToCell?: string | undefined;
9103
9230
  createRelationship?: {
9104
9231
  relationshipType: string;
9232
+ to: string;
9105
9233
  onSuccess: string;
9106
9234
  onFailure: string;
9107
- to: string;
9108
9235
  properties?: Record<string, string> | undefined;
9109
9236
  } | undefined;
9110
9237
  cascadeRules?: ({
@@ -9136,9 +9263,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9136
9263
  addToCell?: string | undefined;
9137
9264
  createRelationship?: {
9138
9265
  relationshipType: string;
9266
+ to: string;
9139
9267
  onSuccess: string;
9140
9268
  onFailure: string;
9141
- to: string;
9142
9269
  properties?: Record<string, string> | undefined;
9143
9270
  } | undefined;
9144
9271
  cascadeRules?: ({
@@ -9333,19 +9460,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9333
9460
  type: "create-relationship";
9334
9461
  from: string;
9335
9462
  relationshipType: string;
9463
+ to: string;
9336
9464
  onTrigger: string;
9337
9465
  onSuccess: string;
9338
9466
  onFailure: string;
9339
- to: string;
9340
9467
  properties?: Record<string, string> | undefined;
9341
9468
  }, {
9342
9469
  type: "create-relationship";
9343
9470
  from: string;
9344
9471
  relationshipType: string;
9472
+ to: string;
9345
9473
  onTrigger: string;
9346
9474
  onSuccess: string;
9347
9475
  onFailure: string;
9348
- to: string;
9349
9476
  properties?: Record<string, string> | undefined;
9350
9477
  }>, zod.ZodObject<{
9351
9478
  type: zod.ZodLiteral<"delete-relationship">;
@@ -9396,17 +9523,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9396
9523
  }, "strip", zod.ZodTypeAny, {
9397
9524
  type: "migrate-relationship";
9398
9525
  relationshipType: string;
9526
+ to: string;
9399
9527
  onTrigger: string;
9400
9528
  onSuccess: string;
9401
9529
  onFailure: string;
9402
- to: string;
9403
9530
  }, {
9404
9531
  type: "migrate-relationship";
9405
9532
  relationshipType: string;
9533
+ to: string;
9406
9534
  onTrigger: string;
9407
9535
  onSuccess: string;
9408
9536
  onFailure: string;
9409
- to: string;
9410
9537
  }>]>;
9411
9538
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
9412
9539
  type: zod.ZodLiteral<"webhook">;
@@ -11404,9 +11531,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11404
11531
  addToCell?: string | undefined;
11405
11532
  createRelationship?: {
11406
11533
  relationshipType: string;
11534
+ to: string;
11407
11535
  onSuccess: string;
11408
11536
  onFailure: string;
11409
- to: string;
11410
11537
  properties?: Record<string, string> | undefined;
11411
11538
  } | undefined;
11412
11539
  cascadeRules?: ({
@@ -11466,10 +11593,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11466
11593
  type: "create-relationship";
11467
11594
  from: string;
11468
11595
  relationshipType: string;
11596
+ to: string;
11469
11597
  onTrigger: string;
11470
11598
  onSuccess: string;
11471
11599
  onFailure: string;
11472
- to: string;
11473
11600
  properties?: Record<string, string> | undefined;
11474
11601
  } | {
11475
11602
  type: "delete-relationship";
@@ -11487,10 +11614,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11487
11614
  } | {
11488
11615
  type: "migrate-relationship";
11489
11616
  relationshipType: string;
11617
+ to: string;
11490
11618
  onTrigger: string;
11491
11619
  onSuccess: string;
11492
11620
  onFailure: string;
11493
- to: string;
11494
11621
  };
11495
11622
  associatedWith: {
11496
11623
  scope: "collection" | "instance";
@@ -11827,9 +11954,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11827
11954
  addToCell?: string | undefined;
11828
11955
  createRelationship?: {
11829
11956
  relationshipType: string;
11957
+ to: string;
11830
11958
  onSuccess: string;
11831
11959
  onFailure: string;
11832
- to: string;
11833
11960
  properties?: Record<string, string> | undefined;
11834
11961
  } | undefined;
11835
11962
  cascadeRules?: ({
@@ -11889,10 +12016,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11889
12016
  type: "create-relationship";
11890
12017
  from: string;
11891
12018
  relationshipType: string;
12019
+ to: string;
11892
12020
  onTrigger: string;
11893
12021
  onSuccess: string;
11894
12022
  onFailure: string;
11895
- to: string;
11896
12023
  properties?: Record<string, string> | undefined;
11897
12024
  } | {
11898
12025
  type: "delete-relationship";
@@ -11910,10 +12037,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11910
12037
  } | {
11911
12038
  type: "migrate-relationship";
11912
12039
  relationshipType: string;
12040
+ to: string;
11913
12041
  onTrigger: string;
11914
12042
  onSuccess: string;
11915
12043
  onFailure: string;
11916
- to: string;
11917
12044
  };
11918
12045
  associatedWith: {
11919
12046
  scope: "collection" | "instance";
@@ -12303,9 +12430,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12303
12430
  addToCell?: string | undefined;
12304
12431
  createRelationship?: {
12305
12432
  relationshipType: string;
12433
+ to: string;
12306
12434
  onSuccess: string;
12307
12435
  onFailure: string;
12308
- to: string;
12309
12436
  properties?: {
12310
12437
  [x: string]: string;
12311
12438
  } | undefined;
@@ -12373,10 +12500,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12373
12500
  type: "create-relationship";
12374
12501
  from: string;
12375
12502
  relationshipType: string;
12503
+ to: string;
12376
12504
  onTrigger: string;
12377
12505
  onSuccess: string;
12378
12506
  onFailure: string;
12379
- to: string;
12380
12507
  properties?: {
12381
12508
  [x: string]: string;
12382
12509
  } | undefined;
@@ -12398,10 +12525,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12398
12525
  } | {
12399
12526
  type: "migrate-relationship";
12400
12527
  relationshipType: string;
12528
+ to: string;
12401
12529
  onTrigger: string;
12402
12530
  onSuccess: string;
12403
12531
  onFailure: string;
12404
- to: string;
12405
12532
  };
12406
12533
  trigger: {
12407
12534
  type: "webhook";
@@ -13182,6 +13309,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13182
13309
  kind: "data" | "resource" | "module";
13183
13310
  address: string;
13184
13311
  }>, "many">>;
13312
+ strictComposition: zod.ZodOptional<zod.ZodBoolean>;
13185
13313
  labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
13186
13314
  labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
13187
13315
  }, "strip", zod.ZodTypeAny, {
@@ -13226,6 +13354,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13226
13354
  kind: "data" | "resource" | "module";
13227
13355
  address: string;
13228
13356
  }[] | undefined;
13357
+ strictComposition?: boolean | undefined;
13229
13358
  syncFreshness?: {
13230
13359
  greenSeconds?: number | undefined;
13231
13360
  yellowSeconds?: number | undefined;
@@ -13274,6 +13403,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13274
13403
  kind: "data" | "resource" | "module";
13275
13404
  address: string;
13276
13405
  }[] | undefined;
13406
+ strictComposition?: boolean | undefined;
13277
13407
  syncTracked?: boolean | undefined;
13278
13408
  syncFreshness?: {
13279
13409
  greenSeconds?: number | undefined;
@@ -13674,7 +13804,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13674
13804
  from: zod.ZodString;
13675
13805
  to: zod.ZodString;
13676
13806
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
13677
- states: zod.ZodArray<zod.ZodString, "many">;
13807
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
13678
13808
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
13679
13809
  name: zod.ZodString;
13680
13810
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -13701,17 +13831,28 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13701
13831
  enum?: string[] | undefined;
13702
13832
  }>, "many">>>;
13703
13833
  containment: zod.ZodOptional<zod.ZodBoolean>;
13834
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
13835
+ property: zod.ZodString;
13836
+ targetProperty: zod.ZodOptional<zod.ZodString>;
13837
+ }, "strip", zod.ZodTypeAny, {
13838
+ property: string;
13839
+ targetProperty?: string | undefined;
13840
+ }, {
13841
+ property: string;
13842
+ targetProperty?: string | undefined;
13843
+ }>>;
13844
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
13704
13845
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
13705
13846
  type: zod.ZodLiteral<"property-sum">;
13706
- property: zod.ZodString;
13847
+ fromProperty: zod.ZodString;
13707
13848
  leq: zod.ZodString;
13708
13849
  }, "strip", zod.ZodTypeAny, {
13709
13850
  type: "property-sum";
13710
- property: string;
13851
+ fromProperty: string;
13711
13852
  leq: string;
13712
13853
  }, {
13713
13854
  type: "property-sum";
13714
- property: string;
13855
+ fromProperty: string;
13715
13856
  leq: string;
13716
13857
  }>, zod.ZodObject<{
13717
13858
  type: zod.ZodLiteral<"relationship-count">;
@@ -13738,7 +13879,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13738
13879
  }[];
13739
13880
  constraints: ({
13740
13881
  type: "property-sum";
13741
- property: string;
13882
+ fromProperty: string;
13742
13883
  leq: string;
13743
13884
  } | {
13744
13885
  type: "relationship-count";
@@ -13748,14 +13889,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13748
13889
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
13749
13890
  to: string;
13750
13891
  displayName?: string | undefined;
13892
+ derivedFrom?: {
13893
+ property: string;
13894
+ targetProperty?: string | undefined;
13895
+ } | undefined;
13896
+ labels?: Record<string, string> | undefined;
13751
13897
  containment?: boolean | undefined;
13752
13898
  }, {
13753
13899
  name: string;
13754
13900
  from: string;
13755
- states: string[];
13756
13901
  kind: "RelationshipType";
13757
13902
  to: string;
13758
13903
  displayName?: string | undefined;
13904
+ states?: string[] | undefined;
13759
13905
  properties?: {
13760
13906
  name: string;
13761
13907
  type: "string" | "number" | "boolean" | "integer";
@@ -13765,14 +13911,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13765
13911
  title?: string | undefined;
13766
13912
  enum?: string[] | undefined;
13767
13913
  }[] | undefined;
13914
+ derivedFrom?: {
13915
+ property: string;
13916
+ targetProperty?: string | undefined;
13917
+ } | undefined;
13768
13918
  constraints?: ({
13769
13919
  type: "property-sum";
13770
- property: string;
13920
+ fromProperty: string;
13771
13921
  leq: string;
13772
13922
  } | {
13773
13923
  type: "relationship-count";
13774
13924
  leq: string | number;
13775
13925
  })[] | undefined;
13926
+ labels?: Record<string, string> | undefined;
13776
13927
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
13777
13928
  containment?: boolean | undefined;
13778
13929
  }>, zod.ZodObject<{
@@ -13867,15 +14018,15 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13867
14018
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
13868
14019
  }, "strip", zod.ZodTypeAny, {
13869
14020
  relationshipType: string;
14021
+ to: string;
13870
14022
  onSuccess: string;
13871
14023
  onFailure: string;
13872
- to: string;
13873
14024
  properties?: Record<string, string> | undefined;
13874
14025
  }, {
13875
14026
  relationshipType: string;
14027
+ to: string;
13876
14028
  onSuccess: string;
13877
14029
  onFailure: string;
13878
- to: string;
13879
14030
  properties?: Record<string, string> | undefined;
13880
14031
  }>>;
13881
14032
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -13963,9 +14114,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13963
14114
  addToCell?: string | undefined;
13964
14115
  createRelationship?: {
13965
14116
  relationshipType: string;
14117
+ to: string;
13966
14118
  onSuccess: string;
13967
14119
  onFailure: string;
13968
- to: string;
13969
14120
  properties?: Record<string, string> | undefined;
13970
14121
  } | undefined;
13971
14122
  cascadeRules?: ({
@@ -13997,9 +14148,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13997
14148
  addToCell?: string | undefined;
13998
14149
  createRelationship?: {
13999
14150
  relationshipType: string;
14151
+ to: string;
14000
14152
  onSuccess: string;
14001
14153
  onFailure: string;
14002
- to: string;
14003
14154
  properties?: Record<string, string> | undefined;
14004
14155
  } | undefined;
14005
14156
  cascadeRules?: ({
@@ -14194,19 +14345,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14194
14345
  type: "create-relationship";
14195
14346
  from: string;
14196
14347
  relationshipType: string;
14348
+ to: string;
14197
14349
  onTrigger: string;
14198
14350
  onSuccess: string;
14199
14351
  onFailure: string;
14200
- to: string;
14201
14352
  properties?: Record<string, string> | undefined;
14202
14353
  }, {
14203
14354
  type: "create-relationship";
14204
14355
  from: string;
14205
14356
  relationshipType: string;
14357
+ to: string;
14206
14358
  onTrigger: string;
14207
14359
  onSuccess: string;
14208
14360
  onFailure: string;
14209
- to: string;
14210
14361
  properties?: Record<string, string> | undefined;
14211
14362
  }>, zod.ZodObject<{
14212
14363
  type: zod.ZodLiteral<"delete-relationship">;
@@ -14257,17 +14408,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14257
14408
  }, "strip", zod.ZodTypeAny, {
14258
14409
  type: "migrate-relationship";
14259
14410
  relationshipType: string;
14411
+ to: string;
14260
14412
  onTrigger: string;
14261
14413
  onSuccess: string;
14262
14414
  onFailure: string;
14263
- to: string;
14264
14415
  }, {
14265
14416
  type: "migrate-relationship";
14266
14417
  relationshipType: string;
14418
+ to: string;
14267
14419
  onTrigger: string;
14268
14420
  onSuccess: string;
14269
14421
  onFailure: string;
14270
- to: string;
14271
14422
  }>]>;
14272
14423
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
14273
14424
  type: zod.ZodLiteral<"webhook">;
@@ -16260,9 +16411,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16260
16411
  addToCell?: string | undefined;
16261
16412
  createRelationship?: {
16262
16413
  relationshipType: string;
16414
+ to: string;
16263
16415
  onSuccess: string;
16264
16416
  onFailure: string;
16265
- to: string;
16266
16417
  properties?: Record<string, string> | undefined;
16267
16418
  } | undefined;
16268
16419
  cascadeRules?: ({
@@ -16322,10 +16473,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16322
16473
  type: "create-relationship";
16323
16474
  from: string;
16324
16475
  relationshipType: string;
16476
+ to: string;
16325
16477
  onTrigger: string;
16326
16478
  onSuccess: string;
16327
16479
  onFailure: string;
16328
- to: string;
16329
16480
  properties?: Record<string, string> | undefined;
16330
16481
  } | {
16331
16482
  type: "delete-relationship";
@@ -16343,10 +16494,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16343
16494
  } | {
16344
16495
  type: "migrate-relationship";
16345
16496
  relationshipType: string;
16497
+ to: string;
16346
16498
  onTrigger: string;
16347
16499
  onSuccess: string;
16348
16500
  onFailure: string;
16349
- to: string;
16350
16501
  };
16351
16502
  associatedWith: {
16352
16503
  scope: "collection" | "instance";
@@ -16681,9 +16832,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16681
16832
  addToCell?: string | undefined;
16682
16833
  createRelationship?: {
16683
16834
  relationshipType: string;
16835
+ to: string;
16684
16836
  onSuccess: string;
16685
16837
  onFailure: string;
16686
- to: string;
16687
16838
  properties?: Record<string, string> | undefined;
16688
16839
  } | undefined;
16689
16840
  cascadeRules?: ({
@@ -16743,10 +16894,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16743
16894
  type: "create-relationship";
16744
16895
  from: string;
16745
16896
  relationshipType: string;
16897
+ to: string;
16746
16898
  onTrigger: string;
16747
16899
  onSuccess: string;
16748
16900
  onFailure: string;
16749
- to: string;
16750
16901
  properties?: Record<string, string> | undefined;
16751
16902
  } | {
16752
16903
  type: "delete-relationship";
@@ -16764,10 +16915,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16764
16915
  } | {
16765
16916
  type: "migrate-relationship";
16766
16917
  relationshipType: string;
16918
+ to: string;
16767
16919
  onTrigger: string;
16768
16920
  onSuccess: string;
16769
16921
  onFailure: string;
16770
- to: string;
16771
16922
  };
16772
16923
  associatedWith: {
16773
16924
  scope: "collection" | "instance";
@@ -17155,11 +17306,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17155
17306
  from: zod.ZodString;
17156
17307
  to: zod.ZodString;
17157
17308
  state: zod.ZodOptional<zod.ZodString>;
17158
- properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
17159
17309
  labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
17160
17310
  }, "strip", zod.ZodTypeAny, {
17161
17311
  from: string;
17162
- properties: Record<string, unknown>;
17163
17312
  relationshipType: string;
17164
17313
  kind: "Relationship";
17165
17314
  labels: Record<string, string>;
@@ -17171,7 +17320,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17171
17320
  kind: "Relationship";
17172
17321
  to: string;
17173
17322
  state?: string | undefined;
17174
- properties?: Record<string, unknown> | undefined;
17175
17323
  labels?: Record<string, string> | undefined;
17176
17324
  }>, zod.ZodObject<{
17177
17325
  kind: zod.ZodLiteral<"DeploymentTarget">;
@@ -17240,10 +17388,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17240
17388
  name: zod.ZodString;
17241
17389
  }, "strip", zod.ZodTypeAny, {
17242
17390
  name: string;
17243
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
17391
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
17244
17392
  }, {
17245
17393
  name: string;
17246
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
17394
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
17247
17395
  }>, "many">>>;
17248
17396
  dryRun: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
17249
17397
  } & {
@@ -17255,7 +17403,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17255
17403
  projectId: string;
17256
17404
  envName: string;
17257
17405
  items: ({
17258
- parameters: {
17406
+ name: string;
17407
+ from: string;
17408
+ states: string[];
17409
+ properties: {
17259
17410
  name: string;
17260
17411
  type: "string" | "number" | "boolean" | "integer";
17261
17412
  required: boolean;
@@ -17264,15 +17415,43 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17264
17415
  title?: string | undefined;
17265
17416
  enum?: string[] | undefined;
17266
17417
  }[];
17267
- name: string;
17268
- kind: "Action";
17269
- conditions: {
17270
- value: string | number | boolean | string[];
17271
- field: string;
17272
- operator: "in" | "eq" | "neq" | "gt" | "lt" | "gte" | "lte";
17273
- }[];
17274
- recommendations: {
17275
- name: string;
17418
+ constraints: ({
17419
+ type: "property-sum";
17420
+ fromProperty: string;
17421
+ leq: string;
17422
+ } | {
17423
+ type: "relationship-count";
17424
+ leq: string | number;
17425
+ })[];
17426
+ kind: "RelationshipType";
17427
+ cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
17428
+ to: string;
17429
+ displayName?: string | undefined;
17430
+ derivedFrom?: {
17431
+ property: string;
17432
+ targetProperty?: string | undefined;
17433
+ } | undefined;
17434
+ labels?: Record<string, string> | undefined;
17435
+ containment?: boolean | undefined;
17436
+ } | {
17437
+ parameters: {
17438
+ name: string;
17439
+ type: "string" | "number" | "boolean" | "integer";
17440
+ required: boolean;
17441
+ description?: string | undefined;
17442
+ default?: string | number | boolean | undefined;
17443
+ title?: string | undefined;
17444
+ enum?: string[] | undefined;
17445
+ }[];
17446
+ name: string;
17447
+ kind: "Action";
17448
+ conditions: {
17449
+ value: string | number | boolean | string[];
17450
+ field: string;
17451
+ operator: "in" | "eq" | "neq" | "gt" | "lt" | "gte" | "lte";
17452
+ }[];
17453
+ recommendations: {
17454
+ name: string;
17276
17455
  required: boolean;
17277
17456
  title: string;
17278
17457
  cell: string;
@@ -17290,9 +17469,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17290
17469
  addToCell?: string | undefined;
17291
17470
  createRelationship?: {
17292
17471
  relationshipType: string;
17472
+ to: string;
17293
17473
  onSuccess: string;
17294
17474
  onFailure: string;
17295
- to: string;
17296
17475
  properties?: Record<string, string> | undefined;
17297
17476
  } | undefined;
17298
17477
  cascadeRules?: ({
@@ -17352,10 +17531,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17352
17531
  type: "create-relationship";
17353
17532
  from: string;
17354
17533
  relationshipType: string;
17534
+ to: string;
17355
17535
  onTrigger: string;
17356
17536
  onSuccess: string;
17357
17537
  onFailure: string;
17358
- to: string;
17359
17538
  properties?: Record<string, string> | undefined;
17360
17539
  } | {
17361
17540
  type: "delete-relationship";
@@ -17373,10 +17552,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17373
17552
  } | {
17374
17553
  type: "migrate-relationship";
17375
17554
  relationshipType: string;
17555
+ to: string;
17376
17556
  onTrigger: string;
17377
17557
  onSuccess: string;
17378
17558
  onFailure: string;
17379
- to: string;
17380
17559
  };
17381
17560
  associatedWith: {
17382
17561
  scope: "collection" | "instance";
@@ -17739,6 +17918,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17739
17918
  kind: "data" | "resource" | "module";
17740
17919
  address: string;
17741
17920
  }[] | undefined;
17921
+ strictComposition?: boolean | undefined;
17742
17922
  syncFreshness?: {
17743
17923
  greenSeconds?: number | undefined;
17744
17924
  yellowSeconds?: number | undefined;
@@ -17799,32 +17979,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17799
17979
  value?: string | undefined;
17800
17980
  };
17801
17981
  } | 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
17982
  } | {
17829
17983
  name: string;
17830
17984
  kind: "Secret";
@@ -17840,7 +17994,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17840
17994
  syncSource?: string | undefined;
17841
17995
  } | {
17842
17996
  from: string;
17843
- properties: Record<string, unknown>;
17844
17997
  relationshipType: string;
17845
17998
  kind: "Relationship";
17846
17999
  labels: Record<string, string>;
@@ -17869,7 +18022,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17869
18022
  })[];
17870
18023
  deletions: {
17871
18024
  name: string;
17872
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
18025
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
17873
18026
  }[];
17874
18027
  force: boolean;
17875
18028
  dryRun: boolean;
@@ -17878,6 +18031,37 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17878
18031
  projectId: string;
17879
18032
  envName: string;
17880
18033
  items: ({
18034
+ name: string;
18035
+ from: string;
18036
+ kind: "RelationshipType";
18037
+ to: string;
18038
+ displayName?: string | undefined;
18039
+ states?: string[] | undefined;
18040
+ properties?: {
18041
+ name: string;
18042
+ type: "string" | "number" | "boolean" | "integer";
18043
+ description?: string | undefined;
18044
+ default?: string | number | boolean | undefined;
18045
+ required?: boolean | undefined;
18046
+ title?: string | undefined;
18047
+ enum?: string[] | undefined;
18048
+ }[] | undefined;
18049
+ derivedFrom?: {
18050
+ property: string;
18051
+ targetProperty?: string | undefined;
18052
+ } | undefined;
18053
+ constraints?: ({
18054
+ type: "property-sum";
18055
+ fromProperty: string;
18056
+ leq: string;
18057
+ } | {
18058
+ type: "relationship-count";
18059
+ leq: string | number;
18060
+ })[] | undefined;
18061
+ labels?: Record<string, string> | undefined;
18062
+ cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
18063
+ containment?: boolean | undefined;
18064
+ } | {
17881
18065
  name: string;
17882
18066
  kind: "Action";
17883
18067
  operation: {
@@ -17891,9 +18075,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17891
18075
  addToCell?: string | undefined;
17892
18076
  createRelationship?: {
17893
18077
  relationshipType: string;
18078
+ to: string;
17894
18079
  onSuccess: string;
17895
18080
  onFailure: string;
17896
- to: string;
17897
18081
  properties?: Record<string, string> | undefined;
17898
18082
  } | undefined;
17899
18083
  cascadeRules?: ({
@@ -17953,10 +18137,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17953
18137
  type: "create-relationship";
17954
18138
  from: string;
17955
18139
  relationshipType: string;
18140
+ to: string;
17956
18141
  onTrigger: string;
17957
18142
  onSuccess: string;
17958
18143
  onFailure: string;
17959
- to: string;
17960
18144
  properties?: Record<string, string> | undefined;
17961
18145
  } | {
17962
18146
  type: "delete-relationship";
@@ -17974,10 +18158,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17974
18158
  } | {
17975
18159
  type: "migrate-relationship";
17976
18160
  relationshipType: string;
18161
+ to: string;
17977
18162
  onTrigger: string;
17978
18163
  onSuccess: string;
17979
18164
  onFailure: string;
17980
- to: string;
17981
18165
  };
17982
18166
  associatedWith: {
17983
18167
  scope: "collection" | "instance";
@@ -18361,6 +18545,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18361
18545
  kind: "data" | "resource" | "module";
18362
18546
  address: string;
18363
18547
  }[] | undefined;
18548
+ strictComposition?: boolean | undefined;
18364
18549
  syncTracked?: boolean | undefined;
18365
18550
  syncFreshness?: {
18366
18551
  greenSeconds?: number | undefined;
@@ -18422,32 +18607,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18422
18607
  value?: string | undefined;
18423
18608
  };
18424
18609
  } | 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
18610
  } | {
18452
18611
  name: string;
18453
18612
  kind: "Secret";
@@ -18467,7 +18626,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18467
18626
  kind: "Relationship";
18468
18627
  to: string;
18469
18628
  state?: string | undefined;
18470
- properties?: Record<string, unknown> | undefined;
18471
18629
  labels?: Record<string, string> | undefined;
18472
18630
  } | {
18473
18631
  name: string;
@@ -18492,7 +18650,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18492
18650
  })[];
18493
18651
  deletions?: {
18494
18652
  name: string;
18495
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
18653
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
18496
18654
  }[] | undefined;
18497
18655
  force?: boolean | undefined;
18498
18656
  dryRun?: boolean | undefined;
@@ -18531,6 +18689,125 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18531
18689
  }[];
18532
18690
  } | undefined;
18533
18691
  }>;
18692
+ observations: {
18693
+ importPayload: SchemaFn<zod.ZodObject<{
18694
+ observedAt: zod.ZodString;
18695
+ sources: zod.ZodArray<zod.ZodObject<{
18696
+ source: zod.ZodString;
18697
+ resources: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
18698
+ tfAddress: zod.ZodString;
18699
+ tfType: zod.ZodString;
18700
+ tfName: zod.ZodString;
18701
+ tfModule: zod.ZodOptional<zod.ZodString>;
18702
+ mode: zod.ZodEnum<["managed", "data"]>;
18703
+ attributes: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
18704
+ }, "strip", zod.ZodTypeAny, {
18705
+ mode: "data" | "managed";
18706
+ tfType: string;
18707
+ tfName: string;
18708
+ tfAddress: string;
18709
+ attributes: Record<string, unknown>;
18710
+ tfModule?: string | undefined;
18711
+ }, {
18712
+ mode: "data" | "managed";
18713
+ tfType: string;
18714
+ tfName: string;
18715
+ tfAddress: string;
18716
+ tfModule?: string | undefined;
18717
+ attributes?: Record<string, unknown> | undefined;
18718
+ }>, "many">>;
18719
+ dependencies: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
18720
+ fromAddress: zod.ZodString;
18721
+ toAddress: zod.ZodString;
18722
+ crossStackSource: zod.ZodOptional<zod.ZodString>;
18723
+ }, "strip", zod.ZodTypeAny, {
18724
+ fromAddress: string;
18725
+ toAddress: string;
18726
+ crossStackSource?: string | undefined;
18727
+ }, {
18728
+ fromAddress: string;
18729
+ toAddress: string;
18730
+ crossStackSource?: string | undefined;
18731
+ }>, "many">>;
18732
+ }, "strip", zod.ZodTypeAny, {
18733
+ source: string;
18734
+ resources: {
18735
+ mode: "data" | "managed";
18736
+ tfType: string;
18737
+ tfName: string;
18738
+ tfAddress: string;
18739
+ attributes: Record<string, unknown>;
18740
+ tfModule?: string | undefined;
18741
+ }[];
18742
+ dependencies: {
18743
+ fromAddress: string;
18744
+ toAddress: string;
18745
+ crossStackSource?: string | undefined;
18746
+ }[];
18747
+ }, {
18748
+ source: string;
18749
+ resources?: {
18750
+ mode: "data" | "managed";
18751
+ tfType: string;
18752
+ tfName: string;
18753
+ tfAddress: string;
18754
+ tfModule?: string | undefined;
18755
+ attributes?: Record<string, unknown> | undefined;
18756
+ }[] | undefined;
18757
+ dependencies?: {
18758
+ fromAddress: string;
18759
+ toAddress: string;
18760
+ crossStackSource?: string | undefined;
18761
+ }[] | undefined;
18762
+ }>, "many">;
18763
+ } & {
18764
+ orgId: zod.ZodString;
18765
+ projectId: zod.ZodString;
18766
+ envName: zod.ZodString;
18767
+ }, "strip", zod.ZodTypeAny, {
18768
+ orgId: string;
18769
+ projectId: string;
18770
+ envName: string;
18771
+ sources: {
18772
+ source: string;
18773
+ resources: {
18774
+ mode: "data" | "managed";
18775
+ tfType: string;
18776
+ tfName: string;
18777
+ tfAddress: string;
18778
+ attributes: Record<string, unknown>;
18779
+ tfModule?: string | undefined;
18780
+ }[];
18781
+ dependencies: {
18782
+ fromAddress: string;
18783
+ toAddress: string;
18784
+ crossStackSource?: string | undefined;
18785
+ }[];
18786
+ }[];
18787
+ observedAt: string;
18788
+ }, {
18789
+ orgId: string;
18790
+ projectId: string;
18791
+ envName: string;
18792
+ sources: {
18793
+ source: string;
18794
+ resources?: {
18795
+ mode: "data" | "managed";
18796
+ tfType: string;
18797
+ tfName: string;
18798
+ tfAddress: string;
18799
+ tfModule?: string | undefined;
18800
+ attributes?: Record<string, unknown> | undefined;
18801
+ }[] | undefined;
18802
+ dependencies?: {
18803
+ fromAddress: string;
18804
+ toAddress: string;
18805
+ crossStackSource?: string | undefined;
18806
+ }[] | undefined;
18807
+ }[];
18808
+ observedAt: string;
18809
+ }>, ObservationImportResult>;
18810
+ };
18534
18811
  catalogRevisions: {
18535
18812
  list: SchemaFn<zod.ZodObject<{
18536
18813
  orgId: zod.ZodString;
@@ -18891,6 +19168,114 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18891
19168
  status: string;
18892
19169
  }>;
18893
19170
  };
19171
+ conformanceFindings: {
19172
+ list: SchemaFn<zod.ZodObject<{
19173
+ orgId: zod.ZodString;
19174
+ projectId: zod.ZodString;
19175
+ envName: zod.ZodString;
19176
+ status: zod.ZodOptional<zod.ZodEnum<["open", "resolved", "ignored"]>>;
19177
+ severity: zod.ZodOptional<zod.ZodEnum<["critical", "high", "medium", "low", "info"]>>;
19178
+ kind: zod.ZodOptional<zod.ZodString>;
19179
+ findingKind: zod.ZodOptional<zod.ZodString>;
19180
+ entityName: zod.ZodOptional<zod.ZodString>;
19181
+ limit: zod.ZodOptional<zod.ZodNumber>;
19182
+ }, "strip", zod.ZodTypeAny, {
19183
+ orgId: string;
19184
+ projectId: string;
19185
+ envName: string;
19186
+ status?: "open" | "resolved" | "ignored" | undefined;
19187
+ limit?: number | undefined;
19188
+ kind?: string | undefined;
19189
+ entityName?: string | undefined;
19190
+ findingKind?: string | undefined;
19191
+ severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
19192
+ }, {
19193
+ orgId: string;
19194
+ projectId: string;
19195
+ envName: string;
19196
+ status?: "open" | "resolved" | "ignored" | undefined;
19197
+ limit?: number | undefined;
19198
+ kind?: string | undefined;
19199
+ entityName?: string | undefined;
19200
+ findingKind?: string | undefined;
19201
+ severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
19202
+ }>, {
19203
+ detectedAt: string;
19204
+ lastSeenAt: string;
19205
+ updatedAt: string;
19206
+ id: string;
19207
+ projectId: string | null;
19208
+ envId: string;
19209
+ entityId: string | null;
19210
+ relationshipId: string | null;
19211
+ entityTypeName: string | null;
19212
+ entityName: string | null;
19213
+ findingKind: string;
19214
+ severity: string;
19215
+ status: string;
19216
+ fieldPath: string | null;
19217
+ schemaRef: string | null;
19218
+ schemaVersion: string | null;
19219
+ expected: hono_utils_types.JSONValue;
19220
+ actual: hono_utils_types.JSONValue;
19221
+ message: string;
19222
+ dedupKey: string;
19223
+ auditRunId: string | null;
19224
+ }[]>;
19225
+ count: SchemaFn<zod.ZodObject<{
19226
+ orgId: zod.ZodString;
19227
+ projectId: zod.ZodString;
19228
+ envName: zod.ZodString;
19229
+ }, "strip", zod.ZodTypeAny, {
19230
+ orgId: string;
19231
+ projectId: string;
19232
+ envName: string;
19233
+ }, {
19234
+ orgId: string;
19235
+ projectId: string;
19236
+ envName: string;
19237
+ }>, {
19238
+ count: number;
19239
+ }>;
19240
+ get: SchemaFn<zod.ZodObject<{
19241
+ orgId: zod.ZodString;
19242
+ projectId: zod.ZodString;
19243
+ envName: zod.ZodString;
19244
+ id: zod.ZodString;
19245
+ }, "strip", zod.ZodTypeAny, {
19246
+ id: string;
19247
+ orgId: string;
19248
+ projectId: string;
19249
+ envName: string;
19250
+ }, {
19251
+ id: string;
19252
+ orgId: string;
19253
+ projectId: string;
19254
+ envName: string;
19255
+ }>, {
19256
+ detectedAt: string;
19257
+ lastSeenAt: string;
19258
+ updatedAt: string;
19259
+ id: string;
19260
+ projectId: string | null;
19261
+ envId: string;
19262
+ entityId: string | null;
19263
+ relationshipId: string | null;
19264
+ entityTypeName: string | null;
19265
+ entityName: string | null;
19266
+ findingKind: string;
19267
+ severity: string;
19268
+ status: string;
19269
+ fieldPath: string | null;
19270
+ schemaRef: string | null;
19271
+ schemaVersion: string | null;
19272
+ expected: hono_utils_types.JSONValue;
19273
+ actual: hono_utils_types.JSONValue;
19274
+ message: string;
19275
+ dedupKey: string;
19276
+ auditRunId: string | null;
19277
+ }>;
19278
+ };
18894
19279
  stats: {
18895
19280
  entitiesByState: SchemaFn<zod.ZodObject<{
18896
19281
  orgId: zod.ZodString;
@@ -18992,41 +19377,61 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18992
19377
  ownerUserId: string | null;
18993
19378
  name: string;
18994
19379
  isDefault: boolean;
18995
- config: {
18996
- sort: {
18997
- cells: "name" | "memberCount" | "capacityUsed";
18998
- entities: "name" | "updatedAt" | "state";
19380
+ pinnedPositions: {
19381
+ [x: string]: {
19382
+ x: number;
19383
+ y: number;
19384
+ };
19385
+ } | null;
19386
+ viewSpec: {
19387
+ schemaVersion: 1;
19388
+ grouping: {
19389
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
19390
+ aggregate: {
19391
+ byType: boolean;
19392
+ threshold: number;
19393
+ };
19394
+ labelKey?: string | undefined;
19395
+ };
19396
+ edges: {
19397
+ mode: "all" | "none" | "problems";
19398
+ labels: ("type" | "count")[];
19399
+ render: "refs" | "lines";
19400
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
18999
19401
  };
19000
- filter: {
19402
+ filters: {
19001
19403
  entityTypes: string[];
19002
- states: string[];
19003
19404
  labels: {
19004
19405
  [x: string]: string[];
19005
19406
  };
19006
- relationshipTypes?: string[] | undefined;
19007
- cellNames?: string[] | undefined;
19407
+ cells: string[];
19408
+ relationshipTypes: string[];
19409
+ deploymentTargets: string[];
19410
+ lifecycle: string[];
19411
+ conformance: ("conformant" | "non-conformant")[];
19008
19412
  };
19009
- grouping: {
19010
- cellsEnabled: boolean;
19011
- partitionsEnabled: boolean;
19012
- };
19013
- cardDisplay: {
19014
- properties: string[] | "all" | "required";
19015
- showState: boolean;
19016
- inlineRelationships: boolean;
19017
- maxRelsPerCard: number;
19018
- drawEdges: boolean;
19413
+ focus: {
19414
+ direction: "both" | "upstream" | "downstream";
19415
+ roots: string[];
19416
+ maxHops: 1 | 2 | 3 | "∞";
19417
+ edgeTypes: string[];
19019
19418
  };
19020
- layout: {
19021
- mode: "auto" | "free";
19022
- positionsPinned: boolean;
19419
+ expansion: {
19420
+ [x: string]: "expanded" | "collapsed";
19023
19421
  };
19024
- };
19025
- pinnedPositions: {
19026
- [x: string]: {
19027
- x: number;
19028
- y: number;
19422
+ style: {
19423
+ selector: string;
19424
+ style: {
19425
+ [x: string]: string;
19426
+ };
19427
+ }[];
19428
+ pins: {
19429
+ [x: string]: {
19430
+ x: number;
19431
+ y: number;
19432
+ };
19029
19433
  };
19434
+ interaction: "auto" | "free";
19030
19435
  } | null;
19031
19436
  createdAt: string;
19032
19437
  updatedAt: string;
@@ -19051,41 +19456,61 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19051
19456
  ownerUserId: string | null;
19052
19457
  name: string;
19053
19458
  isDefault: boolean;
19054
- config: {
19055
- sort: {
19056
- cells: "name" | "memberCount" | "capacityUsed";
19057
- entities: "name" | "updatedAt" | "state";
19459
+ pinnedPositions: {
19460
+ [x: string]: {
19461
+ x: number;
19462
+ y: number;
19463
+ };
19464
+ } | null;
19465
+ viewSpec: {
19466
+ schemaVersion: 1;
19467
+ grouping: {
19468
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
19469
+ aggregate: {
19470
+ byType: boolean;
19471
+ threshold: number;
19472
+ };
19473
+ labelKey?: string | undefined;
19058
19474
  };
19059
- filter: {
19475
+ edges: {
19476
+ mode: "all" | "none" | "problems";
19477
+ labels: ("type" | "count")[];
19478
+ render: "refs" | "lines";
19479
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
19480
+ };
19481
+ filters: {
19060
19482
  entityTypes: string[];
19061
- states: string[];
19062
19483
  labels: {
19063
19484
  [x: string]: string[];
19064
19485
  };
19065
- relationshipTypes?: string[] | undefined;
19066
- cellNames?: string[] | undefined;
19067
- };
19068
- grouping: {
19069
- cellsEnabled: boolean;
19070
- partitionsEnabled: boolean;
19486
+ cells: string[];
19487
+ relationshipTypes: string[];
19488
+ deploymentTargets: string[];
19489
+ lifecycle: string[];
19490
+ conformance: ("conformant" | "non-conformant")[];
19071
19491
  };
19072
- cardDisplay: {
19073
- properties: string[] | "all" | "required";
19074
- showState: boolean;
19075
- inlineRelationships: boolean;
19076
- maxRelsPerCard: number;
19077
- drawEdges: boolean;
19492
+ focus: {
19493
+ direction: "both" | "upstream" | "downstream";
19494
+ roots: string[];
19495
+ maxHops: 1 | 2 | 3 | "∞";
19496
+ edgeTypes: string[];
19078
19497
  };
19079
- layout: {
19080
- mode: "auto" | "free";
19081
- positionsPinned: boolean;
19498
+ expansion: {
19499
+ [x: string]: "expanded" | "collapsed";
19082
19500
  };
19083
- };
19084
- pinnedPositions: {
19085
- [x: string]: {
19086
- x: number;
19087
- y: number;
19501
+ style: {
19502
+ selector: string;
19503
+ style: {
19504
+ [x: string]: string;
19505
+ };
19506
+ }[];
19507
+ pins: {
19508
+ [x: string]: {
19509
+ x: number;
19510
+ y: number;
19511
+ };
19088
19512
  };
19513
+ interaction: "auto" | "free";
19089
19514
  } | null;
19090
19515
  createdAt: string;
19091
19516
  updatedAt: string;
@@ -19095,7 +19520,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19095
19520
  projectId: zod.ZodString;
19096
19521
  name: zod.ZodString;
19097
19522
  scope: zod.ZodEnum<["user", "project"]>;
19098
- config: zod.ZodUnknown;
19099
19523
  pinnedPositions: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
19100
19524
  x: zod.ZodNumber;
19101
19525
  y: zod.ZodNumber;
@@ -19106,26 +19530,27 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19106
19530
  x: number;
19107
19531
  y: number;
19108
19532
  }>>>>;
19533
+ viewSpec: zod.ZodOptional<zod.ZodNullable<zod.ZodUnknown>>;
19109
19534
  }, "strip", zod.ZodTypeAny, {
19110
19535
  name: string;
19111
19536
  orgId: string;
19112
19537
  projectId: string;
19113
19538
  scope: "user" | "project";
19114
- config?: unknown;
19115
19539
  pinnedPositions?: Record<string, {
19116
19540
  x: number;
19117
19541
  y: number;
19118
19542
  }> | null | undefined;
19543
+ viewSpec?: unknown;
19119
19544
  }, {
19120
19545
  name: string;
19121
19546
  orgId: string;
19122
19547
  projectId: string;
19123
19548
  scope: "user" | "project";
19124
- config?: unknown;
19125
19549
  pinnedPositions?: Record<string, {
19126
19550
  x: number;
19127
19551
  y: number;
19128
19552
  }> | null | undefined;
19553
+ viewSpec?: unknown;
19129
19554
  }>, {
19130
19555
  name: string;
19131
19556
  id: string;
@@ -19135,42 +19560,62 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19135
19560
  projectId: string;
19136
19561
  isDefault: boolean;
19137
19562
  scope: "user" | "project";
19138
- config: {
19139
- sort: {
19140
- cells: "name" | "memberCount" | "capacityUsed";
19141
- entities: "name" | "updatedAt" | "state";
19563
+ ownerUserId: string | null;
19564
+ pinnedPositions: {
19565
+ [x: string]: {
19566
+ x: number;
19567
+ y: number;
19142
19568
  };
19143
- filter: {
19569
+ } | null;
19570
+ viewSpec: {
19571
+ schemaVersion: 1;
19572
+ grouping: {
19573
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
19574
+ aggregate: {
19575
+ byType: boolean;
19576
+ threshold: number;
19577
+ };
19578
+ labelKey?: string | undefined;
19579
+ };
19580
+ edges: {
19581
+ mode: "all" | "none" | "problems";
19582
+ labels: ("type" | "count")[];
19583
+ render: "refs" | "lines";
19584
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
19585
+ };
19586
+ filters: {
19144
19587
  entityTypes: string[];
19145
- states: string[];
19146
19588
  labels: {
19147
19589
  [x: string]: string[];
19148
19590
  };
19149
- relationshipTypes?: string[] | undefined;
19150
- cellNames?: string[] | undefined;
19591
+ cells: string[];
19592
+ relationshipTypes: string[];
19593
+ deploymentTargets: string[];
19594
+ lifecycle: string[];
19595
+ conformance: ("conformant" | "non-conformant")[];
19151
19596
  };
19152
- grouping: {
19153
- cellsEnabled: boolean;
19154
- partitionsEnabled: boolean;
19597
+ focus: {
19598
+ direction: "both" | "upstream" | "downstream";
19599
+ roots: string[];
19600
+ maxHops: 1 | 2 | 3 | "∞";
19601
+ edgeTypes: string[];
19155
19602
  };
19156
- cardDisplay: {
19157
- properties: string[] | "all" | "required";
19158
- showState: boolean;
19159
- inlineRelationships: boolean;
19160
- maxRelsPerCard: number;
19161
- drawEdges: boolean;
19603
+ expansion: {
19604
+ [x: string]: "expanded" | "collapsed";
19162
19605
  };
19163
- layout: {
19164
- mode: "auto" | "free";
19165
- positionsPinned: boolean;
19166
- };
19167
- };
19168
- ownerUserId: string | null;
19169
- pinnedPositions: {
19170
- [x: string]: {
19171
- x: number;
19172
- y: number;
19606
+ style: {
19607
+ selector: string;
19608
+ style: {
19609
+ [x: string]: string;
19610
+ };
19611
+ }[];
19612
+ pins: {
19613
+ [x: string]: {
19614
+ x: number;
19615
+ y: number;
19616
+ };
19173
19617
  };
19618
+ interaction: "auto" | "free";
19174
19619
  } | null;
19175
19620
  }>;
19176
19621
  update: SchemaFn<zod.ZodObject<{
@@ -19178,7 +19623,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19178
19623
  projectId: zod.ZodString;
19179
19624
  id: zod.ZodString;
19180
19625
  name: zod.ZodOptional<zod.ZodString>;
19181
- config: zod.ZodOptional<zod.ZodUnknown>;
19182
19626
  pinnedPositions: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
19183
19627
  x: zod.ZodNumber;
19184
19628
  y: zod.ZodNumber;
@@ -19189,26 +19633,27 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19189
19633
  x: number;
19190
19634
  y: number;
19191
19635
  }>>>>;
19636
+ viewSpec: zod.ZodOptional<zod.ZodNullable<zod.ZodUnknown>>;
19192
19637
  }, "strip", zod.ZodTypeAny, {
19193
19638
  id: string;
19194
19639
  orgId: string;
19195
19640
  projectId: string;
19196
19641
  name?: string | undefined;
19197
- config?: unknown;
19198
19642
  pinnedPositions?: Record<string, {
19199
19643
  x: number;
19200
19644
  y: number;
19201
19645
  }> | null | undefined;
19646
+ viewSpec?: unknown;
19202
19647
  }, {
19203
19648
  id: string;
19204
19649
  orgId: string;
19205
19650
  projectId: string;
19206
19651
  name?: string | undefined;
19207
- config?: unknown;
19208
19652
  pinnedPositions?: Record<string, {
19209
19653
  x: number;
19210
19654
  y: number;
19211
19655
  }> | null | undefined;
19656
+ viewSpec?: unknown;
19212
19657
  }>, {
19213
19658
  id: string;
19214
19659
  orgId: string;
@@ -19217,41 +19662,61 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19217
19662
  ownerUserId: string | null;
19218
19663
  name: string;
19219
19664
  isDefault: boolean;
19220
- config: {
19221
- sort: {
19222
- cells: "name" | "memberCount" | "capacityUsed";
19223
- entities: "name" | "updatedAt" | "state";
19665
+ pinnedPositions: {
19666
+ [x: string]: {
19667
+ x: number;
19668
+ y: number;
19224
19669
  };
19225
- filter: {
19670
+ } | null;
19671
+ viewSpec: {
19672
+ schemaVersion: 1;
19673
+ grouping: {
19674
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
19675
+ aggregate: {
19676
+ byType: boolean;
19677
+ threshold: number;
19678
+ };
19679
+ labelKey?: string | undefined;
19680
+ };
19681
+ edges: {
19682
+ mode: "all" | "none" | "problems";
19683
+ labels: ("type" | "count")[];
19684
+ render: "refs" | "lines";
19685
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
19686
+ };
19687
+ filters: {
19226
19688
  entityTypes: string[];
19227
- states: string[];
19228
19689
  labels: {
19229
19690
  [x: string]: string[];
19230
19691
  };
19231
- relationshipTypes?: string[] | undefined;
19232
- cellNames?: string[] | undefined;
19233
- };
19234
- grouping: {
19235
- cellsEnabled: boolean;
19236
- partitionsEnabled: boolean;
19692
+ cells: string[];
19693
+ relationshipTypes: string[];
19694
+ deploymentTargets: string[];
19695
+ lifecycle: string[];
19696
+ conformance: ("conformant" | "non-conformant")[];
19237
19697
  };
19238
- cardDisplay: {
19239
- properties: string[] | "all" | "required";
19240
- showState: boolean;
19241
- inlineRelationships: boolean;
19242
- maxRelsPerCard: number;
19243
- drawEdges: boolean;
19698
+ focus: {
19699
+ direction: "both" | "upstream" | "downstream";
19700
+ roots: string[];
19701
+ maxHops: 1 | 2 | 3 | "∞";
19702
+ edgeTypes: string[];
19244
19703
  };
19245
- layout: {
19246
- mode: "auto" | "free";
19247
- positionsPinned: boolean;
19704
+ expansion: {
19705
+ [x: string]: "expanded" | "collapsed";
19248
19706
  };
19249
- };
19250
- pinnedPositions: {
19251
- [x: string]: {
19252
- x: number;
19253
- y: number;
19707
+ style: {
19708
+ selector: string;
19709
+ style: {
19710
+ [x: string]: string;
19711
+ };
19712
+ }[];
19713
+ pins: {
19714
+ [x: string]: {
19715
+ x: number;
19716
+ y: number;
19717
+ };
19254
19718
  };
19719
+ interaction: "auto" | "free";
19255
19720
  } | null;
19256
19721
  createdAt: string;
19257
19722
  updatedAt: string;
@@ -19292,41 +19757,61 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
19292
19757
  ownerUserId: string | null;
19293
19758
  name: string;
19294
19759
  isDefault: boolean;
19295
- config: {
19296
- sort: {
19297
- cells: "name" | "memberCount" | "capacityUsed";
19298
- entities: "name" | "updatedAt" | "state";
19760
+ pinnedPositions: {
19761
+ [x: string]: {
19762
+ x: number;
19763
+ y: number;
19299
19764
  };
19300
- filter: {
19765
+ } | null;
19766
+ viewSpec: {
19767
+ schemaVersion: 1;
19768
+ grouping: {
19769
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
19770
+ aggregate: {
19771
+ byType: boolean;
19772
+ threshold: number;
19773
+ };
19774
+ labelKey?: string | undefined;
19775
+ };
19776
+ edges: {
19777
+ mode: "all" | "none" | "problems";
19778
+ labels: ("type" | "count")[];
19779
+ render: "refs" | "lines";
19780
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
19781
+ };
19782
+ filters: {
19301
19783
  entityTypes: string[];
19302
- states: string[];
19303
19784
  labels: {
19304
19785
  [x: string]: string[];
19305
19786
  };
19306
- relationshipTypes?: string[] | undefined;
19307
- cellNames?: string[] | undefined;
19308
- };
19309
- grouping: {
19310
- cellsEnabled: boolean;
19311
- partitionsEnabled: boolean;
19787
+ cells: string[];
19788
+ relationshipTypes: string[];
19789
+ deploymentTargets: string[];
19790
+ lifecycle: string[];
19791
+ conformance: ("conformant" | "non-conformant")[];
19312
19792
  };
19313
- cardDisplay: {
19314
- properties: string[] | "all" | "required";
19315
- showState: boolean;
19316
- inlineRelationships: boolean;
19317
- maxRelsPerCard: number;
19318
- drawEdges: boolean;
19793
+ focus: {
19794
+ direction: "both" | "upstream" | "downstream";
19795
+ roots: string[];
19796
+ maxHops: 1 | 2 | 3 | "∞";
19797
+ edgeTypes: string[];
19319
19798
  };
19320
- layout: {
19321
- mode: "auto" | "free";
19322
- positionsPinned: boolean;
19799
+ expansion: {
19800
+ [x: string]: "expanded" | "collapsed";
19323
19801
  };
19324
- };
19325
- pinnedPositions: {
19326
- [x: string]: {
19327
- x: number;
19328
- y: number;
19802
+ style: {
19803
+ selector: string;
19804
+ style: {
19805
+ [x: string]: string;
19806
+ };
19807
+ }[];
19808
+ pins: {
19809
+ [x: string]: {
19810
+ x: number;
19811
+ y: number;
19812
+ };
19329
19813
  };
19814
+ interaction: "auto" | "free";
19330
19815
  } | null;
19331
19816
  createdAt: string;
19332
19817
  updatedAt: string;