heartbeat-monitor/node_modules/next/dist/client/flight-data-helpers.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

21 lines
918 B
TypeScript

import type { CacheNodeSeedData, FlightData, FlightDataPath, FlightRouterState, FlightSegmentPath, Segment } from '../server/app-render/types';
export type NormalizedFlightData = {
/**
* The full `FlightSegmentPath` inclusive of the final `Segment`
*/
segmentPath: FlightSegmentPath;
/**
* The `FlightSegmentPath` exclusive of the final `Segment`
*/
pathToSegment: FlightSegmentPath;
segment: Segment;
tree: FlightRouterState;
seedData: CacheNodeSeedData | null;
head: React.ReactNode | null;
isHeadPartial: boolean;
isRootRender: boolean;
};
export declare function getFlightDataPartsFromPath(flightDataPath: FlightDataPath): NormalizedFlightData;
export declare function getNextFlightSegmentPath(flightSegmentPath: FlightSegmentPath): FlightSegmentPath;
export declare function normalizeFlightData(flightData: FlightData): NormalizedFlightData[] | string;