cecon-interfaces 1.2.70 → 1.2.71

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,10 @@
1
+ import { IAppInfo } from '../../purchases';
1
2
  import { IMonitor } from '../interfaces/i-monitor';
2
3
  export declare class MonitorEntity implements IMonitor {
3
4
  id: string;
4
5
  companyIds: string[];
5
6
  total: number;
6
7
  createdAt: Date;
7
- appId: string;
8
- appName: string;
8
+ app: IAppInfo;
9
9
  constructor(data?: Partial<MonitorEntity>);
10
10
  }
@@ -2,16 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MonitorEntity = void 0;
4
4
  var MonitorEntity = /** @class */ (function () {
5
- // #endregion Properties (9)
6
- // #region Constructors (1)
7
5
  function MonitorEntity(data) {
8
6
  // #region Properties (9)
9
7
  this.id = '';
10
8
  this.companyIds = [];
11
9
  this.total = 0;
12
10
  this.createdAt = new Date();
13
- this.appId = '';
14
- this.appName = '';
11
+ this.app = { appId: '', name: '', version: '' };
15
12
  if (data) {
16
13
  for (var key in data) {
17
14
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,8 +1,8 @@
1
+ import { IAppInfo } from '../../purchases';
1
2
  export interface IMonitor {
2
3
  id: string;
3
4
  companyIds: string[];
4
5
  total: number;
5
6
  createdAt: Date;
6
- appId: string;
7
- appName: string;
7
+ app: IAppInfo;
8
8
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.70",
3
+ "version": "1.2.71",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.70",
3
+ "version": "1.2.71",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",