import { User } from './user'; import { WithMongooseProps } from './with-mongoose-props'; export type ChangesFields = WithMongooseProps<{ path: string; originalValue: TValue; value: TValue; }>; export type Changes = WithMongooseProps<{ updateById: string; updatedBy: User; sourceId: string; tenantId: string; sourceModelName: string; entitySnapshot: TEntity; changes: ChangesFields[]; }>;