arela
Version:
AI-powered CTO with multi-agent orchestration, code summarization, visual testing (web + mobile) for blazing fast development.
28 lines • 805 B
TypeScript
/**
* Flow Discovery Module
* Finds entry points in the codebase:
* - API routes (Express, Fastify, etc.)
* - Event handlers (DOM events, custom events)
* - Component lifecycle methods
* - Function exports from pages/routes
*/
export interface EntryPoint {
id: string;
name: string;
type: 'api_route' | 'event_handler' | 'component_export' | 'page_route' | 'hook' | 'middleware';
path: string;
line: number;
method?: string;
handler?: string;
description?: string;
}
export interface DiscoveryResult {
entryPoints: EntryPoint[];
totalFound: number;
discoveryDuration: number;
}
/**
* Discover all entry points in the codebase
*/
export declare function discoverEntryPoints(cwd: string): Promise<DiscoveryResult>;
//# sourceMappingURL=discovery.d.ts.map