pub async fn sync_cleanup_completed( db: State<'_, DatabaseWrapper>, days_old: i32, ) -> Result<i32, String>
Delete completed sync operations older than specified days