forked from mtusi2026/mtusi2026lab3
22 lines
312 B
TypeScript
22 lines
312 B
TypeScript
export interface User {
|
|
id: string;
|
|
username: string;
|
|
displayName: string;
|
|
createdAt: string;
|
|
}
|
|
|
|
export interface Chat {
|
|
id: string;
|
|
title: string;
|
|
memberIds: string[];
|
|
createdAt: string;
|
|
}
|
|
|
|
export interface Message {
|
|
id: string;
|
|
chatId: string;
|
|
senderId: string;
|
|
text: string;
|
|
createdAt: string;
|
|
}
|