ngx-octoprint-api-types
Version:
Octoprint API wrapper for angular
54 lines (47 loc) • 1.93 kB
JavaScript
/**
* Connection Commands.
* http://docs.octoprint.org/en/master/api/connection.html#get-connection-settings
*/
var ConnectionCommand;
(function (ConnectionCommand) {
ConnectionCommand["connect"] = "connnect";
ConnectionCommand["disconnect"] = "disconnect";
ConnectionCommand["fake_ack"] = "fake_ack";
})(ConnectionCommand || (ConnectionCommand = {}));
/**
* A textual representation of the current state of the printer, e.g. Operational" or Printing"
*/
var PrinterState;
(function (PrinterState) {
PrinterState["Operational"] = "Operational";
PrinterState["Printing"] = "Printing";
})(PrinterState || (PrinterState = {}));
/**
* Origin of the current time left estimate.
* http://docs.octoprint.org/en/master/api/datamodel.html#progress-information
* linear: based on an linear approximation of the progress in file in bytes vs time
* analysis: based on an analysis of the file
* estimate: calculated estimate after stabilization of linear estimation
* average: based on the average total from past prints of the same model against the same printer profile
* mixed-analysis: mixture of estimate and analysis
* mixed-average: mixture of estimate and average
*/
var PrintTimeLeftOrigin;
(function (PrintTimeLeftOrigin) {
PrintTimeLeftOrigin["linear"] = "linear";
PrintTimeLeftOrigin["analysis"] = "analysis";
PrintTimeLeftOrigin["estimate"] = "estimate";
PrintTimeLeftOrigin["average"] = "average";
PrintTimeLeftOrigin["mixedAnalysis"] = "mixed-analysis";
PrintTimeLeftOrigin["mixedAverage"] = "mixed-average";
})(PrintTimeLeftOrigin || (PrintTimeLeftOrigin = {}));
// start:ng42.barrel
// end:ng42.barrel
/*
* Public API Surface of ngx-octoprint-api-types
*/
/**
* Generated bundle index. Do not edit.
*/
export { ConnectionCommand, PrintTimeLeftOrigin, PrinterState };
//# sourceMappingURL=ngx-octoprint-api-types.js.map