@firebase/firestore 3.5.0-canary.ee871fc0b → 3.5.0-canary.fdd4ab464
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 +9 -9
- package/dist/firestore/src/lite-api/database.d.ts +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.esm2017.js +2830 -2823
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +2785 -2778
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +11 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +12 -4
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +2845 -2838
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +10 -10
- package/dist/lite/firestore/src/api/database.d.ts +9 -9
- package/dist/lite/firestore/src/lite-api/database.d.ts +1 -1
- package/dist/lite/index.browser.esm2017.js +898 -891
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +854 -847
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +11 -3
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +12 -4
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +905 -898
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +113 -113
- package/dist/lite/packages/firestore/src/api/database.d.ts +9 -9
- package/dist/lite/packages/firestore/src/lite-api/database.d.ts +1 -1
- package/dist/packages/firestore/dist/index.esm2017.d.ts +164 -164
- package/dist/packages/firestore/src/api/database.d.ts +9 -9
- package/dist/packages/firestore/src/lite-api/database.d.ts +1 -1
- package/dist/private.d.ts +8 -8
- package/package.json +9 -9
|
@@ -66,14 +66,6 @@ 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 {@link Firestore} instance of the provided app.
|
|
75
|
-
*/
|
|
76
|
-
export declare function getFirestore(): Firestore;
|
|
77
69
|
/**
|
|
78
70
|
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
79
71
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -95,7 +87,15 @@ export declare function getFirestore(app: FirebaseApp): Firestore;
|
|
|
95
87
|
*/
|
|
96
88
|
export declare function getFirestore(databaseId: string): Firestore;
|
|
97
89
|
/**
|
|
98
|
-
* Returns the existing {@link Firestore} instance that is associated with the
|
|
90
|
+
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
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
|
|
99
99
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
100
100
|
* instance with default settings.
|
|
101
101
|
*
|
|
@@ -21,6 +21,7 @@ import { User } from '../auth/user';
|
|
|
21
21
|
import { DatabaseId } from '../core/database_info';
|
|
22
22
|
import { FirestoreService } from './components';
|
|
23
23
|
import { FirestoreSettingsImpl, PrivateSettings, FirestoreSettings } from './settings';
|
|
24
|
+
export { EmulatorMockTokenOptions } from '@firebase/util';
|
|
24
25
|
declare module '@firebase/component' {
|
|
25
26
|
interface NameServiceMapping {
|
|
26
27
|
'firestore/lite': Firestore;
|
|
@@ -134,7 +135,6 @@ export declare function getFirestore(databaseId: string): Firestore;
|
|
|
134
135
|
* @internal
|
|
135
136
|
*/
|
|
136
137
|
export declare function getFirestore(app: FirebaseApp, databaseId: string): Firestore;
|
|
137
|
-
export { EmulatorMockTokenOptions } from '@firebase/util';
|
|
138
138
|
/**
|
|
139
139
|
* Modify this instance to communicate with the Cloud Firestore emulator.
|
|
140
140
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -988,23 +988,23 @@ export declare function getDocsFromCache<T>(query: Query<T>): Promise<QuerySnaps
|
|
|
988
988
|
export declare function getDocsFromServer<T>(query: Query<T>): Promise<QuerySnapshot<T>>;
|
|
989
989
|
/**
|
|
990
990
|
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
991
|
-
*
|
|
991
|
+
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
992
992
|
* instance with default settings.
|
|
993
993
|
*
|
|
994
|
+
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
995
|
+
* instance is associated with.
|
|
994
996
|
* @returns The {@link Firestore} instance of the provided app.
|
|
995
997
|
*/
|
|
996
|
-
export declare function getFirestore(): Firestore;
|
|
998
|
+
export declare function getFirestore(app: FirebaseApp): Firestore;
|
|
999
|
+
/* Excluded declaration from this release type: getFirestore */
|
|
997
1000
|
/**
|
|
998
1001
|
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
999
|
-
*
|
|
1002
|
+
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
1000
1003
|
* instance with default settings.
|
|
1001
1004
|
*
|
|
1002
|
-
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
1003
|
-
* instance is associated with.
|
|
1004
1005
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1005
1006
|
*/
|
|
1006
|
-
export declare function getFirestore(
|
|
1007
|
-
/* Excluded declaration from this release type: getFirestore */
|
|
1007
|
+
export declare function getFirestore(): Firestore;
|
|
1008
1008
|
/* Excluded declaration from this release type: getFirestore */
|
|
1009
1009
|
/**
|
|
1010
1010
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|