fix(12): CR-02 stop folding company-match review counts into sync_history.records_deleted

This commit is contained in:
lorentz 2026-07-11 07:18:27 -04:00
parent 591fc5cf10
commit bddf612c7b
3 changed files with 24 additions and 6 deletions

View file

@ -120,6 +120,12 @@ export interface Pax8EntitySyncResult {
tombstoned: number;
durationMs: number;
error?: string;
// Populated only by the 'company_matches' entity: pax8_companies rows
// flagged for manual review this run (ambiguous + no-candidate). Kept
// separate from `tombstoned` (a real soft-delete count) so it is never
// folded into sync_history.records_deleted / the Sync History UI's
// "deleted" column.
flaggedForReview?: number;
}
export interface Pax8SyncResult {