import { ValuesOf } from '@iqser/common-ui/lib/utils';

export const LogEntryEngines = {
    DICTIONARY: 'DICTIONARY',
    NER: 'NER',
    RULE: 'RULE',
    IMPORTED: 'IMPORTED',
    MANUAL: 'MANUAL',
    DOSSIER_DICTIONARY: 'DOSSIER_DICTIONARY',
} as const;

export type LogEntryEngine = ValuesOf<typeof LogEntryEngines>;

export const ManualRedactionTypes = {
    ADD: 'ADD',
    REMOVE: 'REMOVE',
    REMOVE_FROM_DICTIONARY: 'REMOVE_FROM_DICTIONARY',
    FORCE: 'FORCE',
    RECATEGORIZE: 'RECATEGORIZE',
    LEGAL_BASIS_CHANGE: 'LEGAL_BASIS_CHANGE',
    RESIZE: 'RESIZE',
    RESIZE_WITH_DICTIONARY: 'RESIZE_WITH_DICTIONARY',
} as const;

export type ManualRedactionType = ValuesOf<typeof ManualRedactionTypes>;
