@firebase/firestore 3.12.2 → 3.13.0-20230620202556
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 +5 -5
- package/dist/firestore/src/lite-api/database.d.ts +6 -6
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +23 -3
- package/dist/index.esm2017.js +4 -4
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +4 -4
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +3 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +3 -3
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +4 -4
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +5 -5
- package/dist/lite/firestore/src/api/database.d.ts +5 -5
- package/dist/lite/firestore/src/lite-api/database.d.ts +6 -6
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.cjs.js +2 -2
- package/dist/lite/index.cjs.js.map +1 -1
- package/dist/lite/index.d.ts +36 -2
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +6 -6
- package/dist/lite/packages/firestore/src/api/database.d.ts +5 -5
- package/dist/lite/packages/firestore/src/lite-api/database.d.ts +6 -6
- package/dist/lite/private.d.ts +36 -3
- package/dist/packages/firestore/dist/index.esm2017.d.ts +1 -1
- package/dist/packages/firestore/src/api/database.d.ts +5 -5
- package/dist/packages/firestore/src/lite-api/database.d.ts +6 -6
- package/dist/private.d.ts +23 -3
- package/package.json +1 -1
package/dist/lite/index.d.ts
CHANGED
|
@@ -795,8 +795,28 @@ export declare function getFirestore(): Firestore;
|
|
|
795
795
|
* @returns The {@link Firestore} instance of the provided app.
|
|
796
796
|
*/
|
|
797
797
|
export declare function getFirestore(app: FirebaseApp): Firestore;
|
|
798
|
-
|
|
799
|
-
|
|
798
|
+
/**
|
|
799
|
+
* Returns the existing {@link Firestore} instance that is associated with the
|
|
800
|
+
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
801
|
+
* instance with default settings.
|
|
802
|
+
*
|
|
803
|
+
* @param databaseId - The name of the database.
|
|
804
|
+
* @returns The {@link Firestore} instance of the provided app.
|
|
805
|
+
* @beta
|
|
806
|
+
*/
|
|
807
|
+
export declare function getFirestore(databaseId: string): Firestore;
|
|
808
|
+
/**
|
|
809
|
+
* Returns the existing {@link Firestore} instance that is associated with the
|
|
810
|
+
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
811
|
+
* instance with default settings.
|
|
812
|
+
*
|
|
813
|
+
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
814
|
+
* instance is associated with.
|
|
815
|
+
* @param databaseId - The name of the database.
|
|
816
|
+
* @returns The {@link Firestore} instance of the provided app.
|
|
817
|
+
* @beta
|
|
818
|
+
*/
|
|
819
|
+
export declare function getFirestore(app: FirebaseApp, databaseId: string): Firestore;
|
|
800
820
|
/**
|
|
801
821
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
802
822
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -829,6 +849,20 @@ export declare function increment(n: number): FieldValue;
|
|
|
829
849
|
* @returns A newly initialized `Firestore` instance.
|
|
830
850
|
*/
|
|
831
851
|
export declare function initializeFirestore(app: FirebaseApp, settings: Settings): Firestore;
|
|
852
|
+
/**
|
|
853
|
+
* Initializes a new instance of Cloud Firestore with the provided settings.
|
|
854
|
+
* Can only be called before any other functions, including
|
|
855
|
+
* {@link (getFirestore:1)}. If the custom settings are empty, this function is
|
|
856
|
+
* equivalent to calling {@link (getFirestore:1)}.
|
|
857
|
+
*
|
|
858
|
+
* @param app - The {@link @firebase/app#FirebaseApp} with which the `Firestore` instance will
|
|
859
|
+
* be associated.
|
|
860
|
+
* @param settings - A settings object to configure the `Firestore` instance.
|
|
861
|
+
* @param databaseId - The name of the database.
|
|
862
|
+
* @returns A newly initialized `Firestore` instance.
|
|
863
|
+
* @beta
|
|
864
|
+
*/
|
|
865
|
+
export declare function initializeFirestore(app: FirebaseApp, settings: Settings, databaseId?: string): Firestore;
|
|
832
866
|
/**
|
|
833
867
|
* Creates a {@link QueryLimitConstraint} that only returns the first matching
|
|
834
868
|
* documents.
|
|
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
|
|
15
15
|
var nodeFetch__default = /*#__PURE__*/_interopDefaultLegacy(nodeFetch);
|
|
16
16
|
|
|
17
|
-
const version$1 = "3.
|
|
17
|
+
const version$1 = "3.13.0-20230620202556";
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @license
|
|
@@ -67,7 +67,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
|
67
67
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
68
68
|
User.MOCK_USER = new User('mock-user');
|
|
69
69
|
|
|
70
|
-
const version = "9.22.
|
|
70
|
+
const version = "9.22.3-20230620202556";
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* @license
|