update types

This commit is contained in:
2025-08-03 20:59:53 +00:00
parent a04cb9a6ad
commit 566d6ae518

10
types.d.ts vendored
View File

@ -94,9 +94,19 @@ export interface Status {
in_reply_to_account_id: string; // account ID of the reply in_reply_to_account_id: string; // account ID of the reply
in_reply_to_id: string; // status that the user has replied to in_reply_to_id: string; // status that the user has replied to
mentions: Mention[]; // array of mentions mentions: Mention[]; // array of mentions
pleroma: PleromaObjectInResponse;
visibility: "private" | "public" | "unlisted"; visibility: "private" | "public" | "unlisted";
} }
interface PleromaObjectInResponse {
content: { "text/plain": string };
context: string;
conversation_id: number;
direct_conversation_id: number | null;
local: boolean;
in_reply_to_account_acct: string;
}
export interface Mention { export interface Mention {
acct: string; acct: string;
id: string; id: string;