react-query-firebase / web/firestore / UseUpdateDocMutationOptions
Type Alias: UseUpdateDocMutationOptions<AppModelType, TContext>
ts
type UseUpdateDocMutationOptions<AppModelType, TContext> = object;
Defined in: web/firestore/useUpdateDocMutation.ts:21
Type Parameters
AppModelType
AppModelType
extends AppModel
= AppModel
TContext
TContext
= unknown
Properties
options?
ts
optional options: Omit<UseMutationOptions<AppModelType, FirebaseError, UseUpdateDocMutationValues<AppModelType>, TContext>, "mutationFn">;
Defined in: web/firestore/useUpdateDocMutation.ts:29
Options for useMutation hook excluding mutationFn.
reference
ts
reference: DocumentReference<AppModelType, AppModelType> | null;
Defined in: web/firestore/useUpdateDocMutation.ts:25
Reference to a document that must be updated