exodus-framework 2.0.863 → 2.0.865

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.
@@ -5,9 +5,8 @@ export declare class Report extends ServiceModel<Report> {
5
5
  category: string;
6
6
  status: 'PENDING' | 'COMPLETED';
7
7
  origin: string;
8
- action: string;
9
- comments: string;
10
- data: CreationOptional<Record<string, any>>;
8
+ description: string;
9
+ file: string;
11
10
  params: CreationOptional<Record<string, any>>;
12
11
  static getConnParams(): TEntityConnParams<Report>;
13
12
  static getEntityParams(): TEntityParams<Report>;
@@ -1 +1 @@
1
- {"version":3,"file":"Report.d.ts","sourceRoot":"","sources":["../../src/models/Report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAa,MAAM,WAAW,CAAC;AACxD,OAAO,YAAY,EAAE,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE7F,qBAAa,MAAO,SAAQ,YAAY,CAAC,MAAM,CAAC;IACtC,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,SAAS,GAAG,WAAW,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAC5C,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAEtD,MAAM,CAAC,aAAa,IAAI,iBAAiB,CAAC,MAAM,CAAC;IAiBjD,MAAM,CAAC,eAAe,IAAI,aAAa,CAAC,MAAM,CAAC;CA0ChD"}
1
+ {"version":3,"file":"Report.d.ts","sourceRoot":"","sources":["../../src/models/Report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAa,MAAM,WAAW,CAAC;AACxD,OAAO,YAAY,EAAE,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE7F,qBAAa,MAAO,SAAQ,YAAY,CAAC,MAAM,CAAC;IACtC,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,SAAS,GAAG,WAAW,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAEtD,MAAM,CAAC,aAAa,IAAI,iBAAiB,CAAC,MAAM,CAAC;IAiBjD,MAAM,CAAC,eAAe,IAAI,aAAa,CAAC,MAAM,CAAC;CAqChD"}
@@ -14,9 +14,9 @@ class Report extends _servicemodel.default {
14
14
  indexes: [{
15
15
  fields: ['category']
16
16
  }, {
17
- fields: ['origin']
17
+ fields: ['description']
18
18
  }, {
19
- fields: ['action']
19
+ fields: ['file']
20
20
  }]
21
21
  };
22
22
  }
@@ -37,17 +37,12 @@ class Report extends _servicemodel.default {
37
37
  type: _sequelize.DataTypes.STRING(100),
38
38
  allowNull: false
39
39
  },
40
- action: {
41
- type: _sequelize.DataTypes.STRING(100),
42
- allowNull: false
43
- },
44
- comments: {
40
+ description: {
45
41
  type: _sequelize.DataTypes.STRING(255),
46
42
  allowNull: true
47
43
  },
48
- data: {
49
- type: _sequelize.DataTypes.JSON,
50
- defaultValue: {},
44
+ file: {
45
+ type: _sequelize.DataTypes.STRING(255),
51
46
  allowNull: true
52
47
  },
53
48
  params: {
@@ -5,5 +5,6 @@ export * from './DatabaseHost';
5
5
  export * from './EnvConnection';
6
6
  export * from './Log';
7
7
  export * from './System';
8
+ export * from './Report';
8
9
  export declare const NativeModels: StaticServiceModel<Model>[];
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAKlD,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AAEzB,eAAO,MAAM,YAAY,EAAE,kBAAkB,CAAC,KAAK,CAAC,EAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAKlD,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AAEzB,eAAO,MAAM,YAAY,EAAE,kBAAkB,CAAC,KAAK,CAAC,EAA0B,CAAC"}
@@ -32,6 +32,17 @@ Object.keys(_System).forEach(function (key) {
32
32
  });
33
33
  });
34
34
  var _Report = require("./Report");
35
+ Object.keys(_Report).forEach(function (key) {
36
+ if (key === "default" || key === "__esModule") return;
37
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
38
+ if (key in exports && exports[key] === _Report[key]) return;
39
+ Object.defineProperty(exports, key, {
40
+ enumerable: true,
41
+ get: function () {
42
+ return _Report[key];
43
+ }
44
+ });
45
+ });
35
46
  var _Application = require("./Application");
36
47
  Object.keys(_Application).forEach(function (key) {
37
48
  if (key === "default" || key === "__esModule") return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodus-framework",
3
- "version": "2.0.863",
3
+ "version": "2.0.865",
4
4
  "description": "Exodus Framework",
5
5
  "author": "jhownpaixao",
6
6
  "license": "ISC",