Skip to content

react-query-firebase / UseSetDocMutationOptions

Type Alias: UseSetDocMutationOptions<AppModelType, TContext> ​

ts
type UseSetDocMutationOptions<AppModelType, TContext> = object;

Defined in: src/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: src/web/firestore/useSetDocMutation.ts:29

Options for useMutation hook excluding mutationFn.


reference ​

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

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

Reference to a document that must be written

Released under the MIT License.