react-query-firebase / UseDeleteDocMutationOptions
Type Alias: UseDeleteDocMutationOptions<AppModelType, TContext>
ts
type UseDeleteDocMutationOptions<AppModelType, TContext> = object;Defined in: src/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: src/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: src/web/firestore/useDeleteDocMutation.ts:22
A reference to a firestore document