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