CoolFace
Apppublic

AK-21/Graphite-Industrial-Intelligence

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
httpUtils.d-yYSKGhiS.d.mts25 linesDownload Raw Back to dist
1import { FetchEsque } from "./types.d-sRNtuQA-.mjs";2import { TransformerOptions } from "./unstable-internals.d-BOmV7EK1.mjs";3import { AnyClientTypes, CombinedDataTransformer, Maybe, ProcedureType } from "@trpc/server/unstable-core-do-not-import";4 5//#region src/links/internals/httpUtils.d.ts6 7/**8 * @internal9 */10type HTTPLinkBaseOptions<TRoot extends Pick<AnyClientTypes, 'transformer'>> = {11  url: string | URL;12  /**13   * Add ponyfill for fetch14   */15  fetch?: FetchEsque;16  /**17   * Send all requests `as POST`s requests regardless of the procedure type18   * The HTTP handler must separately allow overriding the method. See:19   * @see https://trpc.io/docs/rpc20   */21  methodOverride?: 'POST';22} & TransformerOptions<TRoot>;23//#endregion24export { HTTPLinkBaseOptions };25//# sourceMappingURL=httpUtils.d-yYSKGhiS.d.mts.map