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.

38 lines (37 loc) 816 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "PrinterInFloorSchema", { enumerable: true, get: function() { return PrinterInFloorSchema; } }); const _mongoose = require("mongoose"); const PrinterInFloorSchema = new _mongoose.Schema({ printerId: { type: _mongoose.Schema.Types.ObjectId, ref: "Printer", required: true }, floorId: { type: _mongoose.Schema.Types.ObjectId, ref: "Floor", required: true, default: function() { return this.parent().id; } }, x: { type: Number, required: true }, y: { type: Number, required: true } }, { _id: false }); //# sourceMappingURL=FloorPrinter.js.map