@@ -1018,7 +1018,7 @@ export type FetchPolicy = "cache-first" | "network-only" | "cache-only" | "no-ca
1018
1018
export type FetchResult <TData = Record <string , any >, TExtensions = Record <string , any >> = FormattedExecutionResult <TData , TExtensions > | AdditionalFetchResultTypes <TData , TExtensions >[keyof AdditionalFetchResultTypes <TData , TExtensions >];
1019
1019
1020
1020
// @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 >> {
1022
1022
// (undocumented)
1023
1023
args: TArgs | null ;
1024
1024
// (undocumented)
@@ -1275,7 +1275,7 @@ namespace GraphQLCodegenDataMasking {
1275
1275
}
1276
1276
1277
1277
// @public (undocumented)
1278
- export interface GraphQLRequest <TVariables = Record <string , any >> {
1278
+ export interface GraphQLRequest <TVariables extends OperationVariables = Record <string , any >> {
1279
1279
// (undocumented)
1280
1280
context? : DefaultContext ;
1281
1281
// (undocumented)
@@ -1888,7 +1888,7 @@ interface MutationStoreValue {
1888
1888
}
1889
1889
1890
1890
// @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 : {
1892
1892
context? : DefaultContext ;
1893
1893
variables? : TVariables ;
1894
1894
}) => void ;
@@ -2286,7 +2286,7 @@ class QueryManager {
2286
2286
// (undocumented)
2287
2287
getObservableQueries(include ? : InternalRefetchQueriesInclude ): Set <ObservableQuery <any , OperationVariables >>;
2288
2288
// (undocumented)
2289
- getVariables<TVariables >(document : DocumentNode , variables ? : TVariables ): TVariables ;
2289
+ getVariables<TVariables extends OperationVariables >(document : DocumentNode , variables ? : TVariables ): TVariables ;
2290
2290
// (undocumented)
2291
2291
readonly incrementalHandler: Incremental .Handler ;
2292
2292
// (undocumented)
@@ -2727,14 +2727,14 @@ type UnwrapFragmentRefs<TData> = true extends IsAny<TData> ? TData : TData exten
2727
2727
} : TData : never ;
2728
2728
2729
2729
// @public (undocumented)
2730
- export interface UpdateQueryMapFn <TData = unknown , TVariables = OperationVariables > {
2730
+ export interface UpdateQueryMapFn <TData = unknown , TVariables extends OperationVariables = OperationVariables > {
2731
2731
// (undocumented)
2732
2732
(
2733
2733
unsafePreviousData : DeepPartial <Unmasked <TData >>, options : UpdateQueryOptions <TData , TVariables >): Unmasked <TData > | void ;
2734
2734
}
2735
2735
2736
2736
// @public (undocumented)
2737
- export type UpdateQueryOptions <TData , TVariables > = {
2737
+ export type UpdateQueryOptions <TData , TVariables extends OperationVariables > = {
2738
2738
variables? : TVariables ;
2739
2739
} & ({
2740
2740
complete: true ;
@@ -2809,13 +2809,13 @@ interface WriteContext extends ReadMergeModifyContext {
2809
2809
// Warnings were encountered during analysis:
2810
2810
//
2811
2811
// 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
2815
2815
// src/cache/inmemory/types.ts:134:3 - (ae-forgotten-export) The symbol "KeyFieldsFunction" needs to be exported by the entry point index.d.ts
2816
2816
// src/core/ApolloClient.ts:163:5 - (ae-forgotten-export) The symbol "IgnoreModifier" needs to be exported by the entry point index.d.ts
2817
2817
// 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
2819
2819
// src/core/QueryManager.ts:175:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
2820
2820
// src/local-state/LocalState.ts:140:5 - (ae-forgotten-export) The symbol "LocalState" needs to be exported by the entry point index.d.ts
2821
2821
// 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