heartbeat-monitor/node_modules/next/dist/build/segment-config/app/app-segments.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

25 lines
1.0 KiB
TypeScript

import type { LoadComponentsReturnType } from '../../../server/load-components';
import type { Params } from '../../../server/request/params';
import type { AppPageModule } from '../../../server/route-modules/app-page/module.compiled';
import type { AppRouteModule } from '../../../server/route-modules/app-route/module.compiled';
import { type AppSegmentConfig } from './app-segment-config';
type GenerateStaticParams = (options: {
params?: Params;
}) => Promise<Params[]>;
export type AppSegment = {
name: string;
param: string | undefined;
filePath: string | undefined;
config: AppSegmentConfig | undefined;
isDynamicSegment: boolean;
generateStaticParams: GenerateStaticParams | undefined;
};
/**
* Collects the segments for a given route module.
*
* @param components the loaded components
* @returns the segments for the route module
*/
export declare function collectSegments({ routeModule, }: LoadComponentsReturnType<AppPageModule | AppRouteModule>): Promise<AppSegment[]> | AppSegment[];
export {};