fix(datamart): added some fixed some

This commit is contained in:
2025-04-04 17:11:32 -05:00
parent 8b5698a839
commit 5eacbb5ecf
9 changed files with 331 additions and 39 deletions

View File

@@ -2,10 +2,20 @@ import { OpenAPIHono } from "@hono/zod-openapi";
import activequerys from "./route/getCurrentQuerys.js";
import getArticles from "./route/getActiveArticles.js";
import currentInv from "./route/getInventory.js";
import getCustomerInv from "./route/getCustomerInv.js";
import getOpenOrders from "./route/getOpenOrders.js";
import siloAdjustments from "./route/getSiloAdjustments.js";
const app = new OpenAPIHono();
const routes = [activequerys, getArticles, currentInv] as const;
const routes = [
activequerys,
getArticles,
currentInv,
getCustomerInv,
getOpenOrders,
siloAdjustments,
] as const;
const appRoutes = routes.forEach((route) => {
app.route("/datamart", route);