@openbox/shared-types 0.4.48 → 0.4.49

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.
@@ -0,0 +1,4 @@
1
+ import { GetManyRequest } from '../../../interfaces';
2
+ export type InventoriesUnitsGetManyRequest = GetManyRequest & {
3
+ level?: number;
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/inventories/Units/GetMany/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { GetManyResponse } from '../../../interfaces';
2
+ import { InventoriesUnits } from '../inventories.units.type';
3
+ export type InventoriesUnitsGetManyResponse = GetManyResponse & {
4
+ data: Array<InventoriesUnits & {
5
+ index: number;
6
+ }>;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/inventories/Units/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { InventoriesUnits } from '../inventories.units.type';
2
+ export type InventoriesUnitsGetSingleResponse = InventoriesUnits;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/inventories/Units/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -1 +1,4 @@
1
+ export * from './GetMany/Request';
2
+ export * from './GetMany/Response';
3
+ export * from './GetSingle/Response';
1
4
  export * from './inventories.units.type';
@@ -14,5 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./GetMany/Request"), exports);
18
+ __exportStar(require("./GetMany/Response"), exports);
19
+ __exportStar(require("./GetSingle/Response"), exports);
17
20
  __exportStar(require("./inventories.units.type"), exports);
18
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/inventories/Units/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/inventories/Units/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,2DAAwC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.4.48",
3
+ "version": "0.4.49",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -0,0 +1,5 @@
1
+ import { GetManyRequest } from '../../../interfaces'
2
+
3
+ export type InventoriesUnitsGetManyRequest = GetManyRequest & {
4
+ level?: number
5
+ }
@@ -0,0 +1,6 @@
1
+ import { GetManyResponse } from '../../../interfaces'
2
+ import { InventoriesUnits } from '../inventories.units.type'
3
+
4
+ export type InventoriesUnitsGetManyResponse = GetManyResponse & {
5
+ data: Array<InventoriesUnits & { index: number }>
6
+ }
@@ -0,0 +1,3 @@
1
+ import { InventoriesUnits } from '../inventories.units.type'
2
+
3
+ export type InventoriesUnitsGetSingleResponse = InventoriesUnits
@@ -1 +1,4 @@
1
+ export * from './GetMany/Request'
2
+ export * from './GetMany/Response'
3
+ export * from './GetSingle/Response'
1
4
  export * from './inventories.units.type'