forstok-ui-lib 5.11.6 → 5.11.8

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
@@ -500,9 +500,10 @@ type TskuAddons = {
500
500
  sku?: string;
501
501
  };
502
502
  type TWarehouseAddons = {
503
- warehouseName?: string;
504
- warehouseId?: number;
505
- };
503
+ id?: number;
504
+ newId?: string | null;
505
+ name: string;
506
+ } | null;
506
507
  type TOption = {
507
508
  readonly value: any;
508
509
  readonly label: string;
@@ -517,7 +518,8 @@ type TOption = {
517
518
  readonly label: string;
518
519
  localId?: string;
519
520
  }[];
520
- } & TskuAddons & TWarehouseAddons;
521
+ warehouses?: TWarehouseAddons[];
522
+ } & TskuAddons;
521
523
  type TLoadOption = (search: string, callback: () => void, { endCursor }: {
522
524
  endCursor: string;
523
525
  }) => Promise<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forstok-ui-lib",
3
- "version": "5.11.6",
3
+ "version": "5.11.8",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -13,9 +13,10 @@ type TskuAddons = {
13
13
  }
14
14
 
15
15
  type TWarehouseAddons = {
16
- warehouseName?: string
17
- warehouseId?: number
18
- }
16
+ id?: number
17
+ newId?: string | null
18
+ name: string
19
+ } | null
19
20
 
20
21
  export type TOption = {
21
22
  readonly value: any
@@ -31,7 +32,8 @@ export type TOption = {
31
32
  readonly label: string
32
33
  localId?: string
33
34
  }[]
34
- } & TskuAddons & TWarehouseAddons
35
+ warehouses?: TWarehouseAddons[]
36
+ } & TskuAddons
35
37
 
36
38
  export type TLoadOption = (search: string, callback: () => void, { endCursor }: {
37
39
  endCursor: string;