feat: Add comprehensive audit logging system
- Add audit logging for contacts (link company, create company from contact) - Add audit logging for notes (create, update, delete) - Add audit logging for companies (update, user assign/remove, reminder CRUD) - Add audit logging for projects (update, user assign/remove) - Add audit logging for todos (update, uncomplete) - Add audit logging for time entries (update, delete) - Add audit logging for timesheets (upload, delete) - Add audit logging for user deletion - Add pagination and filters to audit logs API (userId, action, resource, dateFrom, dateTo) - Add endpoints for distinct actions and resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,7 @@ const ensureCompanyExists = async (companyId) => {
|
||||
return company;
|
||||
};
|
||||
|
||||
const getReminderById = async (reminderId) => {
|
||||
export const getReminderById = async (reminderId) => {
|
||||
const [reminder] = await db
|
||||
.select()
|
||||
.from(companyReminders)
|
||||
|
||||
Reference in New Issue
Block a user