File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 22
33- ** [ Fix] ** Do not throw on unexpected extra keys when reading responses.
44- ** [ Fix] ** Fix message host resolution (API change).
5+ - ** [ Fix] ** Mark ` isFavorite ` in ` ContactGroup ` as optional.
6+ - ** [ Fix] ** Mark ` name ` in ` ContactProfile ` as optional.
57
68# 0.0.14 (2018-01-12)
79
Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ import { Ucs2StringType } from "kryo/types/ucs2-string";
1616export interface ContactGroup {
1717 id : string ;
1818 name : string ;
19- isFavorite : boolean ;
19+ isFavorite ? : boolean ;
2020}
2121
2222export const $ContactGroup : DocumentType < ContactGroup > = new DocumentType < ContactGroup > ( {
2323 properties : {
2424 id : { type : new Ucs2StringType ( { maxLength : Infinity } ) } ,
2525 name : { type : new Ucs2StringType ( { maxLength : Infinity } ) } ,
26- isFavorite : { type : new BooleanType ( ) } ,
26+ isFavorite : { type : new BooleanType ( ) , optional : true } ,
2727 } ,
2828 rename : CaseStyle . SnakeCase ,
2929 ignoreExtraKeys : true ,
You can’t perform that action at this time.
0 commit comments