Angular Modernizer
    Preparing search index...

    Metadata shape for layer-boundary-violation results.

    interface LayerBoundaryViolationMetadata {
        allowedImports: string[];
        declarationKind: "import" | "export";
        importKind: ImportKind;
        moduleSpecifier: string;
        resolvedPath: string | null;
        sourceAlias: string;
        sourceLayer: string;
        targetAlias: string;
        targetLayer: string;
        typeOnly: boolean;
        violationType: "layer-boundary-violation";
    }
    Index

    Properties

    allowedImports: string[]

    canImportFrom of the importing layer.

    declarationKind: "import" | "export"

    import or export ... from

    importKind: ImportKind

    Whether the specifier was a path alias / bare specifier or a relative path

    moduleSpecifier: string

    Module specifier as written in the source.

    resolvedPath: string | null

    Absolute path the specifier resolved to (null when unresolved)

    sourceAlias: string

    Alias of the importing layer (empty when it has none).

    sourceLayer: string

    Name of the layer of the importing file.

    targetAlias: string

    Alias of the imported layer (empty when it has none).

    targetLayer: string

    Name of the layer of the imported file.

    typeOnly: boolean

    import type, export type, or every named specifier is type-only

    violationType: "layer-boundary-violation"

    Always layer-boundary-violation.