xtablo-source/apps/api/src/routers/adminTables.ts
2026-04-24 15:31:34 +02:00

19 lines
432 B
TypeScript

import { Hono } from "hono";
import type { BaseEnv } from "../types/app.types.js";
export const getAdminTablesRouter = () => {
const adminTablesRouter = new Hono<BaseEnv>();
adminTablesRouter.get("/:tableId", async (c) => {
const tableId = c.req.param("tableId");
return c.json(
{
error: `Admin table '${tableId}' is not implemented yet`,
},
501
);
});
return adminTablesRouter;
};