UNPKG

@re621/zestyapi

Version:

Comprehensive JS wrapper for e621.net API

17 lines (16 loc) 373 B
/** * Generic response from the e621 API. * Other responses should extend this for proper typecasting. */ export default interface APIResponse { id: number; } export interface APIWarnedMessage { warning_type: MessageWarningType | null; warning_user_id: number | null; } export declare enum MessageWarningType { Warning = 0, Record = 1, Ban = 2 }