"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const typeorm_1 = require("typeorm");
const entities_1 = require("../../../entities");
exports.fontResolver = {
    async font(_, { name }, context, info) {
        const repository = typeorm_1.getRepository(entities_1.Font);
        return await repository.findOne({ name });
    }
};
//# sourceMappingURL=font.js.map