UNPKG

@fdm-monster/server

Version:

FDM Monster is a bulk OctoPrint manager to set up, configure and monitor 3D printers. Our aim is to provide extremely optimized websocket performance and reliability.

40 lines (39 loc) 884 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "PrintCompletion", { enumerable: true, get: function() { return PrintCompletion; } }); const _mongoose = require("mongoose"); const PrintCompletionSchema = new _mongoose.Schema({ fileName: { type: String, required: true }, createdAt: { type: Number, required: true }, status: { type: String, required: true }, printerId: { type: _mongoose.Schema.Types.ObjectId, required: true }, completionLog: { type: String, required: false }, context: { type: Object, required: true } }); const PrintCompletion = (0, _mongoose.model)("PrintCompletion", PrintCompletionSchema); //# sourceMappingURL=PrintCompletion.js.map