UNPKG

1.94 kBTypeScriptView Raw
1export type { ApolloClientOptions, DefaultOptions } from "./ApolloClient.js";
2export { ApolloClient, mergeOptions } from "./ApolloClient.js";
3export type { FetchMoreOptions, UpdateQueryOptions, } from "./ObservableQuery.js";
4export { ObservableQuery } from "./ObservableQuery.js";
5export type { QueryOptions, WatchQueryOptions, MutationOptions, SubscriptionOptions, FetchPolicy, WatchQueryFetchPolicy, MutationFetchPolicy, RefetchWritePolicy, ErrorPolicy, FetchMoreQueryOptions, SubscribeToMoreOptions, } from "./watchQueryOptions.js";
6export { NetworkStatus, isNetworkRequestSettled } from "./networkStatus.js";
7export * from "./types.js";
8export type { Resolver, FragmentMatcher } from "./LocalState.js";
9export { isApolloError, ApolloError } from "../errors/index.js";
10export type { Transaction, DataProxy, InMemoryCacheConfig, ReactiveVar, TypePolicies, TypePolicy, FieldPolicy, FieldReadFunction, FieldMergeFunction, FieldFunctionOptions, PossibleTypesMap, WatchFragmentOptions, WatchFragmentResult, } from "../cache/index.js";
11export { Cache, ApolloCache, InMemoryCache, MissingFieldError, defaultDataIdFromObject, makeVar, } from "../cache/index.js";
12export * from "../cache/inmemory/types.js";
13export * from "../link/core/index.js";
14export * from "../link/http/index.js";
15export type { ServerError } from "../link/utils/index.js";
16export { fromError, toPromise, fromPromise, throwServerError, } from "../link/utils/index.js";
17export type { DocumentTransformCacheKey, Observer, ObservableSubscription, Reference, StoreObject, } from "../utilities/index.js";
18export { DocumentTransform, Observable, isReference, makeReference, } from "../utilities/index.js";
19import { setVerbosity } from "ts-invariant";
20export { setVerbosity as setLogVerbosity };
21export { gql, resetCaches, disableFragmentWarnings, enableExperimentalFragmentVariables, disableExperimentalFragmentVariables, } from "graphql-tag";
22//# sourceMappingURL=index.d.ts.map
\No newline at end of file