@managesome/eposmatic-toolkit 0.2.487 → 0.2.488

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.
@@ -1,4 +1,6 @@
1
1
  import { IWarehouseCategory, IWarehouseItem } from '../../schemas';
2
- export interface IWarehouseCatalog extends IWarehouseCategory {
2
+ export interface IWarehouseCatalog extends Omit<IWarehouseCategory, '_id' | 'ref_id'> {
3
+ _id: string | null;
4
+ ref_id: string | null;
3
5
  items: IWarehouseItem[];
4
6
  }
@@ -95,10 +95,10 @@ function getWarehouseCatalogFetchedData(categories, items) {
95
95
  .sort((a, b) => a.sort_id - b.sort_id);
96
96
  if (uncategorizedItems.length > 0) {
97
97
  const uncategorizedCatalog = {
98
- _id: '__uncategorized__',
98
+ _id: null,
99
99
  brand_id: '',
100
100
  warehouse_id: '',
101
- ref_id: '__uncategorized__',
101
+ ref_id: null,
102
102
  image_url: null,
103
103
  name: 'Uncategorized',
104
104
  subtitle: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.487",
3
+ "version": "0.2.488",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",