@memberjunction/core 0.9.172 → 0.9.177
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/runView.d.ts +106 -0
- package/dist/generic/runView.js +36 -0
- package/dist/generic/runView.js.map +1 -0
- package/dist/generic/viewInfo.d.ts +59 -0
- package/dist/generic/viewInfo.js +121 -0
- package/dist/generic/viewInfo.js.map +1 -0
- package/package.json +22 -22
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { IRunViewProvider, RunViewResult } from './interfaces';
|
|
2
|
+
import { UserInfo } from './securityInfo';
|
|
3
|
+
import { BaseEntity } from './baseEntity';
|
|
4
|
+
/**
|
|
5
|
+
* Parameters for running either a stored or dynamic view.
|
|
6
|
+
* A stored view is a view that is saved in the database and can be run either by ID or Name.
|
|
7
|
+
* A dynamic view is one that is not stored in the database and you provide parameters to return data as
|
|
8
|
+
* desired programatically.
|
|
9
|
+
*/
|
|
10
|
+
export type RunViewParams = {
|
|
11
|
+
/**
|
|
12
|
+
* optional - ID of the UserView record to run, if provided, ViewName is ignored
|
|
13
|
+
*/
|
|
14
|
+
ViewID?: number;
|
|
15
|
+
/**
|
|
16
|
+
* optional - Name of the UserView record to run, if you are using this, make sure to use a naming convention
|
|
17
|
+
* so that your view names are unique. For example use a prefix like __Entity_View_ etc so that you're
|
|
18
|
+
* likely to have a single result. If more than one view is available that matches a provided view name an
|
|
19
|
+
* exception will be thrown.
|
|
20
|
+
*/
|
|
21
|
+
ViewName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* optional - this is the loaded instance of the BaseEntity (UserViewEntityComplete or a subclass of it).
|
|
24
|
+
* This is the preferred parameter to use IF you already have a view entity object loaded up in your code
|
|
25
|
+
* becuase by passing this in, the RunView() method doesn't have to lookup all the metadata for the view and it is faster.
|
|
26
|
+
* If you provide ViewEntity, ViewID/ViewName are ignored.
|
|
27
|
+
*/
|
|
28
|
+
ViewEntity?: BaseEntity;
|
|
29
|
+
/**
|
|
30
|
+
* optional - this is only used if ViewID/ViewName/ViewEntity are not provided, it is used for
|
|
31
|
+
* Dynamic Views in combination with the optional ExtraFilter
|
|
32
|
+
*/
|
|
33
|
+
EntityName?: string;
|
|
34
|
+
/**
|
|
35
|
+
* An optional SQL WHERE clause that you can add to the existing filters on a stored view. For dynamic views, you can either
|
|
36
|
+
* run a view without a filter (if the entity definition allows it with AllowAllRowsAPI=1) or filter with any valid SQL WHERE clause.
|
|
37
|
+
*/
|
|
38
|
+
ExtraFilter?: string;
|
|
39
|
+
/**
|
|
40
|
+
* An optional SQL ORDER BY clause that you can use for dynamic views, as well as to OVERRIDE the stored view's sorting order.
|
|
41
|
+
*/
|
|
42
|
+
OrderBy?: string;
|
|
43
|
+
/**
|
|
44
|
+
* An optional array of field names that you want returned. The RunView() function will always return ID so you don't need to ask for that. If you leave this null then
|
|
45
|
+
* for a dynamic view all fields are returned, and for stored views, the fields stored in it view configuration are returned.
|
|
46
|
+
*/
|
|
47
|
+
Fields?: string[];
|
|
48
|
+
/**
|
|
49
|
+
* optional - string that represents a user "search" - typically from a text search option in a UI somewhere. This field is then used in the view filtering to search whichever fields are configured to be included in search in the Entity Fields definition.
|
|
50
|
+
* Search String is combined with the stored view filters as well as ExtraFilter with an AND.
|
|
51
|
+
*/
|
|
52
|
+
UserSearchString?: string;
|
|
53
|
+
/**
|
|
54
|
+
* optional - if provided, records that were returned in the specified UserViewRunID will NOT be allowed in the result set.
|
|
55
|
+
* This is useful if you want to run a particular view over time and exclude a specific prior run's resulting data set. If you
|
|
56
|
+
* want to exclude ALL data returned from ALL prior runs, use the ExcludeDataFromAllPriorViewRuns property instead.
|
|
57
|
+
*/
|
|
58
|
+
ExcludeUserViewRunID?: number;
|
|
59
|
+
/**
|
|
60
|
+
* optional - if set to true, the resulting data will filter out ANY records that were ever returned by this view, when the SaveViewResults property was set to true.
|
|
61
|
+
* This is useful if you want to run a particular view over time and make sure the results returned each time are new to the view.
|
|
62
|
+
*/
|
|
63
|
+
ExcludeDataFromAllPriorViewRuns?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* optional - if you are providing the optional ExcludeUserViewRunID property, you can also optionally provide
|
|
66
|
+
* this filter which will negate the specific list of record IDs that are excluded by the ExcludeUserViewRunID property.
|
|
67
|
+
* This can be useful if you want to ensure a certain class of data is always allowed into your view and not filtered out
|
|
68
|
+
* by a prior view run.
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
OverrideExcludeFilter?: string;
|
|
72
|
+
/**
|
|
73
|
+
* optional - if set to true, the LIST OF ID values from the view run will be stored in the User View Runs entity and the
|
|
74
|
+
* newly created UserViewRun.ID value will be returned in the RunViewResult that the RunView() function sends back to ya.
|
|
75
|
+
*/
|
|
76
|
+
SaveViewResults?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* optional - if set to true, if there IS any UserViewMaxRows property set for the entity in question, it will be IGNORED. This is useful in scenarios where you
|
|
79
|
+
* want to programmatically run a view and get ALL the data back, regardless of the MaxRows setting on the entity.
|
|
80
|
+
*/
|
|
81
|
+
IgnoreMaxRows?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* optional - if set to true, the view run will ALWAYS be logged to the Audit Log, regardless of the entity's property settings for logging view runs.
|
|
84
|
+
*/
|
|
85
|
+
ForceAuditLog?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* optional - if provided and either ForceAuditLog is set, or the entity's property settings for logging view runs are set to true, this will be used as the Audit Log Description.
|
|
88
|
+
*/
|
|
89
|
+
AuditLogDescription?: string;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Class for runnings views in a generic, tier-independent manner - uses a provider model for
|
|
93
|
+
* implementation transparently from the viewpoint of the consumer of the class.
|
|
94
|
+
*/
|
|
95
|
+
export declare class RunView {
|
|
96
|
+
/**
|
|
97
|
+
* Runs a view based on the provided parameters, see documentation for RunViewParams for more
|
|
98
|
+
* @param params
|
|
99
|
+
* @param contextUser if provided, this user is used for permissions and logging. For server based calls, this is generally required because there is no "Current User" since this object is shared across all requests.
|
|
100
|
+
* @returns
|
|
101
|
+
*/
|
|
102
|
+
RunView(params: RunViewParams, contextUser?: UserInfo): Promise<RunViewResult>;
|
|
103
|
+
private static _globalProviderKey;
|
|
104
|
+
static get Provider(): IRunViewProvider;
|
|
105
|
+
static set Provider(value: IRunViewProvider);
|
|
106
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RunView = void 0;
|
|
4
|
+
const global_1 = require("@memberjunction/global");
|
|
5
|
+
/**
|
|
6
|
+
* Class for runnings views in a generic, tier-independent manner - uses a provider model for
|
|
7
|
+
* implementation transparently from the viewpoint of the consumer of the class.
|
|
8
|
+
*/
|
|
9
|
+
class RunView {
|
|
10
|
+
/**
|
|
11
|
+
* Runs a view based on the provided parameters, see documentation for RunViewParams for more
|
|
12
|
+
* @param params
|
|
13
|
+
* @param contextUser if provided, this user is used for permissions and logging. For server based calls, this is generally required because there is no "Current User" since this object is shared across all requests.
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
async RunView(params, contextUser) {
|
|
17
|
+
return RunView.Provider.RunView(params, contextUser);
|
|
18
|
+
}
|
|
19
|
+
static get Provider() {
|
|
20
|
+
const g = global_1.MJGlobal.Instance.GetGlobalObjectStore();
|
|
21
|
+
if (g)
|
|
22
|
+
return g[RunView._globalProviderKey];
|
|
23
|
+
else
|
|
24
|
+
throw new Error('No global object store, so we cant get the static provider');
|
|
25
|
+
}
|
|
26
|
+
static set Provider(value) {
|
|
27
|
+
const g = global_1.MJGlobal.Instance.GetGlobalObjectStore();
|
|
28
|
+
if (g)
|
|
29
|
+
g[RunView._globalProviderKey] = value;
|
|
30
|
+
else
|
|
31
|
+
throw new Error('No global object store, so we cant set the static provider');
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.RunView = RunView;
|
|
35
|
+
RunView._globalProviderKey = 'MJ_RunViewProvider';
|
|
36
|
+
//# sourceMappingURL=runView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runView.js","sourceRoot":"","sources":["../../src/generic/runView.ts"],"names":[],"mappings":";;;AAAA,mDAAkD;AA6FlD;;;GAGG;AACH,MAAa,OAAO;IAChB;;;;;OAKG;IACI,KAAK,CAAC,OAAO,CAAC,MAAqB,EAAE,WAAsB;QAC9D,OAAO,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IACzD,CAAC;IAGM,MAAM,KAAK,QAAQ;QACtB,MAAM,CAAC,GAAG,iBAAQ,CAAC,QAAQ,CAAC,oBAAoB,EAAE,CAAC;QACnD,IAAI,CAAC;YACD,OAAO,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;;YAErC,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;IACtF,CAAC;IACM,MAAM,KAAK,QAAQ,CAAC,KAAuB;QAC9C,MAAM,CAAC,GAAG,iBAAQ,CAAC,QAAQ,CAAC,oBAAoB,EAAE,CAAC;QACnD,IAAI,CAAC;YACD,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC;;YAEtC,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;IACtF,CAAC;;AAzBL,0BA2BC;AAhBkB,0BAAkB,GAAW,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { BaseInfo } from './baseInfo';
|
|
2
|
+
import { EntityFieldInfo, EntityInfo } from './entityInfo';
|
|
3
|
+
import { IMetadataProvider } from './interfaces';
|
|
4
|
+
export declare class ViewColumnInfo extends BaseInfo {
|
|
5
|
+
ID: number;
|
|
6
|
+
Name: string;
|
|
7
|
+
DisplayName: string;
|
|
8
|
+
hidden: boolean;
|
|
9
|
+
width?: number;
|
|
10
|
+
orderIndex?: number;
|
|
11
|
+
EntityField: EntityFieldInfo;
|
|
12
|
+
constructor(initData?: any);
|
|
13
|
+
}
|
|
14
|
+
export declare const ViewFilterLogicInfo: {
|
|
15
|
+
readonly And: "And";
|
|
16
|
+
readonly Or: "Or";
|
|
17
|
+
};
|
|
18
|
+
export type ViewFilterLogicInfo = typeof ViewFilterLogicInfo[keyof typeof ViewFilterLogicInfo];
|
|
19
|
+
export declare class ViewFilterInfo extends BaseInfo {
|
|
20
|
+
logicOperator: ViewFilterLogicInfo;
|
|
21
|
+
field: string;
|
|
22
|
+
operator: string;
|
|
23
|
+
value: string;
|
|
24
|
+
filters: ViewFilterInfo[];
|
|
25
|
+
constructor(initData?: any);
|
|
26
|
+
}
|
|
27
|
+
export declare class ViewGridState {
|
|
28
|
+
sortSettings?: any;
|
|
29
|
+
columnSettings?: any;
|
|
30
|
+
filter?: any;
|
|
31
|
+
}
|
|
32
|
+
export declare class ViewInfo extends BaseInfo {
|
|
33
|
+
UserID: number;
|
|
34
|
+
EntityID: number;
|
|
35
|
+
Name: string;
|
|
36
|
+
Description: string;
|
|
37
|
+
CategoryID: number;
|
|
38
|
+
IsShared: boolean;
|
|
39
|
+
IsDefault: boolean;
|
|
40
|
+
GridState: string;
|
|
41
|
+
FilterState: string;
|
|
42
|
+
CustomFilterState: string;
|
|
43
|
+
WhereClause: string;
|
|
44
|
+
CustomWhereClause: string;
|
|
45
|
+
CreatedAt: Date;
|
|
46
|
+
UpdatedAt: Date;
|
|
47
|
+
UserName: string;
|
|
48
|
+
UserType: string;
|
|
49
|
+
Entity: string;
|
|
50
|
+
EntityBaseView: string;
|
|
51
|
+
private _Filter;
|
|
52
|
+
get Filter(): ViewFilterInfo[];
|
|
53
|
+
private _Columns;
|
|
54
|
+
get Columns(): ViewColumnInfo[];
|
|
55
|
+
private _EntityInfo;
|
|
56
|
+
get EntityInfo(): EntityInfo;
|
|
57
|
+
InitFromData(md: IMetadataProvider, initData: any): void;
|
|
58
|
+
constructor(md: IMetadataProvider, initData?: any);
|
|
59
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ViewInfo = exports.ViewGridState = exports.ViewFilterInfo = exports.ViewFilterLogicInfo = exports.ViewColumnInfo = void 0;
|
|
4
|
+
const baseInfo_1 = require("./baseInfo");
|
|
5
|
+
const logging_1 = require("./logging");
|
|
6
|
+
class ViewColumnInfo extends baseInfo_1.BaseInfo {
|
|
7
|
+
constructor(initData = null) {
|
|
8
|
+
super();
|
|
9
|
+
this.ID = null;
|
|
10
|
+
this.Name = null;
|
|
11
|
+
this.DisplayName = null;
|
|
12
|
+
this.hidden = null;
|
|
13
|
+
this.width = null;
|
|
14
|
+
this.orderIndex = null;
|
|
15
|
+
this.EntityField = null;
|
|
16
|
+
this.copyInitData(initData);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.ViewColumnInfo = ViewColumnInfo;
|
|
20
|
+
exports.ViewFilterLogicInfo = {
|
|
21
|
+
And: 'And',
|
|
22
|
+
Or: 'Or',
|
|
23
|
+
};
|
|
24
|
+
class ViewFilterInfo extends baseInfo_1.BaseInfo {
|
|
25
|
+
constructor(initData = null) {
|
|
26
|
+
super();
|
|
27
|
+
this.logicOperator = null;
|
|
28
|
+
this.field = null;
|
|
29
|
+
this.operator = null;
|
|
30
|
+
this.value = null;
|
|
31
|
+
this.filters = [];
|
|
32
|
+
this.copyInitData(initData);
|
|
33
|
+
if (initData && initData.logic) {
|
|
34
|
+
this.logicOperator = initData.logic.trim().toLowerCase() == 'and' ? exports.ViewFilterLogicInfo.And : exports.ViewFilterLogicInfo.Or;
|
|
35
|
+
}
|
|
36
|
+
if (initData && initData.filters) {
|
|
37
|
+
this.filters = initData.filters.map(f => new ViewFilterInfo(f));
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.ViewFilterInfo = ViewFilterInfo;
|
|
42
|
+
class ViewGridState {
|
|
43
|
+
}
|
|
44
|
+
exports.ViewGridState = ViewGridState;
|
|
45
|
+
class ViewInfo extends baseInfo_1.BaseInfo {
|
|
46
|
+
get Filter() {
|
|
47
|
+
return this._Filter;
|
|
48
|
+
}
|
|
49
|
+
get Columns() {
|
|
50
|
+
return this._Columns;
|
|
51
|
+
}
|
|
52
|
+
get EntityInfo() {
|
|
53
|
+
return this._EntityInfo;
|
|
54
|
+
}
|
|
55
|
+
InitFromData(md, initData) {
|
|
56
|
+
try {
|
|
57
|
+
if (initData) {
|
|
58
|
+
this.copyInitData(initData);
|
|
59
|
+
if (initData.EntityID) {
|
|
60
|
+
const mdEntities = md.Entities;
|
|
61
|
+
const match = mdEntities.find(e => e.ID == initData.EntityID);
|
|
62
|
+
if (match)
|
|
63
|
+
this._EntityInfo = match;
|
|
64
|
+
}
|
|
65
|
+
else if (initData._EntityInfo)
|
|
66
|
+
this._EntityInfo = initData._EntityInfo;
|
|
67
|
+
// set up the filters and the columns
|
|
68
|
+
if (initData.GridState) {
|
|
69
|
+
const gridState = JSON.parse(initData.GridState);
|
|
70
|
+
if (gridState && gridState.columnSettings) {
|
|
71
|
+
this._Columns = gridState.columnSettings.map(c => {
|
|
72
|
+
// find the entity field and put it in place inside the View Metadata for easy access
|
|
73
|
+
if (c) {
|
|
74
|
+
// check to make sure the current item is non-null to ensure metadata isn't messed up
|
|
75
|
+
const field = this._EntityInfo.Fields.find(f => f.Name.trim().toLowerCase() == c.Name.trim().toLowerCase());
|
|
76
|
+
return new ViewColumnInfo({ ...c, EntityField: field });
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
(0, logging_1.LogError)('null column setting found in view grid state for columns - ViewID: ' + initData.ID);
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
if (initData.FilterState) {
|
|
85
|
+
this._Filter = [new ViewFilterInfo(JSON.parse(initData.FilterState))];
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
catch (e) {
|
|
90
|
+
(0, logging_1.LogError)(e);
|
|
91
|
+
throw e;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
constructor(md, initData = null) {
|
|
95
|
+
super();
|
|
96
|
+
this.UserID = null;
|
|
97
|
+
this.EntityID = null;
|
|
98
|
+
this.Name = null;
|
|
99
|
+
this.Description = null;
|
|
100
|
+
this.CategoryID = null;
|
|
101
|
+
this.IsShared = null;
|
|
102
|
+
this.IsDefault = null;
|
|
103
|
+
this.GridState = null;
|
|
104
|
+
this.FilterState = null;
|
|
105
|
+
this.CustomFilterState = null;
|
|
106
|
+
this.WhereClause = null;
|
|
107
|
+
this.CustomWhereClause = null;
|
|
108
|
+
this.CreatedAt = null;
|
|
109
|
+
this.UpdatedAt = null;
|
|
110
|
+
this.UserName = null;
|
|
111
|
+
this.UserType = null;
|
|
112
|
+
this.Entity = null;
|
|
113
|
+
this.EntityBaseView = null;
|
|
114
|
+
this._Filter = [];
|
|
115
|
+
this._Columns = [];
|
|
116
|
+
this._EntityInfo = null;
|
|
117
|
+
this.InitFromData(md, initData);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.ViewInfo = ViewInfo;
|
|
121
|
+
//# sourceMappingURL=viewInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewInfo.js","sourceRoot":"","sources":["../../src/generic/viewInfo.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAGrC,uCAAqC;AAErC,MAAa,cAAe,SAAQ,mBAAQ;IAUxC,YAAa,WAAgB,IAAI;QAC7B,KAAK,EAAE,CAAA;QAVX,OAAE,GAAW,IAAI,CAAA;QACjB,SAAI,GAAW,IAAI,CAAA;QACnB,gBAAW,GAAW,IAAI,CAAA;QAC1B,WAAM,GAAY,IAAI,CAAA;QACtB,UAAK,GAAY,IAAI,CAAA;QACrB,eAAU,GAAY,IAAI,CAAA;QAE1B,gBAAW,GAAoB,IAAI,CAAA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BAgFC"}
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
"name": "@memberjunction/core",
|
|
3
|
+
"version": "0.9.177",
|
|
4
|
+
"description": "MemberJunction: Core Library including Metadata, Application, Entity Retrieval and Manipulation, and Utilities",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"/dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"start": "ts-node-dev src/index.ts",
|
|
12
|
+
"build": "tsc",
|
|
13
|
+
"test": "echo \"Error: no test specified\" \u0026\u0026 exit 1"
|
|
14
|
+
},
|
|
15
|
+
"author": "MemberJunction.com",
|
|
16
|
+
"license": "ISC",
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"ts-node-dev": "^2.0.0",
|
|
19
|
+
"typescript": "^5.3.3"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@memberjunction/global": "^0.9.158"
|
|
23
|
+
}
|
|
24
24
|
}
|