Merge branch 'main' into temmie-random-cleanup
This commit is contained in:
commit
3f7ceb94f5
25 changed files with 673 additions and 591 deletions
|
@ -121,3 +121,22 @@ export interface ContextMenuInterface {
|
|||
pointerY: number,
|
||||
items: ContextMenuItem[]
|
||||
}
|
||||
|
||||
export interface NavbarItem {
|
||||
title: string,
|
||||
icon: string,
|
||||
hasPing?: boolean, // whether to draw a "ping" icon or not
|
||||
callback: (...args: any[]) => any;
|
||||
}
|
||||
|
||||
export interface INavbar {
|
||||
guild: GuildResponse
|
||||
channel: ChannelResponse
|
||||
}
|
||||
|
||||
export interface NavbarOptions {
|
||||
guild?: GuildResponse
|
||||
channel?: ChannelResponse
|
||||
isDirectMessages?: boolean
|
||||
}
|
||||
|
||||
|
|
|
@ -1,21 +1,9 @@
|
|||
import type { GuildMemberResponse, MessageResponse, UserResponse } from "./interfaces";
|
||||
import type { 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
|
||||
replyMessage?: MessageResponse,
|
||||
type: "normal" | "grouped",
|
||||
editing?: boolean,
|
||||
isMentioned?: boolean,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue