Member Junction
    Preparing search index...

    A known issue that can be detected and patched in source files of the installed repo. Each patch targets a specific file and applies a deterministic text transformation.

    interface KnownIssuePatch {
        Apply: (content: string) => string;
        Description: string;
        Id: string;
        NeedsPatch: (content: string) => boolean;
        PackageRelativeDir: string;
        RelativePath: string;
    }
    Index

    Properties

    Apply: (content: string) => string

    Apply the patch and return the new file content

    Description: string

    Human-readable description of the issue and fix

    Id: string

    Unique identifier for this patch

    NeedsPatch: (content: string) => boolean

    Returns true if the file content contains the known issue (needs patching)

    PackageRelativeDir: string

    Package directory (relative to repo root) that needs rebuilding after the patch

    RelativePath: string

    File to patch, relative to the repo root