frontend/types/props.ts
SauceyRed b1cf9df199
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
fix: errors caused by MessageResponse interface now returning GuildMemberResponse instead of UserResponse
2025-08-05 03:43:59 +02:00

21 lines
No EOL
502 B
TypeScript

import type { GuildMemberResponse, MessageResponse, UserResponse } from "./interfaces";
export interface MessageProps {
class?: string,
img?: string | null,
author: GuildMemberResponse
text: string,
timestamp: number,
format: "12" | "24",
type: "normal" | "grouped",
marginBottom: boolean,
authorColor: string,
last: boolean,
messageId: string,
replyingTo?: boolean,
editing?: boolean,
me: UserResponse
message: MessageResponse,
replyMessage?: MessageResponse
isMentioned?: boolean,
}