mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
types(contacts): Cleanup unused types
This commit is contained in:
1 parent
52ac061a3c
commit
f0acadbf98
1 file changed
-12
@@ -6,11 +6,6 @@ export type AlertCategory =
|
||||
| 'CONTACT_DELETE_SUCCESS'
|
||||
| 'CONTACT_DELETE_FAILED';
|
||||
|
||||
export interface IContactAlert {
|
||||
alert: AlertCategory;
|
||||
setAlert: (type: string) => void;
|
||||
}
|
||||
|
||||
export interface PreDBContact {
|
||||
display: string;
|
||||
number: string;
|
||||
@@ -26,15 +21,8 @@ export interface ContactDeleteDTO {
|
||||
}
|
||||
|
||||
export enum ContactEvents {
|
||||
SEND_CONTACTS = 'npwd:sendContacts',
|
||||
GET_CONTACTS = 'npwd:getContacts',
|
||||
ADD_CONTACT = 'npwd:addContacts',
|
||||
ADD_CONTACT_SUCCESS = 'contacts:addSuccess',
|
||||
UPDATE_CONTACT = 'npwd:updateContact',
|
||||
DELETE_CONTACT = 'npwd:deleteContact',
|
||||
DELETE_CONTACT_SUCCESS = 'npwd:deleteSuccess',
|
||||
UPDATE_CONTACT_SUCCESS = 'npwd:updateContactSuccess',
|
||||
ACTION_RESULT = 'npwd:contactActionResult',
|
||||
SEND_ALERT = 'npwd:contactSetAlert',
|
||||
MAIN_CLIENT_LISTER = 'npwd:contactMainListener',
|
||||
}
|
||||
Reference in new issue
Block a user