import type { Express, Request, Response } from "express";
import dm from "./routes/demandMgt/dmRoutes.js";
import labeling from "./routes/labeling/labelingRoutes.js";
import schedule from "./routes/scheduler/scheduleRoutes.js";

export const setupLogisticsRoutes = (app: Express, basePath: string) => {
	app.use(basePath + "/api/logistics/schedule", schedule);
	app.use(basePath + "/api/logistics/labeling", labeling);
	app.use(basePath + "/api/logistics/dm", dm);

	// app.use(
	// 	basePath + "/api/admin/users",
	// 	requireAuth("user", ["systemAdmin"]), // will pass bc system admin but this is just telling us we need this
	// );
	// app.use(
	// 	basePath + "/api/admin",
	// 	requireAuth("user", ["systemAdmin", "admin"]), // will pass bc system admin but this is just telling us we need this
	// );
};
