"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createFileNode = void 0;
const createFileNode = (fileType) => ({ result, file }) => fileType.create({
    href: result.url,
    download: result.name ?? file.name,
    type: result.type ?? file.type,
});
exports.createFileNode = createFileNode;
//# sourceMappingURL=utils.js.map
