wulf-pulse/lib/utils
root f1037d7964 fix: add required filters for billing items and validate task project references
- Add buildBillingItemsFilter() to provide required itemDate filter
  BillingItems API requires a filter parameter and returns 500 error without it
- Add validation for task project_id foreign key references
  Tasks with invalid project_id now have the field nullified instead of failing
- Add getValidProjectIds() method to fetch valid project IDs from database

Fixes:
- Billing Items: 'Value cannot be null. Parameter name: filters' error
- Tasks: 'violates foreign key constraint tasks_project_id_fkey' error

Both entities should now sync successfully.
2026-01-24 08:09:10 -05:00
..
api-helpers.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
db-helpers.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
device-lookup.ts Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
entity-mapper.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
issue-type-helper.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
logger.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
sync-helpers.ts fix: add required filters for billing items and validate task project references 2026-01-24 08:09:10 -05:00
sync-logger.ts feat: implement structured logging for sync operations 2026-01-23 08:02:02 -05:00