feat: расширить инвентарь, ops и интеграции по roadmap
Docker / build (push) Has been cancelled

Добавлены bulk-операции VPS, карточка /vps/:id, CRUD проектов, Command Palette,
календарь продлений, webhooks, uptime-проверки, audit log, кастомные поля и адаптеры провайдеров.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Denozordec
2026-06-28 15:28:35 +07:00
co-authored by Cursor
parent 0ea92746e4
commit 11b67a1cef
43 changed files with 2085 additions and 79 deletions
+13
View File
@@ -0,0 +1,13 @@
import { auditLogRepository } from '@cfdm/db/repositories/audit-log'
export function auditCreate(entity: string, entityId: string, data?: Record<string, unknown>): void {
auditLogRepository.append({ entity, entityId, action: 'create', diff: data })
}
export function auditUpdate(entity: string, entityId: string, patch: Record<string, unknown>): void {
auditLogRepository.append({ entity, entityId, action: 'update', diff: patch })
}
export function auditDelete(entity: string, entityId: string): void {
auditLogRepository.append({ entity, entityId, action: 'delete' })
}