add log for sign in, sign out, change password, remove upload file
This commit is contained in:
@@ -58,7 +58,8 @@ export const ModelName = {
|
||||
Organization: 'Organization',
|
||||
Member: 'Member',
|
||||
Invitation: 'Invitation',
|
||||
Setting: 'Setting'
|
||||
Setting: 'Setting',
|
||||
Audit: 'Audit'
|
||||
} as const
|
||||
|
||||
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
||||
@@ -192,6 +193,20 @@ export const SettingScalarFieldEnum = {
|
||||
export type SettingScalarFieldEnum = (typeof SettingScalarFieldEnum)[keyof typeof SettingScalarFieldEnum]
|
||||
|
||||
|
||||
export const AuditScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
action: 'action',
|
||||
tableName: 'tableName',
|
||||
recordId: 'recordId',
|
||||
oldValue: 'oldValue',
|
||||
newValue: 'newValue',
|
||||
createdAt: 'createdAt'
|
||||
} as const
|
||||
|
||||
export type AuditScalarFieldEnum = (typeof AuditScalarFieldEnum)[keyof typeof AuditScalarFieldEnum]
|
||||
|
||||
|
||||
export const SortOrder = {
|
||||
asc: 'asc',
|
||||
desc: 'desc'
|
||||
|
||||
Reference in New Issue
Block a user