2017-11-17 16:17:27 +00:00
|
|
|
/**
|
|
|
|
* @flow
|
|
|
|
*/
|
2017-12-22 15:24:31 +00:00
|
|
|
import firebase from './modules/core/firebase';
|
2017-11-17 16:17:27 +00:00
|
|
|
|
2018-02-14 13:00:19 +00:00
|
|
|
export default firebase;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Export App types
|
|
|
|
*/
|
|
|
|
export type { default as App } from './modules/core/app';
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Export Auth types
|
|
|
|
*/
|
|
|
|
export type {
|
|
|
|
ActionCodeInfo,
|
|
|
|
ActionCodeSettings,
|
|
|
|
AdditionalUserInfo,
|
|
|
|
AuthCredential,
|
|
|
|
UserCredential,
|
|
|
|
UserInfo,
|
|
|
|
UserMetadata,
|
|
|
|
} from './modules/auth/types';
|
|
|
|
export type {
|
|
|
|
default as ConfirmationResult,
|
2018-03-20 16:07:37 +00:00
|
|
|
} from './modules/auth/phone/ConfirmationResult';
|
2017-12-22 15:24:31 +00:00
|
|
|
export type { default as User } from './modules/auth/User';
|
2017-11-17 16:17:27 +00:00
|
|
|
|
2018-02-14 13:00:19 +00:00
|
|
|
/*
|
|
|
|
* Export Database types
|
|
|
|
*/
|
|
|
|
export type { default as DataSnapshot } from './modules/database/DataSnapshot';
|
|
|
|
export type { default as OnDisconnect } from './modules/database/OnDisconnect';
|
|
|
|
export type { default as Reference } from './modules/database/Reference';
|
|
|
|
export type { default as DataQuery } from './modules/database/Query';
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Export Firestore types
|
|
|
|
*/
|
|
|
|
export type {
|
2018-05-08 14:36:40 +00:00
|
|
|
MetadataChanges,
|
2018-02-14 13:00:19 +00:00
|
|
|
SetOptions,
|
|
|
|
SnapshotMetadata,
|
|
|
|
} from './modules/firestore/types';
|
|
|
|
export type {
|
|
|
|
default as CollectionReference,
|
|
|
|
} from './modules/firestore/CollectionReference';
|
|
|
|
export type {
|
|
|
|
default as DocumentChange,
|
|
|
|
} from './modules/firestore/DocumentChange';
|
|
|
|
export type {
|
|
|
|
default as DocumentReference,
|
|
|
|
} from './modules/firestore/DocumentReference';
|
|
|
|
export type {
|
|
|
|
default as DocumentSnapshot,
|
|
|
|
} from './modules/firestore/DocumentSnapshot';
|
|
|
|
export type { default as FieldPath } from './modules/firestore/FieldPath';
|
|
|
|
export type { default as FieldValue } from './modules/firestore/FieldValue';
|
|
|
|
export type { default as GeoPoint } from './modules/firestore/GeoPoint';
|
|
|
|
export type { default as Query } from './modules/firestore/Query';
|
|
|
|
export type {
|
|
|
|
default as QuerySnapshot,
|
|
|
|
} from './modules/firestore/QuerySnapshot';
|
|
|
|
export type { default as WriteBatch } from './modules/firestore/WriteBatch';
|
2018-02-15 15:34:31 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Export Messaging types
|
|
|
|
*/
|
|
|
|
export type {
|
|
|
|
default as RemoteMessage,
|
|
|
|
} from './modules/messaging/RemoteMessage';
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Export Notifications types
|
|
|
|
*/
|
|
|
|
export type {
|
|
|
|
default as Notification,
|
2018-03-29 16:53:39 +00:00
|
|
|
NotificationOpen,
|
2018-02-15 15:34:31 +00:00
|
|
|
} from './modules/notifications/Notification';
|