Extracts common event payload interfaces for entity saved, deleted, and audit logged events
Improves type safety and reduces code duplication by centralizing event payload definitions
Introduces comprehensive audit trail system with:
- AuditService to track entity changes
- SyncManager for background sync of audit entries
- New CoreEvents for entity and audit tracking
- Simplified sync architecture with event-driven approach
Prepares system for enhanced compliance and change tracking