@gqlts/runtime
Version:
Gqlts runtime client
23 lines • 1.07 kB
TypeScript
export { createClient } from './client/createClient';
export type { ClientOptions, ClientRequestConfig, GraphQLClient } from './client/createClient';
export type { FieldsSelection } from './client/typeSelection';
export type { NoExtraProperties } from './types';
export { generateGraphqlOperation } from './client/generateGraphqlOperation';
export type { GraphqlOperation, Request, Fields, Args } from './client/generateGraphqlOperation';
export { linkTypeMap } from './client/linkTypeMap';
export { Observable } from 'zen-observable-ts';
export { createFetcher } from './fetcher';
export type { Fetcher, BatchOptions, GraphQLErrorResult } from './fetcher';
export { ClientError } from './error';
/**
* Convenience object to request all scalar fields of a type
*/
export declare const everything: {
__scalar: boolean;
};
/**
* Checks if the runtime version matches the version used to generate the client
* and warns if there's a mismatch
*/
export declare function assertSameVersion(generatedWithVersion?: string): void;
//# sourceMappingURL=index.d.ts.map