UNPKG

md-toy-blog

Version:

Very simple Markdown blog: serves your md as html without fancy databases. You will only spend time writing the actual data.

18 lines 677 B
import RoutePathValidator from "./RoutePathValidator"; export default class PageRoute extends RoutePathValidator { config: PageRouteCtorConfigProps; private pageFilePaths; controller: RouteControllerCtorConfig<PageControllerActionParams>; constructor(config: PageRouteCtorConfigProps); getControllerActionParams({ request }: { request: HttpRequest; }): { filepath: string; }; protected isValid(request: HttpRequest): boolean; protected getHtmlFileRelativePathWithoutDot(request: HttpRequest): string; protected getRequestedFilepath({ url }: { url: string; }): string; } //# sourceMappingURL=PageRoute.d.ts.map