import { searchDocUtil } from "../controllers/search.controller.mjs";
import { Router } from "express";

//#region src/routes/search.routes.ts
const searchRouter = Router();
const searchRoute = "/api/search";
const baseURL = () => `${process.env.BACKEND_URL}${searchRoute}`;
const getSearchRoutes = () => ({ doc: {
	urlModel: "/doc",
	url: `${baseURL()}/doc`,
	method: "GET"
} });
searchRouter.get(getSearchRoutes().doc.urlModel, searchDocUtil);

//#endregion
export { getSearchRoutes, searchRoute, searchRouter };
//# sourceMappingURL=search.routes.mjs.map