test(rfid): intial trials built
This commit is contained in:
18
server/services/rfid/rfidService.ts
Normal file
18
server/services/rfid/rfidService.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import {OpenAPIHono} from "@hono/zod-openapi";
|
||||
|
||||
import mgtEvents from "./route/mgtEvents.js";
|
||||
import tagInfo from "./route/tagInfo.js";
|
||||
const app = new OpenAPIHono();
|
||||
|
||||
const routes = [
|
||||
mgtEvents,
|
||||
tagInfo,
|
||||
// settings
|
||||
] as const;
|
||||
|
||||
// app.route("/server", modules);
|
||||
const appRoutes = routes.forEach((route) => {
|
||||
app.route("/rfid", route);
|
||||
});
|
||||
|
||||
export default app;
|
||||
Reference in New Issue
Block a user