Unify sync status deleted into single deleted field

API GET /v1/ume/sync/status exposes deleted only (sum of inventory NE + current-alarm reconcile counts from details_json). UI one column.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-05-11 18:51:30 +08:00
parent ac1f573508
commit c06beecfe6
3 changed files with 15 additions and 21 deletions

View file

@ -82,10 +82,8 @@ export type UmeSyncJobItem = {
pulled_count: number;
inserted_count: number;
updated_count: number;
/** Reconcile deletes after full inventory snapshot (netx ume_sync_service). */
deleted_inventory_ne?: number;
/** Reconcile deletes for current alarms after full snapshot. */
deleted_current_alarms?: number;
/** Full-snapshot reconcile deletes (inventory: NE rows; alarms_current: current alarm rows). */
deleted?: number;
error_message?: string;
started_at: string;
ended_at?: string | null;