import { apiClient } from './apiClient.js'

export const reportsApi = {
  daily: (date) => apiClient.get(`/api/reports/daily/${date}`).then((r) => r.data),
  weekly: (weekStart) => apiClient.get(`/api/reports/weekly/${weekStart}`).then((r) => r.data),
  monthly: (year, month) => apiClient.get(`/api/reports/monthly/${year}/${month}`).then((r) => r.data),
}

