({ id }: { id: string })
| 413 | }; |
| 414 | |
| 415 | export const userProfileQueryOptions = ({ id }: { id: string }) => { |
| 416 | return { |
| 417 | queryKey: generateQueryKey( |
| 418 | RequestKey.Profile, |
| 419 | { id }, |
| 420 | { |
| 421 | id, |
| 422 | }, |
| 423 | ), |
| 424 | queryFn: () => getProfile(id), |
| 425 | staleTime: StaleTime.OneHour, |
| 426 | enabled: !!id, |
| 427 | }; |
| 428 | }; |
no test coverage detected