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