Initial commit: Outlook Lite code app
This commit is contained in:
24
src/types/index.ts
Normal file
24
src/types/index.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
export interface Email {
|
||||
id: string;
|
||||
from: string;
|
||||
fromName: string;
|
||||
to: string;
|
||||
subject: string;
|
||||
body: string;
|
||||
receivedAt: string;
|
||||
isRead: boolean;
|
||||
folder: 'inbox' | 'sent' | 'drafts' | 'trash';
|
||||
}
|
||||
|
||||
export interface Folder {
|
||||
id: string;
|
||||
name: string;
|
||||
icon: string;
|
||||
unreadCount: number;
|
||||
}
|
||||
|
||||
export interface UserProfile {
|
||||
displayName: string;
|
||||
email: string;
|
||||
avatar?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user