const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
const require_controllers_search_controller = require('../controllers/search.controller.cjs');
let express = require("express");

//#region src/routes/search.routes.ts
const searchRouter = (0, express.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, require_controllers_search_controller.searchDocUtil);

//#endregion
exports.getSearchRoutes = getSearchRoutes;
exports.searchRoute = searchRoute;
exports.searchRouter = searchRouter;
//# sourceMappingURL=search.routes.cjs.map