UNPKG

typerinth

Version:

A TypeScript library for interacting with the Modrinth API.

11 lines (10 loc) 425 B
import { URL } from 'url'; import { Route } from '../Route'; import { User } from '../../interfaces/users'; import CacheManager from '../../util/CacheManager'; export default class GetAuthUserRoute extends Route<User> { constructor(baseUrl: URL, ua: string | undefined, cacheManager: CacheManager, auhtorization: string | undefined); getCacheKey(): string | null; getUrl(): URL; parseData(data: any): User; }