@orpc/client 0.0.0-next.caefe3a → 0.0.0-next.cbe59c9

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.
@@ -1,13 +0,0 @@
1
- import type { ClientOptions } from '@orpc/contract';
2
- import type { Promisable } from '@orpc/shared';
3
- import type { ClientLink } from './types';
4
- /**
5
- * DynamicLink provides a way to dynamically resolve and delegate calls to other ClientLinks
6
- * based on the request path, input, and context.
7
- */
8
- export declare class DynamicLink<TClientContext> implements ClientLink<TClientContext> {
9
- private readonly linkResolver;
10
- constructor(linkResolver: (path: readonly string[], input: unknown, context: TClientContext) => Promisable<ClientLink<TClientContext>>);
11
- call(path: readonly string[], input: unknown, options: ClientOptions<TClientContext>): Promise<unknown>;
12
- }
13
- //# sourceMappingURL=dynamic-link.d.ts.map
@@ -1,6 +0,0 @@
1
- /** unnoq */
2
- export * from './client';
3
- export * from './dynamic-link';
4
- export * from './types';
5
- export { isDefinedError, ORPCError, safe } from '@orpc/contract';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1,5 +0,0 @@
1
- import type { ClientOptions } from '@orpc/contract';
2
- export interface ClientLink<TClientContext> {
3
- call(path: readonly string[], input: unknown, options: ClientOptions<TClientContext>): Promise<unknown>;
4
- }
5
- //# sourceMappingURL=types.d.ts.map