@openapi-qraft/react
Version:
OpenAPI client for React, providing type-safe requests and dynamic TanStack Query React Hooks via a modular, Proxy-based architecture.
6 lines • 810 B
TypeScript
import type { ServiceOperationInfiniteQueryKey, ServiceOperationQueryKey } from '@openapi-qraft/tanstack-query-react-types';
import type { OperationSchema } from './requestFn.js';
export declare function composeBaseQueryKey<TSchema extends OperationSchema, TParams>(schema: TSchema, parameters: TParams | undefined, infinite: undefined): [TSchema, TParams];
export declare function composeBaseQueryKey<TSchema extends OperationSchema, TParams>(schema: TSchema, parameters: TParams | undefined, infinite: true): ServiceOperationInfiniteQueryKey<TSchema, TParams>;
export declare function composeBaseQueryKey<TSchema extends OperationSchema, TParams>(schema: TSchema, parameters: TParams | undefined, infinite: false): ServiceOperationQueryKey<TSchema, TParams>;
//# sourceMappingURL=composeBaseQueryKey.d.ts.map