Refactor contact sync processing
This commit is contained in:
parent
76e73f63dc
commit
7ce4beb270
10 changed files with 229 additions and 156 deletions
|
@ -73,17 +73,11 @@ export class ErrorEvent extends Event {
|
|||
}
|
||||
}
|
||||
|
||||
export class ContactEvent extends Event {
|
||||
export class ContactSyncEvent extends Event {
|
||||
constructor(
|
||||
public readonly contactDetails: ModifiedContactDetails,
|
||||
public readonly contacts: ReadonlyArray<ModifiedContactDetails>,
|
||||
public readonly receivedAtCounter: number
|
||||
) {
|
||||
super('contact');
|
||||
}
|
||||
}
|
||||
|
||||
export class ContactSyncEvent extends Event {
|
||||
constructor() {
|
||||
super('contactSync');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue