File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
- ** [ Fix] ** Do not throw on unexpected extra keys when reading responses.
4
4
- ** [ Fix] ** Fix message host resolution (API change).
5
+ - ** [ Fix] ** Mark ` isFavorite ` in ` ContactGroup ` as optional.
6
+ - ** [ Fix] ** Mark ` name ` in ` ContactProfile ` as optional.
5
7
6
8
# 0.0.14 (2018-01-12)
7
9
Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ import { Ucs2StringType } from "kryo/types/ucs2-string";
16
16
export interface ContactGroup {
17
17
id : string ;
18
18
name : string ;
19
- isFavorite : boolean ;
19
+ isFavorite ? : boolean ;
20
20
}
21
21
22
22
export const $ContactGroup : DocumentType < ContactGroup > = new DocumentType < ContactGroup > ( {
23
23
properties : {
24
24
id : { type : new Ucs2StringType ( { maxLength : Infinity } ) } ,
25
25
name : { type : new Ucs2StringType ( { maxLength : Infinity } ) } ,
26
- isFavorite : { type : new BooleanType ( ) } ,
26
+ isFavorite : { type : new BooleanType ( ) , optional : true } ,
27
27
} ,
28
28
rename : CaseStyle . SnakeCase ,
29
29
ignoreExtraKeys : true ,
You can’t perform that action at this time.
0 commit comments