UNPKG

typerinth

Version:

A TypeScript library for interacting with the Modrinth API.

12 lines (11 loc) 464 B
import { Route } from '../Route'; import { Project } from '../../interfaces/project'; import { URL } from 'node:url'; import CacheManager from '../../util/CacheManager'; export declare class GetMultipleProjectsRoute extends Route<Project[]> { private projectIds; constructor(baseUrl: URL, ua: string | undefined, cacheManager: CacheManager, projectIds: string[]); getCacheKey(): string | null; getUrl(): URL; parseData(data: any): Project[]; }