From 7e0cc1249e4c0ef3a58172c50a93d870a5257f71 Mon Sep 17 00:00:00 2001 From: sercan Date: Tue, 31 Aug 2021 10:17:06 +0300 Subject: [PATCH] (QuickChat) Don't use types from outside --- .../common/quick-chat/quick-chat.types.ts | 30 +++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/src/app/layout/common/quick-chat/quick-chat.types.ts b/src/app/layout/common/quick-chat/quick-chat.types.ts index daf57bc3..6e6c41c3 100644 --- a/src/app/layout/common/quick-chat/quick-chat.types.ts +++ b/src/app/layout/common/quick-chat/quick-chat.types.ts @@ -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[]; + }; +}