1 |
|
2 | import {field, document} from '../mongoose/decorators';
|
3 | import {Strict} from '../mongoose/enums/';
|
4 | import {onetomany, manytoone, manytomany, onetoone} from '../core/decorators';
|
5 |
|
6 |
|
7 | export interface IWorkerProcess {
|
8 |
|
9 |
|
10 | machineID?: string;
|
11 |
|
12 |
|
13 | processId?: string;
|
14 |
|
15 |
|
16 | serverId?: string;
|
17 |
|
18 |
|
19 | workerId?: number;
|
20 |
|
21 |
|
22 |
|
23 | sessionId?: string;
|
24 |
|
25 |
|
26 | role?: string;
|
27 |
|
28 | status?: string;
|
29 |
|
30 |
|
31 | statistics?: { noOfTransactioSoFar: number, activeSince: Date, velocity: number }
|
32 | channels?: string[];
|
33 |
|
34 | }
|
35 |
|
36 |
|
37 |
|