chore(typings): Moved common typings to root dir

This commit is contained in:
Taso committed 2021-03-14 15:19:30 -04:00
1 parent 378830245d
commit f0c5e5101e
47 files changed
+41 -46

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
export type AlertCategory =
| 'CONTACT_ADD_SUCCESS'
| 'CONTACT_ADD_FAILED'
| 'CONTACT_UPDATE_SUCCESS'
| 'CONTACT_UPDATE_FAILED'
| 'CONTACT_DELETE_SUCCESS'
| 'CONTACT_DELETE_FAILED';
export interface IContactAlert {
alert: AlertCategory;
setAlert: (type: string) => void;
}
export interface Contact {
id: number;
display: string;
number: string;
avatar?: string;
}