@@ -1023,7 +1023,7 @@ export type FetchPolicy = "cache-first" | "network-only" | "cache-only" | "no-ca
1023
1023
export type FetchResult <TData = Record <string , any >, TExtensions = Record <string , any >> = FormattedExecutionResult <TData , TExtensions > | AdditionalFetchResultTypes <TData , TExtensions >[keyof AdditionalFetchResultTypes <TData , TExtensions >];
1024
1024
1025
1025
// @public (undocumented)
1026
- export interface FieldFunctionOptions <TArgs = Record <string , any >, TVariables = Record <string , any >> {
1026
+ export interface FieldFunctionOptions <TArgs = Record <string , any >, TVariables extends OperationVariables = Record <string , any >> {
1027
1027
// (undocumented)
1028
1028
args: TArgs | null ;
1029
1029
// (undocumented)
@@ -1280,7 +1280,7 @@ namespace GraphQLCodegenDataMasking {
1280
1280
}
1281
1281
1282
1282
// @public (undocumented)
1283
- export interface GraphQLRequest <TVariables = Record <string , any >> {
1283
+ export interface GraphQLRequest <TVariables extends OperationVariables = Record <string , any >> {
1284
1284
// (undocumented)
1285
1285
context? : DefaultContext ;
1286
1286
// (undocumented)
@@ -1893,7 +1893,7 @@ interface MutationStoreValue {
1893
1893
}
1894
1894
1895
1895
// @public (undocumented)
1896
- export type MutationUpdaterFunction <TData , TVariables , TCache extends ApolloCache > = (cache : TCache , result : FormattedExecutionResult <Unmasked <TData >>, options : {
1896
+ export type MutationUpdaterFunction <TData , TVariables extends OperationVariables , TCache extends ApolloCache > = (cache : TCache , result : FormattedExecutionResult <Unmasked <TData >>, options : {
1897
1897
context? : DefaultContext ;
1898
1898
variables? : TVariables ;
1899
1899
}) => void ;
@@ -2291,7 +2291,7 @@ class QueryManager {
2291
2291
// (undocumented)
2292
2292
getObservableQueries(include ? : InternalRefetchQueriesInclude ): Set <ObservableQuery <any , OperationVariables >>;
2293
2293
// (undocumented)
2294
- getVariables<TVariables >(document : DocumentNode , variables ? : TVariables ): TVariables ;
2294
+ getVariables<TVariables extends OperationVariables >(document : DocumentNode , variables ? : TVariables ): TVariables ;
2295
2295
// (undocumented)
2296
2296
readonly incrementalHandler: Incremental .Handler ;
2297
2297
// (undocumented)
@@ -2732,14 +2732,14 @@ type UnwrapFragmentRefs<TData> = true extends IsAny<TData> ? TData : TData exten
2732
2732
} : TData : never ;
2733
2733
2734
2734
// @public (undocumented)
2735
- export interface UpdateQueryMapFn <TData = unknown , TVariables = OperationVariables > {
2735
+ export interface UpdateQueryMapFn <TData = unknown , TVariables extends OperationVariables = OperationVariables > {
2736
2736
// (undocumented)
2737
2737
(
2738
2738
unsafePreviousData : DeepPartial <Unmasked <TData >>, options : UpdateQueryOptions <TData , TVariables >): Unmasked <TData > | void ;
2739
2739
}
2740
2740
2741
2741
// @public (undocumented)
2742
- export type UpdateQueryOptions <TData , TVariables > = {
2742
+ export type UpdateQueryOptions <TData , TVariables extends OperationVariables > = {
2743
2743
variables? : TVariables ;
2744
2744
} & ({
2745
2745
complete: true ;
@@ -2814,13 +2814,13 @@ interface WriteContext extends ReadMergeModifyContext {
2814
2814
// Warnings were encountered during analysis:
2815
2815
//
2816
2816
// src/cache/core/cache.ts:94:9 - (ae-forgotten-export) The symbol "MissingTree" needs to be exported by the entry point index.d.ts
2817
- // src/cache/inmemory/policies.ts:97 :3 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts
2818
- // src/cache/inmemory/policies.ts:166 :3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts
2819
- // src/cache/inmemory/policies.ts:166 :3 - (ae-forgotten-export) The symbol "KeyArgsFunction" needs to be exported by the entry point index.d.ts
2817
+ // src/cache/inmemory/policies.ts:98 :3 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts
2818
+ // src/cache/inmemory/policies.ts:167 :3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts
2819
+ // src/cache/inmemory/policies.ts:167 :3 - (ae-forgotten-export) The symbol "KeyArgsFunction" needs to be exported by the entry point index.d.ts
2820
2820
// src/cache/inmemory/types.ts:134:3 - (ae-forgotten-export) The symbol "KeyFieldsFunction" needs to be exported by the entry point index.d.ts
2821
2821
// src/core/ApolloClient.ts:163:5 - (ae-forgotten-export) The symbol "IgnoreModifier" needs to be exported by the entry point index.d.ts
2822
2822
// src/core/ApolloClient.ts:326:5 - (ae-forgotten-export) The symbol "NextFetchPolicyContext" needs to be exported by the entry point index.d.ts
2823
- // src/core/ObservableQuery.ts:359 :5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
2823
+ // src/core/ObservableQuery.ts:360 :5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
2824
2824
// src/core/QueryManager.ts:175:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
2825
2825
// src/local-state/LocalState.ts:140:5 - (ae-forgotten-export) The symbol "LocalState" needs to be exported by the entry point index.d.ts
2826
2826
// 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