@firebase/firestore 4.3.0-canary.40b3b0f65 → 4.3.0-canary.698eeb67d
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/dist/firestore/src/api/database.d.ts +13 -13
- package/dist/firestore/src/global_index.d.ts +13 -13
- package/dist/index.cjs.js +74 -74
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +13 -13
- package/dist/index.esm2017.js +74 -74
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +68 -68
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +2 -2
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +2 -2
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +76 -76
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +14 -14
- package/dist/lite/firestore/src/api/database.d.ts +13 -13
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.cjs.js +2 -2
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/dist/lite/packages/firestore/src/api/database.d.ts +13 -13
- package/dist/packages/firestore/dist/index.esm2017.d.ts +14 -14
- package/dist/packages/firestore/src/api/database.d.ts +13 -13
- package/dist/private.d.ts +14 -14
- package/package.json +9 -9
|
@@ -66,6 +66,14 @@ export declare class Firestore extends LiteFirestore {
|
|
|
66
66
|
* @returns A newly initialized {@link Firestore} instance.
|
|
67
67
|
*/
|
|
68
68
|
export declare function initializeFirestore(app: FirebaseApp, settings: FirestoreSettings, databaseId?: string): Firestore;
|
|
69
|
+
/**
|
|
70
|
+
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
71
|
+
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
72
|
+
* instance with default settings.
|
|
73
|
+
*
|
|
74
|
+
* @returns The default {@link Firestore} instance of the default app.
|
|
75
|
+
*/
|
|
76
|
+
export declare function getFirestore(): Firestore;
|
|
69
77
|
/**
|
|
70
78
|
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
71
79
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -73,36 +81,28 @@ export declare function initializeFirestore(app: FirebaseApp, settings: Firestor
|
|
|
73
81
|
*
|
|
74
82
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
75
83
|
* instance is associated with.
|
|
76
|
-
* @returns The {@link Firestore} instance of the provided app.
|
|
84
|
+
* @returns The default {@link Firestore} instance of the provided app.
|
|
77
85
|
*/
|
|
78
86
|
export declare function getFirestore(app: FirebaseApp): Firestore;
|
|
79
87
|
/**
|
|
80
|
-
* Returns the existing {@link Firestore} instance that is associated with the
|
|
88
|
+
* Returns the existing named {@link Firestore} instance that is associated with the
|
|
81
89
|
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
82
90
|
* instance with default settings.
|
|
83
91
|
*
|
|
84
92
|
* @param databaseId - The name of the database.
|
|
85
|
-
* @returns The {@link Firestore} instance of the
|
|
93
|
+
* @returns The named {@link Firestore} instance of the default app.
|
|
86
94
|
* @beta
|
|
87
95
|
*/
|
|
88
96
|
export declare function getFirestore(databaseId: string): Firestore;
|
|
89
97
|
/**
|
|
90
|
-
* Returns the existing
|
|
91
|
-
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
92
|
-
* instance with default settings.
|
|
93
|
-
*
|
|
94
|
-
* @returns The {@link Firestore} instance of the provided app.
|
|
95
|
-
*/
|
|
96
|
-
export declare function getFirestore(): Firestore;
|
|
97
|
-
/**
|
|
98
|
-
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
98
|
+
* Returns the existing named {@link Firestore} instance that is associated with the
|
|
99
99
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
100
100
|
* instance with default settings.
|
|
101
101
|
*
|
|
102
102
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
103
103
|
* instance is associated with.
|
|
104
104
|
* @param databaseId - The name of the database.
|
|
105
|
-
* @returns The {@link Firestore} instance of the provided app.
|
|
105
|
+
* @returns The named {@link Firestore} instance of the provided app.
|
|
106
106
|
* @beta
|
|
107
107
|
*/
|
|
108
108
|
export declare function getFirestore(app: FirebaseApp, databaseId: string): Firestore;
|
|
@@ -6933,6 +6933,14 @@ declare class Firestore extends Firestore$1 {
|
|
|
6933
6933
|
* @returns A newly initialized {@link Firestore} instance.
|
|
6934
6934
|
*/
|
|
6935
6935
|
declare function initializeFirestore(app: FirebaseApp, settings: FirestoreSettings, databaseId?: string): Firestore;
|
|
6936
|
+
/**
|
|
6937
|
+
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
6938
|
+
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
6939
|
+
* instance with default settings.
|
|
6940
|
+
*
|
|
6941
|
+
* @returns The default {@link Firestore} instance of the default app.
|
|
6942
|
+
*/
|
|
6943
|
+
declare function getFirestore(): Firestore;
|
|
6936
6944
|
/**
|
|
6937
6945
|
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
6938
6946
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -6940,36 +6948,28 @@ declare function initializeFirestore(app: FirebaseApp, settings: FirestoreSettin
|
|
|
6940
6948
|
*
|
|
6941
6949
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
6942
6950
|
* instance is associated with.
|
|
6943
|
-
* @returns The {@link Firestore} instance of the provided app.
|
|
6951
|
+
* @returns The default {@link Firestore} instance of the provided app.
|
|
6944
6952
|
*/
|
|
6945
6953
|
declare function getFirestore(app: FirebaseApp): Firestore;
|
|
6946
6954
|
/**
|
|
6947
|
-
* Returns the existing {@link Firestore} instance that is associated with the
|
|
6955
|
+
* Returns the existing named {@link Firestore} instance that is associated with the
|
|
6948
6956
|
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
6949
6957
|
* instance with default settings.
|
|
6950
6958
|
*
|
|
6951
6959
|
* @param databaseId - The name of the database.
|
|
6952
|
-
* @returns The {@link Firestore} instance of the
|
|
6960
|
+
* @returns The named {@link Firestore} instance of the default app.
|
|
6953
6961
|
* @beta
|
|
6954
6962
|
*/
|
|
6955
6963
|
declare function getFirestore(databaseId: string): Firestore;
|
|
6956
6964
|
/**
|
|
6957
|
-
* Returns the existing
|
|
6958
|
-
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
6959
|
-
* instance with default settings.
|
|
6960
|
-
*
|
|
6961
|
-
* @returns The {@link Firestore} instance of the provided app.
|
|
6962
|
-
*/
|
|
6963
|
-
declare function getFirestore(): Firestore;
|
|
6964
|
-
/**
|
|
6965
|
-
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
6965
|
+
* Returns the existing named {@link Firestore} instance that is associated with the
|
|
6966
6966
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
6967
6967
|
* instance with default settings.
|
|
6968
6968
|
*
|
|
6969
6969
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
6970
6970
|
* instance is associated with.
|
|
6971
6971
|
* @param databaseId - The name of the database.
|
|
6972
|
-
* @returns The {@link Firestore} instance of the provided app.
|
|
6972
|
+
* @returns The named {@link Firestore} instance of the provided app.
|
|
6973
6973
|
* @beta
|
|
6974
6974
|
*/
|
|
6975
6975
|
declare function getFirestore(app: FirebaseApp, databaseId: string): Firestore;
|