- Consolidated duplicate UndoManagers to single instance - Fixed connection promise to only resolve on 'connected' status - Fixed WebSocketProvider import (WebsocketProvider) - Added proper doc.destroy() cleanup - Renamed isPresenceInitialized property to avoid conflict Co-Authored-By: Paperclip <noreply@paperclip.ing>
25 lines
829 B
TypeScript
25 lines
829 B
TypeScript
import { FetchEsque } from "./types.d-CAr6snH0.mjs";
|
|
import { TransformerOptions } from "./unstable-internals.d-BOmV7EK1.mjs";
|
|
import { AnyClientTypes, CombinedDataTransformer, Maybe, ProcedureType } from "@trpc/server/unstable-core-do-not-import";
|
|
|
|
//#region src/links/internals/httpUtils.d.ts
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
type HTTPLinkBaseOptions<TRoot extends Pick<AnyClientTypes, 'transformer'>> = {
|
|
url: string | URL;
|
|
/**
|
|
* Add ponyfill for fetch
|
|
*/
|
|
fetch?: FetchEsque;
|
|
/**
|
|
* Send all requests `as POST`s requests regardless of the procedure type
|
|
* The HTTP handler must separately allow overriding the method. See:
|
|
* @see https://trpc.io/docs/rpc
|
|
*/
|
|
methodOverride?: 'POST';
|
|
} & TransformerOptions<TRoot>;
|
|
//#endregion
|
|
export { HTTPLinkBaseOptions };
|
|
//# sourceMappingURL=httpUtils.d-C5t5to0D.d.mts.map
|