Skip to content

react-query-firebase / web/firestore / UseSetDocMutationOptions

Type Alias: UseSetDocMutationOptions<AppModelType, TContext>

ts
type UseSetDocMutationOptions<AppModelType, TContext> = object;

Defined in: web/firestore/useSetDocMutation.ts:21

Type Parameters

AppModelType

AppModelType extends AppModel = AppModel

TContext

TContext = unknown

Properties

options?

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

Defined in: web/firestore/useSetDocMutation.ts:29

Options for useMutation hook excluding mutationFn.


reference

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

Defined in: web/firestore/useSetDocMutation.ts:25

Reference to a document that must be written

Released under the MIT License.