@memberjunction/core-entities 5.4.1 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom/MJTemplateEntityExtended.js +2 -2
- package/dist/custom/MJTemplateEntityExtended.js.map +1 -1
- package/dist/custom/MJUserViewEntityExtended.js +7 -7
- package/dist/custom/MJUserViewEntityExtended.js.map +1 -1
- package/dist/custom/ResourcePermissions/MJResourcePermissionEntityExtended.js +2 -2
- package/dist/custom/ResourcePermissions/MJResourcePermissionEntityExtended.js.map +1 -1
- package/dist/custom/ResourcePermissions/ResourceData.d.ts.map +1 -1
- package/dist/custom/ResourcePermissions/ResourceData.js +3 -2
- package/dist/custom/ResourcePermissions/ResourceData.js.map +1 -1
- package/dist/custom/ResourcePermissions/ResourcePermissionEngine.d.ts.map +1 -1
- package/dist/custom/ResourcePermissions/ResourcePermissionEngine.js +11 -10
- package/dist/custom/ResourcePermissions/ResourcePermissionEngine.js.map +1 -1
- package/dist/engines/EncryptionEngineBase.js +4 -4
- package/dist/engines/EncryptionEngineBase.js.map +1 -1
- package/dist/engines/FileStorageEngine.d.ts.map +1 -1
- package/dist/engines/FileStorageEngine.js +3 -2
- package/dist/engines/FileStorageEngine.js.map +1 -1
- package/dist/engines/MCPEngine.d.ts.map +1 -1
- package/dist/engines/MCPEngine.js +8 -7
- package/dist/engines/MCPEngine.js.map +1 -1
- package/dist/engines/QueryEngine.d.ts.map +1 -1
- package/dist/engines/QueryEngine.js +5 -4
- package/dist/engines/QueryEngine.js.map +1 -1
- package/dist/engines/UserInfoEngine.d.ts.map +1 -1
- package/dist/engines/UserInfoEngine.js +24 -23
- package/dist/engines/UserInfoEngine.js.map +1 -1
- package/dist/engines/UserViewEngine.d.ts.map +1 -1
- package/dist/engines/UserViewEngine.js +13 -12
- package/dist/engines/UserViewEngine.js.map +1 -1
- package/dist/engines/dashboards.d.ts.map +1 -1
- package/dist/engines/dashboards.js +11 -10
- package/dist/engines/dashboards.js.map +1 -1
- package/dist/generated/entity_subclasses.d.ts +292 -3
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +418 -6
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/package.json +5 -5
|
@@ -15827,7 +15827,7 @@ export const MJQuerySchema = z.object({
|
|
|
15827
15827
|
* * Description: When true, enables query result caching. Caching behavior depends on CacheValidationSQL: (1) If CacheValidationSQL is NULL, uses simple server-side TTL caching based on CacheTTLMinutes - results are cached on the server and expire after the TTL period. (2) If CacheValidationSQL is set, enables smart client-side caching with freshness validation - client sends cache fingerprint (maxUpdatedAt + rowCount) to server, server validates using CacheValidationSQL and returns 'current' (use cached) or 'stale' (with fresh data). Smart caching provides real-time accuracy while minimizing data transfer.`),
|
|
15828
15828
|
CacheTTLMinutes: z.number().nullable().describe(`
|
|
15829
15829
|
* * Field Name: CacheTTLMinutes
|
|
15830
|
-
* * Display Name: Cache TTL Minutes
|
|
15830
|
+
* * Display Name: Cache TTL (Minutes)
|
|
15831
15831
|
* * SQL Data Type: int
|
|
15832
15832
|
* * Description: Time-to-live in minutes for cached query results. NULL uses default TTL.`),
|
|
15833
15833
|
CacheMaxSize: z.number().nullable().describe(`
|
|
@@ -15851,14 +15851,25 @@ export const MJQuerySchema = z.object({
|
|
|
15851
15851
|
* * Display Name: Cache Validation SQL
|
|
15852
15852
|
* * SQL Data Type: nvarchar(MAX)
|
|
15853
15853
|
* * Description: SQL query used to validate cache freshness for smart caching. When set (and CacheEnabled=true), enables smart cache validation instead of simple TTL expiration. This query MUST return exactly two columns: MaxUpdatedAt (datetime/datetimeoffset) and TotalRows (int). The query has access to the same Nunjucks parameters as the main query SQL. When NULL, caching uses TTL-only behavior based on CacheTTLMinutes. Example: SELECT MAX(__mj_UpdatedAt) AS MaxUpdatedAt, COUNT(*) AS TotalRows FROM Orders WHERE Status = '{{ status }}'`),
|
|
15854
|
+
SQLDialectID: z.string().describe(`
|
|
15855
|
+
* * Field Name: SQLDialectID
|
|
15856
|
+
* * Display Name: SQL Dialect
|
|
15857
|
+
* * SQL Data Type: uniqueidentifier
|
|
15858
|
+
* * Related Entity/Foreign Key: MJ: SQL Dialects (vwSQLDialects.ID)
|
|
15859
|
+
* * Default Value: 1F203987-A37B-4BC1-85B3-BA50DC33C3E0
|
|
15860
|
+
* * Description: The SQL dialect that the SQL column is written in. Defaults to T-SQL for backward compatibility.`),
|
|
15854
15861
|
Category: z.string().nullable().describe(`
|
|
15855
15862
|
* * Field Name: Category
|
|
15856
|
-
* * Display Name: Category
|
|
15863
|
+
* * Display Name: Category Name
|
|
15857
15864
|
* * SQL Data Type: nvarchar(50)`),
|
|
15858
15865
|
EmbeddingModel: z.string().nullable().describe(`
|
|
15859
15866
|
* * Field Name: EmbeddingModel
|
|
15860
|
-
* * Display Name: Embedding Model
|
|
15867
|
+
* * Display Name: Embedding Model Name
|
|
15861
15868
|
* * SQL Data Type: nvarchar(50)`),
|
|
15869
|
+
SQLDialect: z.string().describe(`
|
|
15870
|
+
* * Field Name: SQLDialect
|
|
15871
|
+
* * Display Name: SQL Dialect Name
|
|
15872
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
15862
15873
|
});
|
|
15863
15874
|
/**
|
|
15864
15875
|
* zod schema definition for the entity MJ: Query Categories
|
|
@@ -16216,6 +16227,51 @@ export const MJQueryPermissionSchema = z.object({
|
|
|
16216
16227
|
* * Display Name: Role
|
|
16217
16228
|
* * SQL Data Type: nvarchar(50)`),
|
|
16218
16229
|
});
|
|
16230
|
+
/**
|
|
16231
|
+
* zod schema definition for the entity MJ: Query SQLs
|
|
16232
|
+
*/
|
|
16233
|
+
export const MJQuerySQLSchema = z.object({
|
|
16234
|
+
ID: z.string().describe(`
|
|
16235
|
+
* * Field Name: ID
|
|
16236
|
+
* * Display Name: ID
|
|
16237
|
+
* * SQL Data Type: uniqueidentifier
|
|
16238
|
+
* * Default Value: newsequentialid()`),
|
|
16239
|
+
QueryID: z.string().describe(`
|
|
16240
|
+
* * Field Name: QueryID
|
|
16241
|
+
* * Display Name: Query
|
|
16242
|
+
* * SQL Data Type: uniqueidentifier
|
|
16243
|
+
* * Related Entity/Foreign Key: MJ: Queries (vwQueries.ID)
|
|
16244
|
+
* * Description: Foreign key to the query this SQL variant belongs to`),
|
|
16245
|
+
SQLDialectID: z.string().describe(`
|
|
16246
|
+
* * Field Name: SQLDialectID
|
|
16247
|
+
* * Display Name: SQL Dialect
|
|
16248
|
+
* * SQL Data Type: uniqueidentifier
|
|
16249
|
+
* * Related Entity/Foreign Key: MJ: SQL Dialects (vwSQLDialects.ID)
|
|
16250
|
+
* * Description: Foreign key to the SQL dialect this SQL is written in`),
|
|
16251
|
+
SQL: z.string().describe(`
|
|
16252
|
+
* * Field Name: SQL
|
|
16253
|
+
* * Display Name: SQL Query
|
|
16254
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
16255
|
+
* * Description: The SQL query text in the specified dialect. May include Nunjucks template parameters.`),
|
|
16256
|
+
__mj_CreatedAt: z.date().describe(`
|
|
16257
|
+
* * Field Name: __mj_CreatedAt
|
|
16258
|
+
* * Display Name: Created At
|
|
16259
|
+
* * SQL Data Type: datetimeoffset
|
|
16260
|
+
* * Default Value: getutcdate()`),
|
|
16261
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
16262
|
+
* * Field Name: __mj_UpdatedAt
|
|
16263
|
+
* * Display Name: Updated At
|
|
16264
|
+
* * SQL Data Type: datetimeoffset
|
|
16265
|
+
* * Default Value: getutcdate()`),
|
|
16266
|
+
Query: z.string().describe(`
|
|
16267
|
+
* * Field Name: Query
|
|
16268
|
+
* * Display Name: Query Name
|
|
16269
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
16270
|
+
SQLDialect: z.string().describe(`
|
|
16271
|
+
* * Field Name: SQLDialect
|
|
16272
|
+
* * Display Name: Dialect Name
|
|
16273
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
16274
|
+
});
|
|
16219
16275
|
/**
|
|
16220
16276
|
* zod schema definition for the entity MJ: Queue Tasks
|
|
16221
16277
|
*/
|
|
@@ -18182,6 +18238,66 @@ export const MJSkillSchema = z.object({
|
|
|
18182
18238
|
* * Display Name: Root Parent ID
|
|
18183
18239
|
* * SQL Data Type: uniqueidentifier`),
|
|
18184
18240
|
});
|
|
18241
|
+
/**
|
|
18242
|
+
* zod schema definition for the entity MJ: SQL Dialects
|
|
18243
|
+
*/
|
|
18244
|
+
export const MJSQLDialectSchema = z.object({
|
|
18245
|
+
ID: z.string().describe(`
|
|
18246
|
+
* * Field Name: ID
|
|
18247
|
+
* * Display Name: ID
|
|
18248
|
+
* * SQL Data Type: uniqueidentifier
|
|
18249
|
+
* * Default Value: newsequentialid()`),
|
|
18250
|
+
Name: z.string().describe(`
|
|
18251
|
+
* * Field Name: Name
|
|
18252
|
+
* * Display Name: Name
|
|
18253
|
+
* * SQL Data Type: nvarchar(100)
|
|
18254
|
+
* * Description: Unique display name for the SQL dialect (e.g., T-SQL, PostgreSQL)`),
|
|
18255
|
+
PlatformKey: z.string().describe(`
|
|
18256
|
+
* * Field Name: PlatformKey
|
|
18257
|
+
* * Display Name: Platform Key
|
|
18258
|
+
* * SQL Data Type: nvarchar(50)
|
|
18259
|
+
* * Description: Lowercase identifier matching DatabasePlatform type in code (e.g., sqlserver, postgresql). Used by providers to find their dialect at runtime.`),
|
|
18260
|
+
DatabaseName: z.string().describe(`
|
|
18261
|
+
* * Field Name: DatabaseName
|
|
18262
|
+
* * Display Name: Database Name
|
|
18263
|
+
* * SQL Data Type: nvarchar(100)
|
|
18264
|
+
* * Description: Name of the database engine (e.g., SQL Server, PostgreSQL, MySQL)`),
|
|
18265
|
+
LanguageName: z.string().describe(`
|
|
18266
|
+
* * Field Name: LanguageName
|
|
18267
|
+
* * Display Name: Language Name
|
|
18268
|
+
* * SQL Data Type: nvarchar(100)
|
|
18269
|
+
* * Description: Name of the SQL language variant (e.g., T-SQL, PL/pgSQL, SQL/PSM)`),
|
|
18270
|
+
VendorName: z.string().nullable().describe(`
|
|
18271
|
+
* * Field Name: VendorName
|
|
18272
|
+
* * Display Name: Vendor Name
|
|
18273
|
+
* * SQL Data Type: nvarchar(200)
|
|
18274
|
+
* * Description: Primary vendor or organization behind this database (e.g., Microsoft, PostgreSQL Global Development Group)`),
|
|
18275
|
+
WebURL: z.string().nullable().describe(`
|
|
18276
|
+
* * Field Name: WebURL
|
|
18277
|
+
* * Display Name: Web URL
|
|
18278
|
+
* * SQL Data Type: nvarchar(500)
|
|
18279
|
+
* * Description: URL to the database vendor or documentation website`),
|
|
18280
|
+
Icon: z.string().nullable().describe(`
|
|
18281
|
+
* * Field Name: Icon
|
|
18282
|
+
* * Display Name: Icon
|
|
18283
|
+
* * SQL Data Type: nvarchar(500)
|
|
18284
|
+
* * Description: CSS class or icon reference for UI display`),
|
|
18285
|
+
Description: z.string().nullable().describe(`
|
|
18286
|
+
* * Field Name: Description
|
|
18287
|
+
* * Display Name: Description
|
|
18288
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
18289
|
+
* * Description: Detailed description of this SQL dialect and its characteristics`),
|
|
18290
|
+
__mj_CreatedAt: z.date().describe(`
|
|
18291
|
+
* * Field Name: __mj_CreatedAt
|
|
18292
|
+
* * Display Name: Created At
|
|
18293
|
+
* * SQL Data Type: datetimeoffset
|
|
18294
|
+
* * Default Value: getutcdate()`),
|
|
18295
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
18296
|
+
* * Field Name: __mj_UpdatedAt
|
|
18297
|
+
* * Display Name: Updated At
|
|
18298
|
+
* * SQL Data Type: datetimeoffset
|
|
18299
|
+
* * Default Value: getutcdate()`),
|
|
18300
|
+
});
|
|
18185
18301
|
/**
|
|
18186
18302
|
* zod schema definition for the entity MJ: Tagged Items
|
|
18187
18303
|
*/
|
|
@@ -61488,7 +61604,7 @@ let MJQueryEntity = class MJQueryEntity extends BaseEntity {
|
|
|
61488
61604
|
}
|
|
61489
61605
|
/**
|
|
61490
61606
|
* * Field Name: CacheTTLMinutes
|
|
61491
|
-
* * Display Name: Cache TTL Minutes
|
|
61607
|
+
* * Display Name: Cache TTL (Minutes)
|
|
61492
61608
|
* * SQL Data Type: int
|
|
61493
61609
|
* * Description: Time-to-live in minutes for cached query results. NULL uses default TTL.
|
|
61494
61610
|
*/
|
|
@@ -61548,8 +61664,22 @@ let MJQueryEntity = class MJQueryEntity extends BaseEntity {
|
|
|
61548
61664
|
this.Set('CacheValidationSQL', value);
|
|
61549
61665
|
}
|
|
61550
61666
|
/**
|
|
61667
|
+
* * Field Name: SQLDialectID
|
|
61668
|
+
* * Display Name: SQL Dialect
|
|
61669
|
+
* * SQL Data Type: uniqueidentifier
|
|
61670
|
+
* * Related Entity/Foreign Key: MJ: SQL Dialects (vwSQLDialects.ID)
|
|
61671
|
+
* * Default Value: 1F203987-A37B-4BC1-85B3-BA50DC33C3E0
|
|
61672
|
+
* * Description: The SQL dialect that the SQL column is written in. Defaults to T-SQL for backward compatibility.
|
|
61673
|
+
*/
|
|
61674
|
+
get SQLDialectID() {
|
|
61675
|
+
return this.Get('SQLDialectID');
|
|
61676
|
+
}
|
|
61677
|
+
set SQLDialectID(value) {
|
|
61678
|
+
this.Set('SQLDialectID', value);
|
|
61679
|
+
}
|
|
61680
|
+
/**
|
|
61551
61681
|
* * Field Name: Category
|
|
61552
|
-
* * Display Name: Category
|
|
61682
|
+
* * Display Name: Category Name
|
|
61553
61683
|
* * SQL Data Type: nvarchar(50)
|
|
61554
61684
|
*/
|
|
61555
61685
|
get Category() {
|
|
@@ -61557,12 +61687,20 @@ let MJQueryEntity = class MJQueryEntity extends BaseEntity {
|
|
|
61557
61687
|
}
|
|
61558
61688
|
/**
|
|
61559
61689
|
* * Field Name: EmbeddingModel
|
|
61560
|
-
* * Display Name: Embedding Model
|
|
61690
|
+
* * Display Name: Embedding Model Name
|
|
61561
61691
|
* * SQL Data Type: nvarchar(50)
|
|
61562
61692
|
*/
|
|
61563
61693
|
get EmbeddingModel() {
|
|
61564
61694
|
return this.Get('EmbeddingModel');
|
|
61565
61695
|
}
|
|
61696
|
+
/**
|
|
61697
|
+
* * Field Name: SQLDialect
|
|
61698
|
+
* * Display Name: SQL Dialect Name
|
|
61699
|
+
* * SQL Data Type: nvarchar(100)
|
|
61700
|
+
*/
|
|
61701
|
+
get SQLDialect() {
|
|
61702
|
+
return this.Get('SQLDialect');
|
|
61703
|
+
}
|
|
61566
61704
|
};
|
|
61567
61705
|
MJQueryEntity = __decorate([
|
|
61568
61706
|
RegisterClass(BaseEntity, 'MJ: Queries')
|
|
@@ -62445,6 +62583,122 @@ MJQueryPermissionEntity = __decorate([
|
|
|
62445
62583
|
RegisterClass(BaseEntity, 'MJ: Query Permissions')
|
|
62446
62584
|
], MJQueryPermissionEntity);
|
|
62447
62585
|
export { MJQueryPermissionEntity };
|
|
62586
|
+
/**
|
|
62587
|
+
* MJ: Query SQLs - strongly typed entity sub-class
|
|
62588
|
+
* * Schema: __mj
|
|
62589
|
+
* * Base Table: QuerySQL
|
|
62590
|
+
* * Base View: vwQuerySQLs
|
|
62591
|
+
* * Primary Key: ID
|
|
62592
|
+
* @extends {BaseEntity}
|
|
62593
|
+
* @class
|
|
62594
|
+
* @public
|
|
62595
|
+
*/
|
|
62596
|
+
let MJQuerySQLEntity = class MJQuerySQLEntity extends BaseEntity {
|
|
62597
|
+
/**
|
|
62598
|
+
* Loads the MJ: Query SQLs record from the database
|
|
62599
|
+
* @param ID: string - primary key value to load the MJ: Query SQLs record.
|
|
62600
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
62601
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
62602
|
+
* @public
|
|
62603
|
+
* @async
|
|
62604
|
+
* @memberof MJQuerySQLEntity
|
|
62605
|
+
* @method
|
|
62606
|
+
* @override
|
|
62607
|
+
*/
|
|
62608
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
62609
|
+
const compositeKey = new CompositeKey();
|
|
62610
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
62611
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
62612
|
+
}
|
|
62613
|
+
/**
|
|
62614
|
+
* * Field Name: ID
|
|
62615
|
+
* * Display Name: ID
|
|
62616
|
+
* * SQL Data Type: uniqueidentifier
|
|
62617
|
+
* * Default Value: newsequentialid()
|
|
62618
|
+
*/
|
|
62619
|
+
get ID() {
|
|
62620
|
+
return this.Get('ID');
|
|
62621
|
+
}
|
|
62622
|
+
set ID(value) {
|
|
62623
|
+
this.Set('ID', value);
|
|
62624
|
+
}
|
|
62625
|
+
/**
|
|
62626
|
+
* * Field Name: QueryID
|
|
62627
|
+
* * Display Name: Query
|
|
62628
|
+
* * SQL Data Type: uniqueidentifier
|
|
62629
|
+
* * Related Entity/Foreign Key: MJ: Queries (vwQueries.ID)
|
|
62630
|
+
* * Description: Foreign key to the query this SQL variant belongs to
|
|
62631
|
+
*/
|
|
62632
|
+
get QueryID() {
|
|
62633
|
+
return this.Get('QueryID');
|
|
62634
|
+
}
|
|
62635
|
+
set QueryID(value) {
|
|
62636
|
+
this.Set('QueryID', value);
|
|
62637
|
+
}
|
|
62638
|
+
/**
|
|
62639
|
+
* * Field Name: SQLDialectID
|
|
62640
|
+
* * Display Name: SQL Dialect
|
|
62641
|
+
* * SQL Data Type: uniqueidentifier
|
|
62642
|
+
* * Related Entity/Foreign Key: MJ: SQL Dialects (vwSQLDialects.ID)
|
|
62643
|
+
* * Description: Foreign key to the SQL dialect this SQL is written in
|
|
62644
|
+
*/
|
|
62645
|
+
get SQLDialectID() {
|
|
62646
|
+
return this.Get('SQLDialectID');
|
|
62647
|
+
}
|
|
62648
|
+
set SQLDialectID(value) {
|
|
62649
|
+
this.Set('SQLDialectID', value);
|
|
62650
|
+
}
|
|
62651
|
+
/**
|
|
62652
|
+
* * Field Name: SQL
|
|
62653
|
+
* * Display Name: SQL Query
|
|
62654
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
62655
|
+
* * Description: The SQL query text in the specified dialect. May include Nunjucks template parameters.
|
|
62656
|
+
*/
|
|
62657
|
+
get SQL() {
|
|
62658
|
+
return this.Get('SQL');
|
|
62659
|
+
}
|
|
62660
|
+
set SQL(value) {
|
|
62661
|
+
this.Set('SQL', value);
|
|
62662
|
+
}
|
|
62663
|
+
/**
|
|
62664
|
+
* * Field Name: __mj_CreatedAt
|
|
62665
|
+
* * Display Name: Created At
|
|
62666
|
+
* * SQL Data Type: datetimeoffset
|
|
62667
|
+
* * Default Value: getutcdate()
|
|
62668
|
+
*/
|
|
62669
|
+
get __mj_CreatedAt() {
|
|
62670
|
+
return this.Get('__mj_CreatedAt');
|
|
62671
|
+
}
|
|
62672
|
+
/**
|
|
62673
|
+
* * Field Name: __mj_UpdatedAt
|
|
62674
|
+
* * Display Name: Updated At
|
|
62675
|
+
* * SQL Data Type: datetimeoffset
|
|
62676
|
+
* * Default Value: getutcdate()
|
|
62677
|
+
*/
|
|
62678
|
+
get __mj_UpdatedAt() {
|
|
62679
|
+
return this.Get('__mj_UpdatedAt');
|
|
62680
|
+
}
|
|
62681
|
+
/**
|
|
62682
|
+
* * Field Name: Query
|
|
62683
|
+
* * Display Name: Query Name
|
|
62684
|
+
* * SQL Data Type: nvarchar(255)
|
|
62685
|
+
*/
|
|
62686
|
+
get Query() {
|
|
62687
|
+
return this.Get('Query');
|
|
62688
|
+
}
|
|
62689
|
+
/**
|
|
62690
|
+
* * Field Name: SQLDialect
|
|
62691
|
+
* * Display Name: Dialect Name
|
|
62692
|
+
* * SQL Data Type: nvarchar(100)
|
|
62693
|
+
*/
|
|
62694
|
+
get SQLDialect() {
|
|
62695
|
+
return this.Get('SQLDialect');
|
|
62696
|
+
}
|
|
62697
|
+
};
|
|
62698
|
+
MJQuerySQLEntity = __decorate([
|
|
62699
|
+
RegisterClass(BaseEntity, 'MJ: Query SQLs')
|
|
62700
|
+
], MJQuerySQLEntity);
|
|
62701
|
+
export { MJQuerySQLEntity };
|
|
62448
62702
|
/**
|
|
62449
62703
|
* MJ: Queue Tasks - strongly typed entity sub-class
|
|
62450
62704
|
* * Schema: __mj
|
|
@@ -67573,6 +67827,164 @@ MJSkillEntity = __decorate([
|
|
|
67573
67827
|
RegisterClass(BaseEntity, 'MJ: Skills')
|
|
67574
67828
|
], MJSkillEntity);
|
|
67575
67829
|
export { MJSkillEntity };
|
|
67830
|
+
/**
|
|
67831
|
+
* MJ: SQL Dialects - strongly typed entity sub-class
|
|
67832
|
+
* * Schema: __mj
|
|
67833
|
+
* * Base Table: SQLDialect
|
|
67834
|
+
* * Base View: vwSQLDialects
|
|
67835
|
+
* * Primary Key: ID
|
|
67836
|
+
* @extends {BaseEntity}
|
|
67837
|
+
* @class
|
|
67838
|
+
* @public
|
|
67839
|
+
*/
|
|
67840
|
+
let MJSQLDialectEntity = class MJSQLDialectEntity extends BaseEntity {
|
|
67841
|
+
/**
|
|
67842
|
+
* Loads the MJ: SQL Dialects record from the database
|
|
67843
|
+
* @param ID: string - primary key value to load the MJ: SQL Dialects record.
|
|
67844
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
67845
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
67846
|
+
* @public
|
|
67847
|
+
* @async
|
|
67848
|
+
* @memberof MJSQLDialectEntity
|
|
67849
|
+
* @method
|
|
67850
|
+
* @override
|
|
67851
|
+
*/
|
|
67852
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
67853
|
+
const compositeKey = new CompositeKey();
|
|
67854
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
67855
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
67856
|
+
}
|
|
67857
|
+
/**
|
|
67858
|
+
* * Field Name: ID
|
|
67859
|
+
* * Display Name: ID
|
|
67860
|
+
* * SQL Data Type: uniqueidentifier
|
|
67861
|
+
* * Default Value: newsequentialid()
|
|
67862
|
+
*/
|
|
67863
|
+
get ID() {
|
|
67864
|
+
return this.Get('ID');
|
|
67865
|
+
}
|
|
67866
|
+
set ID(value) {
|
|
67867
|
+
this.Set('ID', value);
|
|
67868
|
+
}
|
|
67869
|
+
/**
|
|
67870
|
+
* * Field Name: Name
|
|
67871
|
+
* * Display Name: Name
|
|
67872
|
+
* * SQL Data Type: nvarchar(100)
|
|
67873
|
+
* * Description: Unique display name for the SQL dialect (e.g., T-SQL, PostgreSQL)
|
|
67874
|
+
*/
|
|
67875
|
+
get Name() {
|
|
67876
|
+
return this.Get('Name');
|
|
67877
|
+
}
|
|
67878
|
+
set Name(value) {
|
|
67879
|
+
this.Set('Name', value);
|
|
67880
|
+
}
|
|
67881
|
+
/**
|
|
67882
|
+
* * Field Name: PlatformKey
|
|
67883
|
+
* * Display Name: Platform Key
|
|
67884
|
+
* * SQL Data Type: nvarchar(50)
|
|
67885
|
+
* * Description: Lowercase identifier matching DatabasePlatform type in code (e.g., sqlserver, postgresql). Used by providers to find their dialect at runtime.
|
|
67886
|
+
*/
|
|
67887
|
+
get PlatformKey() {
|
|
67888
|
+
return this.Get('PlatformKey');
|
|
67889
|
+
}
|
|
67890
|
+
set PlatformKey(value) {
|
|
67891
|
+
this.Set('PlatformKey', value);
|
|
67892
|
+
}
|
|
67893
|
+
/**
|
|
67894
|
+
* * Field Name: DatabaseName
|
|
67895
|
+
* * Display Name: Database Name
|
|
67896
|
+
* * SQL Data Type: nvarchar(100)
|
|
67897
|
+
* * Description: Name of the database engine (e.g., SQL Server, PostgreSQL, MySQL)
|
|
67898
|
+
*/
|
|
67899
|
+
get DatabaseName() {
|
|
67900
|
+
return this.Get('DatabaseName');
|
|
67901
|
+
}
|
|
67902
|
+
set DatabaseName(value) {
|
|
67903
|
+
this.Set('DatabaseName', value);
|
|
67904
|
+
}
|
|
67905
|
+
/**
|
|
67906
|
+
* * Field Name: LanguageName
|
|
67907
|
+
* * Display Name: Language Name
|
|
67908
|
+
* * SQL Data Type: nvarchar(100)
|
|
67909
|
+
* * Description: Name of the SQL language variant (e.g., T-SQL, PL/pgSQL, SQL/PSM)
|
|
67910
|
+
*/
|
|
67911
|
+
get LanguageName() {
|
|
67912
|
+
return this.Get('LanguageName');
|
|
67913
|
+
}
|
|
67914
|
+
set LanguageName(value) {
|
|
67915
|
+
this.Set('LanguageName', value);
|
|
67916
|
+
}
|
|
67917
|
+
/**
|
|
67918
|
+
* * Field Name: VendorName
|
|
67919
|
+
* * Display Name: Vendor Name
|
|
67920
|
+
* * SQL Data Type: nvarchar(200)
|
|
67921
|
+
* * Description: Primary vendor or organization behind this database (e.g., Microsoft, PostgreSQL Global Development Group)
|
|
67922
|
+
*/
|
|
67923
|
+
get VendorName() {
|
|
67924
|
+
return this.Get('VendorName');
|
|
67925
|
+
}
|
|
67926
|
+
set VendorName(value) {
|
|
67927
|
+
this.Set('VendorName', value);
|
|
67928
|
+
}
|
|
67929
|
+
/**
|
|
67930
|
+
* * Field Name: WebURL
|
|
67931
|
+
* * Display Name: Web URL
|
|
67932
|
+
* * SQL Data Type: nvarchar(500)
|
|
67933
|
+
* * Description: URL to the database vendor or documentation website
|
|
67934
|
+
*/
|
|
67935
|
+
get WebURL() {
|
|
67936
|
+
return this.Get('WebURL');
|
|
67937
|
+
}
|
|
67938
|
+
set WebURL(value) {
|
|
67939
|
+
this.Set('WebURL', value);
|
|
67940
|
+
}
|
|
67941
|
+
/**
|
|
67942
|
+
* * Field Name: Icon
|
|
67943
|
+
* * Display Name: Icon
|
|
67944
|
+
* * SQL Data Type: nvarchar(500)
|
|
67945
|
+
* * Description: CSS class or icon reference for UI display
|
|
67946
|
+
*/
|
|
67947
|
+
get Icon() {
|
|
67948
|
+
return this.Get('Icon');
|
|
67949
|
+
}
|
|
67950
|
+
set Icon(value) {
|
|
67951
|
+
this.Set('Icon', value);
|
|
67952
|
+
}
|
|
67953
|
+
/**
|
|
67954
|
+
* * Field Name: Description
|
|
67955
|
+
* * Display Name: Description
|
|
67956
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
67957
|
+
* * Description: Detailed description of this SQL dialect and its characteristics
|
|
67958
|
+
*/
|
|
67959
|
+
get Description() {
|
|
67960
|
+
return this.Get('Description');
|
|
67961
|
+
}
|
|
67962
|
+
set Description(value) {
|
|
67963
|
+
this.Set('Description', value);
|
|
67964
|
+
}
|
|
67965
|
+
/**
|
|
67966
|
+
* * Field Name: __mj_CreatedAt
|
|
67967
|
+
* * Display Name: Created At
|
|
67968
|
+
* * SQL Data Type: datetimeoffset
|
|
67969
|
+
* * Default Value: getutcdate()
|
|
67970
|
+
*/
|
|
67971
|
+
get __mj_CreatedAt() {
|
|
67972
|
+
return this.Get('__mj_CreatedAt');
|
|
67973
|
+
}
|
|
67974
|
+
/**
|
|
67975
|
+
* * Field Name: __mj_UpdatedAt
|
|
67976
|
+
* * Display Name: Updated At
|
|
67977
|
+
* * SQL Data Type: datetimeoffset
|
|
67978
|
+
* * Default Value: getutcdate()
|
|
67979
|
+
*/
|
|
67980
|
+
get __mj_UpdatedAt() {
|
|
67981
|
+
return this.Get('__mj_UpdatedAt');
|
|
67982
|
+
}
|
|
67983
|
+
};
|
|
67984
|
+
MJSQLDialectEntity = __decorate([
|
|
67985
|
+
RegisterClass(BaseEntity, 'MJ: SQL Dialects')
|
|
67986
|
+
], MJSQLDialectEntity);
|
|
67987
|
+
export { MJSQLDialectEntity };
|
|
67576
67988
|
/**
|
|
67577
67989
|
* MJ: Tagged Items - strongly typed entity sub-class
|
|
67578
67990
|
* * Schema: __mj
|