UserAuditHookOptions Available options createdColumn, updatedColumn, deletedColumn, userProperty

interface UserAuditHookOptions {
    createdColumn?: string;
    deletedColumn?: string;
    updatedColumn?: string;
    userProperty?: string;
}

Properties

createdColumn?: string

Define to createdColumn for select which column will be filled when insert, by default using createdBy

deletedColumn?: string

Define to deletedColumn for select which column will be filled when delete operation, only happened when use softDelete, by default using deletedBy

updatedColumn?: string

Define to updatedColumn for select which column will be filled when update/patch, by default using updatedBy

userProperty?: string

Define to userProperty for select which column from user entity that will be filled to the audit columns, by default using email