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