const eden = useEden()// Available methods on query routeseden.users.get.queryOptions(input?, opts?) // For useQueryeden.users.get.queryKey(input?) // For cache operationseden.users.get.queryFilter(input?, filters?) // For invalidation// For paginated data (when input has cursor)eden.posts.get.infiniteQueryOptions(input, opts) // For useInfiniteQueryeden.posts.get.infiniteQueryKey(input?) // For cache operationseden.posts.get.infiniteQueryFilter(input?, filters?)
All public APIs are exported from the main package entry point:
import { // Main factory createEdenTanStackQuery, // Low-level factories (for advanced use) edenQueryOptions, edenMutationOptions, edenInfiniteQueryOptions, // Query key utilities getQueryKey, getMutationKey, // Types type EdenQueryKey, type EdenMutationKey, type EdenFetchError, type RouteDefinition, type EdenOptionsProxy, // ... and more} from 'eden-tanstack-react-query'