import { AuditEntity, DatabaseAction, EntityType } from '@app/infra/entities'; export const IAuditRepository = 'IAuditRepository'; export interface AuditSearch { action?: DatabaseAction; entityType?: EntityType; ownerId?: string; } export interface IAuditRepository { getAfter(since: Date, options: AuditSearch): Promise; removeBefore(before: Date): Promise; }