import { useQuery } from '@tanstack/vue-query'
import { apiGetMissionaryDashboard } from '@/services/api/missionary-dashboard'

export const missionaryDashboardKeys = {
  all: ['missionary', 'dashboard'],
}

export const useMissionaryDashboardQuery = (options = {}) =>
  useQuery({
    queryKey: missionaryDashboardKeys.all,
    queryFn: apiGetMissionaryDashboard,
    ...options,
  })
