feat: add user property to MessageResponse interface
This commit is contained in:
parent
b164abeda9
commit
46483c336a
1 changed files with 7 additions and 6 deletions
|
@ -32,10 +32,11 @@ export interface ChannelResponse {
|
|||
}
|
||||
|
||||
export interface MessageResponse {
|
||||
uuid: string
|
||||
channel_uuid: string
|
||||
user_uuid: string
|
||||
message: string
|
||||
uuid: string,
|
||||
channel_uuid: string,
|
||||
user_uuid: string,
|
||||
message: string,
|
||||
user: UserResponse
|
||||
}
|
||||
|
||||
export interface InviteResponse {
|
||||
|
@ -49,6 +50,6 @@ export interface UserResponse {
|
|||
username: string,
|
||||
display_name: string | null,
|
||||
avatar: string | null,
|
||||
email: string,
|
||||
email_verified: boolean
|
||||
email?: string,
|
||||
email_verified?: boolean
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue