@nomalism-com/types 0.32.35 → 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.
@@ -115,6 +115,9 @@ export interface IKafka extends ICalendar {
115
115
  count: number;
116
116
  error_count: number;
117
117
  }
118
+ export interface IGetDataRequest {
119
+ token: string;
120
+ }
118
121
  export interface IGetDataResponse {
119
122
  server: {
120
123
  services: IServiceStatus[];
@@ -145,5 +148,5 @@ export interface IGetDataResponse {
145
148
  };
146
149
  }
147
150
  export interface IRepository {
148
- getData(): Promise<IGetDataResponse>;
151
+ getData(params: IGetDataRequest): Promise<IGetDataResponse>;
149
152
  }
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.32.35",
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 . --fix --ignore-pattern dist --ignore-pattern node_modules",
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.26.1",
44
- "@typescript-eslint/parser": "^8.26.1",
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.1",
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",