import { Router } from 'express';
import ReportCatalogueController from './controller.js';

/* eslint-disable no-param-reassign */
function Routes({ layoutPath, services }) {
    const router = Router({ mergeParams: true });
    const reportCatalogueController = new ReportCatalogueController(layoutPath, services);
    router.get('/', reportCatalogueController.GET);
    return router;
}
const ReportCatalogueRoutes = ({ services, path, layoutPath, }) => {
    const router = Router({ mergeParams: true });
    router.use(path, Routes({ services, layoutPath }));
    return router;
};

export { ReportCatalogueRoutes, Routes };
//# sourceMappingURL=routes.js.map
