()
| 21 | ) |
| 22 | |
| 23 | export const postsQueryOptions = () => |
| 24 | queryOptions({ |
| 25 | queryKey: ['posts'], |
| 26 | queryFn: () => fetchPosts(), |
| 27 | }) |
| 28 | |
| 29 | export const fetchPost = createServerFn({ method: 'GET' }) |
| 30 | .validator((postId: string) => postId) |
no test coverage detected