45 lines
995 B
TypeScript
45 lines
995 B
TypeScript
|
|
export interface AuditLogActionDto {
|
||
|
|
serviceName: string
|
||
|
|
methodName: string
|
||
|
|
executionTime: string // Date string
|
||
|
|
executionDuration: number
|
||
|
|
parameters: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface EntityPropertyChangeDto {
|
||
|
|
propertyName: string
|
||
|
|
propertyTypeFullName: string
|
||
|
|
originalValue: string | null
|
||
|
|
newValue: string | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface EntityChangeDto {
|
||
|
|
changeTime: string // Date string
|
||
|
|
changeType: number
|
||
|
|
entityId: string
|
||
|
|
entityTypeFullName: string
|
||
|
|
propertyChanges: EntityPropertyChangeDto[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface AuditLogDto {
|
||
|
|
id: string
|
||
|
|
applicationName: string
|
||
|
|
userId?: string
|
||
|
|
userName?: string
|
||
|
|
executionTime: string
|
||
|
|
executionDuration: number
|
||
|
|
clientIpAddress?: string
|
||
|
|
clientName?: string
|
||
|
|
clientId?: string
|
||
|
|
correlationId?: string
|
||
|
|
browserInfo?: string
|
||
|
|
httpMethod?: string
|
||
|
|
url?: string
|
||
|
|
exceptions?: string
|
||
|
|
comments?: string
|
||
|
|
httpStatusCode?: number
|
||
|
|
entityChangeCount?: number
|
||
|
|
entityChanges: EntityChangeDto[]
|
||
|
|
actions: AuditLogActionDto[]
|
||
|
|
}
|