@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.
- package/dist/engines/TypeTablesCache.d.ts.map +1 -0
- package/dist/engines/TypeTablesCache.js.map +1 -0
- package/dist/engines/artifacts.d.ts.map +1 -1
- package/dist/engines/artifacts.js +3 -0
- package/dist/engines/artifacts.js.map +1 -1
- package/dist/engines/dashboards.d.ts +22 -0
- package/dist/engines/dashboards.d.ts.map +1 -0
- package/dist/engines/dashboards.js +54 -0
- package/dist/engines/dashboards.js.map +1 -0
- package/dist/generated/entity_subclasses.d.ts +336 -25
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +524 -45
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/custom/TypeTablesCache.d.ts.map +0 -1
- package/dist/custom/TypeTablesCache.js.map +0 -1
- /package/dist/{custom → engines}/TypeTablesCache.d.ts +0 -0
- /package/dist/{custom → engines}/TypeTablesCache.js +0 -0
|
@@ -9,13 +9,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
exports.ContentSourceParamSchema = exports.ContentProcessRunSchema = exports.ContentItemSchema = exports.ContentItemTagSchema = exports.ContentItemAttributeSchema = exports.ContentFileTypeSchema = exports.CompanyIntegrationSchema = exports.CompanyIntegrationRunSchema = exports.CompanyIntegrationRunDetailSchema = exports.CompanyIntegrationRunAPILogSchema = exports.CompanyIntegrationRecordMapSchema = exports.CompanySchema = exports.CommunicationRunSchema = exports.CommunicationProviderSchema = exports.CommunicationProviderMessageTypeSchema = exports.CommunicationLogSchema = exports.CommunicationBaseMessageTypeSchema = exports.AuthorizationSchema = exports.AuthorizationRoleSchema = exports.AuditLogSchema = exports.AuditLogTypeSchema = exports.ApplicationSchema = exports.ApplicationSettingSchema = exports.ApplicationEntitySchema = exports.AIResultCacheSchema = exports.AIPromptSchema = exports.AIPromptTypeSchema = exports.AIPromptCategorySchema = exports.AIModelSchema = exports.AIModelTypeSchema = exports.AIModelActionSchema = exports.AIAgentSchema = exports.AIAgentRequestSchema = exports.AIAgentNoteSchema = exports.AIAgentNoteTypeSchema = exports.AIAgentModelSchema = exports.AIAgentLearningCycleSchema = exports.AIAgentActionSchema = exports.AIActionSchema = exports.ActionSchema = exports.ActionResultCodeSchema = exports.ActionParamSchema = exports.ActionLibrarySchema = exports.ActionFilterSchema = exports.ActionExecutionLogSchema = exports.ActionContextSchema = exports.ActionContextTypeSchema = exports.ActionCategorySchema = exports.ActionAuthorizationSchema = exports.loadModule = void 0;
|
|
10
10
|
exports.IntegrationSchema = exports.IntegrationURLFormatSchema = exports.GeneratedCodeSchema = exports.GeneratedCodeCategorySchema = exports.FileSchema = exports.FileStorageProviderSchema = exports.FileEntityRecordLinkSchema = exports.FileCategorySchema = exports.ExplorerNavigationItemSchema = exports.ErrorLogSchema = exports.EntitySettingSchema = exports.EntityRelationshipSchema = exports.EntityRelationshipDisplayComponentSchema = exports.EntityRecordDocumentSchema = exports.EntityPermissionSchema = exports.EntityFieldSchema = exports.EntityFieldValueSchema = exports.EntityDocumentSchema = exports.EntityDocumentTypeSchema = exports.EntityDocumentSettingSchema = exports.EntityDocumentRunSchema = exports.EntityCommunicationMessageTypeSchema = exports.EntityCommunicationFieldSchema = exports.EntityAIActionSchema = exports.EntityActionSchema = exports.EntityActionParamSchema = exports.EntityActionInvocationSchema = exports.EntityActionInvocationTypeSchema = exports.EntityActionFilterSchema = exports.EntitySchema = exports.EmployeeSchema = exports.EmployeeSkillSchema = exports.EmployeeRoleSchema = exports.EmployeeCompanyIntegrationSchema = exports.DuplicateRunSchema = exports.DuplicateRunDetailSchema = exports.DuplicateRunDetailMatchSchema = exports.DatasetSchema = exports.DatasetItemSchema = exports.DataContextSchema = exports.DataContextItemSchema = exports.DashboardSchema = exports.DashboardCategorySchema = exports.ConversationSchema = exports.ConversationDetailSchema = exports.ContentTypeSchema = exports.ContentTypeAttributeSchema = exports.ContentSourceSchema = exports.ContentSourceTypeSchema = exports.ContentSourceTypeParamSchema = void 0;
|
|
11
11
|
exports.DashboardUserStateSchema = exports.DashboardUserPreferenceSchema = exports.ConversationDetailRatingSchema = exports.ConversationDetailArtifactSchema = exports.ConversationArtifactSchema = exports.ConversationArtifactVersionSchema = exports.ConversationArtifactPermissionSchema = exports.ComponentSchema = exports.ComponentRegistrySchema = exports.ComponentLibraryLinkSchema = exports.ComponentLibrarySchema = exports.ComponentDependencySchema = exports.CollectionSchema = exports.CollectionPermissionSchema = exports.CollectionArtifactSchema = exports.ArtifactSchema = exports.ArtifactVersionSchema = exports.ArtifactVersionAttributeSchema = exports.ArtifactUseSchema = exports.ArtifactTypeSchema = exports.ArtifactPermissionSchema = exports.AIVendorSchema = exports.AIVendorTypeSchema = exports.AIVendorTypeDefinitionSchema = exports.AIPromptRunSchema = exports.AIPromptModelSchema = exports.AIModelVendorSchema = exports.AIModelPriceUnitTypeSchema = exports.AIModelPriceTypeSchema = exports.AIModelCostSchema = exports.AIConfigurationSchema = exports.AIConfigurationParamSchema = exports.AIAgentTypeSchema = exports.AIAgentStepSchema = exports.AIAgentStepPathSchema = exports.AIAgentRunSchema = exports.AIAgentRunStepSchema = exports.AIAgentRelationshipSchema = exports.AIAgentPromptSchema = exports.AIAgentPermissionSchema = exports.AIAgentExampleSchema = exports.AIAgentDataSourceSchema = exports.AIAgentConfigurationSchema = exports.AIAgentArtifactTypeSchema = exports.AccessControlRuleSchema = exports.ListSchema = exports.ListDetailSchema = exports.ListCategorySchema = exports.LibraryItemSchema = exports.LibrarySchema = void 0;
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.WorkspaceEntity = exports.WorkspaceItemEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.WorkflowEngineEntity = void 0;
|
|
12
|
+
exports.ScheduledActionParamSchema = exports.RowLevelSecurityFilterSchema = exports.RoleSchema = exports.ResourceTypeSchema = exports.ResourcePermissionSchema = exports.ResourceLinkSchema = exports.ReportSchema = exports.ReportSnapshotSchema = exports.ReportCategorySchema = exports.RecordMergeLogSchema = exports.RecordMergeDeletionLogSchema = exports.RecordChangeSchema = exports.RecordChangeReplayRunSchema = exports.RecommendationSchema = exports.RecommendationRunSchema = exports.RecommendationProviderSchema = exports.RecommendationItemSchema = exports.QueueSchema = exports.QueueTypeSchema = exports.QueueTaskSchema = exports.QueryPermissionSchema = exports.QueryFieldSchema = exports.QueryEntitySchema = exports.QueryCategorySchema = exports.QuerySchema = exports.OutputTriggerTypeSchema = exports.OutputFormatTypeSchema = exports.OutputDeliveryTypeSchema = exports.UserSettingSchema = exports.TestSchema = exports.TestTypeSchema = exports.TestSuiteSchema = exports.TestSuiteTestSchema = exports.TestSuiteRunSchema = exports.TestRunSchema = exports.TestRunFeedbackSchema = exports.TestRubricSchema = exports.TaskSchema = exports.TaskTypeSchema = exports.TaskDependencySchema = exports.ScheduledJobSchema = exports.ScheduledJobTypeSchema = exports.ScheduledJobRunSchema = exports.ReportVersionSchema = exports.ReportUserStateSchema = exports.RecordLinkSchema = exports.QueryParameterSchema = exports.PublicLinkSchema = exports.ProjectSchema = exports.EnvironmentSchema = void 0;
|
|
13
|
+
exports.AIModelEntity = exports.AIModelTypeEntity = exports.AIModelActionEntity = exports.AIAgentEntity = exports.AIAgentRequestEntity = exports.AIAgentNoteEntity = exports.AIAgentNoteTypeEntity = exports.AIAgentModelEntity = exports.AIAgentLearningCycleEntity = exports.AIAgentActionEntity = exports.AIActionEntity = exports.ActionEntity = exports.ActionResultCodeEntity = exports.ActionParamEntity = exports.ActionLibraryEntity = exports.ActionFilterEntity = exports.ActionExecutionLogEntity = exports.ActionContextEntity = exports.ActionContextTypeEntity = exports.ActionCategoryEntity = exports.ActionAuthorizationEntity = exports.WorkspaceSchema = exports.WorkspaceItemSchema = exports.WorkflowSchema = exports.WorkflowRunSchema = exports.WorkflowEngineSchema = exports.VersionInstallationSchema = exports.VectorIndexSchema = exports.VectorDatabaseSchema = exports.UserSchema = exports.UserViewSchema = exports.UserViewRunSchema = exports.UserViewRunDetailSchema = exports.UserViewCategorySchema = exports.UserRoleSchema = exports.UserRecordLogSchema = exports.UserNotificationSchema = exports.UserFavoriteSchema = exports.UserApplicationSchema = exports.UserApplicationEntitySchema = exports.TemplateSchema = exports.TemplateParamSchema = exports.TemplateContentSchema = exports.TemplateContentTypeSchema = exports.TemplateCategorySchema = exports.TagSchema = exports.TaggedItemSchema = exports.SkillSchema = exports.SchemaInfoSchema = exports.ScheduledActionSchema = void 0;
|
|
14
|
+
exports.EntityActionFilterEntity = exports.EntityEntity = exports.EmployeeEntity = exports.EmployeeSkillEntity = exports.EmployeeRoleEntity = exports.EmployeeCompanyIntegrationEntity = exports.DuplicateRunEntity = exports.DuplicateRunDetailEntity = exports.DuplicateRunDetailMatchEntity = exports.DatasetEntity = exports.DatasetItemEntity = exports.DataContextEntity = exports.DataContextItemEntity = exports.DashboardEntity = exports.DashboardCategoryEntity = exports.ConversationEntity = exports.ConversationDetailEntity = exports.ContentTypeEntity = exports.ContentTypeAttributeEntity = exports.ContentSourceEntity = exports.ContentSourceTypeEntity = exports.ContentSourceTypeParamEntity = exports.ContentSourceParamEntity = exports.ContentProcessRunEntity = exports.ContentItemEntity = exports.ContentItemTagEntity = exports.ContentItemAttributeEntity = exports.ContentFileTypeEntity = exports.CompanyIntegrationEntity = exports.CompanyIntegrationRunEntity = exports.CompanyIntegrationRunDetailEntity = exports.CompanyIntegrationRunAPILogEntity = exports.CompanyIntegrationRecordMapEntity = exports.CompanyEntity = exports.CommunicationRunEntity = exports.CommunicationProviderEntity = exports.CommunicationProviderMessageTypeEntity = exports.CommunicationLogEntity = exports.CommunicationBaseMessageTypeEntity = exports.AuthorizationEntity = exports.AuthorizationRoleEntity = exports.AuditLogEntity = exports.AuditLogTypeEntity = exports.ApplicationEntity = exports.ApplicationSettingEntity = exports.ApplicationEntityEntity = exports.AIResultCacheEntity = exports.AIPromptEntity = exports.AIPromptTypeEntity = exports.AIPromptCategoryEntity = void 0;
|
|
15
|
+
exports.AIModelPriceTypeEntity = exports.AIModelCostEntity = exports.AIConfigurationEntity = exports.AIConfigurationParamEntity = exports.AIAgentTypeEntity = exports.AIAgentStepEntity = exports.AIAgentStepPathEntity = exports.AIAgentRunEntity = exports.AIAgentRunStepEntity = exports.AIAgentRelationshipEntity = exports.AIAgentPromptEntity = exports.AIAgentPermissionEntity = exports.AIAgentExampleEntity = exports.AIAgentDataSourceEntity = exports.AIAgentConfigurationEntity = exports.AIAgentArtifactTypeEntity = exports.AccessControlRuleEntity = exports.ListEntity = exports.ListDetailEntity = exports.ListCategoryEntity = exports.LibraryItemEntity = exports.LibraryEntity = exports.IntegrationEntity = exports.IntegrationURLFormatEntity = exports.GeneratedCodeEntity = exports.GeneratedCodeCategoryEntity = exports.FileEntity = exports.FileStorageProviderEntity = exports.FileEntityRecordLinkEntity = exports.FileCategoryEntity = exports.ExplorerNavigationItemEntity = exports.ErrorLogEntity = exports.EntitySettingEntity = exports.EntityRelationshipEntity = exports.EntityRelationshipDisplayComponentEntity = exports.EntityRecordDocumentEntity = exports.EntityPermissionEntity = exports.EntityFieldEntity = exports.EntityFieldValueEntity = exports.EntityDocumentEntity = exports.EntityDocumentTypeEntity = exports.EntityDocumentSettingEntity = exports.EntityDocumentRunEntity = exports.EntityCommunicationMessageTypeEntity = exports.EntityCommunicationFieldEntity = exports.EntityAIActionEntity = exports.EntityActionEntity = exports.EntityActionParamEntity = exports.EntityActionInvocationEntity = exports.EntityActionInvocationTypeEntity = void 0;
|
|
16
|
+
exports.UserSettingEntity = exports.TestEntity = exports.TestTypeEntity = exports.TestSuiteEntity = exports.TestSuiteTestEntity = exports.TestSuiteRunEntity = exports.TestRunEntity = exports.TestRunFeedbackEntity = exports.TestRubricEntity = exports.TaskEntity = exports.TaskTypeEntity = exports.TaskDependencyEntity = exports.ScheduledJobEntity = exports.ScheduledJobTypeEntity = exports.ScheduledJobRunEntity = exports.ReportVersionEntity = exports.ReportUserStateEntity = exports.RecordLinkEntity = exports.QueryParameterEntity = exports.PublicLinkEntity = exports.ProjectEntity = exports.EnvironmentEntity = exports.DashboardUserStateEntity = exports.DashboardUserPreferenceEntity = exports.ConversationDetailRatingEntity = exports.ConversationDetailArtifactEntity = exports.ConversationArtifactEntity = exports.ConversationArtifactVersionEntity = exports.ConversationArtifactPermissionEntity = exports.ComponentEntity = exports.ComponentRegistryEntity = exports.ComponentLibraryLinkEntity = exports.ComponentLibraryEntity = exports.ComponentDependencyEntity = exports.CollectionEntity = exports.CollectionPermissionEntity = exports.CollectionArtifactEntity = exports.ArtifactEntity = exports.ArtifactVersionEntity = exports.ArtifactVersionAttributeEntity = exports.ArtifactUseEntity = exports.ArtifactTypeEntity = exports.ArtifactPermissionEntity = exports.AIVendorEntity = exports.AIVendorTypeEntity = exports.AIVendorTypeDefinitionEntity = exports.AIPromptRunEntity = exports.AIPromptModelEntity = exports.AIModelVendorEntity = exports.AIModelPriceUnitTypeEntity = void 0;
|
|
17
|
+
exports.VectorDatabaseEntity = exports.UserEntity = exports.UserViewEntity = exports.UserViewRunEntity = exports.UserViewRunDetailEntity = exports.UserViewCategoryEntity = exports.UserRoleEntity = exports.UserRecordLogEntity = exports.UserNotificationEntity = exports.UserFavoriteEntity = exports.UserApplicationEntity = exports.UserApplicationEntityEntity = exports.TemplateEntity = exports.TemplateParamEntity = exports.TemplateContentEntity = exports.TemplateContentTypeEntity = exports.TemplateCategoryEntity = exports.TagEntity = exports.TaggedItemEntity = exports.SkillEntity = exports.SchemaInfoEntity = exports.ScheduledActionEntity = exports.ScheduledActionParamEntity = exports.RowLevelSecurityFilterEntity = exports.RoleEntity = exports.ResourceTypeEntity = exports.ResourcePermissionEntity = exports.ResourceLinkEntity = exports.ReportEntity = exports.ReportSnapshotEntity = exports.ReportCategoryEntity = exports.RecordMergeLogEntity = exports.RecordMergeDeletionLogEntity = exports.RecordChangeEntity = exports.RecordChangeReplayRunEntity = exports.RecommendationEntity = exports.RecommendationRunEntity = exports.RecommendationProviderEntity = exports.RecommendationItemEntity = exports.QueueEntity = exports.QueueTypeEntity = exports.QueueTaskEntity = exports.QueryPermissionEntity = exports.QueryFieldEntity = exports.QueryEntityEntity = exports.QueryCategoryEntity = exports.QueryEntity = exports.OutputTriggerTypeEntity = exports.OutputFormatTypeEntity = exports.OutputDeliveryTypeEntity = void 0;
|
|
18
|
+
exports.WorkspaceEntity = exports.WorkspaceItemEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.WorkflowEngineEntity = exports.VersionInstallationEntity = exports.VectorIndexEntity = void 0;
|
|
19
19
|
const core_1 = require("@memberjunction/core");
|
|
20
20
|
const global_1 = require("@memberjunction/global");
|
|
21
21
|
const zod_1 = require("zod");
|
|
@@ -2398,13 +2398,16 @@ exports.ApplicationSettingSchema = zod_1.z.object({
|
|
|
2398
2398
|
exports.ApplicationSchema = zod_1.z.object({
|
|
2399
2399
|
ID: zod_1.z.string().describe(`
|
|
2400
2400
|
* * Field Name: ID
|
|
2401
|
+
* * Display Name: ID
|
|
2401
2402
|
* * SQL Data Type: uniqueidentifier
|
|
2402
2403
|
* * Default Value: newsequentialid()`),
|
|
2403
2404
|
Name: zod_1.z.string().describe(`
|
|
2404
2405
|
* * Field Name: Name
|
|
2406
|
+
* * Display Name: Name
|
|
2405
2407
|
* * SQL Data Type: nvarchar(100)`),
|
|
2406
2408
|
Description: zod_1.z.string().nullable().describe(`
|
|
2407
2409
|
* * Field Name: Description
|
|
2410
|
+
* * Display Name: Description
|
|
2408
2411
|
* * SQL Data Type: nvarchar(MAX)`),
|
|
2409
2412
|
Icon: zod_1.z.string().nullable().describe(`
|
|
2410
2413
|
* * Field Name: Icon
|
|
@@ -2419,12 +2422,12 @@ exports.ApplicationSchema = zod_1.z.object({
|
|
|
2419
2422
|
* * Description: If turned on, when a new user first uses the MJ Explorer app, the application records with this turned on will have this application included in their selected application list.`),
|
|
2420
2423
|
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
2421
2424
|
* * Field Name: __mj_CreatedAt
|
|
2422
|
-
* * Display Name:
|
|
2425
|
+
* * Display Name: Created At
|
|
2423
2426
|
* * SQL Data Type: datetimeoffset
|
|
2424
2427
|
* * Default Value: getutcdate()`),
|
|
2425
2428
|
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
2426
2429
|
* * Field Name: __mj_UpdatedAt
|
|
2427
|
-
* * Display Name:
|
|
2430
|
+
* * Display Name: Updated At
|
|
2428
2431
|
* * SQL Data Type: datetimeoffset
|
|
2429
2432
|
* * Default Value: getutcdate()`),
|
|
2430
2433
|
SchemaAutoAddNewEntities: zod_1.z.string().nullable().describe(`
|
|
@@ -2432,6 +2435,76 @@ exports.ApplicationSchema = zod_1.z.object({
|
|
|
2432
2435
|
* * Display Name: Schema Auto Add New Entities
|
|
2433
2436
|
* * SQL Data Type: nvarchar(MAX)
|
|
2434
2437
|
* * Description: Comma-delimited list of schema names where entities will be automatically added to the application when created in those schemas`),
|
|
2438
|
+
Color: zod_1.z.string().nullable().describe(`
|
|
2439
|
+
* * Field Name: Color
|
|
2440
|
+
* * Display Name: Color
|
|
2441
|
+
* * SQL Data Type: nvarchar(20)
|
|
2442
|
+
* * Description: Hex color code for visual theming (e.g., #4caf50)`),
|
|
2443
|
+
DefaultNavItems: zod_1.z.string().nullable().describe(`
|
|
2444
|
+
* * Field Name: DefaultNavItems
|
|
2445
|
+
* * Display Name: Default Nav Items
|
|
2446
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
2447
|
+
* * Description: JSON array of default navigation items for this application. Parsed by BaseApplication.GetNavItems()`),
|
|
2448
|
+
ClassName: zod_1.z.string().nullable().describe(`
|
|
2449
|
+
* * Field Name: ClassName
|
|
2450
|
+
* * Display Name: Class Name
|
|
2451
|
+
* * SQL Data Type: nvarchar(255)
|
|
2452
|
+
* * Description: TypeScript class name for ClassFactory registration (e.g., CRMApplication)`),
|
|
2453
|
+
DefaultSequence: zod_1.z.number().describe(`
|
|
2454
|
+
* * Field Name: DefaultSequence
|
|
2455
|
+
* * Display Name: Default Sequence
|
|
2456
|
+
* * SQL Data Type: int
|
|
2457
|
+
* * Default Value: 100
|
|
2458
|
+
* * Description: Default sequence position when adding this application to a new user's User Applications. Lower values appear first. Used when DefaultForNewUser is true.`),
|
|
2459
|
+
Status: zod_1.z.union([zod_1.z.literal('Active'), zod_1.z.literal('Deprecated'), zod_1.z.literal('Disabled'), zod_1.z.literal('Pending')]).describe(`
|
|
2460
|
+
* * Field Name: Status
|
|
2461
|
+
* * Display Name: Status
|
|
2462
|
+
* * SQL Data Type: nvarchar(20)
|
|
2463
|
+
* * Default Value: Active
|
|
2464
|
+
* * Value List Type: List
|
|
2465
|
+
* * Possible Values
|
|
2466
|
+
* * Active
|
|
2467
|
+
* * Deprecated
|
|
2468
|
+
* * Disabled
|
|
2469
|
+
* * Pending
|
|
2470
|
+
* * 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.`),
|
|
2471
|
+
NavigationStyle: zod_1.z.union([zod_1.z.literal('App Switcher'), zod_1.z.literal('Both'), zod_1.z.literal('Nav Bar')]).describe(`
|
|
2472
|
+
* * Field Name: NavigationStyle
|
|
2473
|
+
* * Display Name: Navigation Style
|
|
2474
|
+
* * SQL Data Type: nvarchar(20)
|
|
2475
|
+
* * Default Value: App Switcher
|
|
2476
|
+
* * Value List Type: List
|
|
2477
|
+
* * Possible Values
|
|
2478
|
+
* * App Switcher
|
|
2479
|
+
* * Both
|
|
2480
|
+
* * Nav Bar
|
|
2481
|
+
* * 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.`),
|
|
2482
|
+
TopNavLocation: zod_1.z.union([zod_1.z.literal('Left of App Switcher'), zod_1.z.literal('Left of User Menu')]).nullable().describe(`
|
|
2483
|
+
* * Field Name: TopNavLocation
|
|
2484
|
+
* * Display Name: Top Nav Location
|
|
2485
|
+
* * SQL Data Type: nvarchar(30)
|
|
2486
|
+
* * Value List Type: List
|
|
2487
|
+
* * Possible Values
|
|
2488
|
+
* * Left of App Switcher
|
|
2489
|
+
* * Left of User Menu
|
|
2490
|
+
* * 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.`),
|
|
2491
|
+
HideNavBarIconWhenActive: zod_1.z.boolean().describe(`
|
|
2492
|
+
* * Field Name: HideNavBarIconWhenActive
|
|
2493
|
+
* * Display Name: Hide Nav Bar Icon When Active
|
|
2494
|
+
* * SQL Data Type: bit
|
|
2495
|
+
* * Default Value: 0
|
|
2496
|
+
* * 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.`),
|
|
2497
|
+
Path: zod_1.z.string().describe(`
|
|
2498
|
+
* * Field Name: Path
|
|
2499
|
+
* * Display Name: Path
|
|
2500
|
+
* * SQL Data Type: nvarchar(100)
|
|
2501
|
+
* * 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.`),
|
|
2502
|
+
AutoUpdatePath: zod_1.z.boolean().describe(`
|
|
2503
|
+
* * Field Name: AutoUpdatePath
|
|
2504
|
+
* * Display Name: Auto Update Path
|
|
2505
|
+
* * SQL Data Type: bit
|
|
2506
|
+
* * Default Value: 1
|
|
2507
|
+
* * 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.`),
|
|
2435
2508
|
});
|
|
2436
2509
|
/**
|
|
2437
2510
|
* zod schema definition for the entity Audit Log Types
|
|
@@ -6106,20 +6179,23 @@ exports.EntityFieldValueSchema = zod_1.z.object({
|
|
|
6106
6179
|
exports.EntityFieldSchema = zod_1.z.object({
|
|
6107
6180
|
ID: zod_1.z.string().describe(`
|
|
6108
6181
|
* * Field Name: ID
|
|
6182
|
+
* * Display Name: ID
|
|
6109
6183
|
* * SQL Data Type: uniqueidentifier
|
|
6110
6184
|
* * Default Value: newsequentialid()`),
|
|
6111
6185
|
EntityID: zod_1.z.string().describe(`
|
|
6112
6186
|
* * Field Name: EntityID
|
|
6113
|
-
* * Display Name: Entity
|
|
6187
|
+
* * Display Name: Entity
|
|
6114
6188
|
* * SQL Data Type: uniqueidentifier
|
|
6115
6189
|
* * Related Entity/Foreign Key: Entities (vwEntities.ID)`),
|
|
6116
6190
|
Sequence: zod_1.z.number().describe(`
|
|
6117
6191
|
* * Field Name: Sequence
|
|
6192
|
+
* * Display Name: Sequence
|
|
6118
6193
|
* * SQL Data Type: int
|
|
6119
6194
|
* * Default Value: 0
|
|
6120
6195
|
* * Description: Display order of the field within the entity`),
|
|
6121
6196
|
Name: zod_1.z.string().describe(`
|
|
6122
6197
|
* * Field Name: Name
|
|
6198
|
+
* * Display Name: Name
|
|
6123
6199
|
* * SQL Data Type: nvarchar(255)
|
|
6124
6200
|
* * Description: Name of the field within the database table`),
|
|
6125
6201
|
DisplayName: zod_1.z.string().nullable().describe(`
|
|
@@ -6129,6 +6205,7 @@ exports.EntityFieldSchema = zod_1.z.object({
|
|
|
6129
6205
|
* * Description: A user friendly alternative to the field name`),
|
|
6130
6206
|
Description: zod_1.z.string().nullable().describe(`
|
|
6131
6207
|
* * Field Name: Description
|
|
6208
|
+
* * Display Name: Description
|
|
6132
6209
|
* * SQL Data Type: nvarchar(MAX)
|
|
6133
6210
|
* * Description: Descriptive text explaining the purpose of the field`),
|
|
6134
6211
|
AutoUpdateDescription: zod_1.z.boolean().describe(`
|
|
@@ -6139,13 +6216,13 @@ exports.EntityFieldSchema = zod_1.z.object({
|
|
|
6139
6216
|
* * Description: When set to 1 (default), whenever a description is modified in the column within the underlying view (first choice) or table (second choice), the Description column in the entity field definition will be automatically updated. If you never set metadata in the database directly, you can leave this alone. However, if you have metadata set in the database level for description, and you want to provide a DIFFERENT description in this entity field definition, turn this bit off and then set the Description field and future CodeGen runs will NOT override the Description field here.`),
|
|
6140
6217
|
IsPrimaryKey: zod_1.z.boolean().describe(`
|
|
6141
6218
|
* * Field Name: IsPrimaryKey
|
|
6142
|
-
* * Display Name:
|
|
6219
|
+
* * Display Name: Primary Key
|
|
6143
6220
|
* * SQL Data Type: bit
|
|
6144
6221
|
* * Default Value: 0
|
|
6145
6222
|
* * Description: Indicates if the field is part of the primary key for the entity (auto maintained by CodeGen)`),
|
|
6146
6223
|
IsUnique: zod_1.z.boolean().describe(`
|
|
6147
6224
|
* * Field Name: IsUnique
|
|
6148
|
-
* * Display Name:
|
|
6225
|
+
* * Display Name: Unique
|
|
6149
6226
|
* * SQL Data Type: bit
|
|
6150
6227
|
* * Default Value: 0
|
|
6151
6228
|
* * Description: Indicates if the field must have unique values within the entity.`),
|
|
@@ -6156,18 +6233,22 @@ exports.EntityFieldSchema = zod_1.z.object({
|
|
|
6156
6233
|
* * Description: Used for generating custom tabs in the generated forms, only utilized if GeneratedFormSection=Category`),
|
|
6157
6234
|
Type: zod_1.z.string().describe(`
|
|
6158
6235
|
* * Field Name: Type
|
|
6236
|
+
* * Display Name: Type
|
|
6159
6237
|
* * SQL Data Type: nvarchar(100)
|
|
6160
6238
|
* * Description: SQL Data type (auto maintained by CodeGen)`),
|
|
6161
6239
|
Length: zod_1.z.number().nullable().describe(`
|
|
6162
6240
|
* * Field Name: Length
|
|
6241
|
+
* * Display Name: Length
|
|
6163
6242
|
* * SQL Data Type: int
|
|
6164
6243
|
* * Description: SQL data length (auto maintained by CodeGen)`),
|
|
6165
6244
|
Precision: zod_1.z.number().nullable().describe(`
|
|
6166
6245
|
* * Field Name: Precision
|
|
6246
|
+
* * Display Name: Precision
|
|
6167
6247
|
* * SQL Data Type: int
|
|
6168
6248
|
* * Description: SQL precision (auto maintained by CodeGen)`),
|
|
6169
6249
|
Scale: zod_1.z.number().nullable().describe(`
|
|
6170
6250
|
* * Field Name: Scale
|
|
6251
|
+
* * Display Name: Scale
|
|
6171
6252
|
* * SQL Data Type: int
|
|
6172
6253
|
* * Description: SQL scale (auto maintained by CodeGen)`),
|
|
6173
6254
|
AllowsNull: zod_1.z.boolean().describe(`
|
|
@@ -6295,19 +6376,19 @@ exports.EntityFieldSchema = zod_1.z.object({
|
|
|
6295
6376
|
* * Description: When set to Top, the field will be placed in a "top area" on the top of a generated form and visible regardless of which tab is displayed. When set to "category" Options: Top, Category, Details`),
|
|
6296
6377
|
IsVirtual: zod_1.z.boolean().describe(`
|
|
6297
6378
|
* * Field Name: IsVirtual
|
|
6298
|
-
* * Display Name:
|
|
6379
|
+
* * Display Name: Virtual
|
|
6299
6380
|
* * SQL Data Type: bit
|
|
6300
6381
|
* * Default Value: 0
|
|
6301
6382
|
* * Description: NULL`),
|
|
6302
6383
|
IsNameField: zod_1.z.boolean().describe(`
|
|
6303
6384
|
* * Field Name: IsNameField
|
|
6304
|
-
* * Display Name:
|
|
6385
|
+
* * Display Name: Name Field
|
|
6305
6386
|
* * SQL Data Type: bit
|
|
6306
6387
|
* * Default Value: 0
|
|
6307
6388
|
* * 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.`),
|
|
6308
6389
|
RelatedEntityID: zod_1.z.string().nullable().describe(`
|
|
6309
6390
|
* * Field Name: RelatedEntityID
|
|
6310
|
-
* * Display Name:
|
|
6391
|
+
* * Display Name: Related Entity
|
|
6311
6392
|
* * SQL Data Type: uniqueidentifier
|
|
6312
6393
|
* * Related Entity/Foreign Key: Entities (vwEntities.ID)`),
|
|
6313
6394
|
RelatedEntityFieldName: zod_1.z.string().nullable().describe(`
|
|
@@ -6334,17 +6415,17 @@ exports.EntityFieldSchema = zod_1.z.object({
|
|
|
6334
6415
|
* * Description: Controls the generated form in the MJ Explorer UI - defaults to a search box, other option is a drop down. Possible values are Search and Dropdown`),
|
|
6335
6416
|
EntityIDFieldName: zod_1.z.string().nullable().describe(`
|
|
6336
6417
|
* * Field Name: EntityIDFieldName
|
|
6337
|
-
* * Display Name: Entity
|
|
6418
|
+
* * Display Name: Entity ID Field Name
|
|
6338
6419
|
* * SQL Data Type: nvarchar(100)
|
|
6339
6420
|
* * 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.`),
|
|
6340
6421
|
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
6341
6422
|
* * Field Name: __mj_CreatedAt
|
|
6342
|
-
* * Display Name:
|
|
6423
|
+
* * Display Name: Created At
|
|
6343
6424
|
* * SQL Data Type: datetimeoffset
|
|
6344
6425
|
* * Default Value: getutcdate()`),
|
|
6345
6426
|
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
6346
6427
|
* * Field Name: __mj_UpdatedAt
|
|
6347
|
-
* * Display Name:
|
|
6428
|
+
* * Display Name: Updated At
|
|
6348
6429
|
* * SQL Data Type: datetimeoffset
|
|
6349
6430
|
* * Default Value: getutcdate()`),
|
|
6350
6431
|
ScopeDefault: zod_1.z.string().nullable().describe(`
|
|
@@ -6398,12 +6479,25 @@ exports.EntityFieldSchema = zod_1.z.object({
|
|
|
6398
6479
|
* * SQL Data Type: bit
|
|
6399
6480
|
* * Default Value: 1
|
|
6400
6481
|
* * Description: When 1, allows system/LLM to auto-update Category; when 0, user has locked this field`),
|
|
6482
|
+
AutoUpdateDisplayName: zod_1.z.boolean().describe(`
|
|
6483
|
+
* * Field Name: AutoUpdateDisplayName
|
|
6484
|
+
* * Display Name: Auto Update Display Name
|
|
6485
|
+
* * SQL Data Type: bit
|
|
6486
|
+
* * Default Value: 1
|
|
6487
|
+
* * Description: When 1, allows system/LLM to auto-update DisplayName during CodeGen; when 0, user has locked this field`),
|
|
6488
|
+
AutoUpdateIncludeInUserSearchAPI: zod_1.z.boolean().describe(`
|
|
6489
|
+
* * Field Name: AutoUpdateIncludeInUserSearchAPI
|
|
6490
|
+
* * Display Name: Auto Update Include In User Search API
|
|
6491
|
+
* * SQL Data Type: bit
|
|
6492
|
+
* * Default Value: 1
|
|
6493
|
+
* * Description: When 1, allows system/LLM to auto-update IncludeInUserSearchAPI during CodeGen; when 0, user has locked this field`),
|
|
6401
6494
|
FieldCodeName: zod_1.z.string().nullable().describe(`
|
|
6402
6495
|
* * Field Name: FieldCodeName
|
|
6403
6496
|
* * Display Name: Field Code Name
|
|
6404
6497
|
* * SQL Data Type: nvarchar(MAX)`),
|
|
6405
6498
|
Entity: zod_1.z.string().describe(`
|
|
6406
6499
|
* * Field Name: Entity
|
|
6500
|
+
* * Display Name: Entity
|
|
6407
6501
|
* * SQL Data Type: nvarchar(255)`),
|
|
6408
6502
|
SchemaName: zod_1.z.string().describe(`
|
|
6409
6503
|
* * Field Name: SchemaName
|
|
@@ -13422,6 +13516,46 @@ exports.TestSchema = zod_1.z.object({
|
|
|
13422
13516
|
* * Display Name: Type
|
|
13423
13517
|
* * SQL Data Type: nvarchar(100)`),
|
|
13424
13518
|
});
|
|
13519
|
+
/**
|
|
13520
|
+
* zod schema definition for the entity MJ: User Settings
|
|
13521
|
+
*/
|
|
13522
|
+
exports.UserSettingSchema = zod_1.z.object({
|
|
13523
|
+
ID: zod_1.z.string().describe(`
|
|
13524
|
+
* * Field Name: ID
|
|
13525
|
+
* * Display Name: ID
|
|
13526
|
+
* * SQL Data Type: uniqueidentifier
|
|
13527
|
+
* * Default Value: newsequentialid()`),
|
|
13528
|
+
UserID: zod_1.z.string().describe(`
|
|
13529
|
+
* * Field Name: UserID
|
|
13530
|
+
* * Display Name: User ID
|
|
13531
|
+
* * SQL Data Type: uniqueidentifier
|
|
13532
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
13533
|
+
* * Description: The user this setting belongs to.`),
|
|
13534
|
+
Setting: zod_1.z.string().describe(`
|
|
13535
|
+
* * Field Name: Setting
|
|
13536
|
+
* * Display Name: Setting
|
|
13537
|
+
* * SQL Data Type: nvarchar(255)
|
|
13538
|
+
* * Description: The setting key/name. Use namespaced keys like "DataExplorer.ViewMode" or "Dashboard.AI.CollapsedSections" to avoid collisions.`),
|
|
13539
|
+
Value: zod_1.z.string().nullable().describe(`
|
|
13540
|
+
* * Field Name: Value
|
|
13541
|
+
* * Display Name: Value
|
|
13542
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
13543
|
+
* * Description: The setting value. Can be simple text, numbers, booleans, or JSON for complex configuration objects.`),
|
|
13544
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
13545
|
+
* * Field Name: __mj_CreatedAt
|
|
13546
|
+
* * Display Name: Created At
|
|
13547
|
+
* * SQL Data Type: datetimeoffset
|
|
13548
|
+
* * Default Value: getutcdate()`),
|
|
13549
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
13550
|
+
* * Field Name: __mj_UpdatedAt
|
|
13551
|
+
* * Display Name: Updated At
|
|
13552
|
+
* * SQL Data Type: datetimeoffset
|
|
13553
|
+
* * Default Value: getutcdate()`),
|
|
13554
|
+
User: zod_1.z.string().describe(`
|
|
13555
|
+
* * Field Name: User
|
|
13556
|
+
* * Display Name: User
|
|
13557
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
13558
|
+
});
|
|
13425
13559
|
/**
|
|
13426
13560
|
* zod schema definition for the entity Output Delivery Types
|
|
13427
13561
|
*/
|
|
@@ -15060,6 +15194,11 @@ exports.ResourceTypeSchema = zod_1.z.object({
|
|
|
15060
15194
|
* * SQL Data Type: uniqueidentifier
|
|
15061
15195
|
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
15062
15196
|
* * Description: Nullable foreign key to the ID column in Entities entity, representing the category entity. ASSUMPTION: If provided, the assumption is there is a self-referencing/recursive foreign key establishing a hierarchy within the Category Entity, commonly called ParentID, but it can be named anything.`),
|
|
15197
|
+
DriverClass: zod_1.z.string().nullable().describe(`
|
|
15198
|
+
* * Field Name: DriverClass
|
|
15199
|
+
* * Display Name: Driver Class
|
|
15200
|
+
* * SQL Data Type: nvarchar(255)
|
|
15201
|
+
* * Description: The Angular component class name to instantiate for this resource type. NULL for Custom resource type (uses NavItem DriverClass instead).`),
|
|
15063
15202
|
Entity: zod_1.z.string().nullable().describe(`
|
|
15064
15203
|
* * Field Name: Entity
|
|
15065
15204
|
* * Display Name: Entity
|
|
@@ -16260,38 +16399,41 @@ exports.UserViewRunSchema = zod_1.z.object({
|
|
|
16260
16399
|
exports.UserViewSchema = zod_1.z.object({
|
|
16261
16400
|
ID: zod_1.z.string().describe(`
|
|
16262
16401
|
* * Field Name: ID
|
|
16402
|
+
* * Display Name: ID
|
|
16263
16403
|
* * SQL Data Type: uniqueidentifier
|
|
16264
16404
|
* * Default Value: newsequentialid()`),
|
|
16265
16405
|
UserID: zod_1.z.string().describe(`
|
|
16266
16406
|
* * Field Name: UserID
|
|
16267
|
-
* * Display Name: User
|
|
16407
|
+
* * Display Name: User
|
|
16268
16408
|
* * SQL Data Type: uniqueidentifier
|
|
16269
16409
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)`),
|
|
16270
16410
|
EntityID: zod_1.z.string().describe(`
|
|
16271
16411
|
* * Field Name: EntityID
|
|
16272
|
-
* * Display Name: Entity
|
|
16412
|
+
* * Display Name: Entity
|
|
16273
16413
|
* * SQL Data Type: uniqueidentifier
|
|
16274
16414
|
* * Related Entity/Foreign Key: Entities (vwEntities.ID)`),
|
|
16275
16415
|
Name: zod_1.z.string().describe(`
|
|
16276
16416
|
* * Field Name: Name
|
|
16417
|
+
* * Display Name: Name
|
|
16277
16418
|
* * SQL Data Type: nvarchar(100)`),
|
|
16278
16419
|
Description: zod_1.z.string().nullable().describe(`
|
|
16279
16420
|
* * Field Name: Description
|
|
16421
|
+
* * Display Name: Description
|
|
16280
16422
|
* * SQL Data Type: nvarchar(MAX)`),
|
|
16281
16423
|
CategoryID: zod_1.z.string().nullable().describe(`
|
|
16282
16424
|
* * Field Name: CategoryID
|
|
16283
|
-
* * Display Name: Category
|
|
16425
|
+
* * Display Name: Category
|
|
16284
16426
|
* * SQL Data Type: uniqueidentifier
|
|
16285
16427
|
* * Related Entity/Foreign Key: User View Categories (vwUserViewCategories.ID)`),
|
|
16286
16428
|
IsShared: zod_1.z.boolean().describe(`
|
|
16287
16429
|
* * Field Name: IsShared
|
|
16288
|
-
* * Display Name:
|
|
16430
|
+
* * Display Name: Shared
|
|
16289
16431
|
* * SQL Data Type: bit
|
|
16290
16432
|
* * Default Value: 0
|
|
16291
16433
|
* * Description: Whether this view is shared with other users.`),
|
|
16292
16434
|
IsDefault: zod_1.z.boolean().describe(`
|
|
16293
16435
|
* * Field Name: IsDefault
|
|
16294
|
-
* * Display Name:
|
|
16436
|
+
* * Display Name: Default
|
|
16295
16437
|
* * SQL Data Type: bit
|
|
16296
16438
|
* * Default Value: 0
|
|
16297
16439
|
* * Description: Whether this is the user's default view for the entity.`),
|
|
@@ -16307,7 +16449,7 @@ exports.UserViewSchema = zod_1.z.object({
|
|
|
16307
16449
|
* * Description: JSON storing the view's filter configuration.`),
|
|
16308
16450
|
CustomFilterState: zod_1.z.boolean().describe(`
|
|
16309
16451
|
* * Field Name: CustomFilterState
|
|
16310
|
-
* * Display Name: Custom Filter
|
|
16452
|
+
* * Display Name: Custom Filter
|
|
16311
16453
|
* * SQL Data Type: bit
|
|
16312
16454
|
* * Default Value: 0
|
|
16313
16455
|
* * Description: Indicates if custom filters beyond standard options are applied.`),
|
|
@@ -16350,12 +16492,12 @@ exports.UserViewSchema = zod_1.z.object({
|
|
|
16350
16492
|
* * Description: JSON storing the view's sort configuration.`),
|
|
16351
16493
|
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
16352
16494
|
* * Field Name: __mj_CreatedAt
|
|
16353
|
-
* * Display Name:
|
|
16495
|
+
* * Display Name: Created At
|
|
16354
16496
|
* * SQL Data Type: datetimeoffset
|
|
16355
16497
|
* * Default Value: getutcdate()`),
|
|
16356
16498
|
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
16357
16499
|
* * Field Name: __mj_UpdatedAt
|
|
16358
|
-
* * Display Name:
|
|
16500
|
+
* * Display Name: Updated At
|
|
16359
16501
|
* * SQL Data Type: datetimeoffset
|
|
16360
16502
|
* * Default Value: getutcdate()`),
|
|
16361
16503
|
Thumbnail: zod_1.z.string().nullable().describe(`
|
|
@@ -16363,6 +16505,11 @@ exports.UserViewSchema = zod_1.z.object({
|
|
|
16363
16505
|
* * Display Name: Thumbnail
|
|
16364
16506
|
* * SQL Data Type: nvarchar(MAX)
|
|
16365
16507
|
* * Description: Thumbnail image for the user view that can be displayed in gallery views. Can contain either a URL to an image file or a Base64-encoded image string.`),
|
|
16508
|
+
CardState: zod_1.z.string().nullable().describe(`
|
|
16509
|
+
* * Field Name: CardState
|
|
16510
|
+
* * Display Name: Card State
|
|
16511
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
16512
|
+
* * 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.`),
|
|
16366
16513
|
UserName: zod_1.z.string().describe(`
|
|
16367
16514
|
* * Field Name: UserName
|
|
16368
16515
|
* * Display Name: User Name
|
|
@@ -16913,6 +17060,11 @@ exports.WorkspaceSchema = zod_1.z.object({
|
|
|
16913
17060
|
* * Display Name: Updated At
|
|
16914
17061
|
* * SQL Data Type: datetimeoffset
|
|
16915
17062
|
* * Default Value: getutcdate()`),
|
|
17063
|
+
Configuration: zod_1.z.string().nullable().describe(`
|
|
17064
|
+
* * Field Name: Configuration
|
|
17065
|
+
* * Display Name: Configuration
|
|
17066
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
17067
|
+
* * Description: JSON blob containing all workspace state: tabs, layout configuration, theme preferences, and active tab. Replaces WorkspaceItem table.`),
|
|
16916
17068
|
User: zod_1.z.string().describe(`
|
|
16917
17069
|
* * Field Name: User
|
|
16918
17070
|
* * Display Name: User
|
|
@@ -22878,6 +23030,7 @@ let ApplicationEntity = class ApplicationEntity extends core_1.BaseEntity {
|
|
|
22878
23030
|
}
|
|
22879
23031
|
/**
|
|
22880
23032
|
* * Field Name: ID
|
|
23033
|
+
* * Display Name: ID
|
|
22881
23034
|
* * SQL Data Type: uniqueidentifier
|
|
22882
23035
|
* * Default Value: newsequentialid()
|
|
22883
23036
|
*/
|
|
@@ -22889,6 +23042,7 @@ let ApplicationEntity = class ApplicationEntity extends core_1.BaseEntity {
|
|
|
22889
23042
|
}
|
|
22890
23043
|
/**
|
|
22891
23044
|
* * Field Name: Name
|
|
23045
|
+
* * Display Name: Name
|
|
22892
23046
|
* * SQL Data Type: nvarchar(100)
|
|
22893
23047
|
*/
|
|
22894
23048
|
get Name() {
|
|
@@ -22899,6 +23053,7 @@ let ApplicationEntity = class ApplicationEntity extends core_1.BaseEntity {
|
|
|
22899
23053
|
}
|
|
22900
23054
|
/**
|
|
22901
23055
|
* * Field Name: Description
|
|
23056
|
+
* * Display Name: Description
|
|
22902
23057
|
* * SQL Data Type: nvarchar(MAX)
|
|
22903
23058
|
*/
|
|
22904
23059
|
get Description() {
|
|
@@ -22934,7 +23089,7 @@ let ApplicationEntity = class ApplicationEntity extends core_1.BaseEntity {
|
|
|
22934
23089
|
}
|
|
22935
23090
|
/**
|
|
22936
23091
|
* * Field Name: __mj_CreatedAt
|
|
22937
|
-
* * Display Name:
|
|
23092
|
+
* * Display Name: Created At
|
|
22938
23093
|
* * SQL Data Type: datetimeoffset
|
|
22939
23094
|
* * Default Value: getutcdate()
|
|
22940
23095
|
*/
|
|
@@ -22943,7 +23098,7 @@ let ApplicationEntity = class ApplicationEntity extends core_1.BaseEntity {
|
|
|
22943
23098
|
}
|
|
22944
23099
|
/**
|
|
22945
23100
|
* * Field Name: __mj_UpdatedAt
|
|
22946
|
-
* * Display Name:
|
|
23101
|
+
* * Display Name: Updated At
|
|
22947
23102
|
* * SQL Data Type: datetimeoffset
|
|
22948
23103
|
* * Default Value: getutcdate()
|
|
22949
23104
|
*/
|
|
@@ -22962,6 +23117,146 @@ let ApplicationEntity = class ApplicationEntity extends core_1.BaseEntity {
|
|
|
22962
23117
|
set SchemaAutoAddNewEntities(value) {
|
|
22963
23118
|
this.Set('SchemaAutoAddNewEntities', value);
|
|
22964
23119
|
}
|
|
23120
|
+
/**
|
|
23121
|
+
* * Field Name: Color
|
|
23122
|
+
* * Display Name: Color
|
|
23123
|
+
* * SQL Data Type: nvarchar(20)
|
|
23124
|
+
* * Description: Hex color code for visual theming (e.g., #4caf50)
|
|
23125
|
+
*/
|
|
23126
|
+
get Color() {
|
|
23127
|
+
return this.Get('Color');
|
|
23128
|
+
}
|
|
23129
|
+
set Color(value) {
|
|
23130
|
+
this.Set('Color', value);
|
|
23131
|
+
}
|
|
23132
|
+
/**
|
|
23133
|
+
* * Field Name: DefaultNavItems
|
|
23134
|
+
* * Display Name: Default Nav Items
|
|
23135
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
23136
|
+
* * Description: JSON array of default navigation items for this application. Parsed by BaseApplication.GetNavItems()
|
|
23137
|
+
*/
|
|
23138
|
+
get DefaultNavItems() {
|
|
23139
|
+
return this.Get('DefaultNavItems');
|
|
23140
|
+
}
|
|
23141
|
+
set DefaultNavItems(value) {
|
|
23142
|
+
this.Set('DefaultNavItems', value);
|
|
23143
|
+
}
|
|
23144
|
+
/**
|
|
23145
|
+
* * Field Name: ClassName
|
|
23146
|
+
* * Display Name: Class Name
|
|
23147
|
+
* * SQL Data Type: nvarchar(255)
|
|
23148
|
+
* * Description: TypeScript class name for ClassFactory registration (e.g., CRMApplication)
|
|
23149
|
+
*/
|
|
23150
|
+
get ClassName() {
|
|
23151
|
+
return this.Get('ClassName');
|
|
23152
|
+
}
|
|
23153
|
+
set ClassName(value) {
|
|
23154
|
+
this.Set('ClassName', value);
|
|
23155
|
+
}
|
|
23156
|
+
/**
|
|
23157
|
+
* * Field Name: DefaultSequence
|
|
23158
|
+
* * Display Name: Default Sequence
|
|
23159
|
+
* * SQL Data Type: int
|
|
23160
|
+
* * Default Value: 100
|
|
23161
|
+
* * Description: Default sequence position when adding this application to a new user's User Applications. Lower values appear first. Used when DefaultForNewUser is true.
|
|
23162
|
+
*/
|
|
23163
|
+
get DefaultSequence() {
|
|
23164
|
+
return this.Get('DefaultSequence');
|
|
23165
|
+
}
|
|
23166
|
+
set DefaultSequence(value) {
|
|
23167
|
+
this.Set('DefaultSequence', value);
|
|
23168
|
+
}
|
|
23169
|
+
/**
|
|
23170
|
+
* * Field Name: Status
|
|
23171
|
+
* * Display Name: Status
|
|
23172
|
+
* * SQL Data Type: nvarchar(20)
|
|
23173
|
+
* * Default Value: Active
|
|
23174
|
+
* * Value List Type: List
|
|
23175
|
+
* * Possible Values
|
|
23176
|
+
* * Active
|
|
23177
|
+
* * Deprecated
|
|
23178
|
+
* * Disabled
|
|
23179
|
+
* * Pending
|
|
23180
|
+
* * 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.
|
|
23181
|
+
*/
|
|
23182
|
+
get Status() {
|
|
23183
|
+
return this.Get('Status');
|
|
23184
|
+
}
|
|
23185
|
+
set Status(value) {
|
|
23186
|
+
this.Set('Status', value);
|
|
23187
|
+
}
|
|
23188
|
+
/**
|
|
23189
|
+
* * Field Name: NavigationStyle
|
|
23190
|
+
* * Display Name: Navigation Style
|
|
23191
|
+
* * SQL Data Type: nvarchar(20)
|
|
23192
|
+
* * Default Value: App Switcher
|
|
23193
|
+
* * Value List Type: List
|
|
23194
|
+
* * Possible Values
|
|
23195
|
+
* * App Switcher
|
|
23196
|
+
* * Both
|
|
23197
|
+
* * Nav Bar
|
|
23198
|
+
* * 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.
|
|
23199
|
+
*/
|
|
23200
|
+
get NavigationStyle() {
|
|
23201
|
+
return this.Get('NavigationStyle');
|
|
23202
|
+
}
|
|
23203
|
+
set NavigationStyle(value) {
|
|
23204
|
+
this.Set('NavigationStyle', value);
|
|
23205
|
+
}
|
|
23206
|
+
/**
|
|
23207
|
+
* * Field Name: TopNavLocation
|
|
23208
|
+
* * Display Name: Top Nav Location
|
|
23209
|
+
* * SQL Data Type: nvarchar(30)
|
|
23210
|
+
* * Value List Type: List
|
|
23211
|
+
* * Possible Values
|
|
23212
|
+
* * Left of App Switcher
|
|
23213
|
+
* * Left of User Menu
|
|
23214
|
+
* * 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.
|
|
23215
|
+
*/
|
|
23216
|
+
get TopNavLocation() {
|
|
23217
|
+
return this.Get('TopNavLocation');
|
|
23218
|
+
}
|
|
23219
|
+
set TopNavLocation(value) {
|
|
23220
|
+
this.Set('TopNavLocation', value);
|
|
23221
|
+
}
|
|
23222
|
+
/**
|
|
23223
|
+
* * Field Name: HideNavBarIconWhenActive
|
|
23224
|
+
* * Display Name: Hide Nav Bar Icon When Active
|
|
23225
|
+
* * SQL Data Type: bit
|
|
23226
|
+
* * Default Value: 0
|
|
23227
|
+
* * 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.
|
|
23228
|
+
*/
|
|
23229
|
+
get HideNavBarIconWhenActive() {
|
|
23230
|
+
return this.Get('HideNavBarIconWhenActive');
|
|
23231
|
+
}
|
|
23232
|
+
set HideNavBarIconWhenActive(value) {
|
|
23233
|
+
this.Set('HideNavBarIconWhenActive', value);
|
|
23234
|
+
}
|
|
23235
|
+
/**
|
|
23236
|
+
* * Field Name: Path
|
|
23237
|
+
* * Display Name: Path
|
|
23238
|
+
* * SQL Data Type: nvarchar(100)
|
|
23239
|
+
* * 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.
|
|
23240
|
+
*/
|
|
23241
|
+
get Path() {
|
|
23242
|
+
return this.Get('Path');
|
|
23243
|
+
}
|
|
23244
|
+
set Path(value) {
|
|
23245
|
+
this.Set('Path', value);
|
|
23246
|
+
}
|
|
23247
|
+
/**
|
|
23248
|
+
* * Field Name: AutoUpdatePath
|
|
23249
|
+
* * Display Name: Auto Update Path
|
|
23250
|
+
* * SQL Data Type: bit
|
|
23251
|
+
* * Default Value: 1
|
|
23252
|
+
* * 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.
|
|
23253
|
+
*/
|
|
23254
|
+
get AutoUpdatePath() {
|
|
23255
|
+
return this.Get('AutoUpdatePath');
|
|
23256
|
+
}
|
|
23257
|
+
set AutoUpdatePath(value) {
|
|
23258
|
+
this.Set('AutoUpdatePath', value);
|
|
23259
|
+
}
|
|
22965
23260
|
};
|
|
22966
23261
|
exports.ApplicationEntity = ApplicationEntity;
|
|
22967
23262
|
exports.ApplicationEntity = ApplicationEntity = __decorate([
|
|
@@ -32322,6 +32617,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32322
32617
|
}
|
|
32323
32618
|
/**
|
|
32324
32619
|
* * Field Name: ID
|
|
32620
|
+
* * Display Name: ID
|
|
32325
32621
|
* * SQL Data Type: uniqueidentifier
|
|
32326
32622
|
* * Default Value: newsequentialid()
|
|
32327
32623
|
*/
|
|
@@ -32333,7 +32629,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32333
32629
|
}
|
|
32334
32630
|
/**
|
|
32335
32631
|
* * Field Name: EntityID
|
|
32336
|
-
* * Display Name: Entity
|
|
32632
|
+
* * Display Name: Entity
|
|
32337
32633
|
* * SQL Data Type: uniqueidentifier
|
|
32338
32634
|
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
32339
32635
|
*/
|
|
@@ -32342,6 +32638,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32342
32638
|
}
|
|
32343
32639
|
/**
|
|
32344
32640
|
* * Field Name: Sequence
|
|
32641
|
+
* * Display Name: Sequence
|
|
32345
32642
|
* * SQL Data Type: int
|
|
32346
32643
|
* * Default Value: 0
|
|
32347
32644
|
* * Description: Display order of the field within the entity
|
|
@@ -32351,6 +32648,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32351
32648
|
}
|
|
32352
32649
|
/**
|
|
32353
32650
|
* * Field Name: Name
|
|
32651
|
+
* * Display Name: Name
|
|
32354
32652
|
* * SQL Data Type: nvarchar(255)
|
|
32355
32653
|
* * Description: Name of the field within the database table
|
|
32356
32654
|
*/
|
|
@@ -32371,6 +32669,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32371
32669
|
}
|
|
32372
32670
|
/**
|
|
32373
32671
|
* * Field Name: Description
|
|
32672
|
+
* * Display Name: Description
|
|
32374
32673
|
* * SQL Data Type: nvarchar(MAX)
|
|
32375
32674
|
* * Description: Descriptive text explaining the purpose of the field
|
|
32376
32675
|
*/
|
|
@@ -32395,7 +32694,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32395
32694
|
}
|
|
32396
32695
|
/**
|
|
32397
32696
|
* * Field Name: IsPrimaryKey
|
|
32398
|
-
* * Display Name:
|
|
32697
|
+
* * Display Name: Primary Key
|
|
32399
32698
|
* * SQL Data Type: bit
|
|
32400
32699
|
* * Default Value: 0
|
|
32401
32700
|
* * Description: Indicates if the field is part of the primary key for the entity (auto maintained by CodeGen)
|
|
@@ -32408,7 +32707,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32408
32707
|
}
|
|
32409
32708
|
/**
|
|
32410
32709
|
* * Field Name: IsUnique
|
|
32411
|
-
* * Display Name:
|
|
32710
|
+
* * Display Name: Unique
|
|
32412
32711
|
* * SQL Data Type: bit
|
|
32413
32712
|
* * Default Value: 0
|
|
32414
32713
|
* * Description: Indicates if the field must have unique values within the entity.
|
|
@@ -32433,6 +32732,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32433
32732
|
}
|
|
32434
32733
|
/**
|
|
32435
32734
|
* * Field Name: Type
|
|
32735
|
+
* * Display Name: Type
|
|
32436
32736
|
* * SQL Data Type: nvarchar(100)
|
|
32437
32737
|
* * Description: SQL Data type (auto maintained by CodeGen)
|
|
32438
32738
|
*/
|
|
@@ -32441,6 +32741,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32441
32741
|
}
|
|
32442
32742
|
/**
|
|
32443
32743
|
* * Field Name: Length
|
|
32744
|
+
* * Display Name: Length
|
|
32444
32745
|
* * SQL Data Type: int
|
|
32445
32746
|
* * Description: SQL data length (auto maintained by CodeGen)
|
|
32446
32747
|
*/
|
|
@@ -32449,6 +32750,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32449
32750
|
}
|
|
32450
32751
|
/**
|
|
32451
32752
|
* * Field Name: Precision
|
|
32753
|
+
* * Display Name: Precision
|
|
32452
32754
|
* * SQL Data Type: int
|
|
32453
32755
|
* * Description: SQL precision (auto maintained by CodeGen)
|
|
32454
32756
|
*/
|
|
@@ -32457,6 +32759,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32457
32759
|
}
|
|
32458
32760
|
/**
|
|
32459
32761
|
* * Field Name: Scale
|
|
32762
|
+
* * Display Name: Scale
|
|
32460
32763
|
* * SQL Data Type: int
|
|
32461
32764
|
* * Description: SQL scale (auto maintained by CodeGen)
|
|
32462
32765
|
*/
|
|
@@ -32691,7 +32994,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32691
32994
|
}
|
|
32692
32995
|
/**
|
|
32693
32996
|
* * Field Name: IsVirtual
|
|
32694
|
-
* * Display Name:
|
|
32997
|
+
* * Display Name: Virtual
|
|
32695
32998
|
* * SQL Data Type: bit
|
|
32696
32999
|
* * Default Value: 0
|
|
32697
33000
|
* * Description: NULL
|
|
@@ -32701,7 +33004,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32701
33004
|
}
|
|
32702
33005
|
/**
|
|
32703
33006
|
* * Field Name: IsNameField
|
|
32704
|
-
* * Display Name:
|
|
33007
|
+
* * Display Name: Name Field
|
|
32705
33008
|
* * SQL Data Type: bit
|
|
32706
33009
|
* * Default Value: 0
|
|
32707
33010
|
* * 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.
|
|
@@ -32714,7 +33017,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32714
33017
|
}
|
|
32715
33018
|
/**
|
|
32716
33019
|
* * Field Name: RelatedEntityID
|
|
32717
|
-
* * Display Name:
|
|
33020
|
+
* * Display Name: Related Entity
|
|
32718
33021
|
* * SQL Data Type: uniqueidentifier
|
|
32719
33022
|
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
32720
33023
|
*/
|
|
@@ -32776,7 +33079,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32776
33079
|
}
|
|
32777
33080
|
/**
|
|
32778
33081
|
* * Field Name: EntityIDFieldName
|
|
32779
|
-
* * Display Name: Entity
|
|
33082
|
+
* * Display Name: Entity ID Field Name
|
|
32780
33083
|
* * SQL Data Type: nvarchar(100)
|
|
32781
33084
|
* * 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.
|
|
32782
33085
|
*/
|
|
@@ -32788,7 +33091,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32788
33091
|
}
|
|
32789
33092
|
/**
|
|
32790
33093
|
* * Field Name: __mj_CreatedAt
|
|
32791
|
-
* * Display Name:
|
|
33094
|
+
* * Display Name: Created At
|
|
32792
33095
|
* * SQL Data Type: datetimeoffset
|
|
32793
33096
|
* * Default Value: getutcdate()
|
|
32794
33097
|
*/
|
|
@@ -32797,7 +33100,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32797
33100
|
}
|
|
32798
33101
|
/**
|
|
32799
33102
|
* * Field Name: __mj_UpdatedAt
|
|
32800
|
-
* * Display Name:
|
|
33103
|
+
* * Display Name: Updated At
|
|
32801
33104
|
* * SQL Data Type: datetimeoffset
|
|
32802
33105
|
* * Default Value: getutcdate()
|
|
32803
33106
|
*/
|
|
@@ -32905,6 +33208,32 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32905
33208
|
this.Set('AutoUpdateCategory', value);
|
|
32906
33209
|
}
|
|
32907
33210
|
/**
|
|
33211
|
+
* * Field Name: AutoUpdateDisplayName
|
|
33212
|
+
* * Display Name: Auto Update Display Name
|
|
33213
|
+
* * SQL Data Type: bit
|
|
33214
|
+
* * Default Value: 1
|
|
33215
|
+
* * Description: When 1, allows system/LLM to auto-update DisplayName during CodeGen; when 0, user has locked this field
|
|
33216
|
+
*/
|
|
33217
|
+
get AutoUpdateDisplayName() {
|
|
33218
|
+
return this.Get('AutoUpdateDisplayName');
|
|
33219
|
+
}
|
|
33220
|
+
set AutoUpdateDisplayName(value) {
|
|
33221
|
+
this.Set('AutoUpdateDisplayName', value);
|
|
33222
|
+
}
|
|
33223
|
+
/**
|
|
33224
|
+
* * Field Name: AutoUpdateIncludeInUserSearchAPI
|
|
33225
|
+
* * Display Name: Auto Update Include In User Search API
|
|
33226
|
+
* * SQL Data Type: bit
|
|
33227
|
+
* * Default Value: 1
|
|
33228
|
+
* * Description: When 1, allows system/LLM to auto-update IncludeInUserSearchAPI during CodeGen; when 0, user has locked this field
|
|
33229
|
+
*/
|
|
33230
|
+
get AutoUpdateIncludeInUserSearchAPI() {
|
|
33231
|
+
return this.Get('AutoUpdateIncludeInUserSearchAPI');
|
|
33232
|
+
}
|
|
33233
|
+
set AutoUpdateIncludeInUserSearchAPI(value) {
|
|
33234
|
+
this.Set('AutoUpdateIncludeInUserSearchAPI', value);
|
|
33235
|
+
}
|
|
33236
|
+
/**
|
|
32908
33237
|
* * Field Name: FieldCodeName
|
|
32909
33238
|
* * Display Name: Field Code Name
|
|
32910
33239
|
* * SQL Data Type: nvarchar(MAX)
|
|
@@ -32914,6 +33243,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
32914
33243
|
}
|
|
32915
33244
|
/**
|
|
32916
33245
|
* * Field Name: Entity
|
|
33246
|
+
* * Display Name: Entity
|
|
32917
33247
|
* * SQL Data Type: nvarchar(255)
|
|
32918
33248
|
*/
|
|
32919
33249
|
get Entity() {
|
|
@@ -34258,6 +34588,7 @@ exports.ErrorLogEntity = ErrorLogEntity = __decorate([
|
|
|
34258
34588
|
* @extends {BaseEntity}
|
|
34259
34589
|
* @class
|
|
34260
34590
|
* @public
|
|
34591
|
+
* @deprecated This entity is deprecated and will be removed in a future version. Using it will result in console warnings.
|
|
34261
34592
|
*/
|
|
34262
34593
|
let ExplorerNavigationItemEntity = class ExplorerNavigationItemEntity extends core_1.BaseEntity {
|
|
34263
34594
|
/**
|
|
@@ -50748,6 +51079,114 @@ exports.TestEntity = TestEntity;
|
|
|
50748
51079
|
exports.TestEntity = TestEntity = __decorate([
|
|
50749
51080
|
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Tests')
|
|
50750
51081
|
], TestEntity);
|
|
51082
|
+
/**
|
|
51083
|
+
* MJ: User Settings - strongly typed entity sub-class
|
|
51084
|
+
* * Schema: __mj
|
|
51085
|
+
* * Base Table: UserSetting
|
|
51086
|
+
* * Base View: vwUserSettings
|
|
51087
|
+
* * @description Generic key-value store for per-user settings. Allows any application or feature to persist user preferences.
|
|
51088
|
+
* * Primary Key: ID
|
|
51089
|
+
* @extends {BaseEntity}
|
|
51090
|
+
* @class
|
|
51091
|
+
* @public
|
|
51092
|
+
*/
|
|
51093
|
+
let UserSettingEntity = class UserSettingEntity extends core_1.BaseEntity {
|
|
51094
|
+
/**
|
|
51095
|
+
* Loads the MJ: User Settings record from the database
|
|
51096
|
+
* @param ID: string - primary key value to load the MJ: User Settings record.
|
|
51097
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
51098
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
51099
|
+
* @public
|
|
51100
|
+
* @async
|
|
51101
|
+
* @memberof UserSettingEntity
|
|
51102
|
+
* @method
|
|
51103
|
+
* @override
|
|
51104
|
+
*/
|
|
51105
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
51106
|
+
const compositeKey = new core_1.CompositeKey();
|
|
51107
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
51108
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
51109
|
+
}
|
|
51110
|
+
/**
|
|
51111
|
+
* * Field Name: ID
|
|
51112
|
+
* * Display Name: ID
|
|
51113
|
+
* * SQL Data Type: uniqueidentifier
|
|
51114
|
+
* * Default Value: newsequentialid()
|
|
51115
|
+
*/
|
|
51116
|
+
get ID() {
|
|
51117
|
+
return this.Get('ID');
|
|
51118
|
+
}
|
|
51119
|
+
set ID(value) {
|
|
51120
|
+
this.Set('ID', value);
|
|
51121
|
+
}
|
|
51122
|
+
/**
|
|
51123
|
+
* * Field Name: UserID
|
|
51124
|
+
* * Display Name: User ID
|
|
51125
|
+
* * SQL Data Type: uniqueidentifier
|
|
51126
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
51127
|
+
* * Description: The user this setting belongs to.
|
|
51128
|
+
*/
|
|
51129
|
+
get UserID() {
|
|
51130
|
+
return this.Get('UserID');
|
|
51131
|
+
}
|
|
51132
|
+
set UserID(value) {
|
|
51133
|
+
this.Set('UserID', value);
|
|
51134
|
+
}
|
|
51135
|
+
/**
|
|
51136
|
+
* * Field Name: Setting
|
|
51137
|
+
* * Display Name: Setting
|
|
51138
|
+
* * SQL Data Type: nvarchar(255)
|
|
51139
|
+
* * Description: The setting key/name. Use namespaced keys like "DataExplorer.ViewMode" or "Dashboard.AI.CollapsedSections" to avoid collisions.
|
|
51140
|
+
*/
|
|
51141
|
+
get Setting() {
|
|
51142
|
+
return this.Get('Setting');
|
|
51143
|
+
}
|
|
51144
|
+
set Setting(value) {
|
|
51145
|
+
this.Set('Setting', value);
|
|
51146
|
+
}
|
|
51147
|
+
/**
|
|
51148
|
+
* * Field Name: Value
|
|
51149
|
+
* * Display Name: Value
|
|
51150
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
51151
|
+
* * Description: The setting value. Can be simple text, numbers, booleans, or JSON for complex configuration objects.
|
|
51152
|
+
*/
|
|
51153
|
+
get Value() {
|
|
51154
|
+
return this.Get('Value');
|
|
51155
|
+
}
|
|
51156
|
+
set Value(value) {
|
|
51157
|
+
this.Set('Value', value);
|
|
51158
|
+
}
|
|
51159
|
+
/**
|
|
51160
|
+
* * Field Name: __mj_CreatedAt
|
|
51161
|
+
* * Display Name: Created At
|
|
51162
|
+
* * SQL Data Type: datetimeoffset
|
|
51163
|
+
* * Default Value: getutcdate()
|
|
51164
|
+
*/
|
|
51165
|
+
get __mj_CreatedAt() {
|
|
51166
|
+
return this.Get('__mj_CreatedAt');
|
|
51167
|
+
}
|
|
51168
|
+
/**
|
|
51169
|
+
* * Field Name: __mj_UpdatedAt
|
|
51170
|
+
* * Display Name: Updated At
|
|
51171
|
+
* * SQL Data Type: datetimeoffset
|
|
51172
|
+
* * Default Value: getutcdate()
|
|
51173
|
+
*/
|
|
51174
|
+
get __mj_UpdatedAt() {
|
|
51175
|
+
return this.Get('__mj_UpdatedAt');
|
|
51176
|
+
}
|
|
51177
|
+
/**
|
|
51178
|
+
* * Field Name: User
|
|
51179
|
+
* * Display Name: User
|
|
51180
|
+
* * SQL Data Type: nvarchar(100)
|
|
51181
|
+
*/
|
|
51182
|
+
get User() {
|
|
51183
|
+
return this.Get('User');
|
|
51184
|
+
}
|
|
51185
|
+
};
|
|
51186
|
+
exports.UserSettingEntity = UserSettingEntity;
|
|
51187
|
+
exports.UserSettingEntity = UserSettingEntity = __decorate([
|
|
51188
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: User Settings')
|
|
51189
|
+
], UserSettingEntity);
|
|
50751
51190
|
/**
|
|
50752
51191
|
* Output Delivery Types - strongly typed entity sub-class
|
|
50753
51192
|
* * Schema: __mj
|
|
@@ -54995,6 +55434,18 @@ let ResourceTypeEntity = class ResourceTypeEntity extends core_1.BaseEntity {
|
|
|
54995
55434
|
this.Set('CategoryEntityID', value);
|
|
54996
55435
|
}
|
|
54997
55436
|
/**
|
|
55437
|
+
* * Field Name: DriverClass
|
|
55438
|
+
* * Display Name: Driver Class
|
|
55439
|
+
* * SQL Data Type: nvarchar(255)
|
|
55440
|
+
* * Description: The Angular component class name to instantiate for this resource type. NULL for Custom resource type (uses NavItem DriverClass instead).
|
|
55441
|
+
*/
|
|
55442
|
+
get DriverClass() {
|
|
55443
|
+
return this.Get('DriverClass');
|
|
55444
|
+
}
|
|
55445
|
+
set DriverClass(value) {
|
|
55446
|
+
this.Set('DriverClass', value);
|
|
55447
|
+
}
|
|
55448
|
+
/**
|
|
54998
55449
|
* * Field Name: Entity
|
|
54999
55450
|
* * Display Name: Entity
|
|
55000
55451
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -58156,6 +58607,7 @@ let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
|
|
|
58156
58607
|
}
|
|
58157
58608
|
/**
|
|
58158
58609
|
* * Field Name: ID
|
|
58610
|
+
* * Display Name: ID
|
|
58159
58611
|
* * SQL Data Type: uniqueidentifier
|
|
58160
58612
|
* * Default Value: newsequentialid()
|
|
58161
58613
|
*/
|
|
@@ -58167,7 +58619,7 @@ let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
|
|
|
58167
58619
|
}
|
|
58168
58620
|
/**
|
|
58169
58621
|
* * Field Name: UserID
|
|
58170
|
-
* * Display Name: User
|
|
58622
|
+
* * Display Name: User
|
|
58171
58623
|
* * SQL Data Type: uniqueidentifier
|
|
58172
58624
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
58173
58625
|
*/
|
|
@@ -58179,7 +58631,7 @@ let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
|
|
|
58179
58631
|
}
|
|
58180
58632
|
/**
|
|
58181
58633
|
* * Field Name: EntityID
|
|
58182
|
-
* * Display Name: Entity
|
|
58634
|
+
* * Display Name: Entity
|
|
58183
58635
|
* * SQL Data Type: uniqueidentifier
|
|
58184
58636
|
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
58185
58637
|
*/
|
|
@@ -58191,6 +58643,7 @@ let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
|
|
|
58191
58643
|
}
|
|
58192
58644
|
/**
|
|
58193
58645
|
* * Field Name: Name
|
|
58646
|
+
* * Display Name: Name
|
|
58194
58647
|
* * SQL Data Type: nvarchar(100)
|
|
58195
58648
|
*/
|
|
58196
58649
|
get Name() {
|
|
@@ -58201,6 +58654,7 @@ let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
|
|
|
58201
58654
|
}
|
|
58202
58655
|
/**
|
|
58203
58656
|
* * Field Name: Description
|
|
58657
|
+
* * Display Name: Description
|
|
58204
58658
|
* * SQL Data Type: nvarchar(MAX)
|
|
58205
58659
|
*/
|
|
58206
58660
|
get Description() {
|
|
@@ -58211,7 +58665,7 @@ let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
|
|
|
58211
58665
|
}
|
|
58212
58666
|
/**
|
|
58213
58667
|
* * Field Name: CategoryID
|
|
58214
|
-
* * Display Name: Category
|
|
58668
|
+
* * Display Name: Category
|
|
58215
58669
|
* * SQL Data Type: uniqueidentifier
|
|
58216
58670
|
* * Related Entity/Foreign Key: User View Categories (vwUserViewCategories.ID)
|
|
58217
58671
|
*/
|
|
@@ -58223,7 +58677,7 @@ let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
|
|
|
58223
58677
|
}
|
|
58224
58678
|
/**
|
|
58225
58679
|
* * Field Name: IsShared
|
|
58226
|
-
* * Display Name:
|
|
58680
|
+
* * Display Name: Shared
|
|
58227
58681
|
* * SQL Data Type: bit
|
|
58228
58682
|
* * Default Value: 0
|
|
58229
58683
|
* * Description: Whether this view is shared with other users.
|
|
@@ -58236,7 +58690,7 @@ let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
|
|
|
58236
58690
|
}
|
|
58237
58691
|
/**
|
|
58238
58692
|
* * Field Name: IsDefault
|
|
58239
|
-
* * Display Name:
|
|
58693
|
+
* * Display Name: Default
|
|
58240
58694
|
* * SQL Data Type: bit
|
|
58241
58695
|
* * Default Value: 0
|
|
58242
58696
|
* * Description: Whether this is the user's default view for the entity.
|
|
@@ -58273,7 +58727,7 @@ let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
|
|
|
58273
58727
|
}
|
|
58274
58728
|
/**
|
|
58275
58729
|
* * Field Name: CustomFilterState
|
|
58276
|
-
* * Display Name: Custom Filter
|
|
58730
|
+
* * Display Name: Custom Filter
|
|
58277
58731
|
* * SQL Data Type: bit
|
|
58278
58732
|
* * Default Value: 0
|
|
58279
58733
|
* * Description: Indicates if custom filters beyond standard options are applied.
|
|
@@ -58372,7 +58826,7 @@ let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
|
|
|
58372
58826
|
}
|
|
58373
58827
|
/**
|
|
58374
58828
|
* * Field Name: __mj_CreatedAt
|
|
58375
|
-
* * Display Name:
|
|
58829
|
+
* * Display Name: Created At
|
|
58376
58830
|
* * SQL Data Type: datetimeoffset
|
|
58377
58831
|
* * Default Value: getutcdate()
|
|
58378
58832
|
*/
|
|
@@ -58381,7 +58835,7 @@ let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
|
|
|
58381
58835
|
}
|
|
58382
58836
|
/**
|
|
58383
58837
|
* * Field Name: __mj_UpdatedAt
|
|
58384
|
-
* * Display Name:
|
|
58838
|
+
* * Display Name: Updated At
|
|
58385
58839
|
* * SQL Data Type: datetimeoffset
|
|
58386
58840
|
* * Default Value: getutcdate()
|
|
58387
58841
|
*/
|
|
@@ -58401,6 +58855,18 @@ let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
|
|
|
58401
58855
|
this.Set('Thumbnail', value);
|
|
58402
58856
|
}
|
|
58403
58857
|
/**
|
|
58858
|
+
* * Field Name: CardState
|
|
58859
|
+
* * Display Name: Card State
|
|
58860
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
58861
|
+
* * 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.
|
|
58862
|
+
*/
|
|
58863
|
+
get CardState() {
|
|
58864
|
+
return this.Get('CardState');
|
|
58865
|
+
}
|
|
58866
|
+
set CardState(value) {
|
|
58867
|
+
this.Set('CardState', value);
|
|
58868
|
+
}
|
|
58869
|
+
/**
|
|
58404
58870
|
* * Field Name: UserName
|
|
58405
58871
|
* * Display Name: User Name
|
|
58406
58872
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -59576,6 +60042,7 @@ exports.WorkflowEntity = WorkflowEntity = __decorate([
|
|
|
59576
60042
|
* @extends {BaseEntity}
|
|
59577
60043
|
* @class
|
|
59578
60044
|
* @public
|
|
60045
|
+
* @deprecated This entity is deprecated and will be removed in a future version. Using it will result in console warnings.
|
|
59579
60046
|
*/
|
|
59580
60047
|
let WorkspaceItemEntity = class WorkspaceItemEntity extends core_1.BaseEntity {
|
|
59581
60048
|
/**
|
|
@@ -59820,6 +60287,18 @@ let WorkspaceEntity = class WorkspaceEntity extends core_1.BaseEntity {
|
|
|
59820
60287
|
return this.Get('__mj_UpdatedAt');
|
|
59821
60288
|
}
|
|
59822
60289
|
/**
|
|
60290
|
+
* * Field Name: Configuration
|
|
60291
|
+
* * Display Name: Configuration
|
|
60292
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
60293
|
+
* * Description: JSON blob containing all workspace state: tabs, layout configuration, theme preferences, and active tab. Replaces WorkspaceItem table.
|
|
60294
|
+
*/
|
|
60295
|
+
get Configuration() {
|
|
60296
|
+
return this.Get('Configuration');
|
|
60297
|
+
}
|
|
60298
|
+
set Configuration(value) {
|
|
60299
|
+
this.Set('Configuration', value);
|
|
60300
|
+
}
|
|
60301
|
+
/**
|
|
59823
60302
|
* * Field Name: User
|
|
59824
60303
|
* * Display Name: User
|
|
59825
60304
|
* * SQL Data Type: nvarchar(100)
|