UNPKG

masto

Version:

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

13 lines (12 loc) 534 B
import { type HttpMetaParams } from "../../../interfaces/index.js"; import { type Preference } from "../../entities/v1/index.js"; export interface PreferencesResource { /** * Preferences defined by the user in their account settings. * @return Preferences by key and value * @see https://docs.joinmastodon.org/methods/accounts/preferences/ */ fetch(meta?: HttpMetaParams): Promise<Preference>; } /** @deprecated Use `PreferencesResource` instead. */ export type PreferenceRepository = PreferencesResource;