UNPKG

typerinth

Version:

A TypeScript library for interacting with the Modrinth API.

12 lines (11 loc) 509 B
import { URL } from 'url'; import { Route } from '../Route'; import CacheManager from '../../util/CacheManager'; import { PayoutHistory } from '../../interfaces/users'; export default class GetPayoutHistoryRoute extends Route<PayoutHistory> { private userId; constructor(baseUrl: URL, ua: string | undefined, cacheManager: CacheManager, authorization: string | undefined, userId: string); getCacheKey(): string | null; getUrl(): URL; parseData(data: any, status: number): PayoutHistory; }