Polyman Documentation - v3.1.0
    Preparing search index...

    Interface DiffReport

    Report emitted by polyman remote diff --json, and by polyman remote push --dry-run --json: what a push would change on Polygon, compared by content. It lists every component polyman managed to compare, including the ones that are same, so a caller can show a full table. DiffReport

    interface DiffReport {
        schemaVersion: 1;
        polymanVersion: string;
        ok: boolean;
        command: string;
        exitCode: number;
        durationMs: number;
        errors: string[];
        problemId: number | null;
        components: DiffComponent[];
        changes: number;
        warnings: string[];
    }

    Hierarchy

    • ReportBase
      • DiffReport
    Index
    schemaVersion: 1
    polymanVersion: string
    ok: boolean
    command: string
    exitCode: number
    durationMs: number
    errors: string[]
    problemId: number | null

    Polygon problem ID; null when the problem is not on Polygon yet, which is reported as an error

    components: DiffComponent[]

    One entry per compared component, in a stable order (solutions, checker, validator, generators, statements, then each testset's script and manual tests)

    changes: number

    How many components are not same

    warnings: string[]

    Components polyman could not compare, and other things that did not fail the command but need a look