neet/masto.js

View on GitHub
src/mastodon/entities/v1/search.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { type Account } from "./account";
import { type Status } from "./status";

/**
 * Represents the results of a search.
 * @see https://docs.joinmastodon.org/entities/results/
 */
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: string[];
}