Initial move
This commit is contained in:
21
backend/types.ts
Normal file
21
backend/types.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
export interface Channel {
|
||||
id: number;
|
||||
name: string;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export interface Message {
|
||||
id: number;
|
||||
channel_id: number;
|
||||
content: string;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export interface File {
|
||||
id: number;
|
||||
channel_id: number;
|
||||
message_id: number;
|
||||
file_path: string;
|
||||
file_type: string;
|
||||
created_at: string;
|
||||
}
|
Reference in New Issue
Block a user