@nomalism-com/types 0.45.34 → 0.45.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.
package/dist/index.cjs
CHANGED
|
@@ -5729,10 +5729,6 @@ var Route126 = "ws";
|
|
|
5729
5729
|
|
|
5730
5730
|
// src/modules/stock/productLocation/interface.ts
|
|
5731
5731
|
var interface_exports69 = {};
|
|
5732
|
-
__export(interface_exports69, {
|
|
5733
|
-
Route: () => Route127
|
|
5734
|
-
});
|
|
5735
|
-
var Route127 = "product_location";
|
|
5736
5732
|
|
|
5737
5733
|
// src/index.ts
|
|
5738
5734
|
var index_default = main_exports;
|
package/dist/index.js
CHANGED
|
@@ -5729,10 +5729,6 @@ var Route126 = "ws";
|
|
|
5729
5729
|
|
|
5730
5730
|
// src/modules/stock/productLocation/interface.ts
|
|
5731
5731
|
var interface_exports69 = {};
|
|
5732
|
-
__export(interface_exports69, {
|
|
5733
|
-
Route: () => Route127
|
|
5734
|
-
});
|
|
5735
|
-
var Route127 = "product_location";
|
|
5736
5732
|
|
|
5737
5733
|
// src/index.ts
|
|
5738
5734
|
var index_default = main_exports;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
export declare const Route = "product_location";
|
|
2
|
-
export interface
|
|
2
|
+
export interface IProductLocationItem {
|
|
3
|
+
id: string;
|
|
4
|
+
product_location_id: string;
|
|
5
|
+
reference: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IProductLocation {
|
|
8
|
+
id: string;
|
|
3
9
|
location: string;
|
|
4
|
-
created_by: string;
|
|
5
|
-
created_at: string;
|
|
6
10
|
type: 'Inteiro' | 'Parcial';
|
|
7
|
-
items:
|
|
11
|
+
items: IProductLocationItem[];
|
|
12
|
+
created_at: Date;
|
|
13
|
+
created_by: string;
|
|
8
14
|
}
|
|
9
15
|
export interface IRepository {
|
|
10
|
-
findMany(): Promise<
|
|
16
|
+
findMany(): Promise<IProductLocation[]>;
|
|
11
17
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "0.45.
|
|
4
|
+
"version": "0.45.36",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|