Skip to content

react-query-firebase / react-native/firestore / UseUpdateDocMutationOptions

Type Alias: UseUpdateDocMutationOptions<AppModelType, TContext>

ts
type UseUpdateDocMutationOptions<AppModelType, TContext> = object;

Defined in: react-native/firestore/useUpdateDocMutation.ts:20

Type Parameters

AppModelType

AppModelType extends AppModel = AppModel

TContext

TContext = unknown

Properties

options?

ts
optional options: Omit<UseMutationOptions<AppModelType, Error, UseUpdateDocMutationValues<AppModelType>, TContext>, "mutationFn">;

Defined in: react-native/firestore/useUpdateDocMutation.ts:28

Options for useMutation hook excluding mutationFn.


reference

ts
reference: FirebaseFirestoreTypes.DocumentReference<AppModelType> | null;

Defined in: react-native/firestore/useUpdateDocMutation.ts:24

Reference to a document that must be updated

Released under the MIT License.