UNPKG

@fdm-monster/server

Version:

FDM Monster is a bulk OctoPrint, Klipper, PrusaLink and BambuLab manager to set up, configure and monitor 3D printers. Our aim is to provide neat overview over your farm.

17 lines (16 loc) 791 B
//#region src/constants/event.constants.ts const socketIoConnectedEvent = "socketio.connected"; const uploadProgressEvent = (token) => `upload.progress.${token}`; const uploadDoneEvent = (token) => `upload.done.${token}`; const uploadFailedEvent = (token) => `upload.failed.${token}`; const prefix = "fdm-monster"; const fdmMonsterPrinterStoppedEvent = (printerId) => `${prefix}.${printerId}.printer-stopped`; const printerEvents = { printersDeleted: "printersDeleted", printerUpdated: "printerUpdated", printerCreated: "printerCreated", batchPrinterCreated: "batchPrinterCreated" }; //#endregion export { fdmMonsterPrinterStoppedEvent, prefix, printerEvents, socketIoConnectedEvent, uploadDoneEvent, uploadFailedEvent, uploadProgressEvent }; //# sourceMappingURL=event.constants.js.map