"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const express_1 = require("express");
const catalog_controller_1 = require("../controllers/catalog.controller");
const cache_middleware_1 = require("../middleware/cache.middleware");
const router = (0, express_1.Router)();
router.get('/summary', (0, cache_middleware_1.cacheMiddleware)(60), catalog_controller_1.getCatalogSummary);
router.get('/categories', (0, cache_middleware_1.cacheMiddleware)(300), catalog_controller_1.getCategories);
router.get('/authors', (0, cache_middleware_1.cacheMiddleware)(300), catalog_controller_1.getAuthors);
router.get('/publishers', (0, cache_middleware_1.cacheMiddleware)(300), catalog_controller_1.getPublishers);
router.get('/catalogues', (0, cache_middleware_1.cacheMiddleware)(300), catalog_controller_1.getCatalogues);
exports.default = router;
//# sourceMappingURL=catalog.routes.js.map