@nomalism-com/types 0.14.2 → 0.14.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.
|
@@ -24,7 +24,6 @@ export type IGetProductGroup = 'cortinado' | 'tapete' | 'estore' | 'estofo' | 'o
|
|
|
24
24
|
export type IGetProductType = 'confecção' | 'calha' | 'tecido 1' | 'tecido 2' | 'livre';
|
|
25
25
|
export type IReferenceType = 'noma' | 'sheets' | undefined;
|
|
26
26
|
export interface IGetProduct {
|
|
27
|
-
id: string;
|
|
28
27
|
index: number;
|
|
29
28
|
group: IGetProductGroup;
|
|
30
29
|
type: IGetProductType;
|
|
@@ -232,6 +232,7 @@ export interface IRepository {
|
|
|
232
232
|
update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<IFindResponse | null>;
|
|
233
233
|
deleteOne(selector: IShared.IFindByIdRequest): Promise<void>;
|
|
234
234
|
duplicateProduct(selector: IShared.IFindByIdRequest, body: IDuplicateProductRequest): Promise<string>;
|
|
235
|
+
googleSheetsFieldsByRef(selector: IFindByReferenceRequest): Promise<string>;
|
|
235
236
|
}
|
|
236
237
|
export type IApi = Omit<IRepository, 'getLabelData'>;
|
|
237
238
|
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.14.
|
|
12
|
+
"version": "0.14.4",
|
|
13
13
|
"main": "./dist/index.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/convert-units": "^2.3.9",
|
|
41
|
-
"@types/node": "^20.10.
|
|
41
|
+
"@types/node": "^20.10.1",
|
|
42
42
|
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
|
43
43
|
"@typescript-eslint/parser": "^6.13.1",
|
|
44
44
|
"concurrently": "^8.2.2",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"eslint-plugin-import": "^2.29.0",
|
|
50
50
|
"eslint-plugin-prettier": "^5.0.1",
|
|
51
51
|
"prettier": "^3.1.0",
|
|
52
|
-
"tsx": "^4.6.
|
|
52
|
+
"tsx": "^4.6.1",
|
|
53
53
|
"typescript": "^5.3.2"
|
|
54
54
|
}
|
|
55
55
|
}
|