fix(datamart): added some fixed some
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user