"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createWorkflowSurfaceRecord = createWorkflowSurfaceRecord;
exports.createWorkflowTemplateTargetRecord = createWorkflowTemplateTargetRecord;
const types_1 = require("./types");
function createWorkflowSurfaceRecord(resolveValue) {
    const record = {};
    for (const surface of types_1.WORKFLOW_SURFACES) {
        record[surface] = resolveValue(surface);
    }
    return record;
}
function createWorkflowTemplateTargetRecord(resolveValue) {
    const record = {};
    for (const target of types_1.WORKFLOW_TEMPLATE_TARGETS) {
        record[target] = resolveValue(target);
    }
    return record;
}
