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

16 lines (14 loc) 329 B
/** * * FieldValue representation wrapper */ export default class FieldValue { static delete() { return DELETE_FIELD_VALUE; } static serverTimestamp() { return SERVER_TIMESTAMP_FIELD_VALUE; } } export const DELETE_FIELD_VALUE = new FieldValue(); export const SERVER_TIMESTAMP_FIELD_VALUE = new FieldValue();