24 lines
537 B
JavaScript
24 lines
537 B
JavaScript
"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;
|