feat(rfid): add/update readers now possible

This commit is contained in:
2025-03-16 15:35:43 -05:00
parent 7bfb48b81f
commit 4aae659ee4
5 changed files with 141 additions and 8 deletions

View File

@@ -2,13 +2,12 @@ import {OpenAPIHono} from "@hono/zod-openapi";
import mgtEvents from "./route/mgtEvents.js";
import tagInfo from "./route/tagInfo.js";
import addReader from "./route/addReader.js";
import updateReader from "./route/updateReader.js";
import manualTrigger from "./route/manualTagRead.js";
const app = new OpenAPIHono();
const routes = [
mgtEvents,
tagInfo,
// settings
] as const;
const routes = [mgtEvents, tagInfo, addReader, updateReader, manualTrigger] as const;
// app.route("/server", modules);
const appRoutes = routes.forEach((route) => {