import { Router } from 'express';
import routes$1 from './form/routes.js';
import routes from './submitted/routes.js';

/* eslint-disable no-param-reassign */
function Routes({ layoutPath, services }) {
    const router = Router({ mergeParams: true });
    router.use(`/:reportId/:variantId/submitted`, routes({ layoutPath }));
    router.use(`/:reportId/:variantId/form`, routes$1({ layoutPath, services }));
    return router;
}
const RequestMissingReportRoutes = ({ services, path, layoutPath, }) => {
    const router = Router({ mergeParams: true });
    router.use(path, Routes({ services, layoutPath }));
    return router;
};

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