Home / Type/ CriticalFile Type — typescript-sdk Architecture

CriticalFile Type — typescript-sdk Architecture

Architecture documentation for the CriticalFile type/interface in CriticalFile.ts from the typescript-sdk codebase.

Entity Profile

Source Code

src/models/CriticalFile.ts lines 21–40

export interface CriticalFile {
    /**
     * File path relative to repository root.
     * @type {string}
     * @memberof CriticalFile
     */
    file: string;
    /**
     * Total number of transitive dependents.
     * @type {number}
     * @memberof CriticalFile
     */
    dependentCount: number;
    /**
     * Risk level based on dependent count.
     * @type {string}
     * @memberof CriticalFile
     */
    riskScore: CriticalFileRiskScoreEnum;
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free