UNPKG

typerinth

Version:

A TypeScript library for interacting with the Modrinth API.

12 lines (11 loc) 480 B
import { Route } from '../Route'; import { ProjectVersion } from '../../interfaces/version'; import CacheManager from '../../util/CacheManager'; import { URL } from 'url'; export default class GetMultipleVersionsRoute extends Route<ProjectVersion[]> { private versionIds; constructor(baseUrl: URL, ua: string | undefined, cacheManager: CacheManager, versionIds: string[]); getCacheKey(): string | null; getUrl(): URL; parseData(data: any): ProjectVersion[]; }