'use strict';

var express = require('express');
var routes = require('./selected/routes.js');

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

exports.ProductCollectionRoutes = ProductCollectionRoutes;
exports.Routes = Routes;
//# sourceMappingURL=routes.js.map
