@memberjunction/core-entities 2.121.0 → 2.122.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1423,24 +1423,54 @@ export declare const ApplicationSchema: z.ZodObject<{
1423
1423
  __mj_CreatedAt: z.ZodDate;
1424
1424
  __mj_UpdatedAt: z.ZodDate;
1425
1425
  SchemaAutoAddNewEntities: z.ZodNullable<z.ZodString>;
1426
+ Color: z.ZodNullable<z.ZodString>;
1427
+ DefaultNavItems: z.ZodNullable<z.ZodString>;
1428
+ ClassName: z.ZodNullable<z.ZodString>;
1429
+ DefaultSequence: z.ZodNumber;
1430
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Pending">]>;
1431
+ NavigationStyle: z.ZodUnion<[z.ZodLiteral<"App Switcher">, z.ZodLiteral<"Both">, z.ZodLiteral<"Nav Bar">]>;
1432
+ TopNavLocation: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Left of App Switcher">, z.ZodLiteral<"Left of User Menu">]>>;
1433
+ HideNavBarIconWhenActive: z.ZodBoolean;
1434
+ Path: z.ZodString;
1435
+ AutoUpdatePath: z.ZodBoolean;
1426
1436
  }, "strip", z.ZodTypeAny, {
1427
1437
  ID?: string;
1428
1438
  __mj_CreatedAt?: Date;
1429
1439
  __mj_UpdatedAt?: Date;
1430
1440
  Name?: string;
1431
1441
  Description?: string;
1442
+ Status?: "Active" | "Disabled" | "Pending" | "Deprecated";
1432
1443
  DefaultForNewUser?: boolean;
1433
1444
  Icon?: string;
1434
1445
  SchemaAutoAddNewEntities?: string;
1446
+ Color?: string;
1447
+ DefaultNavItems?: string;
1448
+ ClassName?: string;
1449
+ DefaultSequence?: number;
1450
+ NavigationStyle?: "Both" | "App Switcher" | "Nav Bar";
1451
+ TopNavLocation?: "Left of App Switcher" | "Left of User Menu";
1452
+ HideNavBarIconWhenActive?: boolean;
1453
+ Path?: string;
1454
+ AutoUpdatePath?: boolean;
1435
1455
  }, {
1436
1456
  ID?: string;
1437
1457
  __mj_CreatedAt?: Date;
1438
1458
  __mj_UpdatedAt?: Date;
1439
1459
  Name?: string;
1440
1460
  Description?: string;
1461
+ Status?: "Active" | "Disabled" | "Pending" | "Deprecated";
1441
1462
  DefaultForNewUser?: boolean;
1442
1463
  Icon?: string;
1443
1464
  SchemaAutoAddNewEntities?: string;
1465
+ Color?: string;
1466
+ DefaultNavItems?: string;
1467
+ ClassName?: string;
1468
+ DefaultSequence?: number;
1469
+ NavigationStyle?: "Both" | "App Switcher" | "Nav Bar";
1470
+ TopNavLocation?: "Left of App Switcher" | "Left of User Menu";
1471
+ HideNavBarIconWhenActive?: boolean;
1472
+ Path?: string;
1473
+ AutoUpdatePath?: boolean;
1444
1474
  }>;
1445
1475
  export type ApplicationEntityType = z.infer<typeof ApplicationSchema>;
1446
1476
  /**
@@ -3275,6 +3305,7 @@ export declare const EntitySchema: z.ZodObject<{
3275
3305
  ParentID?: string;
3276
3306
  Status?: "Active" | "Disabled" | "Deprecated";
3277
3307
  Icon?: string;
3308
+ ClassName?: string;
3278
3309
  CodeName?: string;
3279
3310
  NameSuffix?: string;
3280
3311
  AutoUpdateDescription?: boolean;
@@ -3325,7 +3356,6 @@ export declare const EntitySchema: z.ZodObject<{
3325
3356
  RowCount?: number;
3326
3357
  RowCountRunAt?: Date;
3327
3358
  DisplayName?: string;
3328
- ClassName?: string;
3329
3359
  BaseTableCodeName?: string;
3330
3360
  ParentEntity?: string;
3331
3361
  ParentBaseTable?: string;
@@ -3339,6 +3369,7 @@ export declare const EntitySchema: z.ZodObject<{
3339
3369
  ParentID?: string;
3340
3370
  Status?: "Active" | "Disabled" | "Deprecated";
3341
3371
  Icon?: string;
3372
+ ClassName?: string;
3342
3373
  CodeName?: string;
3343
3374
  NameSuffix?: string;
3344
3375
  AutoUpdateDescription?: boolean;
@@ -3389,7 +3420,6 @@ export declare const EntitySchema: z.ZodObject<{
3389
3420
  RowCount?: number;
3390
3421
  RowCountRunAt?: Date;
3391
3422
  DisplayName?: string;
3392
- ClassName?: string;
3393
3423
  BaseTableCodeName?: string;
3394
3424
  ParentEntity?: string;
3395
3425
  ParentBaseTable?: string;
@@ -3923,6 +3953,8 @@ export declare const EntityFieldSchema: z.ZodObject<{
3923
3953
  AutoUpdateIsNameField: z.ZodBoolean;
3924
3954
  AutoUpdateDefaultInView: z.ZodBoolean;
3925
3955
  AutoUpdateCategory: z.ZodBoolean;
3956
+ AutoUpdateDisplayName: z.ZodBoolean;
3957
+ AutoUpdateIncludeInUserSearchAPI: z.ZodBoolean;
3926
3958
  FieldCodeName: z.ZodNullable<z.ZodString>;
3927
3959
  Entity: z.ZodString;
3928
3960
  SchemaName: z.ZodString;
@@ -3990,6 +4022,8 @@ export declare const EntityFieldSchema: z.ZodObject<{
3990
4022
  AutoUpdateIsNameField?: boolean;
3991
4023
  AutoUpdateDefaultInView?: boolean;
3992
4024
  AutoUpdateCategory?: boolean;
4025
+ AutoUpdateDisplayName?: boolean;
4026
+ AutoUpdateIncludeInUserSearchAPI?: boolean;
3993
4027
  FieldCodeName?: string;
3994
4028
  RelatedEntity?: string;
3995
4029
  RelatedEntitySchemaName?: string;
@@ -4051,6 +4085,8 @@ export declare const EntityFieldSchema: z.ZodObject<{
4051
4085
  AutoUpdateIsNameField?: boolean;
4052
4086
  AutoUpdateDefaultInView?: boolean;
4053
4087
  AutoUpdateCategory?: boolean;
4088
+ AutoUpdateDisplayName?: boolean;
4089
+ AutoUpdateIncludeInUserSearchAPI?: boolean;
4054
4090
  FieldCodeName?: string;
4055
4091
  RelatedEntity?: string;
4056
4092
  RelatedEntitySchemaName?: string;
@@ -6873,9 +6909,9 @@ export declare const CollectionSchema: z.ZodObject<{
6873
6909
  RootParentID?: string;
6874
6910
  Sequence?: number;
6875
6911
  Icon?: string;
6912
+ Color?: string;
6876
6913
  EnvironmentID?: string;
6877
6914
  Environment?: string;
6878
- Color?: string;
6879
6915
  OwnerID?: string;
6880
6916
  Owner?: string;
6881
6917
  }, {
@@ -6889,9 +6925,9 @@ export declare const CollectionSchema: z.ZodObject<{
6889
6925
  RootParentID?: string;
6890
6926
  Sequence?: number;
6891
6927
  Icon?: string;
6928
+ Color?: string;
6892
6929
  EnvironmentID?: string;
6893
6930
  Environment?: string;
6894
- Color?: string;
6895
6931
  OwnerID?: string;
6896
6932
  Owner?: string;
6897
6933
  }>;
@@ -7444,10 +7480,10 @@ export declare const ProjectSchema: z.ZodObject<{
7444
7480
  Parent?: string;
7445
7481
  RootParentID?: string;
7446
7482
  Icon?: string;
7483
+ Color?: string;
7447
7484
  IsArchived?: boolean;
7448
7485
  EnvironmentID?: string;
7449
7486
  Environment?: string;
7450
- Color?: string;
7451
7487
  }, {
7452
7488
  ID?: string;
7453
7489
  __mj_CreatedAt?: Date;
@@ -7458,10 +7494,10 @@ export declare const ProjectSchema: z.ZodObject<{
7458
7494
  Parent?: string;
7459
7495
  RootParentID?: string;
7460
7496
  Icon?: string;
7497
+ Color?: string;
7461
7498
  IsArchived?: boolean;
7462
7499
  EnvironmentID?: string;
7463
7500
  Environment?: string;
7464
- Color?: string;
7465
7501
  }>;
7466
7502
  export type ProjectEntityType = z.infer<typeof ProjectSchema>;
7467
7503
  /**
@@ -8408,6 +8444,35 @@ export declare const TestSchema: z.ZodObject<{
8408
8444
  RepeatCount?: number;
8409
8445
  }>;
8410
8446
  export type TestEntityType = z.infer<typeof TestSchema>;
8447
+ /**
8448
+ * zod schema definition for the entity MJ: User Settings
8449
+ */
8450
+ export declare const UserSettingSchema: z.ZodObject<{
8451
+ ID: z.ZodString;
8452
+ UserID: z.ZodString;
8453
+ Setting: z.ZodString;
8454
+ Value: z.ZodNullable<z.ZodString>;
8455
+ __mj_CreatedAt: z.ZodDate;
8456
+ __mj_UpdatedAt: z.ZodDate;
8457
+ User: z.ZodString;
8458
+ }, "strip", z.ZodTypeAny, {
8459
+ ID?: string;
8460
+ __mj_CreatedAt?: Date;
8461
+ __mj_UpdatedAt?: Date;
8462
+ UserID?: string;
8463
+ User?: string;
8464
+ Value?: string;
8465
+ Setting?: string;
8466
+ }, {
8467
+ ID?: string;
8468
+ __mj_CreatedAt?: Date;
8469
+ __mj_UpdatedAt?: Date;
8470
+ UserID?: string;
8471
+ User?: string;
8472
+ Value?: string;
8473
+ Setting?: string;
8474
+ }>;
8475
+ export type UserSettingEntityType = z.infer<typeof UserSettingSchema>;
8411
8476
  /**
8412
8477
  * zod schema definition for the entity Output Delivery Types
8413
8478
  */
@@ -9474,6 +9539,7 @@ export declare const ResourceTypeSchema: z.ZodObject<{
9474
9539
  __mj_CreatedAt: z.ZodDate;
9475
9540
  __mj_UpdatedAt: z.ZodDate;
9476
9541
  CategoryEntityID: z.ZodNullable<z.ZodString>;
9542
+ DriverClass: z.ZodNullable<z.ZodString>;
9477
9543
  Entity: z.ZodNullable<z.ZodString>;
9478
9544
  CategoryEntity: z.ZodNullable<z.ZodString>;
9479
9545
  }, "strip", z.ZodTypeAny, {
@@ -9482,6 +9548,7 @@ export declare const ResourceTypeSchema: z.ZodObject<{
9482
9548
  __mj_UpdatedAt?: Date;
9483
9549
  Name?: string;
9484
9550
  Description?: string;
9551
+ DriverClass?: string;
9485
9552
  EntityID?: string;
9486
9553
  Entity?: string;
9487
9554
  Icon?: string;
@@ -9494,6 +9561,7 @@ export declare const ResourceTypeSchema: z.ZodObject<{
9494
9561
  __mj_UpdatedAt?: Date;
9495
9562
  Name?: string;
9496
9563
  Description?: string;
9564
+ DriverClass?: string;
9497
9565
  EntityID?: string;
9498
9566
  Entity?: string;
9499
9567
  Icon?: string;
@@ -10363,6 +10431,7 @@ export declare const UserViewSchema: z.ZodObject<{
10363
10431
  __mj_CreatedAt: z.ZodDate;
10364
10432
  __mj_UpdatedAt: z.ZodDate;
10365
10433
  Thumbnail: z.ZodNullable<z.ZodString>;
10434
+ CardState: z.ZodNullable<z.ZodString>;
10366
10435
  UserName: z.ZodString;
10367
10436
  UserFirstLast: z.ZodNullable<z.ZodString>;
10368
10437
  UserEmail: z.ZodString;
@@ -10396,6 +10465,7 @@ export declare const UserViewSchema: z.ZodObject<{
10396
10465
  SmartFilterExplanation?: string;
10397
10466
  CustomWhereClause?: boolean;
10398
10467
  SortState?: string;
10468
+ CardState?: string;
10399
10469
  UserType?: string;
10400
10470
  }, {
10401
10471
  ID?: string;
@@ -10424,6 +10494,7 @@ export declare const UserViewSchema: z.ZodObject<{
10424
10494
  SmartFilterExplanation?: string;
10425
10495
  CustomWhereClause?: boolean;
10426
10496
  SortState?: string;
10497
+ CardState?: string;
10427
10498
  UserType?: string;
10428
10499
  }>;
10429
10500
  export type UserViewEntityType = z.infer<typeof UserViewSchema>;
@@ -10777,6 +10848,7 @@ export declare const WorkspaceSchema: z.ZodObject<{
10777
10848
  UserID: z.ZodString;
10778
10849
  __mj_CreatedAt: z.ZodDate;
10779
10850
  __mj_UpdatedAt: z.ZodDate;
10851
+ Configuration: z.ZodNullable<z.ZodString>;
10780
10852
  User: z.ZodString;
10781
10853
  }, "strip", z.ZodTypeAny, {
10782
10854
  ID?: string;
@@ -10786,6 +10858,7 @@ export declare const WorkspaceSchema: z.ZodObject<{
10786
10858
  Description?: string;
10787
10859
  UserID?: string;
10788
10860
  User?: string;
10861
+ Configuration?: string;
10789
10862
  }, {
10790
10863
  ID?: string;
10791
10864
  __mj_CreatedAt?: Date;
@@ -10794,6 +10867,7 @@ export declare const WorkspaceSchema: z.ZodObject<{
10794
10867
  Description?: string;
10795
10868
  UserID?: string;
10796
10869
  User?: string;
10870
+ Configuration?: string;
10797
10871
  }>;
10798
10872
  export type WorkspaceEntityType = z.infer<typeof WorkspaceSchema>;
10799
10873
  /**
@@ -15038,6 +15112,7 @@ export declare class ApplicationEntity extends BaseEntity<ApplicationEntityType>
15038
15112
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
15039
15113
  /**
15040
15114
  * * Field Name: ID
15115
+ * * Display Name: ID
15041
15116
  * * SQL Data Type: uniqueidentifier
15042
15117
  * * Default Value: newsequentialid()
15043
15118
  */
@@ -15045,12 +15120,14 @@ export declare class ApplicationEntity extends BaseEntity<ApplicationEntityType>
15045
15120
  set ID(value: string);
15046
15121
  /**
15047
15122
  * * Field Name: Name
15123
+ * * Display Name: Name
15048
15124
  * * SQL Data Type: nvarchar(100)
15049
15125
  */
15050
15126
  get Name(): string;
15051
15127
  set Name(value: string);
15052
15128
  /**
15053
15129
  * * Field Name: Description
15130
+ * * Display Name: Description
15054
15131
  * * SQL Data Type: nvarchar(MAX)
15055
15132
  */
15056
15133
  get Description(): string | null;
@@ -15074,14 +15151,14 @@ export declare class ApplicationEntity extends BaseEntity<ApplicationEntityType>
15074
15151
  set DefaultForNewUser(value: boolean);
15075
15152
  /**
15076
15153
  * * Field Name: __mj_CreatedAt
15077
- * * Display Name: __mj _Created At
15154
+ * * Display Name: Created At
15078
15155
  * * SQL Data Type: datetimeoffset
15079
15156
  * * Default Value: getutcdate()
15080
15157
  */
15081
15158
  get __mj_CreatedAt(): Date;
15082
15159
  /**
15083
15160
  * * Field Name: __mj_UpdatedAt
15084
- * * Display Name: __mj _Updated At
15161
+ * * Display Name: Updated At
15085
15162
  * * SQL Data Type: datetimeoffset
15086
15163
  * * Default Value: getutcdate()
15087
15164
  */
@@ -15094,6 +15171,106 @@ export declare class ApplicationEntity extends BaseEntity<ApplicationEntityType>
15094
15171
  */
15095
15172
  get SchemaAutoAddNewEntities(): string | null;
15096
15173
  set SchemaAutoAddNewEntities(value: string | null);
15174
+ /**
15175
+ * * Field Name: Color
15176
+ * * Display Name: Color
15177
+ * * SQL Data Type: nvarchar(20)
15178
+ * * Description: Hex color code for visual theming (e.g., #4caf50)
15179
+ */
15180
+ get Color(): string | null;
15181
+ set Color(value: string | null);
15182
+ /**
15183
+ * * Field Name: DefaultNavItems
15184
+ * * Display Name: Default Nav Items
15185
+ * * SQL Data Type: nvarchar(MAX)
15186
+ * * Description: JSON array of default navigation items for this application. Parsed by BaseApplication.GetNavItems()
15187
+ */
15188
+ get DefaultNavItems(): string | null;
15189
+ set DefaultNavItems(value: string | null);
15190
+ /**
15191
+ * * Field Name: ClassName
15192
+ * * Display Name: Class Name
15193
+ * * SQL Data Type: nvarchar(255)
15194
+ * * Description: TypeScript class name for ClassFactory registration (e.g., CRMApplication)
15195
+ */
15196
+ get ClassName(): string | null;
15197
+ set ClassName(value: string | null);
15198
+ /**
15199
+ * * Field Name: DefaultSequence
15200
+ * * Display Name: Default Sequence
15201
+ * * SQL Data Type: int
15202
+ * * Default Value: 100
15203
+ * * Description: Default sequence position when adding this application to a new user's User Applications. Lower values appear first. Used when DefaultForNewUser is true.
15204
+ */
15205
+ get DefaultSequence(): number;
15206
+ set DefaultSequence(value: number);
15207
+ /**
15208
+ * * Field Name: Status
15209
+ * * Display Name: Status
15210
+ * * SQL Data Type: nvarchar(20)
15211
+ * * Default Value: Active
15212
+ * * Value List Type: List
15213
+ * * Possible Values
15214
+ * * Active
15215
+ * * Deprecated
15216
+ * * Disabled
15217
+ * * Pending
15218
+ * * Description: Application lifecycle status. Pending = not yet ready, Active = available for use, Disabled = temporarily unavailable, Deprecated = being phased out. Only Active applications are shown to users.
15219
+ */
15220
+ get Status(): 'Active' | 'Deprecated' | 'Disabled' | 'Pending';
15221
+ set Status(value: 'Active' | 'Deprecated' | 'Disabled' | 'Pending');
15222
+ /**
15223
+ * * Field Name: NavigationStyle
15224
+ * * Display Name: Navigation Style
15225
+ * * SQL Data Type: nvarchar(20)
15226
+ * * Default Value: App Switcher
15227
+ * * Value List Type: List
15228
+ * * Possible Values
15229
+ * * App Switcher
15230
+ * * Both
15231
+ * * Nav Bar
15232
+ * * Description: How the application appears in navigation. App Switcher = only in dropdown menu, Nav Bar = permanent icon in top nav, Both = shown in both locations.
15233
+ */
15234
+ get NavigationStyle(): 'App Switcher' | 'Both' | 'Nav Bar';
15235
+ set NavigationStyle(value: 'App Switcher' | 'Both' | 'Nav Bar');
15236
+ /**
15237
+ * * Field Name: TopNavLocation
15238
+ * * Display Name: Top Nav Location
15239
+ * * SQL Data Type: nvarchar(30)
15240
+ * * Value List Type: List
15241
+ * * Possible Values
15242
+ * * Left of App Switcher
15243
+ * * Left of User Menu
15244
+ * * Description: Position of the permanent nav icon when NavigationStyle is Nav Bar or Both. Left of App Switcher = appears before the app switcher, Left of User Menu = appears near the user avatar. Ignored when NavigationStyle is App Switcher.
15245
+ */
15246
+ get TopNavLocation(): 'Left of App Switcher' | 'Left of User Menu' | null;
15247
+ set TopNavLocation(value: 'Left of App Switcher' | 'Left of User Menu' | null);
15248
+ /**
15249
+ * * Field Name: HideNavBarIconWhenActive
15250
+ * * Display Name: Hide Nav Bar Icon When Active
15251
+ * * SQL Data Type: bit
15252
+ * * Default Value: 0
15253
+ * * Description: When true, the Nav Bar icon for this application is hidden when the application is active. Useful for launcher-style apps like Home that should only be visible when the user is NOT in that app. Only applies when NavigationStyle is Nav Bar or Both.
15254
+ */
15255
+ get HideNavBarIconWhenActive(): boolean;
15256
+ set HideNavBarIconWhenActive(value: boolean);
15257
+ /**
15258
+ * * Field Name: Path
15259
+ * * Display Name: Path
15260
+ * * SQL Data Type: nvarchar(100)
15261
+ * * Description: URL-friendly slug for the application (e.g., "data-explorer" for "Data Explorer"). Used in URLs instead of the full Name. Auto-generated from Name when AutoUpdatePath is true. Must be unique across all applications.
15262
+ */
15263
+ get Path(): string;
15264
+ set Path(value: string);
15265
+ /**
15266
+ * * Field Name: AutoUpdatePath
15267
+ * * Display Name: Auto Update Path
15268
+ * * SQL Data Type: bit
15269
+ * * Default Value: 1
15270
+ * * Description: When true, Path is automatically generated from Name on save. Set to false to manually control the Path value. Defaults to true for new applications.
15271
+ */
15272
+ get AutoUpdatePath(): boolean;
15273
+ set AutoUpdatePath(value: boolean);
15097
15274
  }
15098
15275
  /**
15099
15276
  * Audit Log Types - strongly typed entity sub-class
@@ -21728,6 +21905,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
21728
21905
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
21729
21906
  /**
21730
21907
  * * Field Name: ID
21908
+ * * Display Name: ID
21731
21909
  * * SQL Data Type: uniqueidentifier
21732
21910
  * * Default Value: newsequentialid()
21733
21911
  */
@@ -21735,13 +21913,14 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
21735
21913
  set ID(value: string);
21736
21914
  /**
21737
21915
  * * Field Name: EntityID
21738
- * * Display Name: Entity ID
21916
+ * * Display Name: Entity
21739
21917
  * * SQL Data Type: uniqueidentifier
21740
21918
  * * Related Entity/Foreign Key: Entities (vwEntities.ID)
21741
21919
  */
21742
21920
  get EntityID(): string;
21743
21921
  /**
21744
21922
  * * Field Name: Sequence
21923
+ * * Display Name: Sequence
21745
21924
  * * SQL Data Type: int
21746
21925
  * * Default Value: 0
21747
21926
  * * Description: Display order of the field within the entity
@@ -21749,6 +21928,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
21749
21928
  get Sequence(): number;
21750
21929
  /**
21751
21930
  * * Field Name: Name
21931
+ * * Display Name: Name
21752
21932
  * * SQL Data Type: nvarchar(255)
21753
21933
  * * Description: Name of the field within the database table
21754
21934
  */
@@ -21763,6 +21943,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
21763
21943
  set DisplayName(value: string | null);
21764
21944
  /**
21765
21945
  * * Field Name: Description
21946
+ * * Display Name: Description
21766
21947
  * * SQL Data Type: nvarchar(MAX)
21767
21948
  * * Description: Descriptive text explaining the purpose of the field
21768
21949
  */
@@ -21779,7 +21960,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
21779
21960
  set AutoUpdateDescription(value: boolean);
21780
21961
  /**
21781
21962
  * * Field Name: IsPrimaryKey
21782
- * * Display Name: Is Primary Key
21963
+ * * Display Name: Primary Key
21783
21964
  * * SQL Data Type: bit
21784
21965
  * * Default Value: 0
21785
21966
  * * Description: Indicates if the field is part of the primary key for the entity (auto maintained by CodeGen)
@@ -21788,7 +21969,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
21788
21969
  set IsPrimaryKey(value: boolean);
21789
21970
  /**
21790
21971
  * * Field Name: IsUnique
21791
- * * Display Name: Is Unique
21972
+ * * Display Name: Unique
21792
21973
  * * SQL Data Type: bit
21793
21974
  * * Default Value: 0
21794
21975
  * * Description: Indicates if the field must have unique values within the entity.
@@ -21805,24 +21986,28 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
21805
21986
  set Category(value: string | null);
21806
21987
  /**
21807
21988
  * * Field Name: Type
21989
+ * * Display Name: Type
21808
21990
  * * SQL Data Type: nvarchar(100)
21809
21991
  * * Description: SQL Data type (auto maintained by CodeGen)
21810
21992
  */
21811
21993
  get Type(): string;
21812
21994
  /**
21813
21995
  * * Field Name: Length
21996
+ * * Display Name: Length
21814
21997
  * * SQL Data Type: int
21815
21998
  * * Description: SQL data length (auto maintained by CodeGen)
21816
21999
  */
21817
22000
  get Length(): number | null;
21818
22001
  /**
21819
22002
  * * Field Name: Precision
22003
+ * * Display Name: Precision
21820
22004
  * * SQL Data Type: int
21821
22005
  * * Description: SQL precision (auto maintained by CodeGen)
21822
22006
  */
21823
22007
  get Precision(): number | null;
21824
22008
  /**
21825
22009
  * * Field Name: Scale
22010
+ * * Display Name: Scale
21826
22011
  * * SQL Data Type: int
21827
22012
  * * Description: SQL scale (auto maintained by CodeGen)
21828
22013
  */
@@ -21997,7 +22182,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
21997
22182
  set GeneratedFormSection(value: 'Category' | 'Details' | 'Top');
21998
22183
  /**
21999
22184
  * * Field Name: IsVirtual
22000
- * * Display Name: Is Virtual
22185
+ * * Display Name: Virtual
22001
22186
  * * SQL Data Type: bit
22002
22187
  * * Default Value: 0
22003
22188
  * * Description: NULL
@@ -22005,7 +22190,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
22005
22190
  get IsVirtual(): boolean;
22006
22191
  /**
22007
22192
  * * Field Name: IsNameField
22008
- * * Display Name: Is Name Field
22193
+ * * Display Name: Name Field
22009
22194
  * * SQL Data Type: bit
22010
22195
  * * Default Value: 0
22011
22196
  * * Description: If set to 1, this column will be used as the "Name" field for the entity and will be used to display the name of the record in various places in the UI.
@@ -22014,7 +22199,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
22014
22199
  set IsNameField(value: boolean);
22015
22200
  /**
22016
22201
  * * Field Name: RelatedEntityID
22017
- * * Display Name: RelatedEntity ID
22202
+ * * Display Name: Related Entity
22018
22203
  * * SQL Data Type: uniqueidentifier
22019
22204
  * * Related Entity/Foreign Key: Entities (vwEntities.ID)
22020
22205
  */
@@ -22056,7 +22241,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
22056
22241
  set RelatedEntityDisplayType(value: string);
22057
22242
  /**
22058
22243
  * * Field Name: EntityIDFieldName
22059
- * * Display Name: Entity IDField Name
22244
+ * * Display Name: Entity ID Field Name
22060
22245
  * * SQL Data Type: nvarchar(100)
22061
22246
  * * Description: Optional, used for "Soft Keys" to link records to different entity/record combinations on a per-record basis (for example the FileEntityRecordLink table has an EntityID/RecordID field pair. For that entity, the RecordID specifies "EntityID" for this field. This information allows MJ to detect soft keys/links for dependency detection, merging and for preventing orphaned soft-linked records during delete operations.
22062
22247
  */
@@ -22064,14 +22249,14 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
22064
22249
  set EntityIDFieldName(value: string | null);
22065
22250
  /**
22066
22251
  * * Field Name: __mj_CreatedAt
22067
- * * Display Name: __mj _Created At
22252
+ * * Display Name: Created At
22068
22253
  * * SQL Data Type: datetimeoffset
22069
22254
  * * Default Value: getutcdate()
22070
22255
  */
22071
22256
  get __mj_CreatedAt(): Date;
22072
22257
  /**
22073
22258
  * * Field Name: __mj_UpdatedAt
22074
- * * Display Name: __mj _Updated At
22259
+ * * Display Name: Updated At
22075
22260
  * * SQL Data Type: datetimeoffset
22076
22261
  * * Default Value: getutcdate()
22077
22262
  */
@@ -22149,6 +22334,24 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
22149
22334
  get AutoUpdateCategory(): boolean;
22150
22335
  set AutoUpdateCategory(value: boolean);
22151
22336
  /**
22337
+ * * Field Name: AutoUpdateDisplayName
22338
+ * * Display Name: Auto Update Display Name
22339
+ * * SQL Data Type: bit
22340
+ * * Default Value: 1
22341
+ * * Description: When 1, allows system/LLM to auto-update DisplayName during CodeGen; when 0, user has locked this field
22342
+ */
22343
+ get AutoUpdateDisplayName(): boolean;
22344
+ set AutoUpdateDisplayName(value: boolean);
22345
+ /**
22346
+ * * Field Name: AutoUpdateIncludeInUserSearchAPI
22347
+ * * Display Name: Auto Update Include In User Search API
22348
+ * * SQL Data Type: bit
22349
+ * * Default Value: 1
22350
+ * * Description: When 1, allows system/LLM to auto-update IncludeInUserSearchAPI during CodeGen; when 0, user has locked this field
22351
+ */
22352
+ get AutoUpdateIncludeInUserSearchAPI(): boolean;
22353
+ set AutoUpdateIncludeInUserSearchAPI(value: boolean);
22354
+ /**
22152
22355
  * * Field Name: FieldCodeName
22153
22356
  * * Display Name: Field Code Name
22154
22357
  * * SQL Data Type: nvarchar(MAX)
@@ -22156,6 +22359,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
22156
22359
  get FieldCodeName(): string | null;
22157
22360
  /**
22158
22361
  * * Field Name: Entity
22362
+ * * Display Name: Entity
22159
22363
  * * SQL Data Type: nvarchar(255)
22160
22364
  */
22161
22365
  get Entity(): string;
@@ -23112,6 +23316,7 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
23112
23316
  * @extends {BaseEntity}
23113
23317
  * @class
23114
23318
  * @public
23319
+ * @deprecated This entity is deprecated and will be removed in a future version. Using it will result in console warnings.
23115
23320
  */
23116
23321
  export declare class ExplorerNavigationItemEntity extends BaseEntity<ExplorerNavigationItemEntityType> {
23117
23322
  /**
@@ -34744,6 +34949,84 @@ export declare class TestEntity extends BaseEntity<TestEntityType> {
34744
34949
  */
34745
34950
  get Type(): string;
34746
34951
  }
34952
+ /**
34953
+ * MJ: User Settings - strongly typed entity sub-class
34954
+ * * Schema: __mj
34955
+ * * Base Table: UserSetting
34956
+ * * Base View: vwUserSettings
34957
+ * * @description Generic key-value store for per-user settings. Allows any application or feature to persist user preferences.
34958
+ * * Primary Key: ID
34959
+ * @extends {BaseEntity}
34960
+ * @class
34961
+ * @public
34962
+ */
34963
+ export declare class UserSettingEntity extends BaseEntity<UserSettingEntityType> {
34964
+ /**
34965
+ * Loads the MJ: User Settings record from the database
34966
+ * @param ID: string - primary key value to load the MJ: User Settings record.
34967
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
34968
+ * @returns {Promise<boolean>} - true if successful, false otherwise
34969
+ * @public
34970
+ * @async
34971
+ * @memberof UserSettingEntity
34972
+ * @method
34973
+ * @override
34974
+ */
34975
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
34976
+ /**
34977
+ * * Field Name: ID
34978
+ * * Display Name: ID
34979
+ * * SQL Data Type: uniqueidentifier
34980
+ * * Default Value: newsequentialid()
34981
+ */
34982
+ get ID(): string;
34983
+ set ID(value: string);
34984
+ /**
34985
+ * * Field Name: UserID
34986
+ * * Display Name: User ID
34987
+ * * SQL Data Type: uniqueidentifier
34988
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
34989
+ * * Description: The user this setting belongs to.
34990
+ */
34991
+ get UserID(): string;
34992
+ set UserID(value: string);
34993
+ /**
34994
+ * * Field Name: Setting
34995
+ * * Display Name: Setting
34996
+ * * SQL Data Type: nvarchar(255)
34997
+ * * Description: The setting key/name. Use namespaced keys like "DataExplorer.ViewMode" or "Dashboard.AI.CollapsedSections" to avoid collisions.
34998
+ */
34999
+ get Setting(): string;
35000
+ set Setting(value: string);
35001
+ /**
35002
+ * * Field Name: Value
35003
+ * * Display Name: Value
35004
+ * * SQL Data Type: nvarchar(MAX)
35005
+ * * Description: The setting value. Can be simple text, numbers, booleans, or JSON for complex configuration objects.
35006
+ */
35007
+ get Value(): string | null;
35008
+ set Value(value: string | null);
35009
+ /**
35010
+ * * Field Name: __mj_CreatedAt
35011
+ * * Display Name: Created At
35012
+ * * SQL Data Type: datetimeoffset
35013
+ * * Default Value: getutcdate()
35014
+ */
35015
+ get __mj_CreatedAt(): Date;
35016
+ /**
35017
+ * * Field Name: __mj_UpdatedAt
35018
+ * * Display Name: Updated At
35019
+ * * SQL Data Type: datetimeoffset
35020
+ * * Default Value: getutcdate()
35021
+ */
35022
+ get __mj_UpdatedAt(): Date;
35023
+ /**
35024
+ * * Field Name: User
35025
+ * * Display Name: User
35026
+ * * SQL Data Type: nvarchar(100)
35027
+ */
35028
+ get User(): string;
35029
+ }
34747
35030
  /**
34748
35031
  * Output Delivery Types - strongly typed entity sub-class
34749
35032
  * * Schema: __mj
@@ -37726,6 +38009,14 @@ export declare class ResourceTypeEntity extends BaseEntity<ResourceTypeEntityTyp
37726
38009
  get CategoryEntityID(): string | null;
37727
38010
  set CategoryEntityID(value: string | null);
37728
38011
  /**
38012
+ * * Field Name: DriverClass
38013
+ * * Display Name: Driver Class
38014
+ * * SQL Data Type: nvarchar(255)
38015
+ * * Description: The Angular component class name to instantiate for this resource type. NULL for Custom resource type (uses NavItem DriverClass instead).
38016
+ */
38017
+ get DriverClass(): string | null;
38018
+ set DriverClass(value: string | null);
38019
+ /**
37729
38020
  * * Field Name: Entity
37730
38021
  * * Display Name: Entity
37731
38022
  * * SQL Data Type: nvarchar(255)
@@ -39982,6 +40273,7 @@ export declare class UserViewEntity extends BaseEntity<UserViewEntityType> {
39982
40273
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
39983
40274
  /**
39984
40275
  * * Field Name: ID
40276
+ * * Display Name: ID
39985
40277
  * * SQL Data Type: uniqueidentifier
39986
40278
  * * Default Value: newsequentialid()
39987
40279
  */
@@ -39989,7 +40281,7 @@ export declare class UserViewEntity extends BaseEntity<UserViewEntityType> {
39989
40281
  set ID(value: string);
39990
40282
  /**
39991
40283
  * * Field Name: UserID
39992
- * * Display Name: User ID
40284
+ * * Display Name: User
39993
40285
  * * SQL Data Type: uniqueidentifier
39994
40286
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
39995
40287
  */
@@ -39997,7 +40289,7 @@ export declare class UserViewEntity extends BaseEntity<UserViewEntityType> {
39997
40289
  set UserID(value: string);
39998
40290
  /**
39999
40291
  * * Field Name: EntityID
40000
- * * Display Name: Entity ID
40292
+ * * Display Name: Entity
40001
40293
  * * SQL Data Type: uniqueidentifier
40002
40294
  * * Related Entity/Foreign Key: Entities (vwEntities.ID)
40003
40295
  */
@@ -40005,19 +40297,21 @@ export declare class UserViewEntity extends BaseEntity<UserViewEntityType> {
40005
40297
  set EntityID(value: string);
40006
40298
  /**
40007
40299
  * * Field Name: Name
40300
+ * * Display Name: Name
40008
40301
  * * SQL Data Type: nvarchar(100)
40009
40302
  */
40010
40303
  get Name(): string;
40011
40304
  set Name(value: string);
40012
40305
  /**
40013
40306
  * * Field Name: Description
40307
+ * * Display Name: Description
40014
40308
  * * SQL Data Type: nvarchar(MAX)
40015
40309
  */
40016
40310
  get Description(): string | null;
40017
40311
  set Description(value: string | null);
40018
40312
  /**
40019
40313
  * * Field Name: CategoryID
40020
- * * Display Name: Category ID
40314
+ * * Display Name: Category
40021
40315
  * * SQL Data Type: uniqueidentifier
40022
40316
  * * Related Entity/Foreign Key: User View Categories (vwUserViewCategories.ID)
40023
40317
  */
@@ -40025,7 +40319,7 @@ export declare class UserViewEntity extends BaseEntity<UserViewEntityType> {
40025
40319
  set CategoryID(value: string | null);
40026
40320
  /**
40027
40321
  * * Field Name: IsShared
40028
- * * Display Name: Is Shared
40322
+ * * Display Name: Shared
40029
40323
  * * SQL Data Type: bit
40030
40324
  * * Default Value: 0
40031
40325
  * * Description: Whether this view is shared with other users.
@@ -40034,7 +40328,7 @@ export declare class UserViewEntity extends BaseEntity<UserViewEntityType> {
40034
40328
  set IsShared(value: boolean);
40035
40329
  /**
40036
40330
  * * Field Name: IsDefault
40037
- * * Display Name: Is Default
40331
+ * * Display Name: Default
40038
40332
  * * SQL Data Type: bit
40039
40333
  * * Default Value: 0
40040
40334
  * * Description: Whether this is the user's default view for the entity.
@@ -40059,7 +40353,7 @@ export declare class UserViewEntity extends BaseEntity<UserViewEntityType> {
40059
40353
  set FilterState(value: string | null);
40060
40354
  /**
40061
40355
  * * Field Name: CustomFilterState
40062
- * * Display Name: Custom Filter State
40356
+ * * Display Name: Custom Filter
40063
40357
  * * SQL Data Type: bit
40064
40358
  * * Default Value: 0
40065
40359
  * * Description: Indicates if custom filters beyond standard options are applied.
@@ -40126,14 +40420,14 @@ export declare class UserViewEntity extends BaseEntity<UserViewEntityType> {
40126
40420
  set SortState(value: string | null);
40127
40421
  /**
40128
40422
  * * Field Name: __mj_CreatedAt
40129
- * * Display Name: __mj _Created At
40423
+ * * Display Name: Created At
40130
40424
  * * SQL Data Type: datetimeoffset
40131
40425
  * * Default Value: getutcdate()
40132
40426
  */
40133
40427
  get __mj_CreatedAt(): Date;
40134
40428
  /**
40135
40429
  * * Field Name: __mj_UpdatedAt
40136
- * * Display Name: __mj _Updated At
40430
+ * * Display Name: Updated At
40137
40431
  * * SQL Data Type: datetimeoffset
40138
40432
  * * Default Value: getutcdate()
40139
40433
  */
@@ -40147,6 +40441,14 @@ export declare class UserViewEntity extends BaseEntity<UserViewEntityType> {
40147
40441
  get Thumbnail(): string | null;
40148
40442
  set Thumbnail(value: string | null);
40149
40443
  /**
40444
+ * * Field Name: CardState
40445
+ * * Display Name: Card State
40446
+ * * SQL Data Type: nvarchar(MAX)
40447
+ * * Description: JSON configuration for card display mode in Data Explorer. Stores card layout settings including title field, subtitle, display fields, thumbnails, and layout density. When null, defaults are derived from entity metadata. See CardState interface in packages/Angular/Generic/entity-viewer/src/lib/types.ts for the current schema definition.
40448
+ */
40449
+ get CardState(): string | null;
40450
+ set CardState(value: string | null);
40451
+ /**
40150
40452
  * * Field Name: UserName
40151
40453
  * * Display Name: User Name
40152
40454
  * * SQL Data Type: nvarchar(100)
@@ -40982,6 +41284,7 @@ export declare class WorkflowEntity extends BaseEntity<WorkflowEntityType> {
40982
41284
  * @extends {BaseEntity}
40983
41285
  * @class
40984
41286
  * @public
41287
+ * @deprecated This entity is deprecated and will be removed in a future version. Using it will result in console warnings.
40985
41288
  */
40986
41289
  export declare class WorkspaceItemEntity extends BaseEntity<WorkspaceItemEntityType> {
40987
41290
  /**
@@ -41154,6 +41457,14 @@ export declare class WorkspaceEntity extends BaseEntity<WorkspaceEntityType> {
41154
41457
  */
41155
41458
  get __mj_UpdatedAt(): Date;
41156
41459
  /**
41460
+ * * Field Name: Configuration
41461
+ * * Display Name: Configuration
41462
+ * * SQL Data Type: nvarchar(MAX)
41463
+ * * Description: JSON blob containing all workspace state: tabs, layout configuration, theme preferences, and active tab. Replaces WorkspaceItem table.
41464
+ */
41465
+ get Configuration(): string | null;
41466
+ set Configuration(value: string | null);
41467
+ /**
41157
41468
  * * Field Name: User
41158
41469
  * * Display Name: User
41159
41470
  * * SQL Data Type: nvarchar(100)