react-query-firebase / UseUpdateDocMutationOptions
Type Alias: UseUpdateDocMutationOptions<AppModelType, TContext>
ts
type UseUpdateDocMutationOptions<AppModelType, TContext> = object;Defined in: src/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: src/web/firestore/useUpdateDocMutation.ts:29
Options for useMutation hook excluding mutationFn.
reference
ts
reference: DocumentReference<AppModelType, AppModelType> | null;Defined in: src/web/firestore/useUpdateDocMutation.ts:25
Reference to a document that must be updated