@nomalism-com/types 0.32.2 → 0.32.4
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,11 +33,8 @@ export interface ICheckLinesToReturnRequest {
|
|
|
33
33
|
lines: ICheckLinesToReturnLinesRequest[];
|
|
34
34
|
}
|
|
35
35
|
export interface IRepository {
|
|
36
|
-
checkLinesToReturn(params: ICheckLinesToReturnRequest): Promise<
|
|
36
|
+
checkLinesToReturn(params: ICheckLinesToReturnRequest): Promise<void>;
|
|
37
37
|
findLinesToReturn(params: IShared.IFindOptionalByOwnerIdRequest): Promise<IFindLinesToReturnResponse[]>;
|
|
38
38
|
findLinesToReturnProviders(): Promise<IShared.IFindMinifiedResponse[]>;
|
|
39
39
|
}
|
|
40
40
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
41
|
-
export interface IApi extends Omit<IRepository, 'checkLinesToReturn'> {
|
|
42
|
-
checkLinesToReturn(params: ICheckLinesToReturnRequest): Promise<void>;
|
|
43
|
-
}
|
|
@@ -126,13 +126,10 @@ export interface IPrintLabelQueryRequest {
|
|
|
126
126
|
export interface IRepository {
|
|
127
127
|
create(data: ICreateRequest[]): Promise<IDocumentLineAssoc.IEntityExtended[]>;
|
|
128
128
|
update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<void>;
|
|
129
|
-
updateData(data: IUpdateDataRequest): Promise<
|
|
129
|
+
updateData(data: IUpdateDataRequest): Promise<IDocumentLineAssoc.IEntityWithDocumentLine[]>;
|
|
130
130
|
updateMany(data: IUpdateManyRequest): Promise<void>;
|
|
131
131
|
updateManyByDocumentHeader(selector: IShared.IFindByIdRequest, data: IUpdateManyByDocumentHeaderRequest): Promise<void>;
|
|
132
132
|
updateIndexes(document_line_ids: string[]): Promise<void>;
|
|
133
133
|
deleteMany(document_line_ids: string[]): Promise<void>;
|
|
134
134
|
}
|
|
135
|
-
export type IApi = Omit<IRepository, 'updateData'> & {
|
|
136
|
-
updateData(data: IUpdateDataRequestWithoutStamps): Promise<IDocumentLineAssoc.IEntityWithDocumentLine[]>;
|
|
137
|
-
};
|
|
138
135
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.32.
|
|
12
|
+
"version": "0.32.4",
|
|
13
13
|
"main": "./dist/index.min.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@rollup/plugin-terser": "^0.4.4",
|
|
41
41
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
42
|
-
"@types/node": "^22.13.
|
|
42
|
+
"@types/node": "^22.13.8",
|
|
43
43
|
"@typescript-eslint/eslint-plugin": "^8.25.0",
|
|
44
44
|
"@typescript-eslint/parser": "^8.25.0",
|
|
45
45
|
"eslint": "^9.21.0",
|
|
46
46
|
"eslint-config-prettier": "^10.0.2",
|
|
47
47
|
"eslint-import-resolver-typescript": "^3.8.3",
|
|
48
48
|
"eslint-plugin-prettier": "^5.2.3",
|
|
49
|
-
"prettier": "^3.5.
|
|
50
|
-
"rollup": "^4.34.
|
|
49
|
+
"prettier": "^3.5.3",
|
|
50
|
+
"rollup": "^4.34.9",
|
|
51
51
|
"tslib": "^2.8.1"
|
|
52
52
|
}
|
|
53
53
|
}
|