@gati-framework/cli
Version:
CLI tool for Gati framework - create, develop, build and deploy cloud-native applications
20 lines • 577 B
TypeScript
/**
* @module cli/analyzer/simple-analyzer
* @description Simple file-based analyzer without ts-morph
*/
export interface HandlerInfo {
filePath: string;
relativePath: string;
route: string;
method: string;
exportName: string;
exportType: 'default' | 'named';
}
export interface ModuleInfo {
filePath: string;
exportName: string;
exportType: 'default' | 'named';
methods: string[];
}
export declare function analyzeFile(filePath: string, srcRoot: string): HandlerInfo | ModuleInfo | null;
//# sourceMappingURL=simple-analyzer.d.ts.map