@firebase/firestore 3.12.2 → 3.13.0-20230621164011
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/index.d.ts
CHANGED
|
@@ -1103,7 +1103,16 @@ export declare function getDocsFromServer<T>(query: Query<T>): Promise<QuerySnap
|
|
|
1103
1103
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1104
1104
|
*/
|
|
1105
1105
|
export declare function getFirestore(app: FirebaseApp): Firestore;
|
|
1106
|
-
|
|
1106
|
+
/**
|
|
1107
|
+
* Returns the existing {@link Firestore} instance that is associated with the
|
|
1108
|
+
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
1109
|
+
* instance with default settings.
|
|
1110
|
+
*
|
|
1111
|
+
* @param databaseId - The name of the database.
|
|
1112
|
+
* @returns The {@link Firestore} instance of the provided app.
|
|
1113
|
+
* @beta
|
|
1114
|
+
*/
|
|
1115
|
+
export declare function getFirestore(databaseId: string): Firestore;
|
|
1107
1116
|
/**
|
|
1108
1117
|
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
1109
1118
|
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -1112,7 +1121,18 @@ export declare function getFirestore(app: FirebaseApp): Firestore;
|
|
|
1112
1121
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1113
1122
|
*/
|
|
1114
1123
|
export declare function getFirestore(): Firestore;
|
|
1115
|
-
|
|
1124
|
+
/**
|
|
1125
|
+
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
1126
|
+
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
1127
|
+
* instance with default settings.
|
|
1128
|
+
*
|
|
1129
|
+
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
1130
|
+
* instance is associated with.
|
|
1131
|
+
* @param databaseId - The name of the database.
|
|
1132
|
+
* @returns The {@link Firestore} instance of the provided app.
|
|
1133
|
+
* @beta
|
|
1134
|
+
*/
|
|
1135
|
+
export declare function getFirestore(app: FirebaseApp, databaseId: string): Firestore;
|
|
1116
1136
|
/**
|
|
1117
1137
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1118
1138
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1188,7 +1208,7 @@ export declare interface IndexField {
|
|
|
1188
1208
|
* @param app - The {@link @firebase/app#FirebaseApp} with which the {@link Firestore} instance will
|
|
1189
1209
|
* be associated.
|
|
1190
1210
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1191
|
-
* @param databaseId - The name of database.
|
|
1211
|
+
* @param databaseId - The name of the database.
|
|
1192
1212
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1193
1213
|
*/
|
|
1194
1214
|
export declare function initializeFirestore(app: FirebaseApp, settings: FirestoreSettings, databaseId?: string): Firestore;
|
package/dist/index.esm2017.js
CHANGED
|
@@ -66,7 +66,7 @@ V.MOCK_USER = new V("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let S = "9.
|
|
69
|
+
let S = "9.23.0-20230621164011";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -18340,7 +18340,7 @@ class Eh {
|
|
|
18340
18340
|
* @param app - The {@link @firebase/app#FirebaseApp} with which the {@link Firestore} instance will
|
|
18341
18341
|
* be associated.
|
|
18342
18342
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
18343
|
-
* @param databaseId - The name of database.
|
|
18343
|
+
* @param databaseId - The name of the database.
|
|
18344
18344
|
* @returns A newly initialized {@link Firestore} instance.
|
|
18345
18345
|
*/ function Rh(t, e, n) {
|
|
18346
18346
|
n || (n = "(default)");
|
|
@@ -21378,9 +21378,9 @@ function Jf(t, e) {
|
|
|
21378
21378
|
return s = Object.assign({
|
|
21379
21379
|
useFetchStreams: e
|
|
21380
21380
|
}, s), r._setSettings(s), r;
|
|
21381
|
-
}), "PUBLIC").setMultipleInstances(!0)), registerVersion(b, "3.
|
|
21381
|
+
}), "PUBLIC").setMultipleInstances(!0)), registerVersion(b, "3.13.0-20230621164011", t),
|
|
21382
21382
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
21383
|
-
registerVersion(b, "3.
|
|
21383
|
+
registerVersion(b, "3.13.0-20230621164011", "esm2017");
|
|
21384
21384
|
}();
|
|
21385
21385
|
|
|
21386
21386
|
export { Wl as AbstractUserDataWriter, Lh as AggregateField, qh as AggregateQuerySnapshot, Uh as Bytes, Ah as CACHE_SIZE_UNLIMITED, wh as CollectionReference, fh as DocumentReference, sf as DocumentSnapshot, Kh as FieldPath, Qh as FieldValue, vh as Firestore, U as FirestoreError, jh as GeoPoint, Eh as LoadBundleTask, dh as Query, Vl as QueryCompositeFilterConstraint, vl as QueryConstraint, rf as QueryDocumentSnapshot, Bl as QueryEndAtConstraint, Pl as QueryFieldFilterConstraint, Nl as QueryLimitConstraint, Cl as QueryOrderByConstraint, of as QuerySnapshot, $l as QueryStartAtConstraint, nf as SnapshotMetadata, it as Timestamp, qf as Transaction, Bf as WriteBatch, Oe as _DatabaseId, ht as _DocumentKey, X as _EmptyAppCheckTokenProvider, Q as _EmptyAuthCredentialsProvider, at as _FieldPath, ci as _TestingHooks, uh as _cast, B as _debugAssert, be as _isBase64Available, M as _logWarn, sh as _validateIsNotUsedTogether, pf as addDoc, tf as aggregateFieldEqual, ef as aggregateQuerySnapshotEqual, Dl as and, jf as arrayRemove, Qf as arrayUnion, Xl as average, xh as clearIndexedDbPersistence, _h as collection, mh as collectionGroup, lh as connectFirestoreEmulator, Zl as count, yf as deleteDoc, Kf as deleteField, Mh as disableNetwork, gh as doc, Gh as documentId, Sh as enableIndexedDbPersistence, Dh as enableMultiTabIndexedDbPersistence, kh as enableNetwork, ql as endAt, Ll as endBefore, bh as ensureFirestoreConfigured, Ef as executeWrite, Rf as getAggregateFromServer, vf as getCountFromServer, af as getDoc, lf as getDocFromCache, ff as getDocFromServer, df as getDocs, wf as getDocsFromCache, _f as getDocsFromServer, Ph as getFirestore, zf as increment, Rh as initializeFirestore, kl as limit, Ml as limitToLast, Oh as loadBundle, Df as memoryEagerGarbageCollector, xf as memoryLocalCache, Cf as memoryLruGarbageCollector, Fh as namedQuery, If as onSnapshot, Tf as onSnapshotsInSync, Sl as or, xl as orderBy, Nf as persistentLocalCache, Of as persistentMultipleTabManager, $f as persistentSingleTabManager, Rl as query, ph as queryEqual, yh as refEqual, Uf as runTransaction, Gf as serverTimestamp, mf as setDoc, Hf as setIndexConfiguration, x as setLogLevel, cf as snapshotEqual, Fl as startAfter, Ol as startAt, Yl as sum, $h as terminate, gf as updateDoc, Nh as waitForPendingWrites, bl as where, Wf as writeBatch };
|