UNPKG

react-native-firebase-compiled

Version:

A well tested, feature rich Firebase implementation for React Native, supporting iOS & Android. Individual module support for Admob, Analytics, Auth, Crash Reporting, Cloud Firestore, Database, Dynamic Links, Functions, Messaging (FCM), Remote Config, Sto

20 lines (17 loc) 307 B
/** * * FieldPath representation wrapper */ /** * @class FieldPath */ export default class FieldPath { constructor(...segments) { // TODO: Validation this._segments = segments; } static documentId() { return DOCUMENT_ID; } } export const DOCUMENT_ID = new FieldPath('__name__');