Member Junction
    Preparing search index...
    Index

    Constructors

    Methods

    • Render the end-of-run "Changes" recap: a focused block summarizing what was created/updated/deleted, GROUPED by entity + operation with counts (no per-record IDs or field diffs — those scale poorly and live in the detailed report instead). One line per entity/operation means the recap stays compact whether 1 or 10,000 records changed. Returns '' when there were no changes (caller should skip printing).

      For full per-record detail use --verbose (streams diffs inline during the push) or --change-detail (writes the report from formatChangesReport() to a file).

      Parameters

      • changes: RecordChangeDetail[]

      Returns string

    • Render the FULL per-record change report as plain text (no ANSI), suitable for writing to a file via --change-detail. Lists every record's operation, entity, primary key, and — for updates — the field-level diffs.

      Parameters

      • changes: RecordChangeDetail[]
      • generatedAt: string

      Returns string

    • Format push/pull summary report

      Parameters

      • operation: "push" | "pull"
      • stats: {
            created: number;
            deferred?: number;
            deleted: number;
            duration: number;
            errors: number;
            skipped: number;
            unchanged?: number;
            updated: number;
        }

      Returns string