UNPKG

sicua

Version:

A tool for analyzing project structure and dependencies

25 lines (24 loc) 728 B
/** * Types for dependency analysis */ import { CircularDependencyAnalysisResult } from "./circularDependency.types"; import { ZombieClusterAnalysisResult } from "./zombieCluster.types"; export interface DependencyGraph { [key: string]: string[]; } export interface DependencyAnalysisResult { unusedDependencies: string[]; missingDependencies: string[]; } export interface ZombieCluster { components: string[]; entryPoints: string[]; functions: { [key: string]: string[]; }; } export interface DependencyAnalysisDetailedResult { circularDependencies: CircularDependencyAnalysisResult; zombieClusters: ZombieClusterAnalysisResult; dependencyAnalysis: DependencyAnalysisResult; }