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
31 lines (26 loc) • 643 B
Flow
export type HttpsCallableResult = {
data: Object,
};
export type FunctionsErrorCode =
| 'ok'
| 'cancelled'
| 'unknown'
| 'invalid-argument'
| 'deadline-exceeded'
| 'not-found'
| 'already-exists'
| 'permission-denied'
| 'resource-exhausted'
| 'failed-precondition'
| 'aborted'
| 'out-of-range'
| 'unimplemented'
| 'internal'
| 'unavailable'
| 'data-loss'
| 'unauthenticated';
export type HttpsCallablePromise =
| Promise<HttpsCallableResult>
| Promise<HttpsError>;
export type HttpsCallable = (data?: any) => HttpsCallablePromise;
export type HttpsErrorCode = { [name: string]: FunctionsErrorCode };