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