feat: add v1 management APIs, audit logs, and import/export

This commit is contained in:
2026-03-07 05:35:40 +00:00
parent 1436d63a8c
commit 0ede080e85
9 changed files with 233 additions and 22 deletions

10
src/models/audit.ts Normal file
View File

@@ -0,0 +1,10 @@
export interface AuditLogEntry {
id: string;
ts: string;
actorId: string;
action: string;
target?: string;
status: 'ok' | 'error';
message?: string;
meta?: Record<string, unknown>;
}