forstok-ui-lib 5.11.5 → 5.11.7

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