import { listenChangeSSE } from "../controllers/eventListener.controller.mjs";
import { Router } from "express";

//#region src/routes/eventListener.routes.ts
const eventListenerRouter = Router();
const eventListenerRoute = "/api/event-listener";
const baseURL = () => `${process.env.BACKEND_URL}${eventListenerRoute}`;
const eventListenerRoutes = () => ({ checkDictionaryChangeSSE: {
	urlModel: "/",
	url: baseURL(),
	method: "GET"
} });
eventListenerRouter.get(eventListenerRoutes().checkDictionaryChangeSSE.urlModel, listenChangeSSE);

//#endregion
export { eventListenerRoute, eventListenerRouter, eventListenerRoutes };
//# sourceMappingURL=eventListener.routes.mjs.map