@trpc/server 11.0.0-rc.340 → 11.0.0-rc.342
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@ export { TRPCError,
|
|
|
2
2
|
/**
|
|
3
3
|
* @deprecated use `experimental_trpcMiddleware` instead
|
|
4
4
|
*/
|
|
5
|
-
experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware, initTRPC, callProcedure as callTRPCProcedure, getTRPCErrorFromUnknown, transformTRPCResponse, createFlatProxy as createTRPCFlatProxy, type inferProcedureInput, type inferProcedureOutput, type inferProcedureBuilderResolverOptions, type inferRouterError, type inferRouterInputs, type inferRouterOutputs, type inferRouterContext, type inferClientTypes as inferTRPCClientTypes, type AnyClientTypes as AnyTRPCClientTypes, type inferTransformedProcedureOutput, type inferTransformedSubscriptionOutput, type AnyProcedure as AnyTRPCProcedure, type AnyRouter as AnyTRPCRouter, type AnyMiddlewareFunction as AnyTRPCMiddlewareFunction, type CombinedDataTransformer as TRPCCombinedDataTransformer, type ProcedureType as TRPCProcedureType, type AnyMutationProcedure as AnyTRPCMutationProcedure, type AnyQueryProcedure as AnyTRPCQueryProcedure, type RouterRecord as TRPCRouterRecord, type AnySubscriptionProcedure as AnyTRPCSubscriptionProcedure, type ProcedureOptions as TRPCProcedureOptions, } from '../../unstable-core-do-not-import';
|
|
5
|
+
experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware, initTRPC, callProcedure as callTRPCProcedure, getTRPCErrorFromUnknown, transformTRPCResponse, createFlatProxy as createTRPCFlatProxy, type inferProcedureInput, type inferProcedureOutput, type inferProcedureBuilderResolverOptions, type inferRouterError, type inferRouterInputs, type inferRouterOutputs, type inferRouterContext, type inferClientTypes as inferTRPCClientTypes, type AnyClientTypes as AnyTRPCClientTypes, type inferTransformedProcedureOutput, type inferTransformedSubscriptionOutput, type AnyProcedure as AnyTRPCProcedure, type AnyRouter as AnyTRPCRouter, type AnyMiddlewareFunction as AnyTRPCMiddlewareFunction, type CombinedDataTransformer as TRPCCombinedDataTransformer, type ProcedureType as TRPCProcedureType, type AnyMutationProcedure as AnyTRPCMutationProcedure, type AnyQueryProcedure as AnyTRPCQueryProcedure, type RouterRecord as TRPCRouterRecord, type AnySubscriptionProcedure as AnyTRPCSubscriptionProcedure, type ProcedureOptions as TRPCProcedureOptions, type MutationProcedure as TRPCMutationProcedure, type QueryProcedure as TRPCQueryProcedure, type SubscriptionProcedure as TRPCSubscriptionProcedure, } from '../../unstable-core-do-not-import';
|
|
6
6
|
export type {
|
|
7
7
|
/**
|
|
8
8
|
* @deprecated use `AnyTRPCProcedure` instead
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/@trpc/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS;AACT;;GAEG;AACH,iCAAiC,EACjC,iCAAiC,IAAI,2BAA2B,EAChE,QAAQ,EAER,aAAa,IAAI,iBAAiB,EAClC,uBAAuB,EACvB,qBAAqB,EACrB,eAAe,IAAI,mBAAmB,EACtC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,EACzC,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,IAAI,oBAAoB,EAC7C,KAAK,cAAc,IAAI,kBAAkB,EACzC,KAAK,+BAA+B,EACpC,KAAK,kCAAkC,EACvC,KAAK,YAAY,IAAI,gBAAgB,EACrC,KAAK,SAAS,IAAI,aAAa,EAC/B,KAAK,qBAAqB,IAAI,yBAAyB,EACvD,KAAK,uBAAuB,IAAI,2BAA2B,EAC3D,KAAK,aAAa,IAAI,iBAAiB,EACvC,KAAK,oBAAoB,IAAI,wBAAwB,EACrD,KAAK,iBAAiB,IAAI,qBAAqB,EAC/C,KAAK,YAAY,IAAI,gBAAgB,EAC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a;AACb;;GAEG;AACH,oBAAoB;AAEpB;;GAEG;AACH,iBAAiB;AACjB;;GAEG;AACH,wBAAwB,GACzB,MAAM,mCAAmC,CAAC;AAE3C,OAAO;AACL;;GAEG;AACH,aAAa;AAEb;;GAEG;AACH,aAAa,GACd,MAAM,mCAAmC,CAAC;AAE3C;;;GAGG;AACH,MAAM,MAAM,oBAAoB,CAAC,SAAS,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,IACxE,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC"}
|
|
@@ -461,11 +461,11 @@
|
|
|
461
461
|
"removedExports": [],
|
|
462
462
|
"dependents": [
|
|
463
463
|
"/src/unstable-core-do-not-import.ts",
|
|
464
|
-
"/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts",
|
|
465
464
|
"/src/unstable-core-do-not-import/error/TRPCError.ts",
|
|
466
465
|
"/src/unstable-core-do-not-import/router.ts",
|
|
467
466
|
"/src/unstable-core-do-not-import/transformer.ts",
|
|
468
467
|
"/src/unstable-core-do-not-import/middleware.ts",
|
|
468
|
+
"/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts",
|
|
469
469
|
"/src/unstable-core-do-not-import/procedureBuilder.ts"
|
|
470
470
|
],
|
|
471
471
|
"percent": 0.89,
|
|
@@ -711,9 +711,9 @@
|
|
|
711
711
|
"reduction": 100
|
|
712
712
|
},
|
|
713
713
|
{
|
|
714
|
-
"id": "/src/
|
|
714
|
+
"id": "/src/index.ts",
|
|
715
715
|
"size": 0,
|
|
716
|
-
"origSize":
|
|
716
|
+
"origSize": 32,
|
|
717
717
|
"renderedExports": [],
|
|
718
718
|
"removedExports": [],
|
|
719
719
|
"dependents": [],
|
|
@@ -721,9 +721,9 @@
|
|
|
721
721
|
"reduction": 100
|
|
722
722
|
},
|
|
723
723
|
{
|
|
724
|
-
"id": "/src/
|
|
724
|
+
"id": "/src/rpc.ts",
|
|
725
725
|
"size": 0,
|
|
726
|
-
"origSize":
|
|
726
|
+
"origSize": 36,
|
|
727
727
|
"renderedExports": [],
|
|
728
728
|
"removedExports": [],
|
|
729
729
|
"dependents": [],
|
|
@@ -731,9 +731,9 @@
|
|
|
731
731
|
"reduction": 100
|
|
732
732
|
},
|
|
733
733
|
{
|
|
734
|
-
"id": "/src/
|
|
734
|
+
"id": "/src/shared.ts",
|
|
735
735
|
"size": 0,
|
|
736
|
-
"origSize":
|
|
736
|
+
"origSize": 653,
|
|
737
737
|
"renderedExports": [],
|
|
738
738
|
"removedExports": [],
|
|
739
739
|
"dependents": [],
|
|
@@ -741,9 +741,9 @@
|
|
|
741
741
|
"reduction": 100
|
|
742
742
|
},
|
|
743
743
|
{
|
|
744
|
-
"id": "/src/
|
|
744
|
+
"id": "/src/unstable-core-do-not-import.ts",
|
|
745
745
|
"size": 0,
|
|
746
|
-
"origSize":
|
|
746
|
+
"origSize": 1498,
|
|
747
747
|
"renderedExports": [],
|
|
748
748
|
"removedExports": [],
|
|
749
749
|
"dependents": [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trpc/server",
|
|
3
|
-
"version": "11.0.0-rc.
|
|
3
|
+
"version": "11.0.0-rc.342+96bcf23a7",
|
|
4
4
|
"description": "The tRPC server library",
|
|
5
5
|
"author": "KATT",
|
|
6
6
|
"license": "MIT",
|
|
@@ -160,5 +160,5 @@
|
|
|
160
160
|
"funding": [
|
|
161
161
|
"https://trpc.io/sponsor"
|
|
162
162
|
],
|
|
163
|
-
"gitHead": "
|
|
163
|
+
"gitHead": "96bcf23a722cb7bc392ab801caa93691cfaa5cc0"
|
|
164
164
|
}
|
|
@@ -32,6 +32,9 @@ export {
|
|
|
32
32
|
type RouterRecord as TRPCRouterRecord,
|
|
33
33
|
type AnySubscriptionProcedure as AnyTRPCSubscriptionProcedure,
|
|
34
34
|
type ProcedureOptions as TRPCProcedureOptions,
|
|
35
|
+
type MutationProcedure as TRPCMutationProcedure,
|
|
36
|
+
type QueryProcedure as TRPCQueryProcedure,
|
|
37
|
+
type SubscriptionProcedure as TRPCSubscriptionProcedure,
|
|
35
38
|
} from '../../unstable-core-do-not-import';
|
|
36
39
|
|
|
37
40
|
export type {
|