Skip to content

react-query-firebase / web/firestore / UseDeleteDocMutationOptions

Type Alias: UseDeleteDocMutationOptions<AppModelType, TContext>

ts
type UseDeleteDocMutationOptions<AppModelType, TContext> = object;

Defined in: web/firestore/useDeleteDocMutation.ts:18

Type Parameters

AppModelType

AppModelType extends AppModel = AppModel

TContext

TContext = unknown

Properties

options?

ts
optional options: Omit<UseMutationOptions<void, FirebaseError, void, TContext>, "mutationFn">;

Defined in: web/firestore/useDeleteDocMutation.ts:26

Options for useMutation hook excluding mutationFn. MutationKey will be equal to reference.path by default.


reference

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

Defined in: web/firestore/useDeleteDocMutation.ts:22

A reference to a firestore document

Released under the MIT License.