import { IChange } from './change';
import { IComment } from './comment';
import { IRectangle } from '../geometry';
import { LogEntryEngine } from './types';
import { IManualChange } from './manual-change';

export interface IRedactionLogEntry {
    changes?: IChange[];
    imported?: boolean;
    manualChanges?: IManualChange[];
    color?: number[];
    comments?: IComment[];
    dictionaryEntry?: boolean;
    dossierDictionaryEntry?: boolean;
    endOffset?: number;
    engines?: LogEntryEngine[];
    excluded?: boolean;
    hint?: boolean;
    rectangle?: boolean;
    id: string;
    image?: boolean;
    imageHasTransparency?: boolean;
    legalBasis?: string;
    matchedRule?: number;
    positions?: IRectangle[];
    reason?: string;
    recommendation?: boolean;
    redacted?: boolean;
    reference?: string[];
    section?: string;
    sectionNumber?: number;
    startOffset?: number;
    textAfter?: string;
    textBefore?: string;
    type?: string;
    value?: string;
    sourceId?: string;
}
