react-query-firebase / firestore / UseAddDocMutationOptions
Type Alias: UseAddDocMutationOptions<AppModelType, DbModelType, TContext>
ts
type UseAddDocMutationOptions<AppModelType, DbModelType, TContext> = object;
Defined in: src/firestore/useAddDocMutation.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, UseAddDocMutationValues<AppModelType>, TContext>, "mutationFn" | "mutationKey">;
reference
ts
reference: CollectionReference<AppModelType, DbModelType>;