From 46483c336a90910a833c71717a0344bce4b0e783 Mon Sep 17 00:00:00 2001 From: SauceyRed Date: Thu, 29 May 2025 04:26:34 +0200 Subject: [PATCH] feat: add user property to MessageResponse interface --- types/interfaces.ts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/types/interfaces.ts b/types/interfaces.ts index 05830d2..c0c87a9 100644 --- a/types/interfaces.ts +++ b/types/interfaces.ts @@ -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 }