import { queryOptions } from '@tanstack/react-query'; import type { BusterDashboardListItem, BusterDashboardResponse } from '@/api/asset_interfaces/dashboard'; import { DashboardsListRequest } from '../request_interfaces/dashboards/interfaces'; const dashboardGetList = (filters: Omit) => queryOptions({ queryKey: ['dashboard', 'list', filters] as const, staleTime: 10 * 1000 }); const dashboardGetDashboard = (dashboardId: string) => queryOptions({ queryKey: ['dashboard', 'get', dashboardId] as const, staleTime: 10 * 1000 }); export const dashboardQueryKeys = { dashboardGetDashboard, dashboardGetList };