Home / Type/ AffectedFunction Type — typescript-sdk Architecture

AffectedFunction Type — typescript-sdk Architecture

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

Entity Profile

Source Code

src/models/AffectedFunction.ts lines 21–58

export interface AffectedFunction {
    /**
     * File path relative to repository root.
     * @type {string}
     * @memberof AffectedFunction
     */
    file: string;
    /**
     * Name of the affected function.
     * @type {string}
     * @memberof AffectedFunction
     */
    name: string;
    /**
     * Line number of the function declaration.
     * @type {number}
     * @memberof AffectedFunction
     */
    line?: number;
    /**
     * Type of code element.
     * @type {string}
     * @memberof AffectedFunction
     */
    type: AffectedFunctionTypeEnum;
    /**
     * Number of hops from the target in the call graph.
     * @type {number}
     * @memberof AffectedFunction
     */
    distance: number;
    /**
     * Relationship type to the target.
     * @type {string}
     * @memberof AffectedFunction
     */
    relationship: AffectedFunctionRelationshipEnum;
}

Analyze Your Own Codebase

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

Try Supermodel Free