@@ -22,7 +22,35 @@ export type {
2222 WatchQueryOptions ,
2323} from "./watchQueryOptions.js" ;
2424export { isNetworkRequestSettled , NetworkStatus } from "./networkStatus.js" ;
25- export type * from "./types.js" ;
25+ export type {
26+ ApolloQueryResult ,
27+ DefaultContext ,
28+ ErrorLike ,
29+ InternalRefetchQueriesInclude ,
30+ InternalRefetchQueriesMap ,
31+ InternalRefetchQueriesOptions ,
32+ InternalRefetchQueriesResult ,
33+ InternalRefetchQueryDescriptor ,
34+ MethodKeys ,
35+ MutateResult ,
36+ MutationQueryReducer ,
37+ MutationQueryReducersMap ,
38+ MutationUpdaterFn ,
39+ MutationUpdaterFunction ,
40+ OnQueryUpdated ,
41+ OperationVariables ,
42+ PureQueryOptions ,
43+ QueryListener ,
44+ QueryResult ,
45+ RefetchQueriesInclude ,
46+ RefetchQueriesOptions ,
47+ RefetchQueriesPromiseResults ,
48+ RefetchQueriesResult ,
49+ RefetchQueryDescriptor ,
50+ Resolvers ,
51+ SubscribeResult ,
52+ TypedDocumentNode ,
53+ } from "./types.js" ;
2654export type { FragmentMatcher , Resolver } from "./LocalState.js" ;
2755export {
2856 CombinedGraphQLErrors ,
@@ -34,6 +62,7 @@ export {
3462/* Cache */
3563
3664export type {
65+ Cache ,
3766 DataProxy ,
3867 FieldFunctionOptions ,
3968 FieldMergeFunction ,
@@ -50,7 +79,7 @@ export type {
5079 WatchFragmentOptions ,
5180 WatchFragmentResult ,
5281} from "../cache/index.js" ;
53- export type { Cache } from "../cache/index.js" ;
82+
5483export {
5584 ApolloCache ,
5685 defaultDataIdFromObject ,
@@ -59,12 +88,67 @@ export {
5988 MissingFieldError ,
6089} from "../cache/index.js" ;
6190
62- export type * from "../cache/inmemory/types.js" ;
91+ export type {
92+ ApolloReducerConfig ,
93+ DiffQueryAgainstStoreOptions ,
94+ IdGetter ,
95+ IdGetterObj ,
96+ MergeInfo ,
97+ MergeTree ,
98+ NormalizedCache ,
99+ NormalizedCacheObject ,
100+ OptimisticStoreItem ,
101+ ReadMergeModifyContext ,
102+ ReadQueryOptions ,
103+ StoreValue ,
104+ } from "../cache/inmemory/types.js" ;
63105
64106/* Link */
65107
66- export * from "../link/core/index.js" ;
67- export * from "../link/http/index.js" ;
108+ export {
109+ ApolloLink ,
110+ concat ,
111+ empty ,
112+ execute ,
113+ from ,
114+ split ,
115+ } from "../link/core/index.js" ;
116+ export type {
117+ ApolloPayloadResult ,
118+ DocumentNode ,
119+ ExecutionPatchIncrementalResult ,
120+ ExecutionPatchInitialResult ,
121+ ExecutionPatchResult ,
122+ FetchResult ,
123+ GraphQLRequest ,
124+ IncrementalPayload ,
125+ NextLink ,
126+ Operation ,
127+ Path ,
128+ RequestHandler ,
129+ SingleExecutionResult ,
130+ } from "../link/core/index.js" ;
131+
132+ export {
133+ checkFetcher ,
134+ createHttpLink ,
135+ createSignalIfSupported ,
136+ defaultPrinter ,
137+ fallbackHttpConfig ,
138+ HttpLink ,
139+ parseAndCheckHttpResponse ,
140+ rewriteURIForGET ,
141+ selectHttpOptionsAndBody ,
142+ // TODO remove: needed by @apollo /client/link/batch-http but not public
143+ selectHttpOptionsAndBodyInternal ,
144+ selectURI ,
145+ serializeFetchParameter ,
146+ } from "../link/http/index.js" ;
147+ export type {
148+ ClientParseError ,
149+ HttpOptions ,
150+ UriFunction ,
151+ } from "../link/http/index.js" ;
68152
69153/* Masking */
70154export type {
0 commit comments