"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: all[name]
    });
}
_export(exports, {
    Printer: function() {
        return Printer;
    },
    PrinterSchema: function() {
        return PrinterSchema;
    }
});
const _mongoose = require("mongoose");
const _printerapiinterface = require("../services/printer-api.interface");
const PrinterSchema = new _mongoose.Schema({
    apiKey: {
        type: String,
        default: ""
    },
    printerURL: {
        type: String,
        required: true
    },
    printerType: {
        type: Number,
        required: true,
        default: _printerapiinterface.OctoprintType
    },
    enabled: {
        type: Boolean,
        required: true,
        default: true
    },
    disabledReason: {
        type: String,
        required: false
    },
    assignee: {
        type: String,
        required: false
    },
    name: {
        type: String,
        required: true
    },
    currentUser: {
        type: String,
        required: false
    },
    dateAdded: {
        type: Number,
        required: false
    },
    feedRate: {
        type: Number,
        required: false
    },
    flowRate: {
        type: Number,
        required: false
    }
});
const Printer = (0, _mongoose.model)("Printer", PrinterSchema);

//# sourceMappingURL=Printer.js.map