UNPKG

masto

Version:

Mastodon API client for JavaScript, TypeScript, Node.js, browsers

13 lines (12 loc) 456 B
import { type HttpMetaParams } from "../../../interfaces/index.js"; import { type Instance } from "../../entities/v2/index.js"; export interface InstanceResource { /** * Information about the server. * @return Instance * @see https://docs.joinmastodon.org/methods/instance/ */ fetch(meta?: HttpMetaParams): Promise<Instance>; } /** @deprecated Use InstanceResource instead. */ export type InstanceRepository = InstanceResource;