@trpc/tanstack-react-query
Version:
TanStack React Query Integration for tRPC
38 lines (37 loc) • 1.38 kB
text/typescript
export { createTRPCContext } from './internals/Context';
export type {
TRPCOptionsProxy,
inferInput,
inferOutput,
DecorateMutationProcedure,
DecorateProcedure,
DecorateRouterKeyable,
DecorateQueryProcedure,
DecorateSubscriptionProcedure,
} from './internals/createOptionsProxy';
export type { TRPCQueryOptions } from './internals/queryOptions';
export type { TRPCInfiniteQueryOptions } from './internals/infiniteQueryOptions';
export type { TRPCMutationOptions } from './internals/mutationOptions';
export type {
TRPCSubscriptionOptions,
TRPCSubscriptionStatus,
TRPCSubscriptionConnectingResult,
TRPCSubscriptionErrorResult,
TRPCSubscriptionIdleResult,
TRPCSubscriptionPendingResult,
TRPCSubscriptionResult,
} from './internals/subscriptionOptions';
export { createTRPCOptionsProxy } from './internals/createOptionsProxy';
export { useSubscription } from './internals/subscriptionOptions';
export type * from './internals/types';
export type {
unstable_TRPCQueryHandle,
unstable_TRPCInfiniteQueryHandle,
unstable_AnyTRPCHandle,
unstable_TRPCPrefetchOptions,
unstable_TRPCPrefetchInfiniteOptions,
unstable_inferQueryHandle,
unstable_inferInfiniteQueryHandle,
} from './internals/handles';
export { unstable_createHydrateClient } from './internals/HydrateClient';
export type { unstable_HydrateClientProps } from './internals/HydrateClient';