upd
This commit is contained in:
Vendored
+23
@@ -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;
|
||||
Reference in New Issue
Block a user