UNPKG

masto

Version:

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

15 lines (14 loc) 707 B
import { type HttpMetaParams } from "../../../interfaces/index.js"; import { type Account } from "../../entities/v1/index.js"; import { type Paginator } from "../../paginator.js"; import { type DefaultPaginationParams } from "../../resource.js"; export interface EndorsementsResource { /** * Accounts that the user is currently featuring on their profile. * @return Array of Account * @see https://docs.joinmastodon.org/methods/accounts/endorsements/ */ list(params?: DefaultPaginationParams, meta?: HttpMetaParams): Paginator<Account[], DefaultPaginationParams>; } /** @deprecated Use `EndorsementsResource` instead. */ export type EndorsementRepository = EndorsementsResource;