@open-tender/store 0.3.8 → 0.3.9

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.
@@ -34,8 +34,8 @@ export interface KdsStationOrderTypeCount {
34
34
  ticets: number;
35
35
  }
36
36
  export interface KdsStationCount {
37
- current: KdsStationOrderTypeCount;
38
- future: KdsStationOrderTypeCount;
37
+ CURRENT: KdsStationOrderTypeCount;
38
+ FUTURE: KdsStationOrderTypeCount;
39
39
  }
40
40
  export declare type KdsStationCounts = Record<string, KdsStationCount>;
41
41
  export interface OrdersAndStationCounts {
@@ -219,7 +219,7 @@ var makeKdsStationCounts = function (orders, prepStations) {
219
219
  var _a;
220
220
  var current = (0, exports.makeKdsStationCount)(currentOrders, i.item_type_ids);
221
221
  var future = (0, exports.makeKdsStationCount)(futureOrders, i.item_type_ids);
222
- return tslib_1.__assign(tslib_1.__assign({}, obj), (_a = {}, _a[i.prep_station_id] = { current: current, future: future }, _a));
222
+ return tslib_1.__assign(tslib_1.__assign({}, obj), (_a = {}, _a[i.prep_station_id] = { CURRENT: current, FUTURE: future }, _a));
223
223
  }, {});
224
224
  };
225
225
  exports.makeKdsStationCounts = makeKdsStationCounts;
@@ -34,8 +34,8 @@ export interface KdsStationOrderTypeCount {
34
34
  ticets: number;
35
35
  }
36
36
  export interface KdsStationCount {
37
- current: KdsStationOrderTypeCount;
38
- future: KdsStationOrderTypeCount;
37
+ CURRENT: KdsStationOrderTypeCount;
38
+ FUTURE: KdsStationOrderTypeCount;
39
39
  }
40
40
  export declare type KdsStationCounts = Record<string, KdsStationCount>;
41
41
  export interface OrdersAndStationCounts {
@@ -201,7 +201,7 @@ export var makeKdsStationCounts = function (orders, prepStations) {
201
201
  var _a;
202
202
  var current = makeKdsStationCount(currentOrders, i.item_type_ids);
203
203
  var future = makeKdsStationCount(futureOrders, i.item_type_ids);
204
- return __assign(__assign({}, obj), (_a = {}, _a[i.prep_station_id] = { current: current, future: future }, _a));
204
+ return __assign(__assign({}, obj), (_a = {}, _a[i.prep_station_id] = { CURRENT: current, FUTURE: future }, _a));
205
205
  }, {});
206
206
  };
207
207
  export var makeOrderBuckets = function (orders, tz, prepStates) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/store",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",