@trpc/server
Version:
10 lines • 4.74 kB
text/typescript
import { B as inferRouterOutputs, Bn as inferSubscriptionOutput, Bt as DefaultErrorData, Dn as AnyQueryProcedure, En as AnyProcedure, F as getErrorShape, Fn as SubscriptionProcedure, G as AnyClientTypes, Gr as TRPC_ERROR_CODE_NUMBER, Gt as CombinedDataTransformer, H as inferTransformedSubscriptionOutput, Ht as ErrorFormatter, I as createFlatProxy, In as inferProcedureInput, J as AnyRouter, Jn as inferProcedureBuilderResolverOptions, Jr as Dict, L as createRecursiveProxy, Ln as inferProcedureOutput, Nn as ProcedureType, On as AnySubscriptionProcedure, Pn as QueryProcedure, Qt as transformTRPCResponse, Tn as AnyMutationProcedure, V as inferTransformedProcedureOutput, Vr as getTRPCErrorFromUnknown, Vt as DefaultErrorShape, Wn as ProcedureBuilder, Wr as TRPC_ERROR_CODE_KEY, X as CreateRouterOptions, Y as BuiltRouter, Yn as UnsetMarker, Z as DecorateCreateRouterOptions, at as RouterCallerFactory, cr as TrackedEnvelope, ct as callProcedure, di as Unwrap, dr as sse, et as MergeRouters, fr as tracked, ft as inferRouterContext, g as initTRPC, gr as MiddlewareFunction, gt as lazy, h as TRPCRootObject, hr as MiddlewareBuilder, jn as MutationProcedure, m as TRPCBuilder, mr as AnyMiddlewareFunction, nt as RouterBuilder, o as StandardSchemaV1Error, on as TRPCErrorShape, ot as RouterDef, p as RuntimeConfigOptions, pt as inferRouterError, q as inferClientTypes, qr as DeepPartial, qt as DataTransformer, rt as RouterCaller, st as RouterRecord, ur as isTrackedEnvelope, vt as AnyRootTypes, xr as experimental_standaloneMiddleware, xt as RootConfig, yt as CreateContextCallback, z as inferRouterInputs, zn as inferSubscriptionInput, zr as TRPCError } from "./unstable-core-do-not-import-BK_OKrtM.mjs";
//#region src/@trpc/server/index.d.ts
/**
* @deprecated
* Use `Awaited<ReturnType<typeof myFunction>>` instead
*/
export type inferAsyncReturnType<TFunction extends (...args: any[]) => any> = Awaited<ReturnType<TFunction>>;
//#endregion
export { type AnyMiddlewareFunction, type AnyMiddlewareFunction as AnyTRPCMiddlewareFunction, type AnyMutationProcedure, type AnyMutationProcedure as AnyTRPCMutationProcedure, type AnyProcedure, type AnyProcedure as AnyTRPCProcedure, type AnyQueryProcedure, type AnyQueryProcedure as AnyTRPCQueryProcedure, type AnyRouter, type AnyRouter as AnyTRPCRouter, type AnySubscriptionProcedure, type AnySubscriptionProcedure as AnyTRPCSubscriptionProcedure, type AnyClientTypes as AnyTRPCClientTypes, type AnyRootTypes as AnyTRPCRootTypes, type CombinedDataTransformer, type CombinedDataTransformer as TRPCCombinedDataTransformer, type CreateContextCallback, type DataTransformer, type DataTransformer as TRPCDataTransformer, type DeepPartial, type Dict, type ProcedureType, type ProcedureType as TRPCProcedureType, StandardSchemaV1Error, type TRPCBuilder, type BuiltRouter as TRPCBuiltRouter, type CreateRouterOptions as TRPCCreateRouterOptions, type DecorateCreateRouterOptions as TRPCDecorateCreateRouterOptions, type DefaultErrorData as TRPCDefaultErrorData, type DefaultErrorShape as TRPCDefaultErrorShape, TRPCError, type ErrorFormatter as TRPCErrorFormatter, type TRPCErrorShape, type MergeRouters as TRPCMergeRouters, type MiddlewareBuilder as TRPCMiddlewareBuilder, type MiddlewareFunction as TRPCMiddlewareFunction, type MutationProcedure as TRPCMutationProcedure, type ProcedureBuilder as TRPCProcedureBuilder, type QueryProcedure as TRPCQueryProcedure, type RootConfig as TRPCRootConfig, type TRPCRootObject, type RouterBuilder as TRPCRouterBuilder, type RouterCaller as TRPCRouterCaller, type RouterCallerFactory as TRPCRouterCallerFactory, type RouterDef as TRPCRouterDef, type RouterRecord as TRPCRouterRecord, type RuntimeConfigOptions as TRPCRuntimeConfigOptions, type SubscriptionProcedure as TRPCSubscriptionProcedure, type UnsetMarker as TRPCUnsetMarker, type Unwrap as TRPCUnwrap, type TRPC_ERROR_CODE_KEY, type TRPC_ERROR_CODE_NUMBER, type TrackedEnvelope, callProcedure as callTRPCProcedure, createFlatProxy as createTRPCFlatProxy, createRecursiveProxy as createTRPCRecursiveProxy, lazy as experimental_lazy, lazy, experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware, getErrorShape, getErrorShape as getTRPCErrorShape, getTRPCErrorFromUnknown, type inferProcedureBuilderResolverOptions, type inferProcedureInput, type inferProcedureOutput, type inferRouterContext, type inferRouterError, type inferRouterInputs, type inferRouterOutputs, type inferSubscriptionInput, type inferSubscriptionOutput, type inferClientTypes as inferTRPCClientTypes, type inferTransformedProcedureOutput, type inferTransformedSubscriptionOutput, initTRPC, isTrackedEnvelope, sse, tracked, transformTRPCResponse };
//# sourceMappingURL=index.d.mts.map