forstok-ui-lib 5.11.8 → 5.11.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.
package/dist/index.d.ts CHANGED
@@ -502,7 +502,7 @@ type TskuAddons = {
502
502
  type TWarehouseAddons = {
503
503
  id?: number;
504
504
  newId?: string | null;
505
- name: string;
505
+ name?: string;
506
506
  } | null;
507
507
  type TOption = {
508
508
  readonly value: any;
@@ -518,7 +518,14 @@ type TOption = {
518
518
  readonly label: string;
519
519
  localId?: string;
520
520
  }[];
521
- warehouses?: TWarehouseAddons[];
521
+ store?: {
522
+ id: number;
523
+ name: string;
524
+ warehouseId?: Array<string | null> | null;
525
+ warehouseCount?: number | null;
526
+ imageUrl?: string | null;
527
+ warehouse?: TWarehouseAddons[];
528
+ };
522
529
  } & TskuAddons;
523
530
  type TLoadOption = (search: string, callback: () => void, { endCursor }: {
524
531
  endCursor: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forstok-ui-lib",
3
- "version": "5.11.8",
3
+ "version": "5.11.10",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -15,7 +15,7 @@ type TskuAddons = {
15
15
  type TWarehouseAddons = {
16
16
  id?: number
17
17
  newId?: string | null
18
- name: string
18
+ name?: string
19
19
  } | null
20
20
 
21
21
  export type TOption = {
@@ -32,7 +32,14 @@ export type TOption = {
32
32
  readonly label: string
33
33
  localId?: string
34
34
  }[]
35
- warehouses?: TWarehouseAddons[]
35
+ store?: {
36
+ id: number
37
+ name: string
38
+ warehouseId?: Array<string | null> | null
39
+ warehouseCount?: number | null
40
+ imageUrl?: string | null,
41
+ warehouse?: TWarehouseAddons[]
42
+ }
36
43
  } & TskuAddons
37
44
 
38
45
  export type TLoadOption = (search: string, callback: () => void, { endCursor }: {