Skip to content

react-query-firebase / firestore / UseSetDocMutationOptions

Type Alias: UseSetDocMutationOptions<AppModelType, DbModelType, TContext>

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

Defined in: src/firestore/useSetDocMutation.ts:11

Type Parameters

AppModelType = unknown

DbModelType extends DocumentData = DocumentData

TContext = unknown

Type declaration

options?

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

reference

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

Released under the MIT License.