feat(ocp): add lots with scroll view was added

This commit is contained in:
2025-03-25 13:39:18 -05:00
parent b01980e1c5
commit 9e9a56cbb1
9 changed files with 368 additions and 128 deletions

View File

@@ -6,7 +6,8 @@ import getPrinters from "./routes/printers/getPritners.js";
import { db } from "../../../database/dbclient.js";
import { settings } from "../../../database/schema/settings.js";
import updateprinters from "./routes/printers/updatePrinters.js";
import { updatePrinters } from "./controller/updatePrinters.js";
import { updatePrinters } from "./controller/printers/updatePrinters.js";
import getLots from "./routes/lots/getLots.js";
const app = new OpenAPIHono();
@@ -15,6 +16,8 @@ const routes = [
//printer
getPrinters,
updateprinters,
// lots
getLots,
] as const;
const setting = await db.select().from(settings);