Migrate messages, conversations, conversation_view, background to TS

Co-authored-by: Sidney Keese <sidney@carbonfive.com>
This commit is contained in:
Chris Svenningsen 2020-09-24 13:57:54 -07:00 committed by Josh Perez
parent 6e7930f7a9
commit b5df9b4067
42 changed files with 11676 additions and 10516 deletions

View file

@ -15,8 +15,10 @@ interface Contact {
isMe?: boolean;
}
export type ChangeType = 'add' | 'remove' | 'name' | 'avatar' | 'general';
interface Change {
type: 'add' | 'remove' | 'name' | 'avatar' | 'general';
type: ChangeType;
newName?: string;
contacts?: Array<Contact>;
}