Skip to content

react-query-firebase / react-native/firestore / UseDeleteDocMutationOptions

Type Alias: UseDeleteDocMutationOptions<AppModelType, TContext>

ts
type UseDeleteDocMutationOptions<AppModelType, TContext> = object;

Defined in: react-native/firestore/useDeleteDocMutation.ts:17

Type Parameters

AppModelType

AppModelType extends AppModel = AppModel

TContext

TContext = unknown

Properties

options?

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

Defined in: react-native/firestore/useDeleteDocMutation.ts:25

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


reference

ts
reference: FirebaseFirestoreTypes.DocumentReference<AppModelType> | null;

Defined in: react-native/firestore/useDeleteDocMutation.ts:21

A reference to a firestore document

Released under the MIT License.