react-query-firebase / firestore / UseDocReferenceOptions
Type Alias: UseDocReferenceOptions<AppModelType, DbModelType>
ts
type UseDocReferenceOptions<AppModelType, DbModelType> = object;
Defined in: src/firestore/useDocReference.ts:6
Type Parameters
• AppModelType
• DbModelType extends DocumentData
= DocumentData
Type declaration
path?
ts
optional path: string;
pathSegments?
ts
optional pathSegments: string[];
reference?
ts
optional reference:
| CollectionReference<AppModelType, DbModelType>
| DocumentReference<AppModelType, DbModelType>;