feat(wip): User & RecentChat in client
This commit is contained in:
6
client/api/client_data/RecentChat.ts
Normal file
6
client/api/client_data/RecentChat.ts
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
export default class RecentChat {
|
||||||
|
declare id: string
|
||||||
|
declare title: string
|
||||||
|
declare avatar: string | null
|
||||||
|
declare content: string
|
||||||
|
}
|
||||||
7
client/api/client_data/User.ts
Normal file
7
client/api/client_data/User.ts
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
export default class User {
|
||||||
|
declare id: string
|
||||||
|
declare count: number
|
||||||
|
declare username: string | null
|
||||||
|
declare nickname: string
|
||||||
|
declare avatar: string | null
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user