@memberjunction/core 0.9.166 → 0.9.167
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/interfaces.d.ts +0 -2
- package/dist/generic/interfaces.js.map +1 -1
- package/dist/generic/providerBase.d.ts +0 -7
- package/dist/generic/providerBase.js +1 -11
- package/dist/generic/providerBase.js.map +1 -1
- package/package.json +1 -1
- package/dist/MJCore/src/generic/applicationInfo.d.ts +0 -26
- package/dist/MJCore/src/generic/applicationInfo.js +0 -57
- package/dist/MJCore/src/generic/applicationInfo.js.map +0 -1
- package/dist/MJCore/src/generic/baseEntity.d.ts +0 -195
- package/dist/MJCore/src/generic/baseEntity.js +0 -674
- package/dist/MJCore/src/generic/baseEntity.js.map +0 -1
- package/dist/MJCore/src/generic/baseInfo.d.ts +0 -8
- package/dist/MJCore/src/generic/baseInfo.js +0 -38
- package/dist/MJCore/src/generic/baseInfo.js.map +0 -1
- package/dist/MJCore/src/generic/entityInfo.d.ts +0 -520
- package/dist/MJCore/src/generic/entityInfo.js +0 -801
- package/dist/MJCore/src/generic/entityInfo.js.map +0 -1
- package/dist/MJCore/src/generic/interfaces.d.ts +0 -288
- package/dist/MJCore/src/generic/interfaces.js +0 -50
- package/dist/MJCore/src/generic/interfaces.js.map +0 -1
- package/dist/MJCore/src/generic/logging.d.ts +0 -4
- package/dist/MJCore/src/generic/logging.js +0 -69
- package/dist/MJCore/src/generic/logging.js.map +0 -1
- package/dist/MJCore/src/generic/metadata.d.ts +0 -201
- package/dist/MJCore/src/generic/metadata.js +0 -312
- package/dist/MJCore/src/generic/metadata.js.map +0 -1
- package/dist/MJCore/src/generic/providerBase.d.ts +0 -183
- package/dist/MJCore/src/generic/providerBase.js +0 -640
- package/dist/MJCore/src/generic/providerBase.js.map +0 -1
- package/dist/MJCore/src/generic/queryInfo.d.ts +0 -64
- package/dist/MJCore/src/generic/queryInfo.js +0 -124
- package/dist/MJCore/src/generic/queryInfo.js.map +0 -1
- package/dist/MJCore/src/generic/runQuery.d.ts +0 -11
- package/dist/MJCore/src/generic/runQuery.js +0 -26
- package/dist/MJCore/src/generic/runQuery.js.map +0 -1
- package/dist/MJCore/src/generic/runReport.d.ts +0 -11
- package/dist/MJCore/src/generic/runReport.js +0 -27
- package/dist/MJCore/src/generic/runReport.js.map +0 -1
- package/dist/MJCore/src/generic/securityInfo.d.ts +0 -100
- package/dist/MJCore/src/generic/securityInfo.js +0 -194
- package/dist/MJCore/src/generic/securityInfo.js.map +0 -1
- package/dist/MJCore/src/generic/transactionGroup.d.ts +0 -24
- package/dist/MJCore/src/generic/transactionGroup.js +0 -79
- package/dist/MJCore/src/generic/transactionGroup.js.map +0 -1
- package/dist/MJCore/src/generic/util.d.ts +0 -16
- package/dist/MJCore/src/generic/util.js +0 -151
- package/dist/MJCore/src/generic/util.js.map +0 -1
- package/dist/MJCore/src/index.d.ts +0 -16
- package/dist/MJCore/src/index.js +0 -44
- package/dist/MJCore/src/index.js.map +0 -1
- package/dist/MJCore/src/views/runView.d.ts +0 -112
- package/dist/MJCore/src/views/runView.js +0 -63
- package/dist/MJCore/src/views/runView.js.map +0 -1
- package/dist/MJCore/src/views/viewInfo.d.ts +0 -59
- package/dist/MJCore/src/views/viewInfo.js +0 -121
- package/dist/MJCore/src/views/viewInfo.js.map +0 -1
- package/dist/MJGlobal/src/ObjectCache.d.ts +0 -26
- package/dist/MJGlobal/src/ObjectCache.js +0 -55
- package/dist/MJGlobal/src/ObjectCache.js.map +0 -1
- package/dist/generic/objectCache.d.ts +0 -26
- package/dist/generic/objectCache.js +0 -55
- package/dist/generic/objectCache.js.map +0 -1
- package/dist/generic/viewInfo.d.ts +0 -59
- package/dist/generic/viewInfo.js +0 -121
- package/dist/generic/viewInfo.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"baseEntity.js","sourceRoot":"","sources":["../../../../src/generic/baseEntity.ts"],"names":[],"mappings":";;;AAAA,mDAAkD;AACl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,CAAC,oEAAoE,CAAC,CAAC;IAC9F,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAkB,EAAE,eAAoB;QACzE,IAAI,UAAU,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;YAC/B,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;QACvC,CAAC;aACG,CAAC;YACD,MAAM,OAAO,GAAG,MAAM,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;YACxF,IAAI,OAAO,EAAE,CAAC;gBACV,MAAM,OAAO,GAAmB,EAAE,CAAC;gBACnC,KAAK,IAAI,MAAM,IAAI,OAAO;oBACtB,OAAO,CAAC,IAAI,CAAC,IAAI,yBAAY,CAAC,MAAM,CAAC,CAAC,CAAC;gBAE3C,OAAO,OAAO,CAAC;YACnB,CAAC;;gBAEG,OAAO,EAAE,CAAC;QAClB,CAAC;IACL,CAAC;;AA9gBL,gCA+gBC;AAjDkB,6BAAkB,GAAW,uBAAuB,AAAlC,CAAmC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BaseInfo = void 0;
|
|
4
|
-
class BaseInfo {
|
|
5
|
-
constructor() {
|
|
6
|
-
/**
|
|
7
|
-
* Primary Key
|
|
8
|
-
*/
|
|
9
|
-
this.ID = null;
|
|
10
|
-
}
|
|
11
|
-
copyInitData(initData) {
|
|
12
|
-
if (initData) {
|
|
13
|
-
// copy the properties from the init data to the new class instance we are constructing
|
|
14
|
-
const keys = Object.keys(initData);
|
|
15
|
-
const thisKeys = Object.keys(this);
|
|
16
|
-
for (let j = 0; j < keys.length; j++) {
|
|
17
|
-
// make sure it is one of our keys, we don't want to create NEW fields
|
|
18
|
-
if (thisKeys.indexOf(keys[j]) >= 0) {
|
|
19
|
-
if (keys[j].trim().toLowerCase() === 'defaultvalue' && initData[keys[j]])
|
|
20
|
-
// strip parens from default value from the DB, if they exist, for example defaults might be ((1)) or (getdate())
|
|
21
|
-
this[keys[j]] = this.stripContainingParens(initData[keys[j]]);
|
|
22
|
-
else
|
|
23
|
-
this[keys[j]] = initData[keys[j]];
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
stripContainingParens(value) {
|
|
29
|
-
if (value.startsWith('(') && value.endsWith(')')) {
|
|
30
|
-
// recursive call so if we have ((0)) we keep stripping parens until we get to inner value
|
|
31
|
-
// could be something like (getdate()) in which case we'll only strip the SYMMENTRIC parens
|
|
32
|
-
return this.stripContainingParens(value.substring(1, value.length - 1));
|
|
33
|
-
}
|
|
34
|
-
return value;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
exports.BaseInfo = BaseInfo;
|
|
38
|
-
//# sourceMappingURL=baseInfo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"baseInfo.js","sourceRoot":"","sources":["../../../../src/generic/baseInfo.ts"],"names":[],"mappings":";;;AAAA,MAAsB,QAAQ;IAA9B;QACI;;WAEG;QACH,OAAE,GAAW,IAAI,CAAA;IA4BrB,CAAC;IA1Ba,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;wBACpE,qIAAqI;wBACrI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;wBAE9D,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC1C,CAAC;YACL,CAAC;QACL,CAAC;IACL,CAAC;IAES,qBAAqB,CAAC,KAAa;QACzC,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YAC/C,0FAA0F;YAC1F,2FAA2F;YAC3F,OAAO,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;QAC5E,CAAC;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ;AAhCD,4BAgCC"}
|
|
@@ -1,520 +0,0 @@
|
|
|
1
|
-
import { BaseInfo } from "./baseInfo";
|
|
2
|
-
import { RunViewParams } from "../views/runView";
|
|
3
|
-
import { BaseEntity } from "./baseEntity";
|
|
4
|
-
import { RowLevelSecurityFilterInfo, UserInfo } from "./securityInfo";
|
|
5
|
-
/**
|
|
6
|
-
* The possible status values for a record change
|
|
7
|
-
*/
|
|
8
|
-
export declare const RecordChangeStatus: {
|
|
9
|
-
readonly Pending: "Pending";
|
|
10
|
-
readonly Complete: "Complete";
|
|
11
|
-
readonly Error: "Error";
|
|
12
|
-
};
|
|
13
|
-
export type RecordChangeStatus = typeof RecordChangeStatus[keyof typeof RecordChangeStatus];
|
|
14
|
-
/**
|
|
15
|
-
* Record Change object has information on a change to a record in the Record Changes entity
|
|
16
|
-
*/
|
|
17
|
-
export declare class RecordChange extends BaseInfo {
|
|
18
|
-
EntityID: number;
|
|
19
|
-
RecordID: any;
|
|
20
|
-
ChangedAt: Date;
|
|
21
|
-
ChangesJSON: string;
|
|
22
|
-
ChangesDescription: string;
|
|
23
|
-
FullRecordJSON: string;
|
|
24
|
-
Status: string;
|
|
25
|
-
get StatusValue(): RecordChangeStatus;
|
|
26
|
-
get Changes(): any;
|
|
27
|
-
get FullRecord(): any;
|
|
28
|
-
constructor(initData: any);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Information about the Entity Relationship between the Entity and the Related Entity - this class
|
|
32
|
-
* maps to information in the Entity Relationships metadata entity.
|
|
33
|
-
*/
|
|
34
|
-
export declare class EntityRelationshipInfo extends BaseInfo {
|
|
35
|
-
EntityID: number;
|
|
36
|
-
RelatedEntityID: number;
|
|
37
|
-
BundleInAPI: boolean;
|
|
38
|
-
IncludeInParentAllQuery: boolean;
|
|
39
|
-
Type: string;
|
|
40
|
-
EntityKeyField: string;
|
|
41
|
-
RelatedEntityJoinField: string;
|
|
42
|
-
JoinView: string;
|
|
43
|
-
JoinEntityJoinField: string;
|
|
44
|
-
JoinEntityInverseJoinField: string;
|
|
45
|
-
DisplayInForm: boolean;
|
|
46
|
-
DisplayName: string;
|
|
47
|
-
DisplayUserViewGUID: string;
|
|
48
|
-
CreatedAt: Date;
|
|
49
|
-
UpdatedAt: Date;
|
|
50
|
-
Entity: string;
|
|
51
|
-
EntityBaseTable: string;
|
|
52
|
-
EntityBaseView: string;
|
|
53
|
-
RelatedEntity: string;
|
|
54
|
-
RelatedEntityBaseTable: string;
|
|
55
|
-
RelatedEntityBaseView: string;
|
|
56
|
-
RelatedEntityCodeName: string;
|
|
57
|
-
RelatedEntityClassName: string;
|
|
58
|
-
RelatedEntityBaseTableCodeName: string;
|
|
59
|
-
DisplayUserViewName: string;
|
|
60
|
-
DisplayUserViewID: number;
|
|
61
|
-
constructor(initData: any);
|
|
62
|
-
}
|
|
63
|
-
export declare const EntityPermissionType: {
|
|
64
|
-
readonly Read: "Read";
|
|
65
|
-
readonly Create: "Create";
|
|
66
|
-
readonly Update: "Update";
|
|
67
|
-
readonly Delete: "Delete";
|
|
68
|
-
};
|
|
69
|
-
export type EntityPermissionType = typeof EntityPermissionType[keyof typeof EntityPermissionType];
|
|
70
|
-
export declare class EntityUserPermissionInfo {
|
|
71
|
-
Entity: EntityInfo;
|
|
72
|
-
User: UserInfo;
|
|
73
|
-
CanCreate: boolean;
|
|
74
|
-
CanRead: boolean;
|
|
75
|
-
CanUpdate: boolean;
|
|
76
|
-
CanDelete: boolean;
|
|
77
|
-
}
|
|
78
|
-
export declare class EntityPermissionInfo extends BaseInfo {
|
|
79
|
-
EntityID: number;
|
|
80
|
-
RoleName: string;
|
|
81
|
-
CanCreate: boolean;
|
|
82
|
-
CanRead: boolean;
|
|
83
|
-
CanUpdate: boolean;
|
|
84
|
-
CanDelete: boolean;
|
|
85
|
-
ReadRLSFilterID: number;
|
|
86
|
-
CreateRLSFilterID: number;
|
|
87
|
-
UpdateRLSFilterID: number;
|
|
88
|
-
DeleteRLSFilterID: number;
|
|
89
|
-
CreatedAt: Date;
|
|
90
|
-
UpdatedAt: Date;
|
|
91
|
-
Entity: string;
|
|
92
|
-
RoleSQLName: string;
|
|
93
|
-
ReadRLSFilter: string;
|
|
94
|
-
CreateRLSFilter: string;
|
|
95
|
-
UpdateRLSFilter: string;
|
|
96
|
-
DeleteRLSFilter: string;
|
|
97
|
-
get CreateRLSFilterObject(): RowLevelSecurityFilterInfo;
|
|
98
|
-
get ReadRLSFilterObject(): RowLevelSecurityFilterInfo;
|
|
99
|
-
get UpdateRLSFilterObject(): RowLevelSecurityFilterInfo;
|
|
100
|
-
get DeleteRLSFilterObject(): RowLevelSecurityFilterInfo;
|
|
101
|
-
RLSFilter(type: EntityPermissionType): RowLevelSecurityFilterInfo;
|
|
102
|
-
constructor(initData: any);
|
|
103
|
-
}
|
|
104
|
-
export declare const EntityFieldTSType: {
|
|
105
|
-
readonly String: "string";
|
|
106
|
-
readonly Number: "number";
|
|
107
|
-
readonly Date: "Date";
|
|
108
|
-
readonly Boolean: "boolean";
|
|
109
|
-
};
|
|
110
|
-
export type EntityFieldTSType = typeof EntityFieldTSType[keyof typeof EntityFieldTSType];
|
|
111
|
-
export declare const EntityFieldGraphQLType: {
|
|
112
|
-
readonly Int: "Int";
|
|
113
|
-
readonly Float: "Float";
|
|
114
|
-
readonly String: "String";
|
|
115
|
-
readonly Boolean: "Boolean";
|
|
116
|
-
readonly Timestamp: "Timestamp";
|
|
117
|
-
};
|
|
118
|
-
export type EntityFieldGraphQLType = typeof EntityFieldGraphQLType[keyof typeof EntityFieldGraphQLType];
|
|
119
|
-
export declare const EntityFieldValueListType: {
|
|
120
|
-
readonly None: "None";
|
|
121
|
-
readonly List: "List";
|
|
122
|
-
readonly ListOrUserEntry: "ListOrUserEntry";
|
|
123
|
-
};
|
|
124
|
-
export type EntityFieldValueListType = typeof EntityFieldValueListType[keyof typeof EntityFieldValueListType];
|
|
125
|
-
export declare class EntityFieldValueInfo extends BaseInfo {
|
|
126
|
-
EntityID: number;
|
|
127
|
-
EntityFieldName: string;
|
|
128
|
-
Sequence: number;
|
|
129
|
-
Value: string;
|
|
130
|
-
Code: string;
|
|
131
|
-
Description: string;
|
|
132
|
-
CreatedAt: Date;
|
|
133
|
-
UpdatedAt: Date;
|
|
134
|
-
constructor(initData: any);
|
|
135
|
-
}
|
|
136
|
-
export declare const GeneratedFormSectionType: {
|
|
137
|
-
readonly Top: "Top";
|
|
138
|
-
readonly Details: "Details";
|
|
139
|
-
readonly Category: "Category";
|
|
140
|
-
};
|
|
141
|
-
export type GeneratedFormSectionType = typeof GeneratedFormSectionType[keyof typeof GeneratedFormSectionType];
|
|
142
|
-
/**
|
|
143
|
-
* Field information within an entity - object models data from the Entity Fields entity in the metadata
|
|
144
|
-
*/
|
|
145
|
-
export declare class EntityFieldInfo extends BaseInfo {
|
|
146
|
-
/**
|
|
147
|
-
* Foreign key to the Entities entity.
|
|
148
|
-
*/
|
|
149
|
-
EntityID: number;
|
|
150
|
-
/**
|
|
151
|
-
* The sequence of the field within the entity, typically the intended display order
|
|
152
|
-
*/
|
|
153
|
-
Sequence: number;
|
|
154
|
-
Name: string;
|
|
155
|
-
/**
|
|
156
|
-
* Optional property that provides the display name for the field, if null, use the Name property.
|
|
157
|
-
* The DisplayNameOrName() method is a helper function that does this for you with a single method call.
|
|
158
|
-
*/
|
|
159
|
-
DisplayName: string;
|
|
160
|
-
Description: string;
|
|
161
|
-
/**
|
|
162
|
-
* If true, the field is the primary key for the entity. There must be one primary key field per entity.
|
|
163
|
-
*/
|
|
164
|
-
IsPrimaryKey: boolean;
|
|
165
|
-
/**
|
|
166
|
-
* If true, the field is a unique key for the entity. There can be zero to many unique key fields per entity.
|
|
167
|
-
*/
|
|
168
|
-
IsUnique: boolean;
|
|
169
|
-
Category: string;
|
|
170
|
-
Type: string;
|
|
171
|
-
Length: number;
|
|
172
|
-
Precision: number;
|
|
173
|
-
Scale: number;
|
|
174
|
-
AllowsNull: boolean;
|
|
175
|
-
DefaultValue: string;
|
|
176
|
-
AutoIncrement: boolean;
|
|
177
|
-
ValueListType: string;
|
|
178
|
-
ExtendedType: string;
|
|
179
|
-
DefaultInView: boolean;
|
|
180
|
-
ViewCellTemplate: string;
|
|
181
|
-
DefaultColumnWidth: number;
|
|
182
|
-
AllowUpdateAPI: boolean;
|
|
183
|
-
AllowUpdateInView: boolean;
|
|
184
|
-
IncludeInUserSearchAPI: boolean;
|
|
185
|
-
FullTextSearchEnabled: boolean;
|
|
186
|
-
UserSearchParamFormatAPI: string;
|
|
187
|
-
IncludeInGeneratedForm: boolean;
|
|
188
|
-
GeneratedFormSection: string;
|
|
189
|
-
IsVirtual: boolean;
|
|
190
|
-
IsNameField: boolean;
|
|
191
|
-
RelatedEntityID: number;
|
|
192
|
-
RelatedEntityFieldName: string;
|
|
193
|
-
IncludeRelatedEntityNameFieldInBaseView: boolean;
|
|
194
|
-
RelatedEntityNameFieldMap: string;
|
|
195
|
-
CreatedAt: Date;
|
|
196
|
-
UpdatedAt: Date;
|
|
197
|
-
Entity: string;
|
|
198
|
-
SchemaName: string;
|
|
199
|
-
BaseTable: string;
|
|
200
|
-
BaseView: string;
|
|
201
|
-
EntityCodeName: string;
|
|
202
|
-
EntityClassName: string;
|
|
203
|
-
RelatedEntity: string;
|
|
204
|
-
RelatedEntitySchemaName: string;
|
|
205
|
-
RelatedEntityBaseTable: string;
|
|
206
|
-
RelatedEntityBaseView: string;
|
|
207
|
-
RelatedEntityCodeName: string;
|
|
208
|
-
RelatedEntityClassName: string;
|
|
209
|
-
IsFloat: boolean;
|
|
210
|
-
_RelatedEntityTableAlias: string;
|
|
211
|
-
_RelatedEntityNameFieldIsVirtual: boolean;
|
|
212
|
-
_EntityFieldValues: EntityFieldValueInfo[];
|
|
213
|
-
_RelatedEntityNameFieldMap: string;
|
|
214
|
-
get EntityFieldValues(): EntityFieldValueInfo[];
|
|
215
|
-
/**
|
|
216
|
-
* Returns the ValueListType using the EntityFieldValueListType enum.
|
|
217
|
-
*/
|
|
218
|
-
get ValueListTypeEnum(): EntityFieldValueListType;
|
|
219
|
-
get GeneratedFormSectionType(): GeneratedFormSectionType;
|
|
220
|
-
/**
|
|
221
|
-
* Provides the TypeScript type for a given Entity Field. This is useful to map
|
|
222
|
-
* a wide array of database types to a narrower set of TypeScript types.
|
|
223
|
-
*/
|
|
224
|
-
get TSType(): EntityFieldTSType;
|
|
225
|
-
get IsBinaryFieldType(): boolean;
|
|
226
|
-
/**
|
|
227
|
-
* Returns true if the field type requires quotes around the value when used in a SQL statement
|
|
228
|
-
*/
|
|
229
|
-
get NeedsQuotes(): boolean;
|
|
230
|
-
/**
|
|
231
|
-
* For fields in the database that have spaces in them, we need to replace the spaces with _ in order to create variables for stored procedures. This property returns a consistent CodeName you can use everywhere to refer to the field when generated variable names
|
|
232
|
-
*/
|
|
233
|
-
get CodeName(): string;
|
|
234
|
-
get GraphQLType(): EntityFieldGraphQLType;
|
|
235
|
-
/**
|
|
236
|
-
* Returns a string with the full SQL data type that combines, as appropriate, Type, Length, Precision and Scale where these attributes are relevant to the Type
|
|
237
|
-
*/
|
|
238
|
-
get SQLFullType(): string;
|
|
239
|
-
get MaxLength(): number;
|
|
240
|
-
get ReadOnly(): boolean;
|
|
241
|
-
/**
|
|
242
|
-
* Returns true if the field is a "special" field (see list below) and is handled inside the DB layer and should be ignored in validation by the BaseEntity architecture
|
|
243
|
-
* Special fields are: CreatedAt, UpdatedAt, ID
|
|
244
|
-
* Also, we skip validation if we have a field that is:
|
|
245
|
-
* - the primary key
|
|
246
|
-
* - a uniqueidentifier
|
|
247
|
-
* - an autoincrement field
|
|
248
|
-
* - the field is virtual
|
|
249
|
-
* - the field is readonly
|
|
250
|
-
*/
|
|
251
|
-
get SkipValidation(): boolean;
|
|
252
|
-
/**
|
|
253
|
-
* Returns the DisplayName if it exists, otherwise returns the Name.
|
|
254
|
-
*/
|
|
255
|
-
get DisplayNameOrName(): string;
|
|
256
|
-
/**
|
|
257
|
-
* Formats a value based on the parameters passed in. This is a wrapper utility method that already know the SQL type from the entity field definition and simply calls the generic FormatValue() function that is also exported by @memberjunction/core
|
|
258
|
-
* @param value - Value to format
|
|
259
|
-
* @param decimals Number of decimals to show, defaults to 2
|
|
260
|
-
* @param currency Currency to use when formatting, defaults to USD
|
|
261
|
-
* @param maxLength Maximum length of the string to return, if the formatted value is longer than this length then the string will be truncated and the trailingChars will be appended to the end of the string
|
|
262
|
-
* @param trailingChars Only used if maxLength is > 0 and the string being formatted is > maxLength, this is the string that will be appended to the end of the string to indicate that it was truncated, defaults to "..."
|
|
263
|
-
* @returns either the original string value or a formatted version. If the format cannot be applied an an exception occurs it is captured and the error is put to the log, and the original value is returned
|
|
264
|
-
*/
|
|
265
|
-
FormatValue(value: any, decimals?: number, currency?: string, maxLength?: number, trailingChars?: string): string;
|
|
266
|
-
constructor(initData?: any);
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* Primary Key Value object is used to pass in a primary key field/value pairs to BaseEntity.Load() and other methods that need to load a record by primary key
|
|
270
|
-
*/
|
|
271
|
-
export declare class PrimaryKeyValue {
|
|
272
|
-
FieldName: string;
|
|
273
|
-
Value: any;
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* Metadata about an entity
|
|
277
|
-
*/
|
|
278
|
-
export declare class EntityInfo extends BaseInfo {
|
|
279
|
-
/**
|
|
280
|
-
* Reserved for future use
|
|
281
|
-
*/
|
|
282
|
-
ParentID: number;
|
|
283
|
-
/**
|
|
284
|
-
* Unique name of the entity
|
|
285
|
-
*/
|
|
286
|
-
Name: string;
|
|
287
|
-
Description: string;
|
|
288
|
-
BaseTable: string;
|
|
289
|
-
BaseView: string;
|
|
290
|
-
BaseViewGenerated: boolean;
|
|
291
|
-
SchemaName: string;
|
|
292
|
-
VirtualEntity: boolean;
|
|
293
|
-
TrackRecordChanges: boolean;
|
|
294
|
-
AuditRecordAccess: boolean;
|
|
295
|
-
AuditViewRuns: boolean;
|
|
296
|
-
IncludeInAPI: boolean;
|
|
297
|
-
AllowAllRowsAPI: boolean;
|
|
298
|
-
AllowUpdateAPI: boolean;
|
|
299
|
-
AllowCreateAPI: boolean;
|
|
300
|
-
AllowDeleteAPI: boolean;
|
|
301
|
-
CustomResolverAPI: boolean;
|
|
302
|
-
AllowUserSearchAPI: boolean;
|
|
303
|
-
FullTextSearchEnabled: boolean;
|
|
304
|
-
FullTextCatalog: string;
|
|
305
|
-
FullTextCatalogGenerated: boolean;
|
|
306
|
-
FullTextIndex: string;
|
|
307
|
-
FullTextIndexGenerated: boolean;
|
|
308
|
-
FullTextSearchFunction: string;
|
|
309
|
-
FullTextSearchFunctionGenerated: boolean;
|
|
310
|
-
UserViewMaxRows: number;
|
|
311
|
-
spCreate: string;
|
|
312
|
-
spUpdate: string;
|
|
313
|
-
spDelete: string;
|
|
314
|
-
spCreateGenerated: boolean;
|
|
315
|
-
spUpdateGenerated: boolean;
|
|
316
|
-
spDeleteGenerated: boolean;
|
|
317
|
-
CascadeDeletes: boolean;
|
|
318
|
-
UserFormGenerated: boolean;
|
|
319
|
-
EntityObjectSubclassName: string;
|
|
320
|
-
EntityObjectSubclassImport: string;
|
|
321
|
-
CreatedAt: Date;
|
|
322
|
-
UpdatedAt: Date;
|
|
323
|
-
/**
|
|
324
|
-
* CodeName is a unique name that can be used for various programatic purposes, singular version of the entity name but modified from entity name in some cases to remove whitespace and prefix with _ in the event that the entity name begins with a number or other non-alpha character
|
|
325
|
-
*/
|
|
326
|
-
CodeName: string;
|
|
327
|
-
ClassName: string;
|
|
328
|
-
BaseTableCodeName: string;
|
|
329
|
-
ParentEntity: number;
|
|
330
|
-
ParentBaseTable: string;
|
|
331
|
-
ParentBaseView: string;
|
|
332
|
-
private _Fields;
|
|
333
|
-
private _RelatedEntities;
|
|
334
|
-
private _Permissions;
|
|
335
|
-
_hasIdField: boolean;
|
|
336
|
-
_virtualCount: number;
|
|
337
|
-
_manyToManyCount: number;
|
|
338
|
-
_oneToManyCount: number;
|
|
339
|
-
_floatCount: number;
|
|
340
|
-
/**
|
|
341
|
-
* Returns the primary key for the entity. For entities with a composite primary key, use the PrimaryKeys property which returns all.
|
|
342
|
-
* In the case of a composite primary key, the PrimaryKey property will return the first field in the sequence of the primary key fields.
|
|
343
|
-
*/
|
|
344
|
-
get PrimaryKey(): EntityFieldInfo;
|
|
345
|
-
/**
|
|
346
|
-
* 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.
|
|
347
|
-
*/
|
|
348
|
-
get PrimaryKeys(): EntityFieldInfo[];
|
|
349
|
-
get UniqueKeys(): EntityFieldInfo[];
|
|
350
|
-
get ForeignKeys(): EntityFieldInfo[];
|
|
351
|
-
get Fields(): EntityFieldInfo[];
|
|
352
|
-
get RelatedEntities(): EntityRelationshipInfo[];
|
|
353
|
-
get Permissions(): EntityPermissionInfo[];
|
|
354
|
-
/**
|
|
355
|
-
* Returns the EntityField object for the Field that has IsNameField set to true. If multiple fields have IsNameField on, the function will return the first field (by sequence) that matches. If no fields match, null is returned
|
|
356
|
-
*/
|
|
357
|
-
get NameField(): EntityFieldInfo | null;
|
|
358
|
-
/**
|
|
359
|
-
* Returns the Permissions for this entity for a given user, based on the roles the user is part of
|
|
360
|
-
* @param user
|
|
361
|
-
* @returns
|
|
362
|
-
*/
|
|
363
|
-
GetUserPermisions(user: UserInfo): EntityUserPermissionInfo;
|
|
364
|
-
/**
|
|
365
|
-
* Determines if a given user, for a given permission type, is exempt from RowLevelSecurity or not
|
|
366
|
-
* @param user
|
|
367
|
-
* @param type
|
|
368
|
-
* @returns
|
|
369
|
-
*/
|
|
370
|
-
UserExemptFromRowLevelSecurity(user: UserInfo, type: EntityPermissionType): boolean;
|
|
371
|
-
/**
|
|
372
|
-
* Returns RLS security info attributes for a given user and permission type
|
|
373
|
-
* @param user
|
|
374
|
-
* @param type
|
|
375
|
-
* @returns
|
|
376
|
-
*/
|
|
377
|
-
GetUserRowLevelSecurityInfo(user: UserInfo, type: EntityPermissionType): RowLevelSecurityFilterInfo[];
|
|
378
|
-
/**
|
|
379
|
-
* Generates a where clause for SQL filtering for a given entity for a given user and permission type. If there is no RLS for a given entity or the user is exempt from RLS for the entity, a blank string is returned.
|
|
380
|
-
* @param user
|
|
381
|
-
* @param type
|
|
382
|
-
* @param returnPrefix
|
|
383
|
-
* @returns
|
|
384
|
-
*/
|
|
385
|
-
GetUserRowLevelSecurityWhereClause(user: UserInfo, type: EntityPermissionType, returnPrefix: string): string;
|
|
386
|
-
/**
|
|
387
|
-
* Returns a RunViewParams object that is setup to filter the related entity for the provided record
|
|
388
|
-
* @param record
|
|
389
|
-
* @param relationship
|
|
390
|
-
* @param filter
|
|
391
|
-
* @returns
|
|
392
|
-
*/
|
|
393
|
-
static BuildRelationshipViewParams(record: BaseEntity, relationship: EntityRelationshipInfo, filter?: string): RunViewParams;
|
|
394
|
-
constructor(initData?: any);
|
|
395
|
-
private prepareSpecialFields;
|
|
396
|
-
}
|
|
397
|
-
export declare const ValidationErrorType: {
|
|
398
|
-
readonly Failure: "Failure";
|
|
399
|
-
readonly Warning: "Warning";
|
|
400
|
-
};
|
|
401
|
-
export type ValidationErrorType = typeof ValidationErrorType[keyof typeof ValidationErrorType];
|
|
402
|
-
export declare class ValidationErrorInfo {
|
|
403
|
-
Source: string;
|
|
404
|
-
Message: string;
|
|
405
|
-
Value: string;
|
|
406
|
-
Type: ValidationErrorType;
|
|
407
|
-
constructor(Source: string, Message: string, Value: string, Type?: ValidationErrorType);
|
|
408
|
-
}
|
|
409
|
-
export declare class ValidationResult {
|
|
410
|
-
Success: boolean;
|
|
411
|
-
Errors: ValidationErrorInfo[];
|
|
412
|
-
}
|
|
413
|
-
/**
|
|
414
|
-
* Information about the link between two entities
|
|
415
|
-
*/
|
|
416
|
-
export declare class EntityDependency {
|
|
417
|
-
/**
|
|
418
|
-
* The name of the entity that is the "parent" in the relationship
|
|
419
|
-
*/
|
|
420
|
-
EntityName: string;
|
|
421
|
-
/**
|
|
422
|
-
* The name of the entity that is the "child" in the relationship
|
|
423
|
-
*/
|
|
424
|
-
RelatedEntityName: string;
|
|
425
|
-
/**
|
|
426
|
-
* The name of the field in the related entity that is the foreign key field back to the primary key of the "parent" entity
|
|
427
|
-
*/
|
|
428
|
-
FieldName: string;
|
|
429
|
-
}
|
|
430
|
-
/**
|
|
431
|
-
* Information about the link between two records
|
|
432
|
-
*/
|
|
433
|
-
export declare class RecordDependency {
|
|
434
|
-
/**
|
|
435
|
-
* The name of the entity that is the "parent" in the relationship
|
|
436
|
-
*/
|
|
437
|
-
EntityName: string;
|
|
438
|
-
/**
|
|
439
|
-
* The name of the entity that is the "child" in the relationship
|
|
440
|
-
*/
|
|
441
|
-
RelatedEntityName: string;
|
|
442
|
-
/**
|
|
443
|
-
* The name of the field in the related entity that is the foreign key field back to the primary key of the "parent" entity
|
|
444
|
-
*/
|
|
445
|
-
FieldName: string;
|
|
446
|
-
/**
|
|
447
|
-
* The value of the primary key field in the parent record. At present, MemberJunction supports composite(multi-field) primary keys. However, foreign keys only support links to single-valued primary keys in their linked entity.
|
|
448
|
-
*/
|
|
449
|
-
PrimaryKeyValue: any;
|
|
450
|
-
}
|
|
451
|
-
/**
|
|
452
|
-
* Information about a merge request including the entity, the surviving record and the records to merge into the surviving record. Additionally, there is an optional field map that can be used to override field values in the surviving record to values specified.
|
|
453
|
-
*/
|
|
454
|
-
export declare class RecordMergeRequest {
|
|
455
|
-
/**
|
|
456
|
-
* The name of the entity to merge records for
|
|
457
|
-
*/
|
|
458
|
-
EntityName: string;
|
|
459
|
-
/**
|
|
460
|
-
* The primary key value(s) for the surviving record - if the entity in question has a single-valued primary key this will be an array with a single element, otherwise it will be an array with multiple elements
|
|
461
|
-
*/
|
|
462
|
-
SurvivingRecordPrimaryKeyValues: PrimaryKeyValue[];
|
|
463
|
-
/**
|
|
464
|
-
* The primary key value(s) for the record(s) to merge into the surviving record - if the entity in question has a single-valued primary key, each item in the top level array will be an array with a single element, otherwise each item in the top level array will be an array with multiple elements
|
|
465
|
-
*/
|
|
466
|
-
RecordsToMerge: PrimaryKeyValue[][];
|
|
467
|
-
/**
|
|
468
|
-
* If you want to keep the values in the fields of the surviving record as they are, leave this blank. If you want to override the values in the surviving record with other values, specify the values you would like for each field in this array of objects. Each object has two properties, FieldName and Value. The FieldName is the name of the field to set and the Value is the value to set in it.
|
|
469
|
-
*/
|
|
470
|
-
FieldMap?: {
|
|
471
|
-
FieldName: string;
|
|
472
|
-
Value: any;
|
|
473
|
-
}[];
|
|
474
|
-
}
|
|
475
|
-
/**
|
|
476
|
-
* The result of a merge request for a single record
|
|
477
|
-
*/
|
|
478
|
-
export declare class RecordMergeDetailResult {
|
|
479
|
-
/**
|
|
480
|
-
* The primary key value(s) for a record that was merged
|
|
481
|
-
*/
|
|
482
|
-
PrimaryKeyValues: PrimaryKeyValue[];
|
|
483
|
-
/**
|
|
484
|
-
* True if the merge for this specific record was successful, false if not
|
|
485
|
-
*/
|
|
486
|
-
Success: boolean;
|
|
487
|
-
/**
|
|
488
|
-
* Deletion Log ID for the specific record that was merged
|
|
489
|
-
*/
|
|
490
|
-
RecordMergeDeletionLogID: number | null;
|
|
491
|
-
/**
|
|
492
|
-
* Status message, if any, for the specific record that was merged
|
|
493
|
-
*/
|
|
494
|
-
Message?: string;
|
|
495
|
-
}
|
|
496
|
-
/**
|
|
497
|
-
* The result of a merge request
|
|
498
|
-
*/
|
|
499
|
-
export declare class RecordMergeResult {
|
|
500
|
-
/**
|
|
501
|
-
* True if the merge was successful, false if not
|
|
502
|
-
*/
|
|
503
|
-
Success: boolean;
|
|
504
|
-
/**
|
|
505
|
-
* Status message on the overall operation
|
|
506
|
-
*/
|
|
507
|
-
OverallStatus: string;
|
|
508
|
-
/**
|
|
509
|
-
* The ID of the log record for the merge operation
|
|
510
|
-
*/
|
|
511
|
-
RecordMergeLogID: number | null;
|
|
512
|
-
/**
|
|
513
|
-
* The details of the merge operation, including the status of each record that was merged
|
|
514
|
-
*/
|
|
515
|
-
RecordStatus: RecordMergeDetailResult[];
|
|
516
|
-
/**
|
|
517
|
-
* The original merge request that was passed in
|
|
518
|
-
*/
|
|
519
|
-
Request: RecordMergeRequest;
|
|
520
|
-
}
|