@memberjunction/core 2.72.0 → 2.74.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/generic/applicationInfo.d.ts +92 -1
- package/dist/generic/applicationInfo.d.ts.map +1 -1
- package/dist/generic/applicationInfo.js +92 -1
- package/dist/generic/applicationInfo.js.map +1 -1
- package/dist/generic/baseInfo.d.ts +15 -0
- package/dist/generic/baseInfo.d.ts.map +1 -1
- package/dist/generic/baseInfo.js +15 -0
- package/dist/generic/baseInfo.js.map +1 -1
- package/dist/generic/entityInfo.d.ts +184 -3
- package/dist/generic/entityInfo.d.ts.map +1 -1
- package/dist/generic/entityInfo.js +184 -3
- package/dist/generic/entityInfo.js.map +1 -1
- package/dist/generic/interfaces.d.ts +119 -4
- package/dist/generic/interfaces.d.ts.map +1 -1
- package/dist/generic/interfaces.js +44 -3
- package/dist/generic/interfaces.js.map +1 -1
- package/dist/generic/providerBase.d.ts +248 -8
- package/dist/generic/providerBase.d.ts.map +1 -1
- package/dist/generic/providerBase.js +185 -2
- package/dist/generic/providerBase.js.map +1 -1
- package/dist/generic/queryInfo.d.ts +312 -1
- package/dist/generic/queryInfo.d.ts.map +1 -1
- package/dist/generic/queryInfo.js +371 -2
- package/dist/generic/queryInfo.js.map +1 -1
- package/dist/generic/querySQLFilters.d.ts +54 -0
- package/dist/generic/querySQLFilters.d.ts.map +1 -0
- package/dist/generic/querySQLFilters.js +84 -0
- package/dist/generic/querySQLFilters.js.map +1 -0
- package/dist/generic/runQuery.d.ts +42 -0
- package/dist/generic/runQuery.d.ts.map +1 -1
- package/dist/generic/runQuery.js +26 -0
- package/dist/generic/runQuery.js.map +1 -1
- package/dist/generic/runQuerySQLFilterImplementations.d.ts +51 -0
- package/dist/generic/runQuerySQLFilterImplementations.d.ts.map +1 -0
- package/dist/generic/runQuerySQLFilterImplementations.js +238 -0
- package/dist/generic/runQuerySQLFilterImplementations.js.map +1 -0
- package/dist/generic/securityInfo.d.ts +212 -13
- package/dist/generic/securityInfo.d.ts.map +1 -1
- package/dist/generic/securityInfo.js +200 -14
- package/dist/generic/securityInfo.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/readme.md +550 -1
|
@@ -1,46 +1,137 @@
|
|
|
1
1
|
import { BaseInfo } from './baseInfo';
|
|
2
2
|
import { EntityInfo } from './entityInfo';
|
|
3
3
|
import { IMetadataProvider } from './interfaces';
|
|
4
|
+
/**
|
|
5
|
+
* Stores configuration settings and preferences for applications, including key-value pairs for runtime parameters and user-specific customizations.
|
|
6
|
+
*/
|
|
4
7
|
export declare class ApplicationSettingInfo extends BaseInfo {
|
|
8
|
+
/**
|
|
9
|
+
* Unique identifier for the application setting
|
|
10
|
+
*/
|
|
5
11
|
ID: string;
|
|
12
|
+
/**
|
|
13
|
+
* Name of the application this setting belongs to
|
|
14
|
+
*/
|
|
6
15
|
ApplicationName: string;
|
|
16
|
+
/**
|
|
17
|
+
* Name of the setting
|
|
18
|
+
*/
|
|
7
19
|
Name: string;
|
|
20
|
+
/**
|
|
21
|
+
* The setting value, can be simple text, numbers, booleans, or JSON for complex configuration objects
|
|
22
|
+
*/
|
|
8
23
|
Value: string;
|
|
24
|
+
/**
|
|
25
|
+
* Additional comments about the setting
|
|
26
|
+
*/
|
|
9
27
|
Comments: string;
|
|
28
|
+
/**
|
|
29
|
+
* Timestamp when the record was created
|
|
30
|
+
*/
|
|
10
31
|
__mj_CreatedAt: Date;
|
|
32
|
+
/**
|
|
33
|
+
* Timestamp when the record was last updated
|
|
34
|
+
*/
|
|
11
35
|
__mj_UpdatedAt: Date;
|
|
12
36
|
constructor(initData?: any);
|
|
13
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* List of entities within each application. An application can have any number of entities and an entity can be part of any number of applications.
|
|
40
|
+
*/
|
|
14
41
|
export declare class ApplicationEntityInfo extends BaseInfo {
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier for the application entity relationship
|
|
44
|
+
*/
|
|
15
45
|
ID: string;
|
|
46
|
+
/**
|
|
47
|
+
* Name of the application
|
|
48
|
+
*/
|
|
16
49
|
ApplicationName: string;
|
|
50
|
+
/**
|
|
51
|
+
* ID of the entity linked to this application
|
|
52
|
+
*/
|
|
17
53
|
EntityID: string;
|
|
54
|
+
/**
|
|
55
|
+
* Display order of this entity within the application, lower numbers appear first in navigation and menus
|
|
56
|
+
*/
|
|
18
57
|
Sequence: number;
|
|
58
|
+
/**
|
|
59
|
+
* When set to true, the entity will be included by default for a new user when they first access the application in question
|
|
60
|
+
*/
|
|
19
61
|
DefaultForNewUser: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Application name (denormalized field)
|
|
64
|
+
*/
|
|
20
65
|
Application: string;
|
|
66
|
+
/**
|
|
67
|
+
* Entity name (denormalized field)
|
|
68
|
+
*/
|
|
21
69
|
Entity: string;
|
|
70
|
+
/**
|
|
71
|
+
* Base table name of the entity
|
|
72
|
+
*/
|
|
22
73
|
EntityBaseTable: string;
|
|
74
|
+
/**
|
|
75
|
+
* Code-friendly name of the entity
|
|
76
|
+
*/
|
|
23
77
|
EntityCodeName: string;
|
|
78
|
+
/**
|
|
79
|
+
* Class name of the entity
|
|
80
|
+
*/
|
|
24
81
|
EntityClassName: string;
|
|
82
|
+
/**
|
|
83
|
+
* Code-friendly name of the entity's base table
|
|
84
|
+
*/
|
|
25
85
|
EntityBaseTableCodeName: string;
|
|
26
86
|
private _EntityInfo;
|
|
87
|
+
/**
|
|
88
|
+
* Gets the full entity metadata for the entity linked to this application.
|
|
89
|
+
* @returns {EntityInfo} The entity information object
|
|
90
|
+
*/
|
|
27
91
|
get EntityInfo(): EntityInfo;
|
|
28
92
|
_setEntity(entity: EntityInfo): void;
|
|
29
93
|
constructor(initData?: any);
|
|
30
94
|
}
|
|
31
95
|
/**
|
|
32
|
-
*
|
|
96
|
+
* Applications are used to group entities in the user interface for ease of user access.
|
|
97
|
+
* Provides organizational structure for presenting entities to users.
|
|
33
98
|
*/
|
|
34
99
|
export declare class ApplicationInfo extends BaseInfo {
|
|
100
|
+
/**
|
|
101
|
+
* Unique identifier for the application
|
|
102
|
+
*/
|
|
35
103
|
ID: string;
|
|
104
|
+
/**
|
|
105
|
+
* Name of the application
|
|
106
|
+
*/
|
|
36
107
|
Name: string;
|
|
108
|
+
/**
|
|
109
|
+
* Description of the application
|
|
110
|
+
*/
|
|
37
111
|
Description: string;
|
|
112
|
+
/**
|
|
113
|
+
* CSS class information for the display icon for each application
|
|
114
|
+
*/
|
|
38
115
|
Icon: string;
|
|
116
|
+
/**
|
|
117
|
+
* 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
|
|
118
|
+
*/
|
|
39
119
|
DefaultForNewUser: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Comma-delimited list of schema names where entities will be automatically added to the application when created in those schemas
|
|
122
|
+
*/
|
|
40
123
|
SchemaAutoAddNewEntities: string;
|
|
41
124
|
private _ApplicationEntities;
|
|
125
|
+
/**
|
|
126
|
+
* Gets the list of entities that belong to this application with their display sequence.
|
|
127
|
+
* @returns {ApplicationEntityInfo[]} Array of application entity mappings
|
|
128
|
+
*/
|
|
42
129
|
get ApplicationEntities(): ApplicationEntityInfo[];
|
|
43
130
|
private _ApplicationSettings;
|
|
131
|
+
/**
|
|
132
|
+
* Gets the configuration settings for this application.
|
|
133
|
+
* @returns {ApplicationSettingInfo[]} Array of key-value settings
|
|
134
|
+
*/
|
|
44
135
|
get ApplicationSettings(): ApplicationSettingInfo[];
|
|
45
136
|
constructor(initData: any, md: IMetadataProvider);
|
|
46
137
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationInfo.d.ts","sourceRoot":"","sources":["../../src/generic/applicationInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAA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H,eAAe,EAAE,MAAM,CAAO;IAE9B;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAO;IAEtC,OAAO,CAAC,WAAW,CAAmB;IACtC;;;OAGG;IACH,IAAW,UAAU,IAAI,UAAU,CAElC;IAED,UAAU,CAAC,MAAM,EAAE,UAAU;gBAIhB,QAAQ,GAAE,GAAU;CAIpC;AAED;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,QAAQ;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAO;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAO;IAEnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAO;IAE1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAO;IAEnB;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAO;IAEjC;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAO;IAEvC,OAAO,CAAC,oBAAoB,CAA8B;IAC1D;;;OAGG;IACH,IAAW,mBAAmB,IAAI,qBAAqB,EAAE,CAExD;IAED,OAAO,CAAC,oBAAoB,CAA+B;IAC3D;;;OAGG;IACH,IAAW,mBAAmB,IAAI,sBAAsB,EAAE,CAEzD;gBAEY,QAAQ,EAAE,GAAU,EAAE,EAAE,EAAE,iBAAiB;CAyB3D"}
|
|
@@ -2,21 +2,52 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ApplicationInfo = exports.ApplicationEntityInfo = exports.ApplicationSettingInfo = void 0;
|
|
4
4
|
const baseInfo_1 = require("./baseInfo");
|
|
5
|
+
/**
|
|
6
|
+
* Stores configuration settings and preferences for applications, including key-value pairs for runtime parameters and user-specific customizations.
|
|
7
|
+
*/
|
|
5
8
|
class ApplicationSettingInfo extends baseInfo_1.BaseInfo {
|
|
6
9
|
constructor(initData = null) {
|
|
7
10
|
super();
|
|
11
|
+
/**
|
|
12
|
+
* Unique identifier for the application setting
|
|
13
|
+
*/
|
|
8
14
|
this.ID = null;
|
|
15
|
+
/**
|
|
16
|
+
* Name of the application this setting belongs to
|
|
17
|
+
*/
|
|
9
18
|
this.ApplicationName = null;
|
|
19
|
+
/**
|
|
20
|
+
* Name of the setting
|
|
21
|
+
*/
|
|
10
22
|
this.Name = null;
|
|
23
|
+
/**
|
|
24
|
+
* The setting value, can be simple text, numbers, booleans, or JSON for complex configuration objects
|
|
25
|
+
*/
|
|
11
26
|
this.Value = null;
|
|
27
|
+
/**
|
|
28
|
+
* Additional comments about the setting
|
|
29
|
+
*/
|
|
12
30
|
this.Comments = null;
|
|
31
|
+
/**
|
|
32
|
+
* Timestamp when the record was created
|
|
33
|
+
*/
|
|
13
34
|
this.__mj_CreatedAt = null;
|
|
35
|
+
/**
|
|
36
|
+
* Timestamp when the record was last updated
|
|
37
|
+
*/
|
|
14
38
|
this.__mj_UpdatedAt = null;
|
|
15
39
|
this.copyInitData(initData);
|
|
16
40
|
}
|
|
17
41
|
}
|
|
18
42
|
exports.ApplicationSettingInfo = ApplicationSettingInfo;
|
|
43
|
+
/**
|
|
44
|
+
* List of entities within each application. An application can have any number of entities and an entity can be part of any number of applications.
|
|
45
|
+
*/
|
|
19
46
|
class ApplicationEntityInfo extends baseInfo_1.BaseInfo {
|
|
47
|
+
/**
|
|
48
|
+
* Gets the full entity metadata for the entity linked to this application.
|
|
49
|
+
* @returns {EntityInfo} The entity information object
|
|
50
|
+
*/
|
|
20
51
|
get EntityInfo() {
|
|
21
52
|
return this._EntityInfo;
|
|
22
53
|
}
|
|
@@ -25,16 +56,49 @@ class ApplicationEntityInfo extends baseInfo_1.BaseInfo {
|
|
|
25
56
|
}
|
|
26
57
|
constructor(initData = null) {
|
|
27
58
|
super();
|
|
59
|
+
/**
|
|
60
|
+
* Unique identifier for the application entity relationship
|
|
61
|
+
*/
|
|
28
62
|
this.ID = null;
|
|
63
|
+
/**
|
|
64
|
+
* Name of the application
|
|
65
|
+
*/
|
|
29
66
|
this.ApplicationName = null;
|
|
67
|
+
/**
|
|
68
|
+
* ID of the entity linked to this application
|
|
69
|
+
*/
|
|
30
70
|
this.EntityID = null;
|
|
71
|
+
/**
|
|
72
|
+
* Display order of this entity within the application, lower numbers appear first in navigation and menus
|
|
73
|
+
*/
|
|
31
74
|
this.Sequence = null;
|
|
75
|
+
/**
|
|
76
|
+
* When set to true, the entity will be included by default for a new user when they first access the application in question
|
|
77
|
+
*/
|
|
32
78
|
this.DefaultForNewUser = null;
|
|
79
|
+
/**
|
|
80
|
+
* Application name (denormalized field)
|
|
81
|
+
*/
|
|
33
82
|
this.Application = null;
|
|
83
|
+
/**
|
|
84
|
+
* Entity name (denormalized field)
|
|
85
|
+
*/
|
|
34
86
|
this.Entity = null;
|
|
87
|
+
/**
|
|
88
|
+
* Base table name of the entity
|
|
89
|
+
*/
|
|
35
90
|
this.EntityBaseTable = null;
|
|
91
|
+
/**
|
|
92
|
+
* Code-friendly name of the entity
|
|
93
|
+
*/
|
|
36
94
|
this.EntityCodeName = null;
|
|
95
|
+
/**
|
|
96
|
+
* Class name of the entity
|
|
97
|
+
*/
|
|
37
98
|
this.EntityClassName = null;
|
|
99
|
+
/**
|
|
100
|
+
* Code-friendly name of the entity's base table
|
|
101
|
+
*/
|
|
38
102
|
this.EntityBaseTableCodeName = null;
|
|
39
103
|
this._EntityInfo = null;
|
|
40
104
|
this.copyInitData(initData);
|
|
@@ -42,22 +106,49 @@ class ApplicationEntityInfo extends baseInfo_1.BaseInfo {
|
|
|
42
106
|
}
|
|
43
107
|
exports.ApplicationEntityInfo = ApplicationEntityInfo;
|
|
44
108
|
/**
|
|
45
|
-
*
|
|
109
|
+
* Applications are used to group entities in the user interface for ease of user access.
|
|
110
|
+
* Provides organizational structure for presenting entities to users.
|
|
46
111
|
*/
|
|
47
112
|
class ApplicationInfo extends baseInfo_1.BaseInfo {
|
|
113
|
+
/**
|
|
114
|
+
* Gets the list of entities that belong to this application with their display sequence.
|
|
115
|
+
* @returns {ApplicationEntityInfo[]} Array of application entity mappings
|
|
116
|
+
*/
|
|
48
117
|
get ApplicationEntities() {
|
|
49
118
|
return this._ApplicationEntities;
|
|
50
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* Gets the configuration settings for this application.
|
|
122
|
+
* @returns {ApplicationSettingInfo[]} Array of key-value settings
|
|
123
|
+
*/
|
|
51
124
|
get ApplicationSettings() {
|
|
52
125
|
return this._ApplicationSettings;
|
|
53
126
|
}
|
|
54
127
|
constructor(initData = null, md) {
|
|
55
128
|
super();
|
|
129
|
+
/**
|
|
130
|
+
* Unique identifier for the application
|
|
131
|
+
*/
|
|
56
132
|
this.ID = null;
|
|
133
|
+
/**
|
|
134
|
+
* Name of the application
|
|
135
|
+
*/
|
|
57
136
|
this.Name = null;
|
|
137
|
+
/**
|
|
138
|
+
* Description of the application
|
|
139
|
+
*/
|
|
58
140
|
this.Description = null;
|
|
141
|
+
/**
|
|
142
|
+
* CSS class information for the display icon for each application
|
|
143
|
+
*/
|
|
59
144
|
this.Icon = null;
|
|
145
|
+
/**
|
|
146
|
+
* 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
|
|
147
|
+
*/
|
|
60
148
|
this.DefaultForNewUser = null;
|
|
149
|
+
/**
|
|
150
|
+
* Comma-delimited list of schema names where entities will be automatically added to the application when created in those schemas
|
|
151
|
+
*/
|
|
61
152
|
this.SchemaAutoAddNewEntities = null;
|
|
62
153
|
this._ApplicationEntities = [];
|
|
63
154
|
this._ApplicationSettings = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationInfo.js","sourceRoot":"","sources":["../../src/generic/applicationInfo.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAIrC,MAAa,sBAAuB,SAAQ,mBAAQ;
|
|
1
|
+
{"version":3,"file":"applicationInfo.js","sourceRoot":"","sources":["../../src/generic/applicationInfo.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAIrC;;GAEG;AACH,MAAa,sBAAuB,SAAQ,mBAAQ;IAoChD,YAAa,WAAgB,IAAI;Q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,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAA;oBAC1D,IAAI,KAAK;wBACL,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;gBAC7B,CAAC;YACL,CAAC;YAED,IAAI,EAAE,GAAG,QAAQ,CAAC,mBAAmB,IAAI,QAAQ,CAAC,oBAAoB,CAAC;YACvE,IAAI,EAAE;gBACF,IAAI,CAAC,oBAAoB,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/E,CAAC;IACL,CAAC;CAEJ;AA1ED,0CA0EC"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base class for all MemberJunction metadata info classes.
|
|
3
|
+
* Provides common functionality for copying initialization data and handling default values.
|
|
4
|
+
* All Info classes (EntityInfo, QueryInfo, etc.) extend this base class.
|
|
5
|
+
*/
|
|
1
6
|
export declare abstract class BaseInfo {
|
|
2
7
|
/**
|
|
3
8
|
* Primary Key
|
|
4
9
|
*/
|
|
5
10
|
ID: any;
|
|
11
|
+
/**
|
|
12
|
+
* Copies initialization data from a plain object to the class instance.
|
|
13
|
+
* Only copies properties that already exist on the class to prevent creating new fields.
|
|
14
|
+
* Special handling for DefaultValue fields to extract actual values from SQL Server syntax.
|
|
15
|
+
* @param initData - The initialization data object
|
|
16
|
+
*/
|
|
6
17
|
protected copyInitData(initData: any): void;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a new instance of the BaseInfo-derived class.
|
|
20
|
+
* @param initData - Optional initialization data to populate the instance
|
|
21
|
+
*/
|
|
7
22
|
constructor(initData?: any);
|
|
8
23
|
}
|
|
9
24
|
//# sourceMappingURL=baseInfo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseInfo.d.ts","sourceRoot":"","sources":["../../src/generic/baseInfo.ts"],"names":[],"mappings":"AAEA,8BAAsB,QAAQ;IAC1B;;OAEG;IACH,EAAE,EAAE,GAAG,CAAO;IAEd,SAAS,CAAC,YAAY,CAAC,QAAQ,EAAE,GAAG;
|
|
1
|
+
{"version":3,"file":"baseInfo.d.ts","sourceRoot":"","sources":["../../src/generic/baseInfo.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,8BAAsB,QAAQ;IAC1B;;OAEG;IACH,EAAE,EAAE,GAAG,CAAO;IAEd;;;;;OAKG;IACH,SAAS,CAAC,YAAY,CAAC,QAAQ,EAAE,GAAG;IAsBpC;;;OAGG;gBACS,QAAQ,GAAE,GAAU;CAKnC"}
|
package/dist/generic/baseInfo.js
CHANGED
|
@@ -2,7 +2,18 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BaseInfo = void 0;
|
|
4
4
|
const util_1 = require("./util");
|
|
5
|
+
/**
|
|
6
|
+
* Base class for all MemberJunction metadata info classes.
|
|
7
|
+
* Provides common functionality for copying initialization data and handling default values.
|
|
8
|
+
* All Info classes (EntityInfo, QueryInfo, etc.) extend this base class.
|
|
9
|
+
*/
|
|
5
10
|
class BaseInfo {
|
|
11
|
+
/**
|
|
12
|
+
* Copies initialization data from a plain object to the class instance.
|
|
13
|
+
* Only copies properties that already exist on the class to prevent creating new fields.
|
|
14
|
+
* Special handling for DefaultValue fields to extract actual values from SQL Server syntax.
|
|
15
|
+
* @param initData - The initialization data object
|
|
16
|
+
*/
|
|
6
17
|
copyInitData(initData) {
|
|
7
18
|
if (initData) {
|
|
8
19
|
// copy the properties from the init data to the new class instance we are constructing
|
|
@@ -24,6 +35,10 @@ class BaseInfo {
|
|
|
24
35
|
}
|
|
25
36
|
}
|
|
26
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Creates a new instance of the BaseInfo-derived class.
|
|
40
|
+
* @param initData - Optional initialization data to populate the instance
|
|
41
|
+
*/
|
|
27
42
|
constructor(initData = null) {
|
|
28
43
|
/**
|
|
29
44
|
* Primary Key
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseInfo.js","sourceRoot":"","sources":["../../src/generic/baseInfo.ts"],"names":[],"mappings":";;;AAAA,iCAAmD;AAEnD,MAAsB,QAAQ;
|
|
1
|
+
{"version":3,"file":"baseInfo.js","sourceRoot":"","sources":["../../src/generic/baseInfo.ts"],"names":[],"mappings":";;;AAAA,iCAAmD;AAEnD;;;;GAIG;AACH,MAAsB,QAAQ;IAM1B;;;;;OAKG;IACO,YAAY,CAAC,QAAa;QAChC,IAAI,QAAQ,EAAE,CAAC;YACX,uFAAuF;YACvF,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACnC,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACnC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACnC,sEAAsE;gBACtE,IAAI,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC;oBACjC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,cAAc,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;wBACvE,oHAAoH;wBACpH,qGAAqG;wBACrG,MAAM,YAAY,GAAW,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/C,MAAM,WAAW,GAAW,IAAA,gCAAyB,EAAC,YAAY,CAAC,CAAC;wBACpE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC;oBAChC,CAAC;;wBAEG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC1C,CAAC;YACL,CAAC;QACL,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,YAAY,WAAgB,IAAI;QArChC;;WAEG;QACH,OAAE,GAAQ,IAAI,CAAA;QAmCV,IAAI,QAAQ,EAAE,CAAC;YACX,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;QAChC,CAAC;IACL,CAAC;CACJ;AA3CD,4BA2CC"}
|
|
@@ -33,6 +33,10 @@ export declare class RecordChange extends BaseInfo {
|
|
|
33
33
|
* Information about the Entity Relationship between the Entity and the Related Entity - this class
|
|
34
34
|
* maps to information in the Entity Relationships metadata entity.
|
|
35
35
|
*/
|
|
36
|
+
/**
|
|
37
|
+
* Metadata about relationships between entities including display preferences for the UI.
|
|
38
|
+
* Defines foreign key relationships and how they should be represented in the user interface.
|
|
39
|
+
*/
|
|
36
40
|
export declare class EntityRelationshipInfo extends BaseInfo {
|
|
37
41
|
ID: string;
|
|
38
42
|
EntityID: string;
|
|
@@ -93,6 +97,10 @@ export declare class EntityUserPermissionInfo {
|
|
|
93
97
|
CanUpdate: boolean;
|
|
94
98
|
CanDelete: boolean;
|
|
95
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* Security settings for each entity.
|
|
102
|
+
* Controls which roles can perform create, read, update, and delete operations.
|
|
103
|
+
*/
|
|
96
104
|
export declare class EntityPermissionInfo extends BaseInfo {
|
|
97
105
|
ID: string;
|
|
98
106
|
EntityID: string;
|
|
@@ -142,6 +150,10 @@ export declare const EntityFieldValueListType: {
|
|
|
142
150
|
readonly ListOrUserEntry: "ListOrUserEntry";
|
|
143
151
|
};
|
|
144
152
|
export type EntityFieldValueListType = typeof EntityFieldValueListType[keyof typeof EntityFieldValueListType];
|
|
153
|
+
/**
|
|
154
|
+
* Defines allowed values for entity fields with value lists.
|
|
155
|
+
* Supports dropdowns, validations, and data integrity constraints.
|
|
156
|
+
*/
|
|
145
157
|
export declare class EntityFieldValueInfo extends BaseInfo {
|
|
146
158
|
ID: string;
|
|
147
159
|
EntityFieldID: string;
|
|
@@ -162,6 +174,10 @@ export type GeneratedFormSectionType = typeof GeneratedFormSectionType[keyof typ
|
|
|
162
174
|
/**
|
|
163
175
|
* Field information within an entity - object models data from the Entity Fields entity in the metadata
|
|
164
176
|
*/
|
|
177
|
+
/**
|
|
178
|
+
* List of all fields within each entity with metadata about each field.
|
|
179
|
+
* Includes data types, relationships, defaults, and UI display preferences.
|
|
180
|
+
*/
|
|
165
181
|
export declare class EntityFieldInfo extends BaseInfo {
|
|
166
182
|
ID: string;
|
|
167
183
|
/**
|
|
@@ -420,6 +436,10 @@ export declare class EntityFieldInfo extends BaseInfo {
|
|
|
420
436
|
/**
|
|
421
437
|
* Entity Document Type Info object has information about the document types that exist across all entities. When Entity Documents are created they are associated with a document type.
|
|
422
438
|
*/
|
|
439
|
+
/**
|
|
440
|
+
* Defines types of documents that can be generated from entity data.
|
|
441
|
+
* Supports various output formats for entity records.
|
|
442
|
+
*/
|
|
423
443
|
export declare class EntityDocumentTypeInfo extends BaseInfo {
|
|
424
444
|
ID: string;
|
|
425
445
|
Name: string;
|
|
@@ -431,6 +451,10 @@ export declare class EntityDocumentTypeInfo extends BaseInfo {
|
|
|
431
451
|
/**
|
|
432
452
|
* Settings allow you to store key/value pairs of information that can be used to configure the behavior of the entity.
|
|
433
453
|
*/
|
|
454
|
+
/**
|
|
455
|
+
* Stores entity-specific configuration settings.
|
|
456
|
+
* Allows customization of how entities function within the system.
|
|
457
|
+
*/
|
|
434
458
|
export declare class EntitySettingInfo extends BaseInfo {
|
|
435
459
|
ID: string;
|
|
436
460
|
EntityID: string;
|
|
@@ -442,60 +466,193 @@ export declare class EntitySettingInfo extends BaseInfo {
|
|
|
442
466
|
constructor(initData?: any);
|
|
443
467
|
}
|
|
444
468
|
/**
|
|
445
|
-
*
|
|
469
|
+
* Catalog of all entities across all schemas.
|
|
470
|
+
* Contains comprehensive metadata about each entity including its database mappings, security settings, and UI preferences.
|
|
446
471
|
*/
|
|
447
472
|
export declare class EntityInfo extends BaseInfo {
|
|
473
|
+
/**
|
|
474
|
+
* Unique identifier for the entity
|
|
475
|
+
*/
|
|
448
476
|
ID: string;
|
|
449
477
|
/**
|
|
450
|
-
* Reserved for future use
|
|
478
|
+
* Reserved for future use - parent entity for hierarchical relationships
|
|
451
479
|
*/
|
|
452
480
|
ParentID: string;
|
|
453
481
|
/**
|
|
454
|
-
* Unique name of the entity
|
|
482
|
+
* Unique name of the entity used throughout the system
|
|
455
483
|
*/
|
|
456
484
|
Name: string;
|
|
485
|
+
/**
|
|
486
|
+
* Optional suffix appended to entity names for display purposes
|
|
487
|
+
*/
|
|
457
488
|
NameSuffix: string;
|
|
489
|
+
/**
|
|
490
|
+
* Detailed description of the entity's purpose and contents
|
|
491
|
+
*/
|
|
458
492
|
Description: string;
|
|
493
|
+
/**
|
|
494
|
+
* The underlying database table name this entity maps to
|
|
495
|
+
*/
|
|
459
496
|
BaseTable: string;
|
|
497
|
+
/**
|
|
498
|
+
* The database view used as a "wrapper" for accessing this entity's data
|
|
499
|
+
*/
|
|
460
500
|
BaseView: string;
|
|
501
|
+
/**
|
|
502
|
+
* Whether the base view is generated by CodeGen (true) or manually created (false)
|
|
503
|
+
*/
|
|
461
504
|
BaseViewGenerated: boolean;
|
|
505
|
+
/**
|
|
506
|
+
* Database schema that contains this entity's table and view
|
|
507
|
+
*/
|
|
462
508
|
SchemaName: string;
|
|
509
|
+
/**
|
|
510
|
+
* If true, this is a virtual entity not backed by a physical database table
|
|
511
|
+
*/
|
|
463
512
|
VirtualEntity: boolean;
|
|
513
|
+
/**
|
|
514
|
+
* Whether to track all changes to records in the RecordChange table
|
|
515
|
+
*/
|
|
464
516
|
TrackRecordChanges: boolean;
|
|
517
|
+
/**
|
|
518
|
+
* Whether to audit when users access records from this entity
|
|
519
|
+
*/
|
|
465
520
|
AuditRecordAccess: boolean;
|
|
521
|
+
/**
|
|
522
|
+
* Whether to audit when views are run against this entity
|
|
523
|
+
*/
|
|
466
524
|
AuditViewRuns: boolean;
|
|
525
|
+
/**
|
|
526
|
+
* Whether this entity is available through the GraphQL API
|
|
527
|
+
*/
|
|
467
528
|
IncludeInAPI: boolean;
|
|
529
|
+
/**
|
|
530
|
+
* If true, allows querying all rows without pagination limits via API
|
|
531
|
+
*/
|
|
468
532
|
AllowAllRowsAPI: boolean;
|
|
533
|
+
/**
|
|
534
|
+
* Global flag controlling whether records can be updated via API
|
|
535
|
+
*/
|
|
469
536
|
AllowUpdateAPI: boolean;
|
|
537
|
+
/**
|
|
538
|
+
* Global flag controlling whether records can be created via API
|
|
539
|
+
*/
|
|
470
540
|
AllowCreateAPI: boolean;
|
|
541
|
+
/**
|
|
542
|
+
* Global flag controlling whether records can be deleted via API
|
|
543
|
+
*/
|
|
471
544
|
AllowDeleteAPI: boolean;
|
|
545
|
+
/**
|
|
546
|
+
* If true, uses a custom resolver for GraphQL operations instead of standard CRUD
|
|
547
|
+
*/
|
|
472
548
|
CustomResolverAPI: boolean;
|
|
549
|
+
/**
|
|
550
|
+
* Whether users can search this entity through the search API
|
|
551
|
+
*/
|
|
473
552
|
AllowUserSearchAPI: boolean;
|
|
553
|
+
/**
|
|
554
|
+
* Whether full-text search is enabled for this entity
|
|
555
|
+
*/
|
|
474
556
|
FullTextSearchEnabled: boolean;
|
|
557
|
+
/**
|
|
558
|
+
* Name of the SQL Server full-text catalog used for searching
|
|
559
|
+
*/
|
|
475
560
|
FullTextCatalog: string;
|
|
561
|
+
/**
|
|
562
|
+
* Whether the full-text catalog is generated by CodeGen
|
|
563
|
+
*/
|
|
476
564
|
FullTextCatalogGenerated: boolean;
|
|
565
|
+
/**
|
|
566
|
+
* Name of the full-text index on this entity
|
|
567
|
+
*/
|
|
477
568
|
FullTextIndex: string;
|
|
569
|
+
/**
|
|
570
|
+
* Whether the full-text index is generated by CodeGen
|
|
571
|
+
*/
|
|
478
572
|
FullTextIndexGenerated: boolean;
|
|
573
|
+
/**
|
|
574
|
+
* Name of the function used for full-text searching
|
|
575
|
+
*/
|
|
479
576
|
FullTextSearchFunction: string;
|
|
577
|
+
/**
|
|
578
|
+
* Whether the full-text search function is generated by CodeGen
|
|
579
|
+
*/
|
|
480
580
|
FullTextSearchFunctionGenerated: boolean;
|
|
581
|
+
/**
|
|
582
|
+
* Maximum number of rows to return in user views to prevent performance issues
|
|
583
|
+
*/
|
|
481
584
|
UserViewMaxRows: number;
|
|
585
|
+
/**
|
|
586
|
+
* Name of the stored procedure for creating records
|
|
587
|
+
*/
|
|
482
588
|
spCreate: string;
|
|
589
|
+
/**
|
|
590
|
+
* Name of the stored procedure for updating records
|
|
591
|
+
*/
|
|
483
592
|
spUpdate: string;
|
|
593
|
+
/**
|
|
594
|
+
* Name of the stored procedure for deleting records
|
|
595
|
+
*/
|
|
484
596
|
spDelete: string;
|
|
597
|
+
/**
|
|
598
|
+
* Whether the create stored procedure is generated by CodeGen
|
|
599
|
+
*/
|
|
485
600
|
spCreateGenerated: boolean;
|
|
601
|
+
/**
|
|
602
|
+
* Whether the update stored procedure is generated by CodeGen
|
|
603
|
+
*/
|
|
486
604
|
spUpdateGenerated: boolean;
|
|
605
|
+
/**
|
|
606
|
+
* Whether the delete stored procedure is generated by CodeGen
|
|
607
|
+
*/
|
|
487
608
|
spDeleteGenerated: boolean;
|
|
609
|
+
/**
|
|
610
|
+
* Whether to automatically delete related records when a parent is deleted
|
|
611
|
+
*/
|
|
488
612
|
CascadeDeletes: boolean;
|
|
613
|
+
/**
|
|
614
|
+
* Type of delete operation: Hard (physical delete) or Soft (mark as deleted)
|
|
615
|
+
*/
|
|
489
616
|
DeleteType: 'Hard' | 'Soft';
|
|
617
|
+
/**
|
|
618
|
+
* Whether records in this entity can be merged together
|
|
619
|
+
*/
|
|
490
620
|
AllowRecordMerge: boolean;
|
|
621
|
+
/**
|
|
622
|
+
* Name of the stored procedure used for matching/duplicate detection
|
|
623
|
+
*/
|
|
491
624
|
spMatch: string;
|
|
625
|
+
/**
|
|
626
|
+
* Default display type for relationships: Search (type-ahead) or Dropdown
|
|
627
|
+
*/
|
|
492
628
|
RelationshipDefaultDisplayType: 'Search' | 'Dropdown';
|
|
629
|
+
/**
|
|
630
|
+
* Whether the user form for this entity is generated by CodeGen
|
|
631
|
+
*/
|
|
493
632
|
UserFormGenerated: boolean;
|
|
633
|
+
/**
|
|
634
|
+
* Name of the TypeScript subclass for this entity if custom behavior is needed
|
|
635
|
+
*/
|
|
494
636
|
EntityObjectSubclassName: string;
|
|
637
|
+
/**
|
|
638
|
+
* Import statement for the entity's TypeScript subclass
|
|
639
|
+
*/
|
|
495
640
|
EntityObjectSubclassImport: string;
|
|
641
|
+
/**
|
|
642
|
+
* Field name that contains the preferred communication method (email, phone, etc.)
|
|
643
|
+
*/
|
|
496
644
|
PreferredCommunicationField: string;
|
|
645
|
+
/**
|
|
646
|
+
* CSS class or icon identifier for displaying this entity in the UI
|
|
647
|
+
*/
|
|
497
648
|
Icon: string;
|
|
649
|
+
/**
|
|
650
|
+
* Date and time when this entity was created
|
|
651
|
+
*/
|
|
498
652
|
__mj_CreatedAt: Date;
|
|
653
|
+
/**
|
|
654
|
+
* Date and time when this entity was last updated
|
|
655
|
+
*/
|
|
499
656
|
__mj_UpdatedAt: Date;
|
|
500
657
|
/**
|
|
501
658
|
* * Field Name: ScopeDefault
|
|
@@ -601,11 +758,35 @@ export declare class EntityInfo extends BaseInfo {
|
|
|
601
758
|
* Returns an array of all fields that are part of the primary key for the entity. If the entity has a single primary key, the array will have a single element.
|
|
602
759
|
*/
|
|
603
760
|
get PrimaryKeys(): EntityFieldInfo[];
|
|
761
|
+
/**
|
|
762
|
+
* Returns an array of all fields that have unique constraints on them.
|
|
763
|
+
* @returns {EntityFieldInfo[]} Array of fields with unique constraints
|
|
764
|
+
*/
|
|
604
765
|
get UniqueKeys(): EntityFieldInfo[];
|
|
766
|
+
/**
|
|
767
|
+
* Returns an array of all fields that are foreign keys to other entities.
|
|
768
|
+
* @returns {EntityFieldInfo[]} Array of foreign key fields
|
|
769
|
+
*/
|
|
605
770
|
get ForeignKeys(): EntityFieldInfo[];
|
|
771
|
+
/**
|
|
772
|
+
* Gets all fields for this entity with their complete metadata.
|
|
773
|
+
* @returns {EntityFieldInfo[]} Array of all entity fields
|
|
774
|
+
*/
|
|
606
775
|
get Fields(): EntityFieldInfo[];
|
|
776
|
+
/**
|
|
777
|
+
* Gets all relationships where other entities reference this entity.
|
|
778
|
+
* @returns {EntityRelationshipInfo[]} Array of entity relationships
|
|
779
|
+
*/
|
|
607
780
|
get RelatedEntities(): EntityRelationshipInfo[];
|
|
781
|
+
/**
|
|
782
|
+
* Gets the security permissions for this entity by role.
|
|
783
|
+
* @returns {EntityPermissionInfo[]} Array of permission settings
|
|
784
|
+
*/
|
|
608
785
|
get Permissions(): EntityPermissionInfo[];
|
|
786
|
+
/**
|
|
787
|
+
* Gets custom configuration settings for this entity.
|
|
788
|
+
* @returns {EntitySettingInfo[]} Array of entity-specific settings
|
|
789
|
+
*/
|
|
609
790
|
get Settings(): EntitySettingInfo[];
|
|
610
791
|
private static __createdAtFieldName;
|
|
611
792
|
private static __updatedAtFieldName;
|