forstok-ui-lib 5.11.5 → 5.11.6

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.
package/dist/index.d.ts CHANGED
@@ -499,6 +499,10 @@ type TskuAddons = {
499
499
  imageUrl?: string;
500
500
  sku?: string;
501
501
  };
502
+ type TWarehouseAddons = {
503
+ warehouseName?: string;
504
+ warehouseId?: number;
505
+ };
502
506
  type TOption = {
503
507
  readonly value: any;
504
508
  readonly label: string;
@@ -513,7 +517,7 @@ type TOption = {
513
517
  readonly label: string;
514
518
  localId?: string;
515
519
  }[];
516
- } & TskuAddons;
520
+ } & TskuAddons & TWarehouseAddons;
517
521
  type TLoadOption = (search: string, callback: () => void, { endCursor }: {
518
522
  endCursor: string;
519
523
  }) => Promise<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forstok-ui-lib",
3
- "version": "5.11.5",
3
+ "version": "5.11.6",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -12,6 +12,11 @@ type TskuAddons = {
12
12
  sku?: string
13
13
  }
14
14
 
15
+ type TWarehouseAddons = {
16
+ warehouseName?: string
17
+ warehouseId?: number
18
+ }
19
+
15
20
  export type TOption = {
16
21
  readonly value: any
17
22
  readonly label: string
@@ -26,7 +31,7 @@ export type TOption = {
26
31
  readonly label: string
27
32
  localId?: string
28
33
  }[]
29
- } & TskuAddons
34
+ } & TskuAddons & TWarehouseAddons
30
35
 
31
36
  export type TLoadOption = (search: string, callback: () => void, { endCursor }: {
32
37
  endCursor: string;