-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
- message should have user data for presentation layer
ASIS
export type Chat = {
id: string;
users: User[];
messages: Message[];
};
export type Message = {
id: string;
userId: string;
chatId: string;
text: string;
createdAt?: string;
};
TOBE
export type Chat = {
id: string;
userName: string;
userImageUrl: string;
messages: Message[];
};
export type Message = {
id: string;
chatId: string;
userId: string;
userImageUrl: string;
text: string;
createdAt?: string;
};
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request