mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
19 lines
301 B
TypeScript
19 lines
301 B
TypeScript
import { User } from './user'
|
|
|
|
export enum AuditLogAction {
|
|
Create = 'create',
|
|
Update = 'update',
|
|
Delete = 'delete',
|
|
}
|
|
|
|
export interface AuditLogEntry {
|
|
id: number
|
|
timestamp: string
|
|
action: AuditLogAction
|
|
changes: {
|
|
[key: string]: string[]
|
|
}
|
|
remote_addr: string
|
|
actor?: User
|
|
}
|