UNPKG

masto

Version:

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

16 lines (15 loc) 381 B
export interface AppealStateRegistry { approved: never; rejected: never; pending: never; } export type AppealState = keyof AppealStateRegistry; /** * Appeal against a moderation action. */ export interface Appeal { /** Text of the appeal from the moderated account to the moderators. */ text: string; /** State of the appeal. */ state: AppealState; }