masto
Version:
Mastodon API client for JavaScript, TypeScript, Node.js, browsers
14 lines (13 loc) • 414 B
TypeScript
import { type Account, type Status, type Tag } from "../v1/index.js";
/**
* Represents the results of a search.
* @see https://docs.joinmastodon.org/entities/Search/
*/
export interface Search {
/** Accounts which match the given query */
accounts: Account[];
/** Statuses which match the given query */
statuses: Status[];
/** Hashtags which match the given query */
hashtags: Tag[];
}