import { SuperType, SuperTypes } from '@red/domain';

export const SuperTypeSorter: { [key in SuperType]: number } = {
    [SuperTypes.TextHighlight]: 100,
    [SuperTypes.SuggestionChangeLegalBasis]: 14,
    [SuperTypes.SuggestionForceRedaction]: 15,
    [SuperTypes.SuggestionForceHint]: 16,
    [SuperTypes.SuggestionRecategorizeImage]: 17,
    [SuperTypes.SuggestionResize]: 18,
    [SuperTypes.Recommendation]: 7,
    [SuperTypes.SuggestionAddDictionary]: 12,
    [SuperTypes.SuggestionRemoveDictionary]: 13,
    [SuperTypes.SuggestionAdd]: 10,
    [SuperTypes.SuggestionRemove]: 11,
    [SuperTypes.IgnoredHint]: 45,
    [SuperTypes.Skipped]: 50,
    [SuperTypes.Redaction]: 1,
    [SuperTypes.ManualRedaction]: 2,
    [SuperTypes.Hint]: 19,
    [SuperTypes.DeclinedSuggestion]: 20,
};
