"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SIDE_WORKFLOW_TEMPLATE_DISPLAY_SPECS = void 0;
exports.resolveWorkflowTemplateLabelValue = resolveWorkflowTemplateLabelValue;
const catalog_1 = require("../../i18n/catalog");
exports.SIDE_WORKFLOW_TEMPLATE_DISPLAY_SPECS = [
    {
        surface: "pull_request",
        showKey: "issue.command.show.pullRequestWorkflow",
        reportItemKey: "issue.command.report.item.pullRequestWorkflow",
    },
    {
        surface: "unplanned",
        showKey: "issue.command.show.unplannedWorkflow",
        reportItemKey: "issue.command.report.item.unplannedWorkflow",
    },
    {
        surface: "followup",
        showKey: "issue.command.show.followupWorkflow",
        reportItemKey: "issue.command.report.item.followupWorkflow",
    },
];
function resolveWorkflowTemplateLabelValue(labelsBySurface, surface, locale) {
    return (labelsBySurface[surface] ?? (0, catalog_1.translate)(locale, "workflow.runContext.none"));
}
