(postId: string)
| 33 | } |
| 34 | |
| 35 | export const postQueryOptions = (postId: string) => |
| 36 | queryOptions({ |
| 37 | queryKey: ['posts', { postId }], |
| 38 | queryFn: () => fetchPost(postId), |
| 39 | }) |
| 40 | |
| 41 | export const postsQueryOptions = queryOptions({ |
| 42 | queryKey: ['posts'], |
no test coverage detected