import { FastifyInstance } from 'fastify';
import { getOverview, getYieldAnalytics, getTaskAnalytics } from '../controllers/analytics.controller';

export async function analyticsRoutes(fastify: FastifyInstance) {
    fastify.get('/overview', getOverview);
    fastify.get('/yield', getYieldAnalytics);
    fastify.get('/tasks', getTaskAnalytics);
}
