|
|
@@ -7,6 +7,7 @@ export class ContactItem {
|
|
|
public readonly hash: string;
|
|
|
public addrs: string[];
|
|
|
public groups: string[];
|
|
|
+ public names: string[];
|
|
|
public notes: string;
|
|
|
|
|
|
constructor(props: ContactParams) {
|
|
|
@@ -15,6 +16,7 @@ export class ContactItem {
|
|
|
this.id = props.id;
|
|
|
this.addrs = props.addrs || [];
|
|
|
this.groups = props.groups || [];
|
|
|
+ this.names = props.names || [];
|
|
|
this.notes = props.notes || '';
|
|
|
}
|
|
|
|
|
|
@@ -50,6 +52,7 @@ export class ContactItem {
|
|
|
groups: this.groups,
|
|
|
hash: this.hash,
|
|
|
id: this.id,
|
|
|
+ names: this.names,
|
|
|
notes: this.notes
|
|
|
};
|
|
|
}
|