@memberjunction/core-entities 0.9.101 → 0.9.105

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.
@@ -0,0 +1,5 @@
1
+ import { ValidationResult } from "@memberjunction/core";
2
+ import { DashboardEntity } from "../generated/entity_subclasses";
3
+ export declare class DashboardEntityExtended extends DashboardEntity {
4
+ Validate(): ValidationResult;
5
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.DashboardEntityExtended = void 0;
10
+ const global_1 = require("@memberjunction/global");
11
+ const core_1 = require("@memberjunction/core");
12
+ const entity_subclasses_1 = require("../generated/entity_subclasses");
13
+ let DashboardEntityExtended = class DashboardEntityExtended extends entity_subclasses_1.DashboardEntity {
14
+ Validate() {
15
+ console.log("hi");
16
+ return super.Validate();
17
+ }
18
+ };
19
+ exports.DashboardEntityExtended = DashboardEntityExtended;
20
+ exports.DashboardEntityExtended = DashboardEntityExtended = __decorate([
21
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Dashboards', 2) // 2 priority so this gets used ahead of the generated sub-class
22
+ ], DashboardEntityExtended);
23
+ //# sourceMappingURL=DashboardEntity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardEntity.js","sourceRoot":"","sources":["../../src/custom/DashboardEntity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,mDAAiE;AACjE,+CAAoK;AACpK,sEAAiF;AAI1E,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,mCAAe;IAC/C,QAAQ;QACb,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAClB,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC;CACJ,CAAA;AALY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,sBAAa,EAAC,iBAAU,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC,gEAAgE;GAC/F,uBAAuB,CAKnC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/core-entities",
3
- "version": "0.9.101",
3
+ "version": "0.9.105",
4
4
  "description": "Entity subclasses for the metadata layer of MemberJunction defined in the MJ_CORE schema (usually 'admin'), distributed as part of each release of MemberJunction",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",