mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
[functions][android][js] implementation - wip
This commit is contained in:
@@ -15,6 +15,8 @@ import type Database from '../modules/database';
|
||||
import { typeof statics as DatabaseStatics } from '../modules/database';
|
||||
import type Firestore from '../modules/firestore';
|
||||
import { typeof statics as FirestoreStatics } from '../modules/firestore';
|
||||
import type Functions from '../modules/functions';
|
||||
import { typeof statics as FunctionsStatics } from '../modules/functions';
|
||||
import type InstanceId from '../modules/iid';
|
||||
import { typeof statics as InstanceIdStatics } from '../modules/iid';
|
||||
import type Invites from '../modules/invites';
|
||||
@@ -63,6 +65,7 @@ export type FirebaseModuleName =
|
||||
| 'RNFirebaseCrashlytics'
|
||||
| 'RNFirebaseDatabase'
|
||||
| 'RNFirebaseFirestore'
|
||||
| 'RNFirebaseFunctions'
|
||||
| 'RNFirebaseInstanceId'
|
||||
| 'RNFirebaseInvites'
|
||||
| 'RNFirebaseLinks'
|
||||
@@ -171,6 +174,13 @@ export type FirestoreModule = {
|
||||
nativeModuleExists: boolean,
|
||||
} & FirestoreStatics;
|
||||
|
||||
/* Functions types */
|
||||
|
||||
export type FunctionsModule = {
|
||||
(): Functions,
|
||||
nativeModuleExists: boolean,
|
||||
} & FunctionsStatics;
|
||||
|
||||
/* InstanceId types */
|
||||
|
||||
export type InstanceIdModule = {
|
||||
|
||||
Reference in New Issue
Block a user