"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "generateReportFromQueryData", {
    enumerable: true,
    get: function() {
        return generateReportFromQueryData;
    }
});
const generateReportFromQueryData = (queryData, columnTemplate)=>[
        columnTemplate.map((c)=>c.title),
        ...queryData.map((r)=>columnTemplate.map((c)=>{
                try {
                    return c.accessor(r);
                } catch (e) {
                    return undefined;
                }
            }))
    ];

//# sourceMappingURL=generateReportFromQueryData.js.map