UNPKG

@trpc/server

Version:

The tRPC server library

14 lines (13 loc) 1.23 kB
export { createFlatProxy as createTRPCFlatProxy, createRecursiveProxy as createTRPCRecursiveProxy } from './unstable-core-do-not-import/createProxy.mjs'; export { getErrorShape, getErrorShape as getTRPCErrorShape } from './unstable-core-do-not-import/error/getErrorShape.mjs'; export { TRPCError, getTRPCErrorFromUnknown } from './unstable-core-do-not-import/error/TRPCError.mjs'; export { callProcedure as callTRPCProcedure, lazy as experimental_lazy, lazy } from './unstable-core-do-not-import/router.mjs'; import './unstable-core-do-not-import/rpc/codes.mjs'; import './vendor/unpromise/unpromise.mjs'; import './unstable-core-do-not-import/stream/utils/disposable.mjs'; export { isTrackedEnvelope, sse, tracked } from './unstable-core-do-not-import/stream/tracked.mjs'; export { transformTRPCResponse } from './unstable-core-do-not-import/transformer.mjs'; export { initTRPC } from './unstable-core-do-not-import/initTRPC.mjs'; export { experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware } from './unstable-core-do-not-import/middleware.mjs'; export { StandardSchemaV1Error } from './vendor/standard-schema-v1/error.mjs'; import './unstable-core-do-not-import/rootConfig.mjs';