shopoflex-types 1.0.148 → 1.0.151

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.
Files changed (2) hide show
  1. package/dist/common.d.ts +5 -0
  2. package/package.json +1 -1
package/dist/common.d.ts CHANGED
@@ -116,8 +116,13 @@ export interface Dimensions {
116
116
  weight: number | null;
117
117
  };
118
118
  }
119
+ export interface StorageLocation {
120
+ path?: string;
121
+ quantity?: number;
122
+ }
119
123
  export interface StockHandle {
120
124
  active: boolean;
125
+ storageLocations?: StorageLocation[];
121
126
  stockByBranch: Record<string, {
122
127
  stockQuantity: number;
123
128
  ifOutOfStock: 'showOutOfStock' | 'allowOrdering' | 'hideFromStore';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.148",
3
+ "version": "1.0.151",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",