@@ -1099,12 +1099,27 @@ type Modifiers<T extends Record<string, any> = Record<string, unknown>> = Partia
1099
1099
[FieldName in keyof T ]: Modifier <StoreObjectValueMaybeReference <Exclude <T [FieldName ], undefined >>>;
1100
1100
}>;
1101
1101
1102
+ // Warning: (ae-forgotten-export) The symbol "FetchPolicy" needs to be exported by the entry point index.d.ts
1103
+ //
1102
1104
// @public (undocumented)
1103
- interface MutationBaseOptions <TData = unknown , TVariables = OperationVariables , TContext = DefaultContext , TCache extends ApolloCache = ApolloCache > {
1105
+ type MutationFetchPolicy = Extract <FetchPolicy , " network-only" | " no-cache" >;
1106
+
1107
+ // @public @deprecated (undocumented)
1108
+ export type MutationFunctionOptions <TData = unknown , TVariables = OperationVariables , TContext = DefaultContext , TCache extends ApolloCache = ApolloCache > = useMutation .MutationFunctionOptions <TData , TVariables , TContext , TCache >;
1109
+
1110
+ // @public @deprecated (undocumented)
1111
+ export type MutationHookOptions <TData = unknown , TVariables = OperationVariables , TContext = DefaultContext , TCache extends ApolloCache = ApolloCache > = useMutation .Options <TData , TVariables , TContext , TCache >;
1112
+
1113
+ // @public (undocumented)
1114
+ interface MutationOptions <TData = unknown , TVariables = OperationVariables , TContext = DefaultContext , TCache extends ApolloCache = ApolloCache > {
1104
1115
awaitRefetchQueries? : boolean ;
1105
1116
context? : TContext ;
1106
1117
// Warning: (ae-forgotten-export) The symbol "ErrorPolicy" needs to be exported by the entry point index.d.ts
1107
1118
errorPolicy? : ErrorPolicy ;
1119
+ // Warning: (ae-forgotten-export) The symbol "MutationFetchPolicy" needs to be exported by the entry point index.d.ts
1120
+ fetchPolicy? : MutationFetchPolicy ;
1121
+ keepRootFields? : boolean ;
1122
+ mutation: DocumentNode | TypedDocumentNode <TData , TVariables >;
1108
1123
// Warning: (ae-forgotten-export) The symbol "OnQueryUpdated" needs to be exported by the entry point index.d.ts
1109
1124
onQueryUpdated? : OnQueryUpdated <any >;
1110
1125
// Warning: (ae-forgotten-export) The symbol "IgnoreModifier" needs to be exported by the entry point index.d.ts
@@ -1119,24 +1134,6 @@ interface MutationBaseOptions<TData = unknown, TVariables = OperationVariables,
1119
1134
variables? : TVariables ;
1120
1135
}
1121
1136
1122
- // Warning: (ae-forgotten-export) The symbol "FetchPolicy" needs to be exported by the entry point index.d.ts
1123
- //
1124
- // @public (undocumented)
1125
- type MutationFetchPolicy = Extract <FetchPolicy , " network-only" | " no-cache" >;
1126
-
1127
- // @public @deprecated (undocumented)
1128
- export type MutationFunctionOptions <TData = unknown , TVariables = OperationVariables , TContext = DefaultContext , TCache extends ApolloCache = ApolloCache > = useMutation .MutationFunctionOptions <TData , TVariables , TContext , TCache >;
1129
-
1130
- // @public @deprecated (undocumented)
1131
- export type MutationHookOptions <TData = unknown , TVariables = OperationVariables , TContext = DefaultContext , TCache extends ApolloCache = ApolloCache > = useMutation .Options <TData , TVariables , TContext , TCache >;
1132
-
1133
- // Warning: (ae-forgotten-export) The symbol "MutationSharedOptions" needs to be exported by the entry point index.d.ts
1134
- //
1135
- // @public (undocumented)
1136
- interface MutationOptions <TData = unknown , TVariables = OperationVariables , TContext = DefaultContext , TCache extends ApolloCache = ApolloCache > extends MutationSharedOptions <TData , TVariables , TContext , TCache > {
1137
- mutation: DocumentNode | TypedDocumentNode <TData , TVariables >;
1138
- }
1139
-
1140
1137
// @public (undocumented)
1141
1138
type MutationQueryReducer <T > = (previousResult : Record <string , any >, options : {
1142
1139
mutationResult: FetchResult <Unmasked <T >>;
@@ -1154,15 +1151,6 @@ type MutationQueryReducersMap<T = {
1154
1151
// @public @deprecated (undocumented)
1155
1152
export type MutationResult <TData = unknown > = useMutation .Result <TData >;
1156
1153
1157
- // Warning: (ae-forgotten-export) The symbol "MutationBaseOptions" needs to be exported by the entry point index.d.ts
1158
- //
1159
- // @public (undocumented)
1160
- interface MutationSharedOptions <TData = unknown , TVariables = OperationVariables , TContext = DefaultContext , TCache extends ApolloCache = ApolloCache > extends MutationBaseOptions <TData , TVariables , TContext , TCache > {
1161
- // Warning: (ae-forgotten-export) The symbol "MutationFetchPolicy" needs to be exported by the entry point index.d.ts
1162
- fetchPolicy? : MutationFetchPolicy ;
1163
- keepRootFields? : boolean ;
1164
- }
1165
-
1166
1154
// @public (undocumented)
1167
1155
interface MutationStoreValue {
1168
1156
// (undocumented)
0 commit comments