wulf-pulse/lib
root 71873dfb3b fix: correct picklist sync statistics to properly track added vs updated
Previously, all picklist syncs (Statuses, Issue Types, Sub-Issue Types, Work Types)
incorrectly reported all records as 'added' even on subsequent syncs.

The issue was that bulkUpsert returns total rowCount without distinguishing
between inserts and updates.

Fix:
- Query existing values before upserting
- Calculate recordsAdded = new values not in existing set
- Calculate recordsUpdated = values already in existing set
- Applied to all 4 picklist sync methods

This resolves the confusing sync history where Sub-Issue Types showed
+805 on every sync instead of ~0 added, ~805 updated.
2026-01-24 08:47:52 -05:00
..
hooks Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
services fix: correct picklist sync statistics to properly track added vs updated 2026-01-24 08:47:52 -05:00
types Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
utils fix: add required filters for billing items and validate task project references 2026-01-24 08:09:10 -05:00
utils.ts Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00