feature/IO-2924-Refactor-Production-Board-For-Sockets - Checkpoint - Hasura Trigger recreated / boilerplate
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -51,6 +51,9 @@ async function registerSocketEvents(socket) {
|
||||
// Register event to clear DMS session
|
||||
registerDmsClearSessionEvent(socket);
|
||||
|
||||
// Register Production Board events
|
||||
registerProductionBoardEvents(socket);
|
||||
|
||||
// Handle socket disconnection
|
||||
socket.on("disconnect", async () => {
|
||||
await createLogEvent(socket, "DEBUG", `User disconnected.`);
|
||||
@@ -106,6 +109,8 @@ function registerPbsArEvents(socket) {
|
||||
});
|
||||
}
|
||||
|
||||
function registerProductionBoardEvents(socket) {}
|
||||
|
||||
// PBS AP-specific socket events
|
||||
function registerPbsApEvents(socket) {
|
||||
socket.on("pbs-calculate-allocations-ap", async (billids, callback) => {
|
||||
|
||||
Reference in New Issue
Block a user