Skip to content

react-query-firebase / firestore / UseDocReferencesOptions

Type Alias: UseDocReferencesOptions<AppModelType, DbModelType>

ts
type UseDocReferencesOptions<AppModelType, DbModelType> = object;

Defined in: src/firestore/useDocReferences.ts:6

Type Parameters

AppModelType

DbModelType extends DocumentData = DocumentData

Type declaration

path

ts
path: string;

pathSegments?

ts
optional pathSegments: string[];

reference?

ts
optional reference: 
  | CollectionReference<AppModelType, DbModelType>
| DocumentReference<AppModelType, DbModelType>;

Released under the MIT License.