data-cap
    Preparing search index...

    Interface GenerateUsageOptions

    Options for generateUsage.

    interface GenerateUsageOptions {
        evidencePath?: string;
        files: readonly string[];
        inventory: CapabilityInventory;
        location: string | undefined;
        scan: ScanDependenciesOptions;
    }
    Index
    evidencePath?: string

    This same run's own --evidence output path, when requested -- named in the generated banner's Evidence Model note.

    files: readonly string[]

    Every project file to scan as a potential consumer -- typically the same file list discoverCapabilityFiles produced, since a consumer need not itself declare a capability.

    The inventory to scan usage for.

    location: string | undefined

    Output path for the rendered Dependency & Ownership report, or undefined when the caller only wants the scan's edges/findings (a --flow-without---ownership run) and will not write the report. Echoed straight back as result.location.

    Passed through to scanDependencies -- root/tsconfig/packages for import-specifier resolution. scan.root also doubles as the discovery root every rendered path in the report displays relative to.