@trpc/server 11.0.0-alpha-tmp-query-optoins-codemod.696 → 11.0.0-alpha-tmp-query-optoins-codemod.713

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, 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 CreateContextCallback, type MutationProcedure as TRPCMutationProcedure, type QueryProcedure as TRPCQueryProcedure, type SubscriptionProcedure as TRPCSubscriptionProcedure, type TRPCBuilder, StandardSchemaV1Error,
5
+ experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware, initTRPC, getTRPCErrorFromUnknown, transformTRPCResponse, createFlatProxy as createTRPCFlatProxy, createRecursiveProxy as createTRPCRecursiveProxy, 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 AnyRootTypes as AnyTRPCRootTypes, 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 CreateContextCallback, type MutationProcedure as TRPCMutationProcedure, type QueryProcedure as TRPCQueryProcedure, type SubscriptionProcedure as TRPCSubscriptionProcedure, type TRPCBuilder, StandardSchemaV1Error,
6
6
  /**
7
7
  * @deprecated use `tracked(id, data)` instead
8
8
  */
@@ -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,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,EACrC,KAAK,wBAAwB,IAAI,4BAA4B,EAC7D,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,IAAI,qBAAqB,EAC/C,KAAK,cAAc,IAAI,kBAAkB,EACzC,KAAK,qBAAqB,IAAI,yBAAyB,EACvD,KAAK,WAAW,EAChB,qBAAqB;AACrB;;GAEG;AACH,GAAG,EACH,OAAO,EACP,KAAK,eAAe,EACpB,iBAAiB,EACjB,IAAI,IAAI,iBAAiB,EACzB,aAAa,IAAI,iBAAiB,GACnC,MAAM,mCAAmC,CAAC;AAE3C,YAAY;AACV;;GAEG;AACH,YAAY;AACZ;;GAEG;AACH,SAAS;AACT;;GAEG;AACH,qBAAqB;AACrB;;GAEG;AACH,uBAAuB;AAEvB;;GAEG;AACH,IAAI;AAEJ;;GAEG;AACH,WAAW;AACX;;GAEG;AACH,aAAa;AACb;;GAEG;AACH,oBAAoB;AAEpB;;GAEG;AACH,iBAAiB;AACjB;;GAEG;AACH,wBAAwB,GACzB,MAAM,mCAAmC,CAAC;AAE3C,OAAO;AACL;;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"}
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,uBAAuB,EACvB,qBAAqB,EACrB,eAAe,IAAI,mBAAmB,EACtC,oBAAoB,IAAI,wBAAwB,EAChD,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,EACzC,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,k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,GAAG,IACxE,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC"}
@@ -356,11 +356,11 @@
356
356
  "/src/unstable-core-do-not-import/http/getHTTPStatusCode.ts",
357
357
  "/src/unstable-core-do-not-import/http/parseConnectionParams.ts",
358
358
  "/src/unstable-core-do-not-import/http/resolveResponse.ts",
359
- "/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts",
360
359
  "/src/unstable-core-do-not-import/error/TRPCError.ts",
361
360
  "/src/unstable-core-do-not-import/router.ts",
362
361
  "/src/unstable-core-do-not-import/transformer.ts",
363
362
  "/src/unstable-core-do-not-import/middleware.ts",
363
+ "/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts",
364
364
  "/src/unstable-core-do-not-import/http/contentType.ts",
365
365
  "/src/unstable-core-do-not-import/http/abortError.ts",
366
366
  "/src/unstable-core-do-not-import/procedureBuilder.ts",
@@ -872,9 +872,9 @@
872
872
  "reduction": 100
873
873
  },
874
874
  {
875
- "id": "/src/rpc.ts",
875
+ "id": "/src/index.ts",
876
876
  "size": 0,
877
- "origSize": 36,
877
+ "origSize": 32,
878
878
  "renderedExports": [],
879
879
  "removedExports": [],
880
880
  "dependents": [],
@@ -882,9 +882,9 @@
882
882
  "reduction": 100
883
883
  },
884
884
  {
885
- "id": "/src/index.ts",
885
+ "id": "/src/rpc.ts",
886
886
  "size": 0,
887
- "origSize": 32,
887
+ "origSize": 36,
888
888
  "renderedExports": [],
889
889
  "removedExports": [],
890
890
  "dependents": [],
@@ -909,9 +909,9 @@
909
909
  "removedExports": [],
910
910
  "dependents": [
911
911
  "/src/adapters/express.ts",
912
+ "/src/adapters/standalone.ts",
912
913
  "/src/adapters/next.ts",
913
914
  "/src/adapters/ws.ts",
914
- "/src/adapters/standalone.ts",
915
915
  "/src/adapters/node-http/nodeHTTPRequestHandler.ts",
916
916
  "/src/adapters/next-app-dir/nextAppDirCaller.ts",
917
917
  "/src/adapters/node-http/writeResponse.ts"
@@ -942,9 +942,9 @@
942
942
  "reduction": 100
943
943
  },
944
944
  {
945
- "id": "/src/adapters/fastify/index.ts",
945
+ "id": "/src/adapters/fetch/index.ts",
946
946
  "size": 0,
947
- "origSize": 78,
947
+ "origSize": 64,
948
948
  "renderedExports": [],
949
949
  "removedExports": [],
950
950
  "dependents": [],
@@ -952,9 +952,9 @@
952
952
  "reduction": 100
953
953
  },
954
954
  {
955
- "id": "/src/adapters/fetch/index.ts",
955
+ "id": "/src/adapters/fastify/index.ts",
956
956
  "size": 0,
957
- "origSize": 64,
957
+ "origSize": 78,
958
958
  "renderedExports": [],
959
959
  "removedExports": [],
960
960
  "dependents": [],
@@ -969,9 +969,9 @@
969
969
  "removedExports": [],
970
970
  "dependents": [
971
971
  "/src/adapters/express.ts",
972
+ "/src/adapters/standalone.ts",
972
973
  "/src/adapters/next.ts",
973
974
  "/src/adapters/ws.ts",
974
- "/src/adapters/standalone.ts",
975
975
  "/src/adapters/fastify/fastifyRequestHandler.ts"
976
976
  ],
977
977
  "percent": 0,
package/dist/index.js CHANGED
@@ -16,6 +16,7 @@ require('./unstable-core-do-not-import/rootConfig.js');
16
16
 
17
17
 
18
18
  exports.createTRPCFlatProxy = createProxy.createFlatProxy;
19
+ exports.createTRPCRecursiveProxy = createProxy.createRecursiveProxy;
19
20
  exports.getErrorShape = getErrorShape.getErrorShape;
20
21
  exports.TRPCError = TRPCError.TRPCError;
21
22
  exports.getTRPCErrorFromUnknown = TRPCError.getTRPCErrorFromUnknown;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { createFlatProxy as createTRPCFlatProxy } from './unstable-core-do-not-import/createProxy.mjs';
1
+ export { createFlatProxy as createTRPCFlatProxy, createRecursiveProxy as createTRPCRecursiveProxy } from './unstable-core-do-not-import/createProxy.mjs';
2
2
  export { getErrorShape } from './unstable-core-do-not-import/error/getErrorShape.mjs';
3
3
  export { TRPCError, getTRPCErrorFromUnknown } from './unstable-core-do-not-import/error/TRPCError.mjs';
4
4
  export { callProcedure as callTRPCProcedure, lazy as experimental_lazy } from './unstable-core-do-not-import/router.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/server",
3
- "version": "11.0.0-alpha-tmp-query-optoins-codemod.696+16cf7f494",
3
+ "version": "11.0.0-alpha-tmp-query-optoins-codemod.713+de1df62ea",
4
4
  "description": "The tRPC server library",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -141,7 +141,7 @@
141
141
  "superstruct": "^2.0.0",
142
142
  "tsx": "^4.0.0",
143
143
  "typescript": "^5.7.2",
144
- "valibot": "1.0.0-rc.0",
144
+ "valibot": "1.0.0-rc.1",
145
145
  "ws": "^8.0.0",
146
146
  "yup": "^1.0.0",
147
147
  "zod": "^3.0.0"
@@ -152,5 +152,5 @@
152
152
  "peerDependencies": {
153
153
  "typescript": ">=5.7.2"
154
154
  },
155
- "gitHead": "16cf7f4947e48b1cbf5440e8386e965f80dde761"
155
+ "gitHead": "de1df62eab9fe5f6d70c4788df6e8fce0c379de2"
156
156
  }
@@ -10,6 +10,7 @@ export {
10
10
  getTRPCErrorFromUnknown,
11
11
  transformTRPCResponse,
12
12
  createFlatProxy as createTRPCFlatProxy,
13
+ createRecursiveProxy as createTRPCRecursiveProxy,
13
14
  type inferProcedureInput,
14
15
  type inferProcedureOutput,
15
16
  type inferProcedureBuilderResolverOptions,
@@ -23,6 +24,7 @@ export {
23
24
  type inferTransformedSubscriptionOutput,
24
25
  type AnyProcedure as AnyTRPCProcedure,
25
26
  type AnyRouter as AnyTRPCRouter,
27
+ type AnyRootTypes as AnyTRPCRootTypes,
26
28
  type AnyMiddlewareFunction as AnyTRPCMiddlewareFunction,
27
29
  type CombinedDataTransformer as TRPCCombinedDataTransformer,
28
30
  type ProcedureType as TRPCProcedureType,