synunu-libs 1.0.17 → 1.0.18
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/constants/patterns.constant.d.ts +56 -0
- package/dist/constants/patterns.constant.d.ts.map +1 -1
- package/dist/constants/patterns.constant.js +8 -0
- package/dist/constants/patterns.constant.js.map +1 -1
- package/dist/constants/permission.constant.d.ts +48 -0
- package/dist/constants/permission.constant.d.ts.map +1 -1
- package/dist/constants/permission.constant.js +8 -0
- package/dist/constants/permission.constant.js.map +1 -1
- package/dist/dto/index.d.ts +8 -0
- package/dist/dto/index.d.ts.map +1 -1
- package/dist/dto/index.js +8 -0
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/inventory-item.dto.d.ts +25 -0
- package/dist/dto/inventory-item.dto.d.ts.map +1 -0
- package/dist/dto/inventory-item.dto.js +87 -0
- package/dist/dto/inventory-item.dto.js.map +1 -0
- package/dist/dto/inventory-items.dto.d.ts +25 -0
- package/dist/dto/inventory-items.dto.d.ts.map +1 -0
- package/dist/dto/inventory-items.dto.js +87 -0
- package/dist/dto/inventory-items.dto.js.map +1 -0
- package/dist/dto/inventory-level.dto.d.ts +25 -0
- package/dist/dto/inventory-level.dto.d.ts.map +1 -0
- package/dist/dto/inventory-level.dto.js +87 -0
- package/dist/dto/inventory-level.dto.js.map +1 -0
- package/dist/dto/inventory-levels.dto.d.ts +25 -0
- package/dist/dto/inventory-levels.dto.d.ts.map +1 -0
- package/dist/dto/inventory-levels.dto.js +87 -0
- package/dist/dto/inventory-levels.dto.js.map +1 -0
- package/dist/dto/inventory-location.dto.d.ts +25 -0
- package/dist/dto/inventory-location.dto.d.ts.map +1 -0
- package/dist/dto/inventory-location.dto.js +87 -0
- package/dist/dto/inventory-location.dto.js.map +1 -0
- package/dist/dto/inventory-storage.dto.d.ts +25 -0
- package/dist/dto/inventory-storage.dto.d.ts.map +1 -0
- package/dist/dto/inventory-storage.dto.js +87 -0
- package/dist/dto/inventory-storage.dto.js.map +1 -0
- package/dist/dto/packsize.dto.d.ts +25 -0
- package/dist/dto/packsize.dto.d.ts.map +1 -0
- package/dist/dto/packsize.dto.js +87 -0
- package/dist/dto/packsize.dto.js.map +1 -0
- package/dist/dto/publication.dto.d.ts +25 -0
- package/dist/dto/publication.dto.d.ts.map +1 -0
- package/dist/dto/publication.dto.js +87 -0
- package/dist/dto/publication.dto.js.map +1 -0
- package/package.json +1 -1
|
@@ -93,6 +93,62 @@ export declare const MESSAGE_PATTERNS: {
|
|
|
93
93
|
readonly UPDATE: `${string}_update`;
|
|
94
94
|
readonly DELETE: `${string}_delete`;
|
|
95
95
|
} & ExtraPatterns<never>;
|
|
96
|
+
readonly INVENTORY_ITEMSS: {
|
|
97
|
+
readonly FIND_ALL: `${string}_find_all`;
|
|
98
|
+
readonly FIND_BY_ID: `${string}_find_by_id`;
|
|
99
|
+
readonly CREATE: `${string}_create`;
|
|
100
|
+
readonly UPDATE: `${string}_update`;
|
|
101
|
+
readonly DELETE: `${string}_delete`;
|
|
102
|
+
} & ExtraPatterns<never>;
|
|
103
|
+
readonly INVENTORY_LEVELSS: {
|
|
104
|
+
readonly FIND_ALL: `${string}_find_all`;
|
|
105
|
+
readonly FIND_BY_ID: `${string}_find_by_id`;
|
|
106
|
+
readonly CREATE: `${string}_create`;
|
|
107
|
+
readonly UPDATE: `${string}_update`;
|
|
108
|
+
readonly DELETE: `${string}_delete`;
|
|
109
|
+
} & ExtraPatterns<never>;
|
|
110
|
+
readonly PUBLICATIONS: {
|
|
111
|
+
readonly FIND_ALL: `${string}_find_all`;
|
|
112
|
+
readonly FIND_BY_ID: `${string}_find_by_id`;
|
|
113
|
+
readonly CREATE: `${string}_create`;
|
|
114
|
+
readonly UPDATE: `${string}_update`;
|
|
115
|
+
readonly DELETE: `${string}_delete`;
|
|
116
|
+
} & ExtraPatterns<never>;
|
|
117
|
+
readonly INVENTORY_LEVELS: {
|
|
118
|
+
readonly FIND_ALL: `${string}_find_all`;
|
|
119
|
+
readonly FIND_BY_ID: `${string}_find_by_id`;
|
|
120
|
+
readonly CREATE: `${string}_create`;
|
|
121
|
+
readonly UPDATE: `${string}_update`;
|
|
122
|
+
readonly DELETE: `${string}_delete`;
|
|
123
|
+
} & ExtraPatterns<never>;
|
|
124
|
+
readonly INVENTORY_ITEMS: {
|
|
125
|
+
readonly FIND_ALL: `${string}_find_all`;
|
|
126
|
+
readonly FIND_BY_ID: `${string}_find_by_id`;
|
|
127
|
+
readonly CREATE: `${string}_create`;
|
|
128
|
+
readonly UPDATE: `${string}_update`;
|
|
129
|
+
readonly DELETE: `${string}_delete`;
|
|
130
|
+
} & ExtraPatterns<never>;
|
|
131
|
+
readonly PACKSIZES: {
|
|
132
|
+
readonly FIND_ALL: `${string}_find_all`;
|
|
133
|
+
readonly FIND_BY_ID: `${string}_find_by_id`;
|
|
134
|
+
readonly CREATE: `${string}_create`;
|
|
135
|
+
readonly UPDATE: `${string}_update`;
|
|
136
|
+
readonly DELETE: `${string}_delete`;
|
|
137
|
+
} & ExtraPatterns<never>;
|
|
138
|
+
readonly INVENTORY_LOCATIONS: {
|
|
139
|
+
readonly FIND_ALL: `${string}_find_all`;
|
|
140
|
+
readonly FIND_BY_ID: `${string}_find_by_id`;
|
|
141
|
+
readonly CREATE: `${string}_create`;
|
|
142
|
+
readonly UPDATE: `${string}_update`;
|
|
143
|
+
readonly DELETE: `${string}_delete`;
|
|
144
|
+
} & ExtraPatterns<never>;
|
|
145
|
+
readonly INVENTORY_STORAGES: {
|
|
146
|
+
readonly FIND_ALL: `${string}_find_all`;
|
|
147
|
+
readonly FIND_BY_ID: `${string}_find_by_id`;
|
|
148
|
+
readonly CREATE: `${string}_create`;
|
|
149
|
+
readonly UPDATE: `${string}_update`;
|
|
150
|
+
readonly DELETE: `${string}_delete`;
|
|
151
|
+
} & ExtraPatterns<never>;
|
|
96
152
|
};
|
|
97
153
|
readonly ORDER_SERVICE: {
|
|
98
154
|
readonly ORDER: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patterns.constant.d.ts","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAkBzD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"patterns.constant.d.ts","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAkBzD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyFnB,CAAC"}
|
|
@@ -58,6 +58,14 @@ exports.MESSAGE_PATTERNS = {
|
|
|
58
58
|
SUPPLIER: crudPatterns("supplier"),
|
|
59
59
|
INVENTORY: crudPatterns("inventory"),
|
|
60
60
|
PRODUCT_IMAGES: crudPatterns("productImages"),
|
|
61
|
+
INVENTORY_ITEMSS: crudPatterns("inventoryItemss"),
|
|
62
|
+
INVENTORY_LEVELSS: crudPatterns("inventoryLevelss"),
|
|
63
|
+
PUBLICATIONS: crudPatterns("publications"),
|
|
64
|
+
INVENTORY_LEVELS: crudPatterns("inventoryLevels"),
|
|
65
|
+
INVENTORY_ITEMS: crudPatterns("inventoryItems"),
|
|
66
|
+
PACKSIZES: crudPatterns("packsizes"),
|
|
67
|
+
INVENTORY_LOCATIONS: crudPatterns("inventoryLocations"),
|
|
68
|
+
INVENTORY_STORAGES: crudPatterns("inventoryStorages"),
|
|
61
69
|
},
|
|
62
70
|
ORDER_SERVICE: {
|
|
63
71
|
ORDER: crudPatterns("order"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patterns.constant.js","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":";;;AAEA,SAAS,YAAY,CACnB,MAAc,EACd,KAAwB;IAExB,MAAM,IAAI,GAAG;QACX,QAAQ,EAAE,GAAG,MAAM,WAAW;QAC9B,UAAU,EAAE,GAAG,MAAM,aAAa;QAClC,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;KAClB,CAAC;IAEX,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAC1B,CAAC;AACrB,CAAC;AAEY,QAAA,gBAAgB,GAAG;IAC9B,YAAY,EAAE;QACZ,IAAI,EAAE;YACJ,QAAQ,EAAE,eAAe;YACzB,KAAK,EAAE,YAAY;YACnB,aAAa,EAAE,oBAAoB;YACnC,aAAa,EAAE,oBAAoB;SACpC;QACD,IAAI,EAAE,YAAY,CAAC,MAAM,EAAE;YACzB,aAAa,EAAE,oBAAoB;YACnC,gBAAgB,EAAE,uBAAuB;YACzC,eAAe,EAAE,sBAAsB;SACxC,CAAC;QACF,IAAI,EAAE,YAAY,CAAC,MAAM,EAAE;YACzB,YAAY,EAAE,mBAAmB;SAClC,CAAC;QACF,UAAU,EAAE,YAAY,CAAC,YAAY,EAAE;YACrC,WAAW,EAAE,wBAAwB;YACrC,WAAW,EAAE,wBAAwB;YACrC,eAAe,EAAE,4BAA4B;YAC7C,eAAe,EAAE,4BAA4B;SAC9C,CAAC;QACF,YAAY,EAAE,YAAY,CAAC,cAAc,EAAE;YACzC,YAAY,EAAE,2BAA2B;YACzC,YAAY,EAAE,2BAA2B;SAC1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AY,CAAC,cAAc,CAAC;QAE1C,gBAAgB,EAAE,YAAY,CAAC,iBAAiB,CAAC;QAEjD,eAAe,EAAE,YAAY,CAAC,gBAAgB,CAAC;QAE/C,SAAS,EAAE,YAAY,CAAC,WAAW,CAAC;QAEpC,mBAAmB,EAAE,YAAY,CAAC,oBAAoB,CAAC;QAEvD,kBAAkB,EAAE,YAAY,CAAC,mBAAmB,CAAC;KACtD;IAED,aAAa,EAAE;QACb,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC;QAC5B,WAAW,EAAE,YAAY,CAAC,aAAa,CAAC;QACxC,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC;QAC9B,QAAQ,EAAE,YAAY,CAAC,UAAU,CAAC;KACnC;IAED,gBAAgB,EAAE;QAChB,QAAQ,EAAE,YAAY,CAAC,UAAU,CAAC;QAClC,OAAO,EAAE,YAAY,CAAC,SAAS,EAAE;YAC/B,QAAQ,EAAE,kBAAkB;SAC7B,CAAC;KACH;IAED,eAAe,EAAE;QACf,OAAO,EAAE,YAAY,CAAC,SAAS,EAAE;YAC/B,WAAW,EAAE,qBAAqB;YAClC,YAAY,EAAE,sBAAsB;SACrC,CAAC;QACF,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC;QAC5B,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC;KAC7B;CACO,CAAC"}
|
|
@@ -73,6 +73,54 @@ export declare const PERMISSIONS: {
|
|
|
73
73
|
readonly UPDATE: `${string}:update`;
|
|
74
74
|
readonly DELETE: `${string}:delete`;
|
|
75
75
|
};
|
|
76
|
+
readonly INVENTORY_ITEMSS: {
|
|
77
|
+
readonly READ: `${string}:read`;
|
|
78
|
+
readonly CREATE: `${string}:create`;
|
|
79
|
+
readonly UPDATE: `${string}:update`;
|
|
80
|
+
readonly DELETE: `${string}:delete`;
|
|
81
|
+
};
|
|
82
|
+
readonly INVENTORY_LEVELSS: {
|
|
83
|
+
readonly READ: `${string}:read`;
|
|
84
|
+
readonly CREATE: `${string}:create`;
|
|
85
|
+
readonly UPDATE: `${string}:update`;
|
|
86
|
+
readonly DELETE: `${string}:delete`;
|
|
87
|
+
};
|
|
88
|
+
readonly PUBLICATIONS: {
|
|
89
|
+
readonly READ: `${string}:read`;
|
|
90
|
+
readonly CREATE: `${string}:create`;
|
|
91
|
+
readonly UPDATE: `${string}:update`;
|
|
92
|
+
readonly DELETE: `${string}:delete`;
|
|
93
|
+
};
|
|
94
|
+
readonly INVENTORY_LEVELS: {
|
|
95
|
+
readonly READ: `${string}:read`;
|
|
96
|
+
readonly CREATE: `${string}:create`;
|
|
97
|
+
readonly UPDATE: `${string}:update`;
|
|
98
|
+
readonly DELETE: `${string}:delete`;
|
|
99
|
+
};
|
|
100
|
+
readonly INVENTORY_ITEMS: {
|
|
101
|
+
readonly READ: `${string}:read`;
|
|
102
|
+
readonly CREATE: `${string}:create`;
|
|
103
|
+
readonly UPDATE: `${string}:update`;
|
|
104
|
+
readonly DELETE: `${string}:delete`;
|
|
105
|
+
};
|
|
106
|
+
readonly PACKSIZES: {
|
|
107
|
+
readonly READ: `${string}:read`;
|
|
108
|
+
readonly CREATE: `${string}:create`;
|
|
109
|
+
readonly UPDATE: `${string}:update`;
|
|
110
|
+
readonly DELETE: `${string}:delete`;
|
|
111
|
+
};
|
|
112
|
+
readonly INVENTORY_LOCATIONS: {
|
|
113
|
+
readonly READ: `${string}:read`;
|
|
114
|
+
readonly CREATE: `${string}:create`;
|
|
115
|
+
readonly UPDATE: `${string}:update`;
|
|
116
|
+
readonly DELETE: `${string}:delete`;
|
|
117
|
+
};
|
|
118
|
+
readonly INVENTORY_STORAGES: {
|
|
119
|
+
readonly READ: `${string}:read`;
|
|
120
|
+
readonly CREATE: `${string}:create`;
|
|
121
|
+
readonly UPDATE: `${string}:update`;
|
|
122
|
+
readonly DELETE: `${string}:delete`;
|
|
123
|
+
};
|
|
76
124
|
};
|
|
77
125
|
readonly ORDER_SERVICE: {
|
|
78
126
|
readonly ORDER: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.constant.d.ts","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"permission.constant.d.ts","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFd,CAAC"}
|
|
@@ -30,6 +30,14 @@ exports.PERMISSIONS = {
|
|
|
30
30
|
VARIANTS: crudPermissions("variants"),
|
|
31
31
|
PRODUCTIMAGES: crudPermissions("productImages"),
|
|
32
32
|
PRODUCT_IMAGES: crudPermissions("productImages"),
|
|
33
|
+
INVENTORY_ITEMSS: crudPermissions("inventoryItemss"),
|
|
34
|
+
INVENTORY_LEVELSS: crudPermissions("inventoryLevelss"),
|
|
35
|
+
PUBLICATIONS: crudPermissions("publications"),
|
|
36
|
+
INVENTORY_LEVELS: crudPermissions("inventoryLevels"),
|
|
37
|
+
INVENTORY_ITEMS: crudPermissions("inventoryItems"),
|
|
38
|
+
PACKSIZES: crudPermissions("packsizes"),
|
|
39
|
+
INVENTORY_LOCATIONS: crudPermissions("inventoryLocations"),
|
|
40
|
+
INVENTORY_STORAGES: crudPermissions("inventoryStorages"),
|
|
33
41
|
},
|
|
34
42
|
ORDER_SERVICE: {
|
|
35
43
|
ORDER: crudPermissions("order"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.constant.js","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":";;;AAEA,SAAS,eAAe,CACtB,MAAc,EACd,KAA2B;IAE3B,MAAM,IAAI,GAAG;QACX,IAAI,EAAE,GAAG,MAAM,OAAO;QACtB,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;KAClB,CAAC;IAEX,OAAO,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAC9C,CAAC;AAEY,QAAA,WAAW,GAAG;IACzB,KAAK,EAAE;QACL,GAAG,EAAE,SAAS;KACf;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,eAAe,CAAC,aAAa,CAAC;QACrC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;QAC/B,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;QAC/B,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC;QAC3C,aAAa,EAAE,eAAe,CAAC,eAAe,CAAC;QAC/C,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;KACtC;IACD,eAAe,EAAE;QACf,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC;QAC3C,SAAS,EAAE,WAAW;QACtB,WAAW,EAAE,aAAa;QAC1B,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;QACrC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;QACrC,aAAa,EAAE,eAAe,CAAC,eAAe,CAAC;QAC/C,cAAc,EAAE,eAAe,CAAC,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"permission.constant.js","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":";;;AAEA,SAAS,eAAe,CACtB,MAAc,EACd,KAA2B;IAE3B,MAAM,IAAI,GAAG;QACX,IAAI,EAAE,GAAG,MAAM,OAAO;QACtB,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GA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,EAAE,OAAO;QACd,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC;KAC9C;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;KACtC;CACO,CAAC"}
|
package/dist/dto/index.d.ts
CHANGED
|
@@ -7,6 +7,14 @@ export * from "./roles.dto";
|
|
|
7
7
|
export * from "./user.dto";
|
|
8
8
|
export * from "./product.dto";
|
|
9
9
|
export * from "./product-image.dto";
|
|
10
|
+
export * from "./inventory-item.dto";
|
|
11
|
+
export * from "./inventory-items.dto";
|
|
12
|
+
export * from "./inventory-level.dto";
|
|
13
|
+
export * from "./inventory-levels.dto";
|
|
14
|
+
export * from "./inventory-location.dto";
|
|
15
|
+
export * from "./inventory-storage.dto";
|
|
16
|
+
export * from "./packsize.dto";
|
|
17
|
+
export * from "./publication.dto";
|
|
10
18
|
export * from "./date-range.input";
|
|
11
19
|
export * from "./translation.input";
|
|
12
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/dto/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAGlC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|
package/dist/dto/index.js
CHANGED
|
@@ -24,6 +24,14 @@ __exportStar(require("./roles.dto"), exports);
|
|
|
24
24
|
__exportStar(require("./user.dto"), exports);
|
|
25
25
|
__exportStar(require("./product.dto"), exports);
|
|
26
26
|
__exportStar(require("./product-image.dto"), exports);
|
|
27
|
+
__exportStar(require("./inventory-item.dto"), exports);
|
|
28
|
+
__exportStar(require("./inventory-items.dto"), exports);
|
|
29
|
+
__exportStar(require("./inventory-level.dto"), exports);
|
|
30
|
+
__exportStar(require("./inventory-levels.dto"), exports);
|
|
31
|
+
__exportStar(require("./inventory-location.dto"), exports);
|
|
32
|
+
__exportStar(require("./inventory-storage.dto"), exports);
|
|
33
|
+
__exportStar(require("./packsize.dto"), exports);
|
|
34
|
+
__exportStar(require("./publication.dto"), exports);
|
|
27
35
|
// share
|
|
28
36
|
__exportStar(require("./date-range.input"), exports);
|
|
29
37
|
__exportStar(require("./translation.input"), exports);
|
package/dist/dto/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,6CAA2B;AAC3B,+CAA6B;AAC7B,mDAAiC;AACjC,6CAA2B;AAC3B,qDAAmC;AACnC,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAC9B,sDAAoC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,6CAA2B;AAC3B,+CAA6B;AAC7B,mDAAiC;AACjC,6CAA2B;AAC3B,qDAAmC;AACnC,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAC9B,sDAAoC;AACpC,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,yDAAuC;AACvC,2DAAyC;AACzC,0DAAwC;AACxC,iDAA+B;AAC/B,oDAAkC;AAElC,QAAQ;AACR,qDAAmC;AACnC,sDAAoC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TranslationInput } from "./translation.input";
|
|
2
|
+
import { UserType } from "../enum";
|
|
3
|
+
import { DateRangeInput } from "./date-range.input";
|
|
4
|
+
export declare class CreateInventoryItemInput {
|
|
5
|
+
key: string;
|
|
6
|
+
label: TranslationInput;
|
|
7
|
+
icon?: string;
|
|
8
|
+
rootPath?: string;
|
|
9
|
+
path?: TranslationInput;
|
|
10
|
+
userType?: UserType;
|
|
11
|
+
order?: number;
|
|
12
|
+
visible?: boolean;
|
|
13
|
+
permissions?: string[];
|
|
14
|
+
parent?: string | null;
|
|
15
|
+
isActive?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare class InventoryItemFilterInput {
|
|
18
|
+
createdAt?: DateRangeInput;
|
|
19
|
+
}
|
|
20
|
+
declare const UpdateInventoryItemInput_base: import("@nestjs/common").Type<Partial<CreateInventoryItemInput>>;
|
|
21
|
+
export declare class UpdateInventoryItemInput extends UpdateInventoryItemInput_base {
|
|
22
|
+
_id: string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=inventory-item.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventory-item.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-item.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,wBAAwB;IAErC,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,gBAAgB,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAGxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qBACa,wBAAwB;IAErC,SAAS,CAAC,EAAE,cAAc,CAAC;CAC1B;;AAED,qBACa,wBAAyB,SAAQ,6BAAqC;IAEnF,GAAG,EAAE,MAAM,CAAC;CACX"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UpdateInventoryItemInput = exports.InventoryItemFilterInput = exports.CreateInventoryItemInput = void 0;
|
|
13
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
const translation_input_1 = require("./translation.input");
|
|
15
|
+
const enum_1 = require("../enum");
|
|
16
|
+
const date_range_input_1 = require("./date-range.input");
|
|
17
|
+
let CreateInventoryItemInput = class CreateInventoryItemInput {
|
|
18
|
+
};
|
|
19
|
+
exports.CreateInventoryItemInput = CreateInventoryItemInput;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, graphql_1.Field)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateInventoryItemInput.prototype, "key", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput),
|
|
26
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
27
|
+
], CreateInventoryItemInput.prototype, "label", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateInventoryItemInput.prototype, "icon", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateInventoryItemInput.prototype, "rootPath", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput, { nullable: true }),
|
|
38
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
39
|
+
], CreateInventoryItemInput.prototype, "path", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, graphql_1.Field)(() => enum_1.UserType, { nullable: true, defaultValue: enum_1.UserType.ADMIN }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateInventoryItemInput.prototype, "userType", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], CreateInventoryItemInput.prototype, "order", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], CreateInventoryItemInput.prototype, "visible", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], CreateInventoryItemInput.prototype, "permissions", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], CreateInventoryItemInput.prototype, "parent", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], CreateInventoryItemInput.prototype, "isActive", void 0);
|
|
64
|
+
exports.CreateInventoryItemInput = CreateInventoryItemInput = __decorate([
|
|
65
|
+
(0, graphql_1.InputType)()
|
|
66
|
+
], CreateInventoryItemInput);
|
|
67
|
+
let InventoryItemFilterInput = class InventoryItemFilterInput {
|
|
68
|
+
};
|
|
69
|
+
exports.InventoryItemFilterInput = InventoryItemFilterInput;
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
|
+
], InventoryItemFilterInput.prototype, "createdAt", void 0);
|
|
74
|
+
exports.InventoryItemFilterInput = InventoryItemFilterInput = __decorate([
|
|
75
|
+
(0, graphql_1.InputType)()
|
|
76
|
+
], InventoryItemFilterInput);
|
|
77
|
+
let UpdateInventoryItemInput = class UpdateInventoryItemInput extends (0, graphql_1.PartialType)(CreateInventoryItemInput) {
|
|
78
|
+
};
|
|
79
|
+
exports.UpdateInventoryItemInput = UpdateInventoryItemInput;
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, graphql_1.Field)(() => String),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateInventoryItemInput.prototype, "_id", void 0);
|
|
84
|
+
exports.UpdateInventoryItemInput = UpdateInventoryItemInput = __decorate([
|
|
85
|
+
(0, graphql_1.InputType)()
|
|
86
|
+
], UpdateInventoryItemInput);
|
|
87
|
+
//# sourceMappingURL=inventory-item.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventory-item.dto.js","sourceRoot":"","sources":["../../src/dto/inventory-item.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AAG7C,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAiCpC,CAAA;AAjCY,4DAAwB;AAErC;IADC,IAAA,eAAK,GAAE;;qDACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;uDAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACR;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC3C,oCAAgB;sDAAC;AAGxB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,eAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,eAAQ,CAAC,KAAK,EAAE,CAAC;;0DACpD;AAGpB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;;uDAC5B;AAGf;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;;yDAC5B;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;;6DACrC;AAGvB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACjB;AAGvB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;;0DAC3B;mCAhCN,wBAAwB;IADpC,IAAA,mBAAS,GAAE;GACC,wBAAwB,CAiCpC;AAGM,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAGpC,CAAA;AAHY,4DAAwB;AAErC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;2DAAC;mCAFd,wBAAwB;IADpC,IAAA,mBAAS,GAAE;GACC,wBAAwB,CAGpC;AAGM,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,IAAA,qBAAW,EAAC,wBAAwB,CAAC;CAGlF,CAAA;AAHY,4DAAwB;AAErC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qDACR;mCAFC,wBAAwB;IADpC,IAAA,mBAAS,GAAE;GACC,wBAAwB,CAGpC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TranslationInput } from "./translation.input";
|
|
2
|
+
import { UserType } from "../enum";
|
|
3
|
+
import { DateRangeInput } from "./date-range.input";
|
|
4
|
+
export declare class CreateInventoryItemsInput {
|
|
5
|
+
key: string;
|
|
6
|
+
label: TranslationInput;
|
|
7
|
+
icon?: string;
|
|
8
|
+
rootPath?: string;
|
|
9
|
+
path?: TranslationInput;
|
|
10
|
+
userType?: UserType;
|
|
11
|
+
order?: number;
|
|
12
|
+
visible?: boolean;
|
|
13
|
+
permissions?: string[];
|
|
14
|
+
parent?: string | null;
|
|
15
|
+
isActive?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare class InventoryItemsFilterInput {
|
|
18
|
+
createdAt?: DateRangeInput;
|
|
19
|
+
}
|
|
20
|
+
declare const UpdateInventoryItemsInput_base: import("@nestjs/common").Type<Partial<CreateInventoryItemsInput>>;
|
|
21
|
+
export declare class UpdateInventoryItemsInput extends UpdateInventoryItemsInput_base {
|
|
22
|
+
_id: string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=inventory-items.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventory-items.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-items.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,yBAAyB;IAEtC,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,gBAAgB,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAGxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qBACa,yBAAyB;IAEtC,SAAS,CAAC,EAAE,cAAc,CAAC;CAC1B;;AAED,qBACa,yBAA0B,SAAQ,8BAAsC;IAErF,GAAG,EAAE,MAAM,CAAC;CACX"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UpdateInventoryItemsInput = exports.InventoryItemsFilterInput = exports.CreateInventoryItemsInput = void 0;
|
|
13
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
const translation_input_1 = require("./translation.input");
|
|
15
|
+
const enum_1 = require("../enum");
|
|
16
|
+
const date_range_input_1 = require("./date-range.input");
|
|
17
|
+
let CreateInventoryItemsInput = class CreateInventoryItemsInput {
|
|
18
|
+
};
|
|
19
|
+
exports.CreateInventoryItemsInput = CreateInventoryItemsInput;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, graphql_1.Field)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateInventoryItemsInput.prototype, "key", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput),
|
|
26
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
27
|
+
], CreateInventoryItemsInput.prototype, "label", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateInventoryItemsInput.prototype, "icon", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateInventoryItemsInput.prototype, "rootPath", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput, { nullable: true }),
|
|
38
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
39
|
+
], CreateInventoryItemsInput.prototype, "path", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, graphql_1.Field)(() => enum_1.UserType, { nullable: true, defaultValue: enum_1.UserType.ADMIN }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateInventoryItemsInput.prototype, "userType", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], CreateInventoryItemsInput.prototype, "order", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], CreateInventoryItemsInput.prototype, "visible", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], CreateInventoryItemsInput.prototype, "permissions", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], CreateInventoryItemsInput.prototype, "parent", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], CreateInventoryItemsInput.prototype, "isActive", void 0);
|
|
64
|
+
exports.CreateInventoryItemsInput = CreateInventoryItemsInput = __decorate([
|
|
65
|
+
(0, graphql_1.InputType)()
|
|
66
|
+
], CreateInventoryItemsInput);
|
|
67
|
+
let InventoryItemsFilterInput = class InventoryItemsFilterInput {
|
|
68
|
+
};
|
|
69
|
+
exports.InventoryItemsFilterInput = InventoryItemsFilterInput;
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
|
+
], InventoryItemsFilterInput.prototype, "createdAt", void 0);
|
|
74
|
+
exports.InventoryItemsFilterInput = InventoryItemsFilterInput = __decorate([
|
|
75
|
+
(0, graphql_1.InputType)()
|
|
76
|
+
], InventoryItemsFilterInput);
|
|
77
|
+
let UpdateInventoryItemsInput = class UpdateInventoryItemsInput extends (0, graphql_1.PartialType)(CreateInventoryItemsInput) {
|
|
78
|
+
};
|
|
79
|
+
exports.UpdateInventoryItemsInput = UpdateInventoryItemsInput;
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, graphql_1.Field)(() => String),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateInventoryItemsInput.prototype, "_id", void 0);
|
|
84
|
+
exports.UpdateInventoryItemsInput = UpdateInventoryItemsInput = __decorate([
|
|
85
|
+
(0, graphql_1.InputType)()
|
|
86
|
+
], UpdateInventoryItemsInput);
|
|
87
|
+
//# sourceMappingURL=inventory-items.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventory-items.dto.js","sourceRoot":"","sources":["../../src/dto/inventory-items.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DA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,GAAE;GACC,yBAAyB,CAiCrC;AAGM,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;CAGrC,CAAA;AAHY,8DAAyB;AAEtC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;4DAAC;oCAFd,yBAAyB;IADrC,IAAA,mBAAS,GAAE;GACC,yBAAyB,CAGrC;AAGM,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,IAAA,qBAAW,EAAC,yBAAyB,CAAC;CAGpF,CAAA;AAHY,8DAAyB;AAEtC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sDACR;oCAFC,yBAAyB;IADrC,IAAA,mBAAS,GAAE;GACC,yBAAyB,CAGrC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TranslationInput } from "./translation.input";
|
|
2
|
+
import { UserType } from "../enum";
|
|
3
|
+
import { DateRangeInput } from "./date-range.input";
|
|
4
|
+
export declare class CreateInventoryLevelInput {
|
|
5
|
+
key: string;
|
|
6
|
+
label: TranslationInput;
|
|
7
|
+
icon?: string;
|
|
8
|
+
rootPath?: string;
|
|
9
|
+
path?: TranslationInput;
|
|
10
|
+
userType?: UserType;
|
|
11
|
+
order?: number;
|
|
12
|
+
visible?: boolean;
|
|
13
|
+
permissions?: string[];
|
|
14
|
+
parent?: string | null;
|
|
15
|
+
isActive?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare class InventoryLevelFilterInput {
|
|
18
|
+
createdAt?: DateRangeInput;
|
|
19
|
+
}
|
|
20
|
+
declare const UpdateInventoryLevelInput_base: import("@nestjs/common").Type<Partial<CreateInventoryLevelInput>>;
|
|
21
|
+
export declare class UpdateInventoryLevelInput extends UpdateInventoryLevelInput_base {
|
|
22
|
+
_id: string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=inventory-level.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventory-level.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-level.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,yBAAyB;IAEtC,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,gBAAgB,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAGxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qBACa,yBAAyB;IAEtC,SAAS,CAAC,EAAE,cAAc,CAAC;CAC1B;;AAED,qBACa,yBAA0B,SAAQ,8BAAsC;IAErF,GAAG,EAAE,MAAM,CAAC;CACX"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UpdateInventoryLevelInput = exports.InventoryLevelFilterInput = exports.CreateInventoryLevelInput = void 0;
|
|
13
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
const translation_input_1 = require("./translation.input");
|
|
15
|
+
const enum_1 = require("../enum");
|
|
16
|
+
const date_range_input_1 = require("./date-range.input");
|
|
17
|
+
let CreateInventoryLevelInput = class CreateInventoryLevelInput {
|
|
18
|
+
};
|
|
19
|
+
exports.CreateInventoryLevelInput = CreateInventoryLevelInput;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, graphql_1.Field)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateInventoryLevelInput.prototype, "key", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput),
|
|
26
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
27
|
+
], CreateInventoryLevelInput.prototype, "label", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateInventoryLevelInput.prototype, "icon", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateInventoryLevelInput.prototype, "rootPath", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput, { nullable: true }),
|
|
38
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
39
|
+
], CreateInventoryLevelInput.prototype, "path", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, graphql_1.Field)(() => enum_1.UserType, { nullable: true, defaultValue: enum_1.UserType.ADMIN }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateInventoryLevelInput.prototype, "userType", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], CreateInventoryLevelInput.prototype, "order", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], CreateInventoryLevelInput.prototype, "visible", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], CreateInventoryLevelInput.prototype, "permissions", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], CreateInventoryLevelInput.prototype, "parent", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], CreateInventoryLevelInput.prototype, "isActive", void 0);
|
|
64
|
+
exports.CreateInventoryLevelInput = CreateInventoryLevelInput = __decorate([
|
|
65
|
+
(0, graphql_1.InputType)()
|
|
66
|
+
], CreateInventoryLevelInput);
|
|
67
|
+
let InventoryLevelFilterInput = class InventoryLevelFilterInput {
|
|
68
|
+
};
|
|
69
|
+
exports.InventoryLevelFilterInput = InventoryLevelFilterInput;
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
|
+
], InventoryLevelFilterInput.prototype, "createdAt", void 0);
|
|
74
|
+
exports.InventoryLevelFilterInput = InventoryLevelFilterInput = __decorate([
|
|
75
|
+
(0, graphql_1.InputType)()
|
|
76
|
+
], InventoryLevelFilterInput);
|
|
77
|
+
let UpdateInventoryLevelInput = class UpdateInventoryLevelInput extends (0, graphql_1.PartialType)(CreateInventoryLevelInput) {
|
|
78
|
+
};
|
|
79
|
+
exports.UpdateInventoryLevelInput = UpdateInventoryLevelInput;
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, graphql_1.Field)(() => String),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateInventoryLevelInput.prototype, "_id", void 0);
|
|
84
|
+
exports.UpdateInventoryLevelInput = UpdateInventoryLevelInput = __decorate([
|
|
85
|
+
(0, graphql_1.InputType)()
|
|
86
|
+
], UpdateInventoryLevelInput);
|
|
87
|
+
//# sourceMappingURL=inventory-level.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventory-level.dto.js","sourceRoot":"","sources":["../../src/dto/inventory-level.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AAG7C,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;CAiCrC,CAAA;AAjCY,8DAAyB;AAEtC;IADC,IAAA,eAAK,GAAE;;sDACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;wDAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACR;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC3C,oCAAgB;uD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;GACC,yBAAyB,CAGrC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TranslationInput } from "./translation.input";
|
|
2
|
+
import { UserType } from "../enum";
|
|
3
|
+
import { DateRangeInput } from "./date-range.input";
|
|
4
|
+
export declare class CreateInventoryLevelsInput {
|
|
5
|
+
key: string;
|
|
6
|
+
label: TranslationInput;
|
|
7
|
+
icon?: string;
|
|
8
|
+
rootPath?: string;
|
|
9
|
+
path?: TranslationInput;
|
|
10
|
+
userType?: UserType;
|
|
11
|
+
order?: number;
|
|
12
|
+
visible?: boolean;
|
|
13
|
+
permissions?: string[];
|
|
14
|
+
parent?: string | null;
|
|
15
|
+
isActive?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare class InventoryLevelsFilterInput {
|
|
18
|
+
createdAt?: DateRangeInput;
|
|
19
|
+
}
|
|
20
|
+
declare const UpdateInventoryLevelsInput_base: import("@nestjs/common").Type<Partial<CreateInventoryLevelsInput>>;
|
|
21
|
+
export declare class UpdateInventoryLevelsInput extends UpdateInventoryLevelsInput_base {
|
|
22
|
+
_id: string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=inventory-levels.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventory-levels.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-levels.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,0BAA0B;IAEvC,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,gBAAgB,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAGxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qBACa,0BAA0B;IAEvC,SAAS,CAAC,EAAE,cAAc,CAAC;CAC1B;;AAED,qBACa,0BAA2B,SAAQ,+BAAuC;IAEvF,GAAG,EAAE,MAAM,CAAC;CACX"}
|