import { Router } from 'express';
import { routes } from './selected/routes.js';

/* eslint-disable no-param-reassign */
function Routes({ layoutPath, services }) {
    const router = Router({ mergeParams: true });
    router.use(`/selected`, routes({ layoutPath, services }));
    return router;
}
const ProductCollectionRoutes = ({ services, path, layoutPath, }) => {
    const router = Router({ mergeParams: true });
    router.use(path, Routes({ services, layoutPath }));
    return router;
};

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