add context response type
This commit is contained in:
5
types.d.ts
vendored
5
types.d.ts
vendored
@ -6,6 +6,11 @@ export interface Notification {
|
|||||||
created_at: string;
|
created_at: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface ContextResponse {
|
||||||
|
ancestors: Notification[];
|
||||||
|
descendents: Notification[];
|
||||||
|
}
|
||||||
|
|
||||||
export interface NewStatusBody {
|
export interface NewStatusBody {
|
||||||
content_type: "application/json" | "text/markdown";
|
content_type: "application/json" | "text/markdown";
|
||||||
in_reply_to_id?: string;
|
in_reply_to_id?: string;
|
||||||
|
Reference in New Issue
Block a user