test(added in commands): relocate and updated to remove

This commit is contained in:
2025-06-12 21:12:15 -05:00
parent 99ad79c662
commit e865c1dcaf
7 changed files with 149 additions and 5 deletions

View File

@@ -1,10 +1,11 @@
import { OpenAPIHono } from "@hono/zod-openapi";
import produser from "./routes/produser.js";
import createProdRole from "./routes/addProdRole.js";
import getRoles from "./routes/getProdRoles.js";
import { prodRoles } from "./utils/prodRoles.js";
const app = new OpenAPIHono();
const routes = [produser, createProdRole] as const;
const routes = [produser, createProdRole, getRoles] as const;
const appRoutes = routes.forEach((route) => {
app.route("/produser", route);