@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
package/dist/internal.d.ts
CHANGED
|
@@ -2498,15 +2498,6 @@ export declare function getDocsFromCache<T>(query: Query<T>): Promise<QuerySnaps
|
|
|
2498
2498
|
*/
|
|
2499
2499
|
export declare function getDocsFromServer<T>(query: Query<T>): Promise<QuerySnapshot<T>>;
|
|
2500
2500
|
|
|
2501
|
-
/**
|
|
2502
|
-
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
2503
|
-
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
2504
|
-
* instance with default settings.
|
|
2505
|
-
*
|
|
2506
|
-
* @returns The {@link Firestore} instance of the provided app.
|
|
2507
|
-
*/
|
|
2508
|
-
export declare function getFirestore(): Firestore;
|
|
2509
|
-
|
|
2510
2501
|
/**
|
|
2511
2502
|
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
2512
2503
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -2530,7 +2521,16 @@ export declare function getFirestore(app: FirebaseApp): Firestore;
|
|
|
2530
2521
|
export declare function getFirestore(databaseId: string): Firestore;
|
|
2531
2522
|
|
|
2532
2523
|
/**
|
|
2533
|
-
* Returns the existing {@link Firestore} instance that is associated with the
|
|
2524
|
+
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
2525
|
+
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
2526
|
+
* instance with default settings.
|
|
2527
|
+
*
|
|
2528
|
+
* @returns The {@link Firestore} instance of the provided app.
|
|
2529
|
+
*/
|
|
2530
|
+
export declare function getFirestore(): Firestore;
|
|
2531
|
+
|
|
2532
|
+
/**
|
|
2533
|
+
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
2534
2534
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
2535
2535
|
* instance with default settings.
|
|
2536
2536
|
*
|
|
@@ -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
|
*
|