heartbeat-monitor/node_modules/next/dist/server/api-utils/node/api-resolver.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

22 lines
870 B
TypeScript

import type { IncomingMessage, ServerResponse } from 'http';
import type { __ApiPreviewProps } from '../.';
import type { ServerOnInstrumentationRequestError } from '../../app-render/types';
type RevalidateFn = (config: {
urlPath: string;
revalidateHeaders: {
[key: string]: string | string[];
};
opts: {
unstable_onlyGenerated?: boolean;
};
}) => Promise<void>;
type ApiContext = __ApiPreviewProps & {
trustHostHeader?: boolean;
allowedRevalidateHeaderKeys?: string[];
hostname?: string;
revalidate?: RevalidateFn;
multiZoneDraftMode?: boolean;
};
export declare function apiResolver(req: IncomingMessage, res: ServerResponse, query: any, resolverModule: any, apiContext: ApiContext, propagateError: boolean, dev?: boolean, page?: string, onError?: ServerOnInstrumentationRequestError): Promise<void>;
export {};