update types
This commit is contained in:
10
types.d.ts
vendored
10
types.d.ts
vendored
@ -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;
|
||||||
|
Reference in New Issue
Block a user