Skip to content

react-query-firebase / GetDocRefOptions

Type Alias: GetDocRefOptions<AppModelType> ​

ts
type GetDocRefOptions<AppModelType> = object;

Defined in: src/web/firestore/utils/getDocRef.ts:7

Type Parameters ​

AppModelType ​

AppModelType extends AppModel = AppModel

Properties ​

db ​

ts
db: Firestore;

Defined in: src/web/firestore/utils/getDocRef.ts:8


path? ​

ts
optional path?: string;

Defined in: src/web/firestore/utils/getDocRef.ts:10


pathSegments? ​

ts
optional pathSegments?: string[];

Defined in: src/web/firestore/utils/getDocRef.ts:11


reference? ​

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

Defined in: src/web/firestore/utils/getDocRef.ts:9

Released under the MIT License.