"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getHistoryActivityLabel = exports.historyActivityOptions = void 0;
var ui_i18n_1 = __importDefault(require("ui-i18n"));
var types_1 = require("../types");
exports.historyActivityOptions = [
    types_1.HistoryActivityType.UPDATE,
    types_1.HistoryActivityType.MERGE,
    types_1.HistoryActivityType.UNMERGE
];
var getHistoryActivityLabel = function (type) {
    var _a;
    var labels = (_a = {},
        _a[types_1.HistoryActivityType.UPDATE] = ui_i18n_1.default.text('Update'),
        _a[types_1.HistoryActivityType.MERGE] = ui_i18n_1.default.text('Merge'),
        _a[types_1.HistoryActivityType.UNMERGE] = ui_i18n_1.default.text('Unmerge'),
        _a);
    return labels[type] || '';
};
exports.getHistoryActivityLabel = getHistoryActivityLabel;
