UNPKG

typerinth

Version:

A TypeScript library for interacting with the Modrinth API.

11 lines (10 loc) 395 B
import { URL } from "url"; import { Route } from "../Route"; import CacheManager from "../../util/CacheManager"; export declare class CheckProjectValidity extends Route<boolean> { private projectId; constructor(baseUrl: URL, ua: string | undefined, cacheManager: CacheManager, projectId: string); getCacheKey(): string | null; getUrl(): URL; parseData(data: any): boolean; }