@nomalism-com/api 0.33.2 → 0.33.3
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,14 +1,14 @@
|
|
|
1
1
|
import Nomalism from '@nomalism-com/types';
|
|
2
2
|
import { IModuleConstructor } from '../../main';
|
|
3
|
-
export import
|
|
4
|
-
export import
|
|
3
|
+
export import ICreateRequest = Nomalism.DocumentLineRm.ICreateRequest;
|
|
4
|
+
export import IUpdateRequest = Nomalism.DocumentLineRm.IUpdateRequest;
|
|
5
5
|
export import Entity = Nomalism.DocumentLineRm.Entity;
|
|
6
6
|
export default class Repository implements Nomalism.DocumentLineRm.IController {
|
|
7
7
|
route: string;
|
|
8
8
|
publicRoute: string;
|
|
9
9
|
private api;
|
|
10
10
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
11
|
-
create(data:
|
|
12
|
-
update(selector: Nomalism.shared.IFindByIdRequest, data:
|
|
11
|
+
create(data: ICreateRequest): Promise<Entity>;
|
|
12
|
+
update(selector: Nomalism.shared.IFindByIdRequest, data: IUpdateRequest): Promise<void>;
|
|
13
13
|
deleteOne(selector: Nomalism.shared.IFindByIdRequest): Promise<void>;
|
|
14
14
|
}
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.33.
|
|
12
|
+
"version": "0.33.3",
|
|
13
13
|
"main": "dist/index.min.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"tslib": "^2.8.1"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@nomalism-com/types": "^0.33.
|
|
51
|
+
"@nomalism-com/types": "^0.33.4",
|
|
52
52
|
"axios": "^1.8.4"
|
|
53
53
|
}
|
|
54
54
|
}
|