This commit is contained in:
2024-05-27 17:22:09 +05:00
parent 5546ec6137
commit 3728d49ad9
14 changed files with 654 additions and 19 deletions
+23
View File
@@ -0,0 +1,23 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const mongoose_1 = require("mongoose");
const buildSchema = new mongoose_1.Schema({
name: {
type: String,
},
demoLaunchLimit: {
type: Number,
},
prodLaunchLimit: {
type: Number,
},
gpuMemoryUsed: {
type: Number,
},
}, {
timestamps: true,
toJSON: { virtuals: true },
toObject: { virtuals: true },
});
const Build = (0, mongoose_1.model)("Build", buildSchema);
exports.default = Build;