"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.prisma = void 0;
const client_1 = require("@prisma/client");
exports.prisma = global.__prisma ??
    new client_1.PrismaClient({
        log: process.env.NODE_ENV !== 'production'
            ? [{ level: 'warn', emit: 'stdout' }, { level: 'error', emit: 'stdout' }]
            : [],
    });
if (process.env.NODE_ENV !== 'production') {
    global.__prisma = exports.prisma;
}
//# sourceMappingURL=prisma.js.map