"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const sdk_1 = require("@prisma/sdk");
const externalToInternalDmmf_1 = require("./externalToInternalDmmf");
const transformDmmf_1 = require("./transformDmmf");
function getPhotonDMMF(dmmf) {
    return transformDmmf_1.transformDmmf(externalToInternalDmmf_1.externalToInternalDmmf(dmmf));
}
exports.getPhotonDMMF = getPhotonDMMF;
// Mostly used for tests
async function getDMMF(options) {
    const dmmf = await sdk_1.getDMMF(options);
    return getPhotonDMMF(dmmf);
}
exports.getDMMF = getDMMF;
//# sourceMappingURL=getDMMF.js.map