typerinth
Version:
A TypeScript library for interacting with the Modrinth API.
12 lines (11 loc) • 463 B
TypeScript
import { Route } from '../Route';
import { ProjectVersion } from '../../interfaces/version';
import CacheManager from '../../util/CacheManager';
import { URL } from 'url';
export default class GetVersionRoute extends Route<ProjectVersion> {
private versionId;
constructor(baseUrl: URL, ua: string | undefined, cacheManager: CacheManager, versionId: string);
getCacheKey(): string | null;
getUrl(): URL;
parseData(data: any): ProjectVersion;
}