@memberjunction/core-entities 2.89.0 → 2.91.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/index.d.ts CHANGED
@@ -8,13 +8,14 @@ export * from './custom/AIPromptExtended';
8
8
  export * from './custom/ListDetailEntityExtended';
9
9
  export * from './custom/TypeTablesCache';
10
10
  export * from './custom/ScheduledActionExtended';
11
- export * from './custom/ResourcePermissions/ResourcePermissionEngine';
12
- export * from './custom/ResourcePermissions/ResourcePermissionSubclass';
13
- export * from './custom/ResourcePermissions/ResourceData';
14
11
  export * from './custom/EntityEntityExtended';
15
12
  export * from './custom/EntityFieldEntityExtended';
16
13
  export * from './custom/AIAgentRunExtended';
17
14
  export * from './custom/AIAgentRunStepExtended';
18
15
  export * from './custom/AIPromptRunEntityExtended';
19
16
  export * from './custom/ComponentEntityExtended';
17
+ export * from './custom/ResourcePermissions/ResourcePermissionEngine';
18
+ export * from './custom/ResourcePermissions/ResourcePermissionSubclass';
19
+ export * from './custom/ResourcePermissions/ResourceData';
20
+ export * from './engines/component-metadata';
20
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,uDAAuD,CAAC;AACtE,cAAc,yDAAyD,CAAC;AACxE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,+BAA+B,CAAA;AAE7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AAEjD,cAAc,uDAAuD,CAAC;AACtE,cAAc,yDAAyD,CAAC;AACxE,cAAc,2CAA2C,CAAC;AAE1D,cAAc,8BAA8B,CAAC"}
package/dist/index.js CHANGED
@@ -24,13 +24,14 @@ __exportStar(require("./custom/AIPromptExtended"), exports);
24
24
  __exportStar(require("./custom/ListDetailEntityExtended"), exports);
25
25
  __exportStar(require("./custom/TypeTablesCache"), exports);
26
26
  __exportStar(require("./custom/ScheduledActionExtended"), exports);
27
- __exportStar(require("./custom/ResourcePermissions/ResourcePermissionEngine"), exports);
28
- __exportStar(require("./custom/ResourcePermissions/ResourcePermissionSubclass"), exports);
29
- __exportStar(require("./custom/ResourcePermissions/ResourceData"), exports);
30
27
  __exportStar(require("./custom/EntityEntityExtended"), exports);
31
28
  __exportStar(require("./custom/EntityFieldEntityExtended"), exports);
32
29
  __exportStar(require("./custom/AIAgentRunExtended"), exports);
33
30
  __exportStar(require("./custom/AIAgentRunStepExtended"), exports);
34
31
  __exportStar(require("./custom/AIPromptRunEntityExtended"), exports);
35
32
  __exportStar(require("./custom/ComponentEntityExtended"), exports);
33
+ __exportStar(require("./custom/ResourcePermissions/ResourcePermissionEngine"), exports);
34
+ __exportStar(require("./custom/ResourcePermissions/ResourcePermissionSubclass"), exports);
35
+ __exportStar(require("./custom/ResourcePermissions/ResourceData"), exports);
36
+ __exportStar(require("./engines/component-metadata"), exports);
36
37
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,gEAA6C;AAC7C,0DAAwC;AACxC,mEAAiD;AACjD,2DAAyC;AACzC,2DAAyC;AACzC,oEAAkD;AAClD,4DAA0C;AAC1C,oEAAkD;AAClD,2DAAyC;AACzC,mEAAiD;AACjD,wFAAsE;AACtE,0FAAwE;AACxE,4EAA0D;AAC1D,gEAA8C;AAC9C,qEAAmD;AACnD,8DAA4C;AAC5C,kEAAgD;AAChD,qEAAmD;AACnD,mEAAiD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,gEAA6C;AAE7C,0DAAwC;AACxC,mEAAiD;AACjD,2DAAyC;AACzC,2DAAyC;AACzC,oEAAkD;AAClD,4DAA0C;AAC1C,oEAAkD;AAClD,2DAAyC;AACzC,mEAAiD;AACjD,gEAA8C;AAC9C,qEAAmD;AACnD,8DAA4C;AAC5C,kEAAgD;AAChD,qEAAmD;AACnD,mEAAiD;AAEjD,wFAAsE;AACtE,0FAAwE;AACxE,4EAA0D;AAE1D,+DAA6C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/core-entities",
3
- "version": "2.89.0",
3
+ "version": "2.91.0",
4
4
  "description": "Entity subclasses for the metadata layer of MemberJunction defined in the MJ_CORE schema (usually '__mj'), distributed as part of each release of MemberJunction",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,9 +19,9 @@
19
19
  "typescript": "^5.4.5"
20
20
  },
21
21
  "dependencies": {
22
- "@memberjunction/core": "2.89.0",
23
- "@memberjunction/global": "2.89.0",
24
- "@memberjunction/interactive-component-types": "2.89.0",
22
+ "@memberjunction/core": "2.91.0",
23
+ "@memberjunction/global": "2.91.0",
24
+ "@memberjunction/interactive-component-types": "2.91.0",
25
25
  "zod": "^3.23.8"
26
26
  }
27
27
  }
package/readme.md CHANGED
@@ -80,7 +80,7 @@ import { Metadata, RunView } from '@memberjunction/core';
80
80
  const md = new Metadata();
81
81
 
82
82
  // Load user views for an entity
83
- const rv = new RunView();
83
+ const rv = this.RunViewProviderToUse;
84
84
  const views = await rv.RunView<UserViewEntityExtended>({
85
85
  EntityName: 'User Views',
86
86
  ExtraFilter: `EntityID='${entityId}' AND UserID='${userId}'`,
@@ -143,7 +143,7 @@ await dashboard.Save();
143
143
  import { AIModelEntityExtended } from '@memberjunction/core-entities';
144
144
  import { RunView } from '@memberjunction/core';
145
145
 
146
- const rv = new RunView();
146
+ const rv = this.RunViewProviderToUse;
147
147
 
148
148
  // Load all active AI models
149
149
  const models = await rv.RunView<AIModelEntityExtended>({