heartbeat-monitor/node_modules/next/dist/server/route-matcher-managers/dev-route-matcher-manager.d.ts
Matt Bruce bed1169443 Initial commit: Heartbeat Monitor dashboard
- Full-featured monitoring dashboard for local web apps
- Real-time status tracking with uptime percentages
- Visual sparklines for status history
- Add/Edit/Delete apps dynamically
- Categories and color coding
- Auto-refresh every 30 seconds
- API endpoints for apps and status management
2026-02-18 11:16:01 -06:00

20 lines
1.1 KiB
TypeScript

import { RouteKind } from '../route-kind';
import type { RouteMatch } from '../route-matches/route-match';
import type { RouteDefinition } from '../route-definitions/route-definition';
import { DefaultRouteMatcherManager } from './default-route-matcher-manager';
import type { MatchOptions, RouteMatcherManager } from './route-matcher-manager';
import type { RouteMatcher } from '../route-matchers/route-matcher';
export interface RouteEnsurer {
ensure(match: RouteMatch, pathname: string): Promise<void>;
}
export declare class DevRouteMatcherManager extends DefaultRouteMatcherManager {
private readonly production;
private readonly ensurer;
private readonly dir;
constructor(production: RouteMatcherManager, ensurer: RouteEnsurer, dir: string);
test(pathname: string, options: MatchOptions): Promise<boolean>;
protected validate(pathname: string, matcher: RouteMatcher, options: MatchOptions): RouteMatch | null;
matchAll(pathname: string, options: MatchOptions): AsyncGenerator<RouteMatch<RouteDefinition<RouteKind>>, null, undefined>;
reload(): Promise<void>;
}