- 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>
20 lines
691 B
TypeScript
20 lines
691 B
TypeScript
import { Operation, TRPCLink } from "./types.d-CAr6snH0.mjs";
|
|
import { AnyRouter } from "@trpc/server/unstable-core-do-not-import";
|
|
|
|
//#region src/links/splitLink.d.ts
|
|
declare function splitLink<TRouter extends AnyRouter = AnyRouter>(opts: {
|
|
condition: (op: Operation) => boolean;
|
|
/**
|
|
* The link to execute next if the test function returns `true`.
|
|
*/
|
|
true: TRPCLink<TRouter> | TRPCLink<TRouter>[];
|
|
/**
|
|
* The link to execute next if the test function returns `false`.
|
|
*/
|
|
false: TRPCLink<TRouter> | TRPCLink<TRouter>[];
|
|
}): TRPCLink<TRouter>;
|
|
//# sourceMappingURL=splitLink.d.ts.map
|
|
|
|
//#endregion
|
|
export { splitLink };
|
|
//# sourceMappingURL=splitLink.d-CkHNg1Se.d.mts.map
|