@trpc/server 11.0.0-alpha-tmp-export-from-main.222 → 11.0.0-alpha-tmp-export-from-main.223
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.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -1
- package/package.json +3 -3
- package/src/index.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AnyMiddlewareFunction, AnyMutationProcedure, AnyProcedure, AnyQueryProcedure, AnyRouter, AnySubscriptionProcedure, AnyMiddlewareFunction as AnyTRPCMiddlewareFunction, AnyMutationProcedure as AnyTRPCMutationProcedure, AnyProcedure as AnyTRPCProcedure, AnyQueryProcedure as AnyTRPCQueryProcedure, AnyRouter as AnyTRPCRouter, AnySubscriptionProcedure as AnyTRPCSubscriptionProcedure, CombinedDataTransformer, DeepPartial, Dict, ProcedureArgs, ProcedureRouterRecord, ProcedureType, CombinedDataTransformer as TRPCCombinedDataTransformer, TRPCError, ProcedureArgs as TRPCProcedureArgs, ProcedureRouterRecord as TRPCProcedureRouterRecord, ProcedureType as TRPCProcedureType, callProcedure, callProcedure as callTRPCProcedure, createFlatProxy as createTRPCFlatProxy, experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware, getErrorShape, getTRPCErrorFromUnknown, inferProcedureInput, inferProcedureOutput, inferRouterContext, inferRouterError, inferRouterInputs, inferRouterOutputs, inferTransformedProcedureOutput, inferTransformedSubscriptionOutput, initTRPC, transformTRPCResponse } from '@trpc/core';
|
|
1
|
+
export { AnyMiddlewareFunction, AnyMutationProcedure, AnyProcedure, AnyQueryProcedure, AnyRouter, AnySubscriptionProcedure, AnyMiddlewareFunction as AnyTRPCMiddlewareFunction, AnyMutationProcedure as AnyTRPCMutationProcedure, AnyProcedure as AnyTRPCProcedure, AnyQueryProcedure as AnyTRPCQueryProcedure, AnyRouter as AnyTRPCRouter, AnySubscriptionProcedure as AnyTRPCSubscriptionProcedure, CombinedDataTransformer, DeepPartial, Dict, ENABLE_PNPM_DECLARATION_MODE, ProcedureArgs, ProcedureRouterRecord, ProcedureType, CombinedDataTransformer as TRPCCombinedDataTransformer, TRPCError, ProcedureArgs as TRPCProcedureArgs, ProcedureRouterRecord as TRPCProcedureRouterRecord, ProcedureType as TRPCProcedureType, callProcedure, callProcedure as callTRPCProcedure, createFlatProxy as createTRPCFlatProxy, experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware, getErrorShape, getTRPCErrorFromUnknown, inferProcedureInput, inferProcedureOutput, inferRouterContext, inferRouterError, inferRouterInputs, inferRouterOutputs, inferTransformedProcedureOutput, inferTransformedSubscriptionOutput, initTRPC, transformTRPCResponse } from '@trpc/core';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @deprecated
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AnyMiddlewareFunction, AnyMutationProcedure, AnyProcedure, AnyQueryProcedure, AnyRouter, AnySubscriptionProcedure, AnyMiddlewareFunction as AnyTRPCMiddlewareFunction, AnyMutationProcedure as AnyTRPCMutationProcedure, AnyProcedure as AnyTRPCProcedure, AnyQueryProcedure as AnyTRPCQueryProcedure, AnyRouter as AnyTRPCRouter, AnySubscriptionProcedure as AnyTRPCSubscriptionProcedure, CombinedDataTransformer, DeepPartial, Dict, ProcedureArgs, ProcedureRouterRecord, ProcedureType, CombinedDataTransformer as TRPCCombinedDataTransformer, TRPCError, ProcedureArgs as TRPCProcedureArgs, ProcedureRouterRecord as TRPCProcedureRouterRecord, ProcedureType as TRPCProcedureType, callProcedure, callProcedure as callTRPCProcedure, createFlatProxy as createTRPCFlatProxy, experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware, getErrorShape, getTRPCErrorFromUnknown, inferProcedureInput, inferProcedureOutput, inferRouterContext, inferRouterError, inferRouterInputs, inferRouterOutputs, inferTransformedProcedureOutput, inferTransformedSubscriptionOutput, initTRPC, transformTRPCResponse } from '@trpc/core';
|
|
1
|
+
export { AnyMiddlewareFunction, AnyMutationProcedure, AnyProcedure, AnyQueryProcedure, AnyRouter, AnySubscriptionProcedure, AnyMiddlewareFunction as AnyTRPCMiddlewareFunction, AnyMutationProcedure as AnyTRPCMutationProcedure, AnyProcedure as AnyTRPCProcedure, AnyQueryProcedure as AnyTRPCQueryProcedure, AnyRouter as AnyTRPCRouter, AnySubscriptionProcedure as AnyTRPCSubscriptionProcedure, CombinedDataTransformer, DeepPartial, Dict, ENABLE_PNPM_DECLARATION_MODE, ProcedureArgs, ProcedureRouterRecord, ProcedureType, CombinedDataTransformer as TRPCCombinedDataTransformer, TRPCError, ProcedureArgs as TRPCProcedureArgs, ProcedureRouterRecord as TRPCProcedureRouterRecord, ProcedureType as TRPCProcedureType, callProcedure, callProcedure as callTRPCProcedure, createFlatProxy as createTRPCFlatProxy, experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware, getErrorShape, getTRPCErrorFromUnknown, inferProcedureInput, inferProcedureOutput, inferRouterContext, inferRouterError, inferRouterInputs, inferRouterOutputs, inferTransformedProcedureOutput, inferTransformedSubscriptionOutput, initTRPC, transformTRPCResponse } from '@trpc/core';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @deprecated
|
package/dist/index.js
CHANGED
|
@@ -350,6 +350,7 @@ function getParseFn(procedureParser) {
|
|
|
350
350
|
throw new Error('Could not find a validator fn');
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
+
/** @internal */ const unsetMarker = Symbol('unsetMarker');
|
|
353
354
|
function createNewBuilder(def1, def2) {
|
|
354
355
|
const { middlewares = [], inputs, meta, ...rest } = def2;
|
|
355
356
|
// TODO: maybe have a fn here to warn about calls
|
|
@@ -797,6 +798,7 @@ function createTRPCInner() {
|
|
|
797
798
|
};
|
|
798
799
|
}
|
|
799
800
|
|
|
801
|
+
exports.ENABLE_PNPM_DECLARATION_MODE = unsetMarker;
|
|
800
802
|
exports.TRPCError = TRPCError;
|
|
801
803
|
exports.callProcedure = callProcedure;
|
|
802
804
|
exports.callTRPCProcedure = callProcedure;
|
package/dist/index.mjs
CHANGED
|
@@ -348,6 +348,7 @@ function getParseFn(procedureParser) {
|
|
|
348
348
|
throw new Error('Could not find a validator fn');
|
|
349
349
|
}
|
|
350
350
|
|
|
351
|
+
/** @internal */ const unsetMarker = Symbol('unsetMarker');
|
|
351
352
|
function createNewBuilder(def1, def2) {
|
|
352
353
|
const { middlewares = [], inputs, meta, ...rest } = def2;
|
|
353
354
|
// TODO: maybe have a fn here to warn about calls
|
|
@@ -795,4 +796,4 @@ function createTRPCInner() {
|
|
|
795
796
|
};
|
|
796
797
|
}
|
|
797
798
|
|
|
798
|
-
export { TRPCError, callProcedure, callProcedure as callTRPCProcedure, createFlatProxy as createTRPCFlatProxy, experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware, getErrorShape, getTRPCErrorFromUnknown, initTRPC, transformTRPCResponse };
|
|
799
|
+
export { unsetMarker as ENABLE_PNPM_DECLARATION_MODE, TRPCError, callProcedure, callProcedure as callTRPCProcedure, createFlatProxy as createTRPCFlatProxy, experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware, getErrorShape, getTRPCErrorFromUnknown, initTRPC, transformTRPCResponse };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trpc/server",
|
|
3
|
-
"version": "11.0.0-alpha-tmp-export-from-main.
|
|
3
|
+
"version": "11.0.0-alpha-tmp-export-from-main.223+3c68630c9",
|
|
4
4
|
"description": "The tRPC server library",
|
|
5
5
|
"author": "KATT",
|
|
6
6
|
"license": "MIT",
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
"access": "public"
|
|
203
203
|
},
|
|
204
204
|
"dependencies": {
|
|
205
|
-
"@trpc/core": "11.0.0-alpha-tmp-export-from-main.
|
|
205
|
+
"@trpc/core": "11.0.0-alpha-tmp-export-from-main.223+3c68630c9"
|
|
206
206
|
},
|
|
207
207
|
"devDependencies": {
|
|
208
208
|
"@fastify/websocket": "^7.1.2",
|
|
@@ -242,5 +242,5 @@
|
|
|
242
242
|
"funding": [
|
|
243
243
|
"https://trpc.io/sponsor"
|
|
244
244
|
],
|
|
245
|
-
"gitHead": "
|
|
245
|
+
"gitHead": "3c68630c9e6b06eb29ac58457cef3665c07db0b7"
|
|
246
246
|
}
|
package/src/index.ts
CHANGED
|
@@ -6,6 +6,7 @@ export {
|
|
|
6
6
|
experimental_standaloneMiddleware,
|
|
7
7
|
experimental_standaloneMiddleware as experimental_trpcMiddleware,
|
|
8
8
|
initTRPC,
|
|
9
|
+
ENABLE_PNPM_DECLARATION_MODE,
|
|
9
10
|
|
|
10
11
|
// --- FIXME a bunch of these exports are only useful for plugins - move them somewhere else? ----
|
|
11
12
|
callProcedure as callTRPCProcedure,
|