import client from './client'

export interface DashboardStats {
  appCount: number
  serviceCount: number
  subAccountCount: number
}

export const dashboardApi = {
  stats: () => client.get<{ data: DashboardStats }>('/dashboard/stats'),
}
