@omniumretail/shared-resources 0.2.9 → 0.2.10

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.
@@ -9,7 +9,7 @@ export interface StockQueryProps extends UseQueryOptions<ResponseList<"", AstsSt
9
9
  size?: string;
10
10
  color?: string;
11
11
  reference?: string;
12
- userId: string;
13
- barcode: string;
12
+ userId?: string;
13
+ barcode?: string;
14
14
  }
15
15
  export declare const getStockQueryHook: ({ page, records, sortBy, sortDirection, storeCode, size, color, reference, userId, barcode }: StockQueryProps) => import("@tanstack/react-query").UseQueryResult<ResponseList<"", AstsStock>, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/shared-resources",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "private": false,
5
5
  "description": "Shared Components and services or utils to the frontend versions",
6
6
  "main": "dist/bundle.js",
@@ -11,8 +11,8 @@ export interface StockQueryProps extends UseQueryOptions<ResponseList<"", AstsSt
11
11
  size?: string;
12
12
  color?: string;
13
13
  reference?: string;
14
- userId: string;
15
- barcode: string;
14
+ userId?: string;
15
+ barcode?: string;
16
16
  }
17
17
 
18
18
  export const getStockQueryHook = ({ page, records, sortBy, sortDirection, storeCode, size, color, reference, userId, barcode }: StockQueryProps) => {