import { useQuery } from '@tanstack/vue-query'
import { apiGetAdminDashboard } from '@/services/api/admin-dashboard'

export const adminDashboardKeys = {
  all: ['admin', 'dashboard'],
}

export const useAdminDashboardQuery = (options = {}) =>
  useQuery({
    queryKey: adminDashboardKeys.all,
    queryFn: apiGetAdminDashboard,
    ...options,
  })
