@nomalism-com/types 0.31.13 → 0.31.14

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.
@@ -1,3 +1,4 @@
1
+ import * as IShared from '../../../shared/interface';
1
2
  export interface IFindByDocumentLineStateRequest {
2
3
  document_type_id: 100 | 116;
3
4
  document_line_state: string;
@@ -26,9 +27,11 @@ export interface IFindSideMenuCountersResponse {
26
27
  counts: Record<string, number>;
27
28
  timestamp: string;
28
29
  }
29
- export interface IRepository {
30
+ interface IRepository {
30
31
  findSideMenuStoreOperators(): Promise<string[]>;
31
32
  findByState(data: IFindByStateRequest): Promise<IFindByStateResponse[]>;
32
33
  findByDocumentLineState(params: IFindByDocumentLineStateRequest): Promise<IFindByDocumentLineStateResponse[]>;
33
34
  findSideMenuCounters(): Promise<IFindSideMenuCountersResponse>;
34
35
  }
36
+ export type IController = IShared.IEntityWithUserToken<IRepository>;
37
+ export {};
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.31.13",
12
+ "version": "0.31.14",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [