UEA-Prodem
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
import { HTTPHeaders, NonEmptyArray, Operation, TRPCLink } from "./types.d-sRNtuQA-.mjs";
|
||||
import { HTTPLinkBaseOptions } from "./httpUtils.d-yYSKGhiS.mjs";
|
||||
import { AnyClientTypes } from "@trpc/server/unstable-core-do-not-import";
|
||||
import { AnyRouter as AnyRouter$1 } from "@trpc/server";
|
||||
|
||||
//#region src/links/HTTPBatchLinkOptions.d.ts
|
||||
type HTTPBatchLinkOptions<TRoot extends AnyClientTypes> = HTTPLinkBaseOptions<TRoot> & {
|
||||
maxURLLength?: number;
|
||||
/**
|
||||
* Headers to be set on outgoing requests or a callback that of said headers
|
||||
* @see http://trpc.io/docs/client/headers
|
||||
*/
|
||||
headers?: HTTPHeaders | ((opts: {
|
||||
opList: NonEmptyArray<Operation>;
|
||||
}) => HTTPHeaders | Promise<HTTPHeaders>);
|
||||
/**
|
||||
* Maximum number of calls in a single batch request
|
||||
* @default Infinity
|
||||
*/
|
||||
maxItems?: number;
|
||||
};
|
||||
//# sourceMappingURL=HTTPBatchLinkOptions.d.ts.map
|
||||
//#endregion
|
||||
//#region src/links/httpBatchLink.d.ts
|
||||
/**
|
||||
* @see https://trpc.io/docs/client/links/httpBatchLink
|
||||
*/
|
||||
declare function httpBatchLink<TRouter extends AnyRouter$1>(opts: HTTPBatchLinkOptions<TRouter['_def']['_config']['$types']>): TRPCLink<TRouter>;
|
||||
//# sourceMappingURL=httpBatchLink.d.ts.map
|
||||
|
||||
//#endregion
|
||||
export { HTTPBatchLinkOptions, httpBatchLink };
|
||||
//# sourceMappingURL=httpBatchLink.d-B6vCg-F-.d.mts.map
|
||||
Reference in New Issue
Block a user