@memberjunction/core-entities 0.9.167 → 0.9.170
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/DashboardEntityExtended.d.ts.map +1 -1
- package/dist/custom/DashboardEntityExtended.js +4 -0
- package/dist/custom/DashboardEntityExtended.js.map +1 -1
- package/dist/generated/entity_subclasses.d.ts +187 -18
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +254 -15
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardEntityExtended.d.ts","sourceRoot":"","sources":["../../src/custom/DashboardEntityExtended.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,qBACa,uBAAwB,SAAQ,eAAe;IACjD,SAAS,IAAI,OAAO;
|
|
1
|
+
{"version":3,"file":"DashboardEntityExtended.d.ts","sourceRoot":"","sources":["../../src/custom/DashboardEntityExtended.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,qBACa,uBAAwB,SAAQ,eAAe;IACjD,SAAS,IAAI,OAAO;CA2B9B"}
|
|
@@ -23,6 +23,10 @@ let DashboardEntityExtended = class DashboardEntityExtended extends entity_subcl
|
|
|
23
23
|
};
|
|
24
24
|
const configJSON = JSON.stringify(defaultConfigDetails);
|
|
25
25
|
this.Set("UIConfigDetails", configJSON);
|
|
26
|
+
const md = new core_1.Metadata();
|
|
27
|
+
if (md.CurrentUser) {
|
|
28
|
+
this.Set("UserID", md.CurrentUser.ID);
|
|
29
|
+
}
|
|
26
30
|
return true;
|
|
27
31
|
}
|
|
28
32
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardEntityExtended.js","sourceRoot":"","sources":["../../src/custom/DashboardEntityExtended.ts"],"names":[],"mappings":";;;;;;;;;AAAA,+
|
|
1
|
+
{"version":3,"file":"DashboardEntityExtended.js","sourceRoot":"","sources":["../../src/custom/DashboardEntityExtended.ts"],"names":[],"mappings":";;;;;;;;;AAAA,+CAAsE;AACtE,mDAAuD;AACvD,sEAAiE;AAG1D,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,mCAAe;IACjD,SAAS;QACZ,IAAG,CAAC;YACA,KAAK,CAAC,SAAS,EAAE,CAAC;YAClB,IAAI,oBAAoB,GAAG;gBACvB,OAAO,EAAE,CAAC;gBACV,SAAS,EAAE,GAAG;gBACd,SAAS,EAAE,IAAI;gBACf,WAAW,EAAE,IAAI;gBACjB,KAAK,EAAE,EAAE;aACZ,CAAA;YAED,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;YACxD,IAAI,CAAC,GAAG,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;YAExC,MAAM,EAAE,GAAa,IAAI,eAAQ,EAAE,CAAC;YACpC,IAAG,EAAE,CAAC,WAAW,EAAC,CAAC;gBACf,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;YAC1C,CAAC;YAED,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,OAAM,KAAK,EAAE,CAAC;YACV,IAAA,eAAQ,EAAC,sBAAsB,CAAC,CAAC;YACjC,IAAA,eAAQ,EAAC,KAAK,CAAC,CAAC;YAChB,OAAO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;CACJ,CAAA;AA5BY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,sBAAa,EAAC,iBAAU,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC,gEAAgE;GAC/F,uBAAuB,CA4BnC"}
|
|
@@ -1197,9 +1197,14 @@ export declare class EntityFieldEntity extends BaseEntity {
|
|
|
1197
1197
|
* * Display Name: Value List Type
|
|
1198
1198
|
* * SQL Data Type: nvarchar(20)
|
|
1199
1199
|
* * Default Value: N'None'
|
|
1200
|
+
* * Value List Type: List
|
|
1201
|
+
* * Possible Values
|
|
1202
|
+
* * None
|
|
1203
|
+
* * List
|
|
1204
|
+
* * ListOrUserEntry
|
|
1200
1205
|
*/
|
|
1201
|
-
get ValueListType():
|
|
1202
|
-
set ValueListType(value:
|
|
1206
|
+
get ValueListType(): 'None' | 'List' | 'ListOrUserEntry';
|
|
1207
|
+
set ValueListType(value: 'None' | 'List' | 'ListOrUserEntry');
|
|
1203
1208
|
/**
|
|
1204
1209
|
* * Field Name: ExtendedType
|
|
1205
1210
|
* * Display Name: Extended Type
|
|
@@ -3788,6 +3793,53 @@ export declare class WorkflowEntity extends BaseEntity {
|
|
|
3788
3793
|
* * Default Value: getdate()
|
|
3789
3794
|
*/
|
|
3790
3795
|
get UpdatedAt(): Date;
|
|
3796
|
+
/**
|
|
3797
|
+
* * Field Name: AutoRunEnabled
|
|
3798
|
+
* * Display Name: Auto Run Enabled
|
|
3799
|
+
* * SQL Data Type: bit
|
|
3800
|
+
* * Default Value: 0
|
|
3801
|
+
* * Description: If set to 1, the workflow will be run automatically on the interval specified by the AutoRunIntervalType and AutoRunInterval fields
|
|
3802
|
+
*/
|
|
3803
|
+
get AutoRunEnabled(): boolean;
|
|
3804
|
+
set AutoRunEnabled(value: boolean);
|
|
3805
|
+
/**
|
|
3806
|
+
* * Field Name: AutoRunIntervalUnits
|
|
3807
|
+
* * Display Name: Auto Run Interval Units
|
|
3808
|
+
* * SQL Data Type: nvarchar(20)
|
|
3809
|
+
* * Value List Type: List
|
|
3810
|
+
* * Possible Values
|
|
3811
|
+
* * Years
|
|
3812
|
+
* * Months
|
|
3813
|
+
* * Weeks
|
|
3814
|
+
* * Days
|
|
3815
|
+
* * Hours
|
|
3816
|
+
* * Minutes
|
|
3817
|
+
* * Description: Minutes, Hours, Days, Weeks, Months, Years
|
|
3818
|
+
*/
|
|
3819
|
+
get AutoRunIntervalUnits(): 'Years' | 'Months' | 'Weeks' | 'Days' | 'Hours' | 'Minutes' | null;
|
|
3820
|
+
set AutoRunIntervalUnits(value: 'Years' | 'Months' | 'Weeks' | 'Days' | 'Hours' | 'Minutes' | null);
|
|
3821
|
+
/**
|
|
3822
|
+
* * Field Name: AutoRunInterval
|
|
3823
|
+
* * Display Name: Auto Run Interval
|
|
3824
|
+
* * SQL Data Type: int
|
|
3825
|
+
* * Description: The interval, denominated in the units specified in the AutoRunIntervalUnits column, between auto runs of this workflow.
|
|
3826
|
+
*/
|
|
3827
|
+
get AutoRunInterval(): number | null;
|
|
3828
|
+
set AutoRunInterval(value: number | null);
|
|
3829
|
+
/**
|
|
3830
|
+
* * Field Name: SubclassName
|
|
3831
|
+
* * Display Name: Subclass Name
|
|
3832
|
+
* * SQL Data Type: nvarchar(200)
|
|
3833
|
+
* * Description: If specified, this subclass key, via the ClassFactory, will be instantiated, to execute this workflow. If not specified the WorkflowBase class will be used by default.
|
|
3834
|
+
*/
|
|
3835
|
+
get SubclassName(): string | null;
|
|
3836
|
+
set SubclassName(value: string | null);
|
|
3837
|
+
/**
|
|
3838
|
+
* * Field Name: AutoRunIntervalMinutes
|
|
3839
|
+
* * Display Name: Auto Run Interval Minutes
|
|
3840
|
+
* * SQL Data Type: int
|
|
3841
|
+
*/
|
|
3842
|
+
get AutoRunIntervalMinutes(): number | null;
|
|
3791
3843
|
}
|
|
3792
3844
|
/**
|
|
3793
3845
|
* Workflow Engines - strongly typed entity sub-class
|
|
@@ -4426,23 +4478,13 @@ export declare class AuthorizationRoleEntity extends BaseEntity {
|
|
|
4426
4478
|
* * Display Name: Type
|
|
4427
4479
|
* * SQL Data Type: nchar(10)
|
|
4428
4480
|
* * Default Value: N'grant'
|
|
4429
|
-
* Value List Type: List
|
|
4430
|
-
* Possible Values
|
|
4431
|
-
* Allow - User allowed to execute tasks linked to this authorization
|
|
4432
|
-
*
|
|
4433
|
-
* Allow - User allowed to execute tasks linked to this authorization
|
|
4434
|
-
* Allow - User allowed to execute tasks linked to this authorization
|
|
4435
|
-
* Allow - User allowed to execute tasks linked to this authorization
|
|
4436
|
-
* Allow - User allowed to execute tasks linked to this authorization
|
|
4437
|
-
* Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
|
|
4438
|
-
* Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
|
|
4439
|
-
* Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
|
|
4440
|
-
* Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
|
|
4441
|
-
* Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
|
|
4442
|
-
* Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
|
|
4481
|
+
* * Value List Type: List
|
|
4482
|
+
* * Possible Values
|
|
4483
|
+
* * Allow - User allowed to execute tasks linked to this authorization
|
|
4484
|
+
* * Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
|
|
4443
4485
|
*/
|
|
4444
|
-
get Type():
|
|
4445
|
-
set Type(value:
|
|
4486
|
+
get Type(): 'Allow' | 'Deny';
|
|
4487
|
+
set Type(value: 'Allow' | 'Deny');
|
|
4446
4488
|
/**
|
|
4447
4489
|
* * Field Name: CreatedAt
|
|
4448
4490
|
* * Display Name: Created At
|
|
@@ -4662,6 +4704,12 @@ export declare class EntityFieldValueEntity extends BaseEntity {
|
|
|
4662
4704
|
*/
|
|
4663
4705
|
get UpdatedAt(): Date;
|
|
4664
4706
|
/**
|
|
4707
|
+
* * Field Name: EntityField
|
|
4708
|
+
* * Display Name: Entity Field
|
|
4709
|
+
* * SQL Data Type: nvarchar(255)
|
|
4710
|
+
*/
|
|
4711
|
+
get EntityField(): string;
|
|
4712
|
+
/**
|
|
4665
4713
|
* * Field Name: Entity
|
|
4666
4714
|
* * Display Name: Entity
|
|
4667
4715
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -9212,4 +9260,125 @@ export declare class FileEntityRecordLinkEntity extends BaseEntity {
|
|
|
9212
9260
|
*/
|
|
9213
9261
|
get Entity(): string;
|
|
9214
9262
|
}
|
|
9263
|
+
/**
|
|
9264
|
+
* Version Installations - strongly typed entity sub-class
|
|
9265
|
+
* * Schema: __mj
|
|
9266
|
+
* * Base Table: VersionInstallation
|
|
9267
|
+
* * Base View: vwVersionInstallations
|
|
9268
|
+
* * Primary Key: ID
|
|
9269
|
+
* @extends {BaseEntity}
|
|
9270
|
+
* @class
|
|
9271
|
+
* @public
|
|
9272
|
+
*/
|
|
9273
|
+
export declare class VersionInstallationEntity extends BaseEntity {
|
|
9274
|
+
/**
|
|
9275
|
+
* Loads the Version Installations record from the database
|
|
9276
|
+
* @param ID: number - primary key value to load the Version Installations record.
|
|
9277
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
9278
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
9279
|
+
* @public
|
|
9280
|
+
* @async
|
|
9281
|
+
* @memberof VersionInstallationEntity
|
|
9282
|
+
* @method
|
|
9283
|
+
* @override
|
|
9284
|
+
*/
|
|
9285
|
+
Load(ID: number, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
9286
|
+
/**
|
|
9287
|
+
* Version Installations - AllowDeleteAPI is set to 0 in the database. Delete is not allowed, so this method is generated to override the base class method and throw an error. To enable delete for this entity, set AllowDeleteAPI to 1 in the database.
|
|
9288
|
+
* @public
|
|
9289
|
+
* @method
|
|
9290
|
+
* @override
|
|
9291
|
+
* @memberof VersionInstallationEntity
|
|
9292
|
+
* @throws {Error} - Delete is not allowed for Version Installations, to enable it set AllowDeleteAPI to 1 in the database.
|
|
9293
|
+
*/
|
|
9294
|
+
Delete(): Promise<boolean>;
|
|
9295
|
+
/**
|
|
9296
|
+
* * Field Name: ID
|
|
9297
|
+
* * Display Name: ID
|
|
9298
|
+
* * SQL Data Type: int
|
|
9299
|
+
*/
|
|
9300
|
+
get ID(): number;
|
|
9301
|
+
/**
|
|
9302
|
+
* * Field Name: MajorVersion
|
|
9303
|
+
* * Display Name: Major Version
|
|
9304
|
+
* * SQL Data Type: int
|
|
9305
|
+
*/
|
|
9306
|
+
get MajorVersion(): number;
|
|
9307
|
+
set MajorVersion(value: number);
|
|
9308
|
+
/**
|
|
9309
|
+
* * Field Name: MinorVersion
|
|
9310
|
+
* * Display Name: Minor Version
|
|
9311
|
+
* * SQL Data Type: int
|
|
9312
|
+
*/
|
|
9313
|
+
get MinorVersion(): number;
|
|
9314
|
+
set MinorVersion(value: number);
|
|
9315
|
+
/**
|
|
9316
|
+
* * Field Name: PatchVersion
|
|
9317
|
+
* * Display Name: Patch Version
|
|
9318
|
+
* * SQL Data Type: int
|
|
9319
|
+
*/
|
|
9320
|
+
get PatchVersion(): number;
|
|
9321
|
+
set PatchVersion(value: number);
|
|
9322
|
+
/**
|
|
9323
|
+
* * Field Name: Type
|
|
9324
|
+
* * Display Name: Type
|
|
9325
|
+
* * SQL Data Type: nvarchar(20)
|
|
9326
|
+
* * Default Value: N'System'
|
|
9327
|
+
* * Description: What type of installation was applied
|
|
9328
|
+
*/
|
|
9329
|
+
get Type(): string | null;
|
|
9330
|
+
set Type(value: string | null);
|
|
9331
|
+
/**
|
|
9332
|
+
* * Field Name: InstalledAt
|
|
9333
|
+
* * Display Name: Installed At
|
|
9334
|
+
* * SQL Data Type: datetime
|
|
9335
|
+
*/
|
|
9336
|
+
get InstalledAt(): Date;
|
|
9337
|
+
set InstalledAt(value: Date);
|
|
9338
|
+
/**
|
|
9339
|
+
* * Field Name: Status
|
|
9340
|
+
* * Display Name: Status
|
|
9341
|
+
* * SQL Data Type: nvarchar(20)
|
|
9342
|
+
* * Default Value: N'Pending'
|
|
9343
|
+
* * Description: Pending, Complete, Failed
|
|
9344
|
+
*/
|
|
9345
|
+
get Status(): string;
|
|
9346
|
+
set Status(value: string);
|
|
9347
|
+
/**
|
|
9348
|
+
* * Field Name: InstallLog
|
|
9349
|
+
* * Display Name: Install Log
|
|
9350
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
9351
|
+
* * Description: Any logging that was saved from the installation process
|
|
9352
|
+
*/
|
|
9353
|
+
get InstallLog(): string | null;
|
|
9354
|
+
set InstallLog(value: string | null);
|
|
9355
|
+
/**
|
|
9356
|
+
* * Field Name: Comments
|
|
9357
|
+
* * Display Name: Comments
|
|
9358
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
9359
|
+
* * Description: Optional, comments the administrator wants to save for each installed version
|
|
9360
|
+
*/
|
|
9361
|
+
get Comments(): string | null;
|
|
9362
|
+
set Comments(value: string | null);
|
|
9363
|
+
/**
|
|
9364
|
+
* * Field Name: CreatedAt
|
|
9365
|
+
* * Display Name: Created At
|
|
9366
|
+
* * SQL Data Type: datetime
|
|
9367
|
+
* * Default Value: getdate()
|
|
9368
|
+
*/
|
|
9369
|
+
get CreatedAt(): Date;
|
|
9370
|
+
/**
|
|
9371
|
+
* * Field Name: UpdatedAt
|
|
9372
|
+
* * Display Name: Updated At
|
|
9373
|
+
* * SQL Data Type: datetime
|
|
9374
|
+
* * Default Value: getdate()
|
|
9375
|
+
*/
|
|
9376
|
+
get UpdatedAt(): Date;
|
|
9377
|
+
/**
|
|
9378
|
+
* * Field Name: CompleteVersion
|
|
9379
|
+
* * Display Name: Complete Version
|
|
9380
|
+
* * SQL Data Type: nvarchar(302)
|
|
9381
|
+
*/
|
|
9382
|
+
get CompleteVersion(): string | null;
|
|
9383
|
+
}
|
|
9215
9384
|
//# sourceMappingURL=entity_subclasses.d.ts.map
|