heartbeat-monitor/node_modules/next/dist/server/app-render/collect-segment-data.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

26 lines
940 B
TypeScript

import type { Segment } from './types';
import type { ManifestNode } from '../../build/webpack/plugins/flight-manifest-plugin';
import type { LoadingModuleData } from '../../shared/lib/app-router-context.shared-runtime';
export type RootTreePrefetch = {
buildId: string;
tree: TreePrefetch;
head: React.ReactNode | null;
isHeadPartial: boolean;
staleTime: number;
};
export type TreePrefetch = {
token: string;
path: string;
slots: null | {
[parallelRouteKey: string]: TreePrefetch;
};
extra: [segment: Segment, isRootLayout: boolean];
};
export type SegmentPrefetch = {
buildId: string;
rsc: React.ReactNode | null;
loading: LoadingModuleData | Promise<LoadingModuleData>;
isPartial: boolean;
};
export declare function collectSegmentData(fullPageDataBuffer: Buffer, staleTime: number, clientModules: ManifestNode, serverConsumerManifest: any): Promise<Map<string, Buffer>>;