Skip to content

react-query-firebase / web/firestore / GetDocRefOptions

Type Alias: GetDocRefOptions<AppModelType>

ts
type GetDocRefOptions<AppModelType> = object;

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

Type Parameters

AppModelType

AppModelType extends AppModel = AppModel

Properties

db

ts
db: Firestore;

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


path?

ts
optional path: string;

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


pathSegments?

ts
optional pathSegments: string[];

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


reference?

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

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

Released under the MIT License.