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