Home / Type/ ImpactTarget Type — typescript-sdk Architecture

ImpactTarget Type — typescript-sdk Architecture

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

Entity Profile

Source Code

src/models/ImpactTarget.ts lines 21–46

export interface ImpactTarget {
    /**
     * File path relative to repository root.
     * @type {string}
     * @memberof ImpactTarget
     */
    file: string;
    /**
     * Function or method name (if targeting a specific function).
     * @type {string}
     * @memberof ImpactTarget
     */
    name?: string;
    /**
     * Line number of the target declaration.
     * @type {number}
     * @memberof ImpactTarget
     */
    line?: number;
    /**
     * Type of the target element.
     * @type {string}
     * @memberof ImpactTarget
     */
    type: ImpactTargetTypeEnum;
}

Analyze Your Own Codebase

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

Try Supermodel Free