@nomalism-com/types 0.32.34 → 0.32.36
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.
|
@@ -33,7 +33,6 @@ export interface IProposta {
|
|
|
33
33
|
}
|
|
34
34
|
export interface ITask extends ICalendar {
|
|
35
35
|
count: number;
|
|
36
|
-
auto: boolean;
|
|
37
36
|
}
|
|
38
37
|
export interface IStock {
|
|
39
38
|
created_at: Date;
|
|
@@ -55,6 +54,7 @@ export interface IPrint extends ICalendar {
|
|
|
55
54
|
completed: number;
|
|
56
55
|
undone: number;
|
|
57
56
|
unsent: number;
|
|
57
|
+
avg_time_to_complete: number;
|
|
58
58
|
}
|
|
59
59
|
export interface IEventstore extends ICalendar {
|
|
60
60
|
label: string;
|
|
@@ -77,6 +77,7 @@ export interface IProjectInfo extends ICalendar {
|
|
|
77
77
|
label: string;
|
|
78
78
|
email_sent: boolean;
|
|
79
79
|
document_header_created: boolean;
|
|
80
|
+
time_to_complete: number;
|
|
80
81
|
}
|
|
81
82
|
export interface IMultimedia extends ICalendar {
|
|
82
83
|
uploads: number;
|
|
@@ -114,6 +115,9 @@ export interface IKafka extends ICalendar {
|
|
|
114
115
|
count: number;
|
|
115
116
|
error_count: number;
|
|
116
117
|
}
|
|
118
|
+
export interface IGetDataRequest {
|
|
119
|
+
token: string;
|
|
120
|
+
}
|
|
117
121
|
export interface IGetDataResponse {
|
|
118
122
|
server: {
|
|
119
123
|
services: IServiceStatus[];
|
|
@@ -144,5 +148,5 @@ export interface IGetDataResponse {
|
|
|
144
148
|
};
|
|
145
149
|
}
|
|
146
150
|
export interface IRepository {
|
|
147
|
-
getData(): Promise<IGetDataResponse>;
|
|
151
|
+
getData(params: IGetDataRequest): Promise<IGetDataResponse>;
|
|
148
152
|
}
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.32.
|
|
12
|
+
"version": "0.32.36",
|
|
13
13
|
"main": "./dist/index.min.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"url": "git+https://gitlab.com/nomalism-develop/types.git"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
|
-
"lint": "eslint
|
|
29
|
+
"lint": "eslint --fix",
|
|
30
30
|
"typecheck": "tsc --project tsconfig.json --noEmit",
|
|
31
31
|
"start": "node dist/index.min.js",
|
|
32
32
|
"prebuild": "rm -rf dist",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"@rollup/plugin-terser": "^0.4.4",
|
|
41
41
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
42
42
|
"@types/node": "^22.13.10",
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
44
|
-
"@typescript-eslint/parser": "^8.
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^8.27.0",
|
|
44
|
+
"@typescript-eslint/parser": "^8.27.0",
|
|
45
45
|
"eslint": "^9.22.0",
|
|
46
46
|
"eslint-config-prettier": "^10.1.1",
|
|
47
|
-
"eslint-import-resolver-typescript": "^4.2.
|
|
47
|
+
"eslint-import-resolver-typescript": "^4.2.2",
|
|
48
48
|
"eslint-plugin-prettier": "^5.2.3",
|
|
49
49
|
"prettier": "^3.5.3",
|
|
50
50
|
"rollup": "^4.36.0",
|