(QuickChat) Don't use types from outside

This commit is contained in:
sercan 2021-08-31 10:17:06 +03:00
parent 138a43da59
commit 7e0cc1249e

View File

@ -1,5 +1,3 @@
import { Contact } from 'app/modules/admin/apps/chat/chat.types';
export interface Notification
{
id: string;
@ -31,3 +29,31 @@ export interface Chat
createdAt?: string;
}[];
}
export interface Contact
{
id?: string;
avatar?: string;
name?: string;
about?: string;
details?: {
emails?: {
email?: string;
label?: string;
}[];
phoneNumbers?: {
country?: string;
phoneNumber?: string;
label?: string;
}[];
title?: string;
company?: string;
birthday?: string;
address?: string;
};
attachments?: {
media?: any[];
docs?: any[];
links?: any[];
};
}