@memberjunction/global 5.0.0 → 5.2.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.
Files changed (138) hide show
  1. package/README.md +19 -3
  2. package/dist/DynamicPackageLoader.d.ts +61 -0
  3. package/dist/DynamicPackageLoader.d.ts.map +1 -0
  4. package/dist/DynamicPackageLoader.js +56 -0
  5. package/dist/DynamicPackageLoader.js.map +1 -0
  6. package/dist/SQLExpressionValidator.d.ts +31 -4
  7. package/dist/SQLExpressionValidator.d.ts.map +1 -1
  8. package/dist/SQLExpressionValidator.js +107 -22
  9. package/dist/SQLExpressionValidator.js.map +1 -1
  10. package/dist/__tests__/SQLExpressionValidator.security.test.d.ts +2 -0
  11. package/dist/__tests__/SQLExpressionValidator.security.test.d.ts.map +1 -0
  12. package/dist/__tests__/SQLExpressionValidator.security.test.js +328 -0
  13. package/dist/__tests__/SQLExpressionValidator.security.test.js.map +1 -0
  14. package/dist/__tests__/SQLExpressionValidator.test.d.ts +2 -0
  15. package/dist/__tests__/SQLExpressionValidator.test.d.ts.map +1 -0
  16. package/dist/__tests__/SQLExpressionValidator.test.js +350 -0
  17. package/dist/__tests__/SQLExpressionValidator.test.js.map +1 -0
  18. package/dist/index.d.ts +1 -0
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +1 -0
  21. package/dist/index.js.map +1 -1
  22. package/package.json +1 -1
  23. package/dist/Core.d.ts +0 -29
  24. package/dist/Core.d.ts.map +0 -1
  25. package/dist/Core.js +0 -58
  26. package/dist/Core.js.map +0 -1
  27. package/dist/generic/QueryCache.d.ts +0 -85
  28. package/dist/generic/QueryCache.d.ts.map +0 -1
  29. package/dist/generic/QueryCache.js +0 -198
  30. package/dist/generic/QueryCache.js.map +0 -1
  31. package/dist/generic/QueryCacheConfig.d.ts +0 -72
  32. package/dist/generic/QueryCacheConfig.d.ts.map +0 -1
  33. package/dist/generic/QueryCacheConfig.js +0 -3
  34. package/dist/generic/QueryCacheConfig.js.map +0 -1
  35. package/dist/generic/applicationInfo.d.ts +0 -138
  36. package/dist/generic/applicationInfo.d.ts.map +0 -1
  37. package/dist/generic/applicationInfo.js +0 -177
  38. package/dist/generic/applicationInfo.js.map +0 -1
  39. package/dist/generic/authEvaluator.d.ts +0 -25
  40. package/dist/generic/authEvaluator.d.ts.map +0 -1
  41. package/dist/generic/authEvaluator.js +0 -49
  42. package/dist/generic/authEvaluator.js.map +0 -1
  43. package/dist/generic/authTypes.d.ts +0 -193
  44. package/dist/generic/authTypes.d.ts.map +0 -1
  45. package/dist/generic/authTypes.js +0 -19
  46. package/dist/generic/authTypes.js.map +0 -1
  47. package/dist/generic/baseEngine.d.ts +0 -260
  48. package/dist/generic/baseEngine.d.ts.map +0 -1
  49. package/dist/generic/baseEngine.js +0 -510
  50. package/dist/generic/baseEngine.js.map +0 -1
  51. package/dist/generic/baseEntity.d.ts +0 -691
  52. package/dist/generic/baseEntity.d.ts.map +0 -1
  53. package/dist/generic/baseEntity.js +0 -1688
  54. package/dist/generic/baseEntity.js.map +0 -1
  55. package/dist/generic/baseInfo.d.ts +0 -24
  56. package/dist/generic/baseInfo.d.ts.map +0 -1
  57. package/dist/generic/baseInfo.js +0 -53
  58. package/dist/generic/baseInfo.js.map +0 -1
  59. package/dist/generic/compositeKey.d.ts +0 -206
  60. package/dist/generic/compositeKey.d.ts.map +0 -1
  61. package/dist/generic/compositeKey.js +0 -412
  62. package/dist/generic/compositeKey.js.map +0 -1
  63. package/dist/generic/databaseProviderBase.d.ts +0 -46
  64. package/dist/generic/databaseProviderBase.d.ts.map +0 -1
  65. package/dist/generic/databaseProviderBase.js +0 -14
  66. package/dist/generic/databaseProviderBase.js.map +0 -1
  67. package/dist/generic/entityInfo.d.ts +0 -983
  68. package/dist/generic/entityInfo.d.ts.map +0 -1
  69. package/dist/generic/entityInfo.js +0 -1401
  70. package/dist/generic/entityInfo.js.map +0 -1
  71. package/dist/generic/explorerNavigationItem.d.ts +0 -20
  72. package/dist/generic/explorerNavigationItem.d.ts.map +0 -1
  73. package/dist/generic/explorerNavigationItem.js +0 -29
  74. package/dist/generic/explorerNavigationItem.js.map +0 -1
  75. package/dist/generic/interfaces.d.ts +0 -610
  76. package/dist/generic/interfaces.d.ts.map +0 -1
  77. package/dist/generic/interfaces.js +0 -211
  78. package/dist/generic/interfaces.js.map +0 -1
  79. package/dist/generic/libraryInfo.d.ts +0 -40
  80. package/dist/generic/libraryInfo.d.ts.map +0 -1
  81. package/dist/generic/libraryInfo.js +0 -56
  82. package/dist/generic/libraryInfo.js.map +0 -1
  83. package/dist/generic/logging.d.ts +0 -179
  84. package/dist/generic/logging.d.ts.map +0 -1
  85. package/dist/generic/logging.js +0 -382
  86. package/dist/generic/logging.js.map +0 -1
  87. package/dist/generic/metadata.d.ts +0 -305
  88. package/dist/generic/metadata.d.ts.map +0 -1
  89. package/dist/generic/metadata.js +0 -454
  90. package/dist/generic/metadata.js.map +0 -1
  91. package/dist/generic/metadataUtil.d.ts +0 -8
  92. package/dist/generic/metadataUtil.d.ts.map +0 -1
  93. package/dist/generic/metadataUtil.js +0 -36
  94. package/dist/generic/metadataUtil.js.map +0 -1
  95. package/dist/generic/providerBase.d.ts +0 -546
  96. package/dist/generic/providerBase.d.ts.map +0 -1
  97. package/dist/generic/providerBase.js +0 -999
  98. package/dist/generic/providerBase.js.map +0 -1
  99. package/dist/generic/queryInfo.d.ts +0 -460
  100. package/dist/generic/queryInfo.d.ts.map +0 -1
  101. package/dist/generic/queryInfo.js +0 -633
  102. package/dist/generic/queryInfo.js.map +0 -1
  103. package/dist/generic/querySQLFilters.d.ts +0 -54
  104. package/dist/generic/querySQLFilters.d.ts.map +0 -1
  105. package/dist/generic/querySQLFilters.js +0 -84
  106. package/dist/generic/querySQLFilters.js.map +0 -1
  107. package/dist/generic/runQuery.d.ts +0 -96
  108. package/dist/generic/runQuery.d.ts.map +0 -1
  109. package/dist/generic/runQuery.js +0 -66
  110. package/dist/generic/runQuery.js.map +0 -1
  111. package/dist/generic/runQuerySQLFilterImplementations.d.ts +0 -51
  112. package/dist/generic/runQuerySQLFilterImplementations.d.ts.map +0 -1
  113. package/dist/generic/runQuerySQLFilterImplementations.js +0 -238
  114. package/dist/generic/runQuerySQLFilterImplementations.js.map +0 -1
  115. package/dist/generic/runReport.d.ts +0 -25
  116. package/dist/generic/runReport.d.ts.map +0 -1
  117. package/dist/generic/runReport.js +0 -42
  118. package/dist/generic/runReport.js.map +0 -1
  119. package/dist/generic/securityInfo.d.ts +0 -355
  120. package/dist/generic/securityInfo.d.ts.map +0 -1
  121. package/dist/generic/securityInfo.js +0 -425
  122. package/dist/generic/securityInfo.js.map +0 -1
  123. package/dist/generic/transactionGroup.d.ts +0 -184
  124. package/dist/generic/transactionGroup.d.ts.map +0 -1
  125. package/dist/generic/transactionGroup.js +0 -357
  126. package/dist/generic/transactionGroup.js.map +0 -1
  127. package/dist/generic/util.d.ts +0 -81
  128. package/dist/generic/util.d.ts.map +0 -1
  129. package/dist/generic/util.js +0 -301
  130. package/dist/generic/util.js.map +0 -1
  131. package/dist/views/runView.d.ts +0 -150
  132. package/dist/views/runView.d.ts.map +0 -1
  133. package/dist/views/runView.js +0 -100
  134. package/dist/views/runView.js.map +0 -1
  135. package/dist/views/viewInfo.d.ts +0 -121
  136. package/dist/views/viewInfo.d.ts.map +0 -1
  137. package/dist/views/viewInfo.js +0 -182
  138. package/dist/views/viewInfo.js.map +0 -1
@@ -1,121 +0,0 @@
1
- import { BaseInfo } from '../generic/baseInfo.js';
2
- import { EntityFieldInfo, EntityInfo } from '../generic/entityInfo.js';
3
- import { IMetadataProvider } from '../generic/interfaces.js';
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
- /**
33
- * This class represents a View in the system. A View is a saved set of filters, columns, and other settings that can be applied to a grid to show a specific set of data.
34
- */
35
- export declare class ViewInfo extends BaseInfo {
36
- /**
37
- * Unique identifier for the view record
38
- */
39
- ID: string;
40
- /**
41
- * Foreign key reference to the user who created this view
42
- */
43
- UserID: number;
44
- /**
45
- * Foreign key reference to the entity this view is based on
46
- */
47
- EntityID: number;
48
- /**
49
- * Name of the view for display and reference
50
- */
51
- Name: string;
52
- /**
53
- * Detailed description of what this view displays and its purpose
54
- */
55
- Description: string;
56
- /**
57
- * Foreign key reference to the View Categories entity for organizing views
58
- */
59
- CategoryID: number;
60
- /**
61
- * When true, this view is available to other users besides the creator
62
- */
63
- IsShared: boolean;
64
- /**
65
- * When true, this view is the default view for the entity
66
- */
67
- IsDefault: boolean;
68
- /**
69
- * JSON string containing the complete grid state including columns, sorting, and filters
70
- */
71
- GridState: string;
72
- /**
73
- * JSON string containing the filter configuration for this view
74
- */
75
- FilterState: string;
76
- /**
77
- * JSON string containing custom filter configuration added by the user
78
- */
79
- CustomFilterState: string;
80
- /**
81
- * SQL WHERE clause generated from the filter state for query execution
82
- */
83
- WhereClause: string;
84
- /**
85
- * Custom SQL WHERE clause that can be added to supplement the generated WHERE clause
86
- */
87
- CustomWhereClause: string;
88
- /**
89
- * Date and time when this view was created
90
- */
91
- __mj_CreatedAt: Date;
92
- /**
93
- * Date and time when this view was last updated
94
- */
95
- __mj_UpdatedAt: Date;
96
- /**
97
- * Name of the user who owns this view (from related User entity)
98
- */
99
- UserName: string;
100
- /**
101
- * Type of user who owns this view (from related User entity)
102
- */
103
- UserType: string;
104
- /**
105
- * Name of the entity this view is based on (from related Entity)
106
- */
107
- Entity: string;
108
- /**
109
- * Base view name for the entity used in queries
110
- */
111
- EntityBaseView: string;
112
- private _Filter;
113
- get Filter(): ViewFilterInfo[];
114
- private _Columns;
115
- get Columns(): ViewColumnInfo[];
116
- private _EntityInfo;
117
- get EntityInfo(): EntityInfo;
118
- InitFromData(md: IMetadataProvider, initData: any): void;
119
- constructor(md: IMetadataProvider, initData?: any);
120
- }
121
- //# sourceMappingURL=viewInfo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"viewInfo.d.ts","sourceRoot":"","sources":["../../src/views/viewInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,qBAAa,cAAe,SAAQ,QAAQ;IACxC,EAAE,EAAE,MAAM,CAAO;IACjB,IAAI,EAAE,MAAM,CAAO;IACnB,WAAW,EAAE,MAAM,CAAO;IAC1B,MAAM,EAAE,OAAO,CAAO;IACtB,KAAK,CAAC,EAAE,MAAM,CAAO;IACrB,UAAU,CAAC,EAAE,MAAM,CAAO;IAE1B,WAAW,EAAE,eAAe,CAAO;gBAEtB,QAAQ,GAAE,GAAU;CAIpC;AAGD,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAG/F,qBAAa,cAAe,SAAQ,QAAQ;IACxC,aAAa,EAAE,mBAAmB,CAAO;IAEzC,KAAK,EAAE,MAAM,CAAO;IACpB,QAAQ,EAAE,MAAM,CAAO;IACvB,KAAK,EAAE,MAAM,CAAO;IAEpB,OAAO,EAAE,cAAc,EA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U,IAAI,UAAU,CAElC;IAEM,YAAY,CAAC,EAAE,EAAE,iBAAiB,EAAE,QAAQ,EAAE,GAAG;gBAyC3C,EAAE,EAAE,iBAAiB,EAAE,QAAQ,GAAE,GAAU;CAI3D"}
@@ -1,182 +0,0 @@
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("../generic/baseInfo.js");
5
- const logging_1 = require("../generic/logging.js");
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
- /**
46
- * This class represents a View in the system. A View is a saved set of filters, columns, and other settings that can be applied to a grid to show a specific set of data.
47
- */
48
- class ViewInfo extends baseInfo_1.BaseInfo {
49
- get Filter() {
50
- return this._Filter;
51
- }
52
- get Columns() {
53
- return this._Columns;
54
- }
55
- get EntityInfo() {
56
- return this._EntityInfo;
57
- }
58
- InitFromData(md, initData) {
59
- try {
60
- if (initData) {
61
- this.copyInitData(initData);
62
- if (initData.EntityID) {
63
- const mdEntities = md.Entities;
64
- const match = mdEntities.find(e => e.ID == initData.EntityID);
65
- if (match)
66
- this._EntityInfo = match;
67
- }
68
- else if (initData._EntityInfo)
69
- this._EntityInfo = initData._EntityInfo;
70
- // set up the filters and the columns
71
- if (initData.GridState) {
72
- const gridState = JSON.parse(initData.GridState);
73
- if (gridState && gridState.columnSettings) {
74
- this._Columns = gridState.columnSettings.map(c => {
75
- // find the entity field and put it in place inside the View Metadata for easy access
76
- if (c) {
77
- // check to make sure the current item is non-null to ensure metadata isn't messed up
78
- const field = this._EntityInfo.Fields.find(f => f.Name.trim().toLowerCase() == c.Name.trim().toLowerCase());
79
- return new ViewColumnInfo({ ...c, EntityField: field });
80
- }
81
- else {
82
- (0, logging_1.LogError)('null column setting found in view grid state for columns - ViewID: ' + initData.ID);
83
- }
84
- });
85
- }
86
- }
87
- if (initData.FilterState) {
88
- this._Filter = [new ViewFilterInfo(JSON.parse(initData.FilterState))];
89
- }
90
- }
91
- }
92
- catch (e) {
93
- (0, logging_1.LogError)(e);
94
- throw e;
95
- }
96
- }
97
- constructor(md, initData = null) {
98
- super();
99
- /**
100
- * Unique identifier for the view record
101
- */
102
- this.ID = null;
103
- /**
104
- * Foreign key reference to the user who created this view
105
- */
106
- this.UserID = null;
107
- /**
108
- * Foreign key reference to the entity this view is based on
109
- */
110
- this.EntityID = null;
111
- /**
112
- * Name of the view for display and reference
113
- */
114
- this.Name = null;
115
- /**
116
- * Detailed description of what this view displays and its purpose
117
- */
118
- this.Description = null;
119
- /**
120
- * Foreign key reference to the View Categories entity for organizing views
121
- */
122
- this.CategoryID = null;
123
- /**
124
- * When true, this view is available to other users besides the creator
125
- */
126
- this.IsShared = null;
127
- /**
128
- * When true, this view is the default view for the entity
129
- */
130
- this.IsDefault = null;
131
- /**
132
- * JSON string containing the complete grid state including columns, sorting, and filters
133
- */
134
- this.GridState = null;
135
- /**
136
- * JSON string containing the filter configuration for this view
137
- */
138
- this.FilterState = null;
139
- /**
140
- * JSON string containing custom filter configuration added by the user
141
- */
142
- this.CustomFilterState = null;
143
- /**
144
- * SQL WHERE clause generated from the filter state for query execution
145
- */
146
- this.WhereClause = null;
147
- /**
148
- * Custom SQL WHERE clause that can be added to supplement the generated WHERE clause
149
- */
150
- this.CustomWhereClause = null;
151
- /**
152
- * Date and time when this view was created
153
- */
154
- this.__mj_CreatedAt = null;
155
- /**
156
- * Date and time when this view was last updated
157
- */
158
- this.__mj_UpdatedAt = null;
159
- /**
160
- * Name of the user who owns this view (from related User entity)
161
- */
162
- this.UserName = null;
163
- /**
164
- * Type of user who owns this view (from related User entity)
165
- */
166
- this.UserType = null;
167
- /**
168
- * Name of the entity this view is based on (from related Entity)
169
- */
170
- this.Entity = null;
171
- /**
172
- * Base view name for the entity used in queries
173
- */
174
- this.EntityBaseView = null;
175
- this._Filter = [];
176
- this._Columns = [];
177
- this._EntityInfo = null;
178
- this.InitFromData(md, initData);
179
- }
180
- }
181
- exports.ViewInfo = ViewInfo;
182
- //# sourceMappingURL=viewInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"viewInfo.js","sourceRoot":"","sources":["../../src/views/viewInfo.ts"],"names":[],"mappings":";;;AAAA,kDAA8C;AAG9C,gDAA8C;AAE9C,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;QAI/B,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAA;IAC/B,CAAC;CAC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