import type { DashboardResponse, EnvironmentHealth } from './dto/dashboard' export function getDashboard(): Promise { return useApi().get('/dashboard', undefined, { toast: false, }) } export function getEnvironmentHealth(envId: number): Promise { return useApi().get(`/environments/${envId}/health`, undefined, { toast: false, }) }