feat(dashboard): add news

This commit is contained in:
sam 2024-10-24 21:38:36 +02:00
parent ce323096e6
commit 92e7e1f1cb
Signed by: sam
GPG key ID: 5F3C3C1B3166639D
5 changed files with 73 additions and 5 deletions

View file

@ -137,3 +137,17 @@ export type GuildChannelConfig = {
message_delete: string;
message_delete_bulk: string;
};
export type Meta = {
guilds: number;
invite_url: string;
news: NewsMessage[];
};
export type NewsMessage = {
author: string;
content: string;
attachment_urls: string[];
posted_at: string;
edited_at: string | null;
};