Skip to content

react-query-firebase / react-native/firestore / GetDocRefOptions

Type Alias: GetDocRefOptions<AppModelType>

ts
type GetDocRefOptions<AppModelType> = object;

Defined in: react-native/firestore/utils/getDocRef.ts:7

Type Parameters

AppModelType

AppModelType extends AppModel = AppModel

Properties

db

ts
db: FirebaseFirestoreTypes.Module;

Defined in: react-native/firestore/utils/getDocRef.ts:8


path?

ts
optional path: string;

Defined in: react-native/firestore/utils/getDocRef.ts:12


pathSegments?

ts
optional pathSegments: string[];

Defined in: react-native/firestore/utils/getDocRef.ts:13


reference?

ts
optional reference: 
  | FirebaseFirestoreTypes.CollectionReference<AppModelType>
| FirebaseFirestoreTypes.DocumentReference<AppModelType>;

Defined in: react-native/firestore/utils/getDocRef.ts:9

Released under the MIT License.