cecon-interfaces 1.2.70 → 1.2.72
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/monitor/entities/monitor.entity.mjs +3 -6
- package/dist/esm2022/monitor/interfaces/i-monitor.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +2 -5
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/monitor/entities/monitor.entity.d.ts +6 -3
- package/dist/monitor/entities/monitor.entity.js +2 -5
- package/dist/monitor/interfaces/i-monitor.d.ts +6 -3
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -1,10 +1,13 @@
|
|
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
|
+
companies: {
|
6
|
+
id: string;
|
7
|
+
name: string;
|
8
|
+
}[];
|
5
9
|
total: number;
|
6
10
|
createdAt: Date;
|
7
|
-
|
8
|
-
appName: string;
|
11
|
+
app: IAppInfo;
|
9
12
|
constructor(data?: Partial<MonitorEntity>);
|
10
13
|
}
|
@@ -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
|
-
this.
|
8
|
+
this.companies = [{ id: '', name: '' }];
|
11
9
|
this.total = 0;
|
12
10
|
this.createdAt = new Date();
|
13
|
-
this.
|
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,11 @@
|
|
1
|
+
import { IAppInfo } from '../../purchases';
|
1
2
|
export interface IMonitor {
|
2
3
|
id: string;
|
3
|
-
|
4
|
+
companies: {
|
5
|
+
id: string;
|
6
|
+
name: string;
|
7
|
+
}[];
|
4
8
|
total: number;
|
5
9
|
createdAt: Date;
|
6
|
-
|
7
|
-
appName: string;
|
10
|
+
app: IAppInfo;
|
8
11
|
}
|
package/dist/package.json
CHANGED