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 {
|
export interface MessageResponse {
|
||||||
uuid: string
|
uuid: string,
|
||||||
channel_uuid: string
|
channel_uuid: string,
|
||||||
user_uuid: string
|
user_uuid: string,
|
||||||
message: string
|
message: string,
|
||||||
|
user: UserResponse
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface InviteResponse {
|
export interface InviteResponse {
|
||||||
|
@ -49,6 +50,6 @@ export interface UserResponse {
|
||||||
username: string,
|
username: string,
|
||||||
display_name: string | null,
|
display_name: string | null,
|
||||||
avatar: string | null,
|
avatar: string | null,
|
||||||
email: string,
|
email?: string,
|
||||||
email_verified: boolean
|
email_verified?: boolean
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue