import i18n from 'ui-i18n';
import { HistoryActivityType } from '../types';
export var historyActivityOptions = [
    HistoryActivityType.UPDATE,
    HistoryActivityType.MERGE,
    HistoryActivityType.UNMERGE
];
export var getHistoryActivityLabel = function (type) {
    var _a;
    var labels = (_a = {},
        _a[HistoryActivityType.UPDATE] = i18n.text('Update'),
        _a[HistoryActivityType.MERGE] = i18n.text('Merge'),
        _a[HistoryActivityType.UNMERGE] = i18n.text('Unmerge'),
        _a);
    return labels[type] || '';
};
