masto
Version:
Mastodon API client for JavaScript, TypeScript, Node.js, browsers
12 lines (11 loc) • 348 B
TypeScript
import { type Status } from "./status.js";
/**
* Represents the tree around a given status. Used for reconstructing threads of statuses.
* @see https://docs.joinmastodon.org/entities/context/
*/
export interface Context {
/** Parents in the thread. */
ancestors: Status[];
/** Children in the thread. */
descendants: Status[];
}