react-query-firebase 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ReactNativeFirebase } from "@react-native-firebase/app";
|
|
2
|
+
import { type FirebaseAuthTypes } from "@react-native-firebase/auth";
|
|
3
|
+
import { type FirebaseAnalyticsTypes } from "@react-native-firebase/analytics";
|
|
4
|
+
import { type FirebaseRemoteConfigTypes } from "@react-native-firebase/remote-config";
|
|
5
|
+
import { type FirebaseFirestoreTypes } from "@react-native-firebase/firestore";
|
|
2
6
|
export type FirebaseContextValue = {
|
|
3
|
-
auth:
|
|
4
|
-
analytics:
|
|
5
|
-
firebase:
|
|
6
|
-
remoteConfig:
|
|
7
|
-
firestore:
|
|
7
|
+
auth: FirebaseAuthTypes.Module;
|
|
8
|
+
analytics: FirebaseAnalyticsTypes.Module;
|
|
9
|
+
firebase: ReactNativeFirebase.FirebaseApp;
|
|
10
|
+
remoteConfig: FirebaseRemoteConfigTypes.Module;
|
|
11
|
+
firestore: FirebaseFirestoreTypes.Module;
|
|
8
12
|
};
|
|
9
13
|
/**
|
|
10
14
|
* FirebaseContext is a shared context across children that provides access to firebase features
|
|
@@ -2,14 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
import { createContext } from "react";
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { type ReactNativeFirebase } from "@react-native-firebase/app";
|
|
6
|
+
import { type FirebaseAuthTypes } from "@react-native-firebase/auth";
|
|
7
|
+
import { type FirebaseAnalyticsTypes } from "@react-native-firebase/analytics";
|
|
8
|
+
import { type FirebaseRemoteConfigTypes } from "@react-native-firebase/remote-config";
|
|
9
|
+
import { type FirebaseFirestoreTypes } from "@react-native-firebase/firestore";
|
|
6
10
|
|
|
7
11
|
export type FirebaseContextValue = {
|
|
8
|
-
auth:
|
|
9
|
-
analytics:
|
|
10
|
-
firebase:
|
|
11
|
-
remoteConfig:
|
|
12
|
-
firestore:
|
|
12
|
+
auth: FirebaseAuthTypes.Module;
|
|
13
|
+
analytics: FirebaseAnalyticsTypes.Module;
|
|
14
|
+
firebase: ReactNativeFirebase.FirebaseApp;
|
|
15
|
+
remoteConfig: FirebaseRemoteConfigTypes.Module;
|
|
16
|
+
firestore: FirebaseFirestoreTypes.Module;
|
|
13
17
|
};
|
|
14
18
|
|
|
15
19
|
/**
|