@@ -1018,7 +1018,7 @@ export type FetchPolicy = "cache-first" | "network-only" | "cache-only" | "no-ca
10181018export type FetchResult <TData = Record <string , any >, TExtensions = Record <string , any >> = FormattedExecutionResult <TData , TExtensions > | AdditionalFetchResultTypes <TData , TExtensions >[keyof AdditionalFetchResultTypes <TData , TExtensions >];
10191019
10201020// @public (undocumented)
1021- export interface FieldFunctionOptions <TArgs = Record <string , any >, TVariables = Record <string , any >> {
1021+ export interface FieldFunctionOptions <TArgs = Record <string , any >, TVariables extends OperationVariables = Record <string , any >> {
10221022 // (undocumented)
10231023 args: TArgs | null ;
10241024 // (undocumented)
@@ -1275,7 +1275,7 @@ namespace GraphQLCodegenDataMasking {
12751275}
12761276
12771277// @public (undocumented)
1278- export interface GraphQLRequest <TVariables = Record <string , any >> {
1278+ export interface GraphQLRequest <TVariables extends OperationVariables = Record <string , any >> {
12791279 // (undocumented)
12801280 context? : DefaultContext ;
12811281 // (undocumented)
@@ -1888,7 +1888,7 @@ interface MutationStoreValue {
18881888}
18891889
18901890// @public (undocumented)
1891- export type MutationUpdaterFunction <TData , TVariables , TCache extends ApolloCache > = (cache : TCache , result : FormattedExecutionResult <Unmasked <TData >>, options : {
1891+ export type MutationUpdaterFunction <TData , TVariables extends OperationVariables , TCache extends ApolloCache > = (cache : TCache , result : FormattedExecutionResult <Unmasked <TData >>, options : {
18921892 context? : DefaultContext ;
18931893 variables? : TVariables ;
18941894}) => void ;
@@ -2286,7 +2286,7 @@ class QueryManager {
22862286 // (undocumented)
22872287 getObservableQueries(include ? : InternalRefetchQueriesInclude ): Set <ObservableQuery <any , OperationVariables >>;
22882288 // (undocumented)
2289- getVariables<TVariables >(document : DocumentNode , variables ? : TVariables ): TVariables ;
2289+ getVariables<TVariables extends OperationVariables >(document : DocumentNode , variables ? : TVariables ): TVariables ;
22902290 // (undocumented)
22912291 readonly incrementalHandler: Incremental .Handler ;
22922292 // (undocumented)
@@ -2727,14 +2727,14 @@ type UnwrapFragmentRefs<TData> = true extends IsAny<TData> ? TData : TData exten
27272727} : TData : never ;
27282728
27292729// @public (undocumented)
2730- export interface UpdateQueryMapFn <TData = unknown , TVariables = OperationVariables > {
2730+ export interface UpdateQueryMapFn <TData = unknown , TVariables extends OperationVariables = OperationVariables > {
27312731 // (undocumented)
27322732 (
27332733 unsafePreviousData : DeepPartial <Unmasked <TData >>, options : UpdateQueryOptions <TData , TVariables >): Unmasked <TData > | void ;
27342734}
27352735
27362736// @public (undocumented)
2737- export type UpdateQueryOptions <TData , TVariables > = {
2737+ export type UpdateQueryOptions <TData , TVariables extends OperationVariables > = {
27382738 variables? : TVariables ;
27392739} & ({
27402740 complete: true ;
@@ -2809,13 +2809,13 @@ interface WriteContext extends ReadMergeModifyContext {
28092809// Warnings were encountered during analysis:
28102810//
28112811// src/cache/core/cache.ts:94:9 - (ae-forgotten-export) The symbol "MissingTree" needs to be exported by the entry point index.d.ts
2812- // src/cache/inmemory/policies.ts:97 :3 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts
2813- // src/cache/inmemory/policies.ts:166 :3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts
2814- // src/cache/inmemory/policies.ts:166 :3 - (ae-forgotten-export) The symbol "KeyArgsFunction" needs to be exported by the entry point index.d.ts
2812+ // src/cache/inmemory/policies.ts:98 :3 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts
2813+ // src/cache/inmemory/policies.ts:167 :3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts
2814+ // src/cache/inmemory/policies.ts:167 :3 - (ae-forgotten-export) The symbol "KeyArgsFunction" needs to be exported by the entry point index.d.ts
28152815// src/cache/inmemory/types.ts:134:3 - (ae-forgotten-export) The symbol "KeyFieldsFunction" needs to be exported by the entry point index.d.ts
28162816// src/core/ApolloClient.ts:163:5 - (ae-forgotten-export) The symbol "IgnoreModifier" needs to be exported by the entry point index.d.ts
28172817// src/core/ApolloClient.ts:357:5 - (ae-forgotten-export) The symbol "NextFetchPolicyContext" needs to be exported by the entry point index.d.ts
2818- // src/core/ObservableQuery.ts:359 :5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
2818+ // src/core/ObservableQuery.ts:360 :5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
28192819// src/core/QueryManager.ts:175:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
28202820// src/local-state/LocalState.ts:140:5 - (ae-forgotten-export) The symbol "LocalState" needs to be exported by the entry point index.d.ts
28212821// src/local-state/LocalState.ts:174:7 - (ae-forgotten-export) The symbol "LocalState" needs to be exported by the entry point index.d.ts
0 commit comments