// Dashboard overview endpoint (Backend/ERPCore/Controllers/DashboardController.cs).
import { apiRequest } from "@/lib/api-client"
import { DashboardStats } from "@/types/dashboard"

export const dashboardApi = {
  stats(): Promise<DashboardStats> {
    return apiRequest<DashboardStats>("/dashboard/stats")
  },
}
