Skip to content

react-query-firebase / firestore / UseUpdateDocMutationOptions

Type Alias: UseUpdateDocMutationOptions<AppModelType, DbModelType, TContext>

ts
type UseUpdateDocMutationOptions<AppModelType, DbModelType, TContext> = object;

Defined in: src/firestore/useUpdateDocMutation.ts:18

Type Parameters

AppModelType extends DocumentData = DocumentData

DbModelType extends DocumentData = DocumentData

TContext = unknown

Type declaration

converter?

ts
optional converter: FirestoreDataConverter<AppModelType, DbModelType>;

options?

ts
optional options: Omit<UseMutationOptions<AppModelType, FirebaseError, UseUpdateDocMutationValues<DbModelType>, TContext>, "mutationFn" | "mutationKey">;

reference

ts
reference: DocumentReference<AppModelType, DbModelType> | null;

Released under the MIT License.