import { DefaultMongoModel } from './defaultMongoModel'; export interface Audit extends DefaultMongoModel { namespace: string; entityType: string; entity: any; action: string; actionTime: Date; user?: string | { [key: string]: any; }; source?: string; data?: { [key: string]: any; }; update?: { beforeUpdate?: { [key: string]: any; }; updatedFields?: { [key: string]: any; }; removedFields?: string[]; }; }