heartbeat-monitor/node_modules/next/dist/build/output/index.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
702 B
TypeScript

import type { webpack } from 'next/dist/compiled/webpack/webpack';
type AmpStatus = {
message: string;
line: number;
col: number;
specUrl: string | null;
code: string;
};
export type AmpPageStatus = {
[page: string]: {
errors: AmpStatus[];
warnings: AmpStatus[];
};
};
export declare function formatAmpMessages(amp: AmpPageStatus): string;
export declare function ampValidation(page: string, errors: AmpStatus[], warnings: AmpStatus[]): void;
export declare function watchCompilers(client: webpack.Compiler, server: webpack.Compiler, edgeServer: webpack.Compiler): void;
export declare function reportTrigger(trigger: string, url?: string): void;
export {};