@mychoice/mychoice-sdk-store 2.2.26 → 2.2.28

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.
@@ -8,7 +8,7 @@ export declare const createDriverItem: (state: FormCarDriverStateInterface) => F
8
8
  export declare const createDriverListItem: (state: FormCarDriverStateInterface, listKey: string) => FormCarDriverStateInterface;
9
9
  export declare const setDriverItemProperty: (state: FormCarDriverStateInterface, key: string, value: string | number | boolean | SelectDateInterface) => FormCarDriverStateInterface;
10
10
  export declare const setDriverListItemProperty: (state: FormCarDriverStateInterface, listKey: string, itemIndex: number, itemKey: string, value: string | number | boolean) => FormCarDriverStateInterface;
11
- export declare const setDriverLicenceInfo: (state: FormCarDriverStateInterface, key: string, value: string | number | boolean) => FormCarDriverStateInterface;
11
+ export declare const setDriverLicenceInfo: (state: FormCarDriverStateInterface, key: string, value: string | number | boolean | null) => FormCarDriverStateInterface;
12
12
  export declare const setDriverLicenceInfoDate: (state: FormCarDriverStateInterface, type: DateTypes, payload: LicenceDatePayloadType) => FormCarDriverStateInterface;
13
13
  export declare const setDriverLicenceType: (state: FormCarDriverStateInterface, payload: LicenceTypePayloadType) => FormCarDriverStateInterface;
14
14
  export declare const setDriverBirthDate: (state: FormCarDriverStateInterface, key: string, payload: BirthDatePayloadType) => FormCarDriverStateInterface;
@@ -13,11 +13,11 @@ export interface DriverLicenceInterface {
13
13
  gLicenceDate?: string;
14
14
  gLicenceYear?: string;
15
15
  gLicenceMonth?: string;
16
- passedDriverTraining?: boolean;
17
- previousLicence?: boolean;
16
+ passedDriverTraining?: boolean | null;
17
+ previousLicence?: boolean | null;
18
18
  outsideExp?: boolean;
19
- receivedG2?: boolean;
20
- receivedG?: boolean;
19
+ receivedG2?: boolean | null;
20
+ receivedG?: boolean | null;
21
21
  }
22
22
  export interface DriverCancellationItemInterface {
23
23
  reason: string;
package/dist/index.d.ts CHANGED
@@ -703,11 +703,11 @@ interface DriverLicenceInterface {
703
703
  gLicenceDate?: string;
704
704
  gLicenceYear?: string;
705
705
  gLicenceMonth?: string;
706
- passedDriverTraining?: boolean;
707
- previousLicence?: boolean;
706
+ passedDriverTraining?: boolean | null;
707
+ previousLicence?: boolean | null;
708
708
  outsideExp?: boolean;
709
- receivedG2?: boolean;
710
- receivedG?: boolean;
709
+ receivedG2?: boolean | null;
710
+ receivedG?: boolean | null;
711
711
  }
712
712
  interface DriverCancellationItemInterface {
713
713
  reason: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mychoice/mychoice-sdk-store",
3
- "version": "2.2.26",
3
+ "version": "2.2.28",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "https://github.com/hexdivision/mychoice-sdk#readme",
6
6
  "author": "GogMes",
@@ -29,7 +29,7 @@
29
29
  "url": "https://github.com/hexdivision/mychoice-sdk/issues"
30
30
  },
31
31
  "dependencies": {
32
- "@mychoice/mychoice-sdk-components": "^2.2.26",
32
+ "@mychoice/mychoice-sdk-components": "^2.2.28",
33
33
  "@redux-devtools/extension": "^3.2.2",
34
34
  "axios": "^0.27.2",
35
35
  "humps": "^2.0.1",
@@ -37,5 +37,5 @@
37
37
  "redux": "^4.2.0",
38
38
  "redux-thunk": "^2.4.1"
39
39
  },
40
- "gitHead": "df12feaf64db582a4fa530beaca47e02eb0ed787"
40
+ "gitHead": "237a9d00794a3d81d30fc8e8c3c23752bca689bb"
41
41
  }