import { useQuery } from '@tanstack/vue-query'
import { apiGetStudentDashboard } from '@/services/api/student-dashboard'

export const studentDashboardKeys = {
  all: ['student', 'dashboard'],
}

export const useStudentDashboardQuery = (options = {}) =>
  useQuery({
    queryKey: studentDashboardKeys.all,
    queryFn: apiGetStudentDashboard,
    ...options,
  })
