"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, {
    fdmMonsterPrinterStoppedEvent: function() {
        return fdmMonsterPrinterStoppedEvent;
    },
    fdmPrinterEventToPrinterId: function() {
        return fdmPrinterEventToPrinterId;
    },
    firmwareFlashUploadEvent: function() {
        return firmwareFlashUploadEvent;
    },
    octoPrintWebsocketCurrentEvent: function() {
        return octoPrintWebsocketCurrentEvent;
    },
    octoPrintWebsocketEvent: function() {
        return octoPrintWebsocketEvent;
    },
    prefix: function() {
        return prefix;
    },
    printerEvents: function() {
        return printerEvents;
    },
    socketIoConnectedEvent: function() {
        return socketIoConnectedEvent;
    },
    uploadProgressEvent: function() {
        return uploadProgressEvent;
    }
});
const socketIoConnectedEvent = "socketio.connected";
const printerEvents = {
    printersDeleted: "printersDeleted",
    printerUpdated: "printerUpdated",
    printerCreated: "printerCreated",
    batchPrinterCreated: "batchPrinterCreated"
};
const octoPrintWebsocketEvent = (printerId)=>`octoprint.${printerId}`;
const octoPrintWebsocketCurrentEvent = (printerId)=>`octoprint.${printerId}.current`;
const uploadProgressEvent = (token)=>`upload.progress.${token}`;
const firmwareFlashUploadEvent = (printerId)=>`firmware-upload.${printerId}`;
const prefix = "fdm-monster";
const fdmMonsterPrinterStoppedEvent = (printerId)=>`${prefix}.${printerId}.printer-stopped`;
const fdmPrinterEventToPrinterId = (event)=>event.split(".")[1];

//# sourceMappingURL=event.constants.js.map