import { Router } from 'express';
import { daily, weekly, monthly, bestSelling, lowStock } from '../controllers/reportController.js';
import { protect } from '../middlewares/auth.js';

const router = Router();

router.get('/daily', protect, daily);
router.get('/weekly', protect, weekly);
router.get('/monthly', protect, monthly);
router.get('/best-selling', protect, bestSelling);
router.get('/low-stock', protect, lowStock);

export default router;
