Interface IAuditLogDecoratorOptions

Hierarchy

  • IAuditLogDecoratorOptions

Properties

actor?: Partial<IAuditLogActor>

the actor for that audit

actor_id_field_map?: string

field mapping from request to get actor.id. If you want to mapping from response, put the $response keyword at the beginning. Example: $response.data.id default: user.id

actor_type_field_map?: string

field mapping from request to get actor.type. If you want to mapping from response, put the $response keyword at the beginning. Example: $response.data.id default: user.role

operation?: Partial<IAuditLogOperation>

the operation for that audit

resource?: Partial<IAuditLogResource>

the resource for that audit

resource_id_field_map?: string

field mapping from request to get resource.id. If you want to mapping from response, put the $response keyword at the beginning. Example: $response.data.id default: body.id

Generated using TypeDoc