@firebase/firestore 4.1.3-canary.74fc4cf9c → 4.1.3-canary.fbd8e0e2e
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/index_configuration.d.ts +25 -0
- package/dist/firestore/src/api/persistent_cache_index_manager.d.ts +6 -19
- package/dist/firestore/src/global_index.d.ts +31 -19
- package/dist/index.cjs.js +11 -23
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +65 -5
- package/dist/index.esm2017.js +11 -23
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +11 -23
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +8 -21
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +8 -21
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +98 -110
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +31 -19
- package/dist/lite/firestore/src/api/index_configuration.d.ts +25 -0
- package/dist/lite/firestore/src/api/persistent_cache_index_manager.d.ts +6 -19
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm5.js +37 -37
- 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/index_configuration.d.ts +25 -0
- package/dist/lite/packages/firestore/src/api/persistent_cache_index_manager.d.ts +6 -19
- package/dist/packages/firestore/dist/index.esm2017.d.ts +6 -19
- package/dist/packages/firestore/src/api/index_configuration.d.ts +25 -0
- package/dist/packages/firestore/src/api/persistent_cache_index_manager.d.ts +6 -19
- package/dist/private.d.ts +67 -5
- package/package.json +9 -9
package/dist/index.esm5.js
CHANGED
|
@@ -70,7 +70,7 @@ k.MOCK_USER = new k("mock-user");
|
|
|
70
70
|
* See the License for the specific language governing permissions and
|
|
71
71
|
* limitations under the License.
|
|
72
72
|
*/
|
|
73
|
-
var P = "10.3.1-canary.
|
|
73
|
+
var P = "10.3.1-canary.fbd8e0e2e", O = new l("@firebase/firestore");
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* @license
|
|
@@ -22253,17 +22253,16 @@ function Vf(t, e) {
|
|
|
22253
22253
|
* limitations under the License.
|
|
22254
22254
|
*/
|
|
22255
22255
|
/**
|
|
22256
|
-
* A `PersistentCacheIndexManager`
|
|
22257
|
-
*
|
|
22256
|
+
* A `PersistentCacheIndexManager` for configuring persistent cache indexes used
|
|
22257
|
+
* for local query execution.
|
|
22258
22258
|
*
|
|
22259
22259
|
* To use, call `getPersistentCacheIndexManager()` to get an instance.
|
|
22260
|
-
*
|
|
22261
|
-
* TODO(CSI) Remove @internal to make the API publicly available.
|
|
22262
|
-
* @internal
|
|
22263
22260
|
*/ var Lf =
|
|
22264
22261
|
/** @hideconstructor */
|
|
22265
22262
|
function(t) {
|
|
22266
|
-
this._client = t,
|
|
22263
|
+
this._client = t,
|
|
22264
|
+
/** A type string to uniquely identify instances of this class. */
|
|
22265
|
+
this.type = "PersistentCacheIndexManager";
|
|
22267
22266
|
};
|
|
22268
22267
|
|
|
22269
22268
|
/**
|
|
@@ -22272,9 +22271,6 @@ function(t) {
|
|
|
22272
22271
|
*
|
|
22273
22272
|
* @return The `PersistentCacheIndexManager` instance, or `null` if local
|
|
22274
22273
|
* persistent storage is not in use.
|
|
22275
|
-
*
|
|
22276
|
-
* TODO(CSI) Remove @internal to make the API publicly available.
|
|
22277
|
-
* @internal
|
|
22278
22274
|
*/ function qf(t) {
|
|
22279
22275
|
var e;
|
|
22280
22276
|
t = Hc(t, hl);
|
|
@@ -22285,13 +22281,11 @@ function(t) {
|
|
|
22285
22281
|
var i = new Lf(r);
|
|
22286
22282
|
return Qf.set(t, i), i
|
|
22287
22283
|
/**
|
|
22288
|
-
* Enables SDK to create persistent cache indexes automatically for local
|
|
22289
|
-
* execution when SDK believes cache indexes can help
|
|
22284
|
+
* Enables the SDK to create persistent cache indexes automatically for local
|
|
22285
|
+
* query execution when the SDK believes cache indexes can help improve
|
|
22286
|
+
* performance.
|
|
22290
22287
|
*
|
|
22291
22288
|
* This feature is disabled by default.
|
|
22292
|
-
*
|
|
22293
|
-
* TODO(CSI) Remove @internal to make the API publicly available.
|
|
22294
|
-
* @internal
|
|
22295
22289
|
*/;
|
|
22296
22290
|
}
|
|
22297
22291
|
|
|
@@ -22303,9 +22297,6 @@ function Uf(t) {
|
|
|
22303
22297
|
* Stops creating persistent cache indexes automatically for local query
|
|
22304
22298
|
* execution. The indexes which have been created by calling
|
|
22305
22299
|
* `enablePersistentCacheIndexAutoCreation()` still take effect.
|
|
22306
|
-
*
|
|
22307
|
-
* TODO(CSI) Remove @internal to make the API publicly available.
|
|
22308
|
-
* @internal
|
|
22309
22300
|
*/ function Bf(t) {
|
|
22310
22301
|
Gf(t, !1);
|
|
22311
22302
|
}
|
|
@@ -22315,9 +22306,6 @@ function Uf(t) {
|
|
|
22315
22306
|
*
|
|
22316
22307
|
* Please note this function will also deletes indexes generated by
|
|
22317
22308
|
* `setIndexConfiguration()`, which is deprecated.
|
|
22318
|
-
*
|
|
22319
|
-
* TODO(CSI) Remove @internal to make the API publicly available.
|
|
22320
|
-
* @internal
|
|
22321
22309
|
*/ function zf(t) {
|
|
22322
22310
|
t._client.verifyNotTerminated(), function(t) {
|
|
22323
22311
|
var r = this;
|
|
@@ -22457,9 +22445,9 @@ function Gf(t, r) {
|
|
|
22457
22445
|
return r = Object.assign({
|
|
22458
22446
|
useFetchStreams: jf
|
|
22459
22447
|
}, r), o._setSettings(r), o;
|
|
22460
|
-
}), "PUBLIC").setMultipleInstances(!0)), a(A, "4.1.3-canary.
|
|
22448
|
+
}), "PUBLIC").setMultipleInstances(!0)), a(A, "4.1.3-canary.fbd8e0e2e", Kf),
|
|
22461
22449
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
22462
|
-
a(A, "4.1.3-canary.
|
|
22450
|
+
a(A, "4.1.3-canary.fbd8e0e2e", "esm5");
|
|
22463
22451
|
|
|
22464
22452
|
export { Fh as AbstractUserDataWriter, Cl as AggregateField, Dl as AggregateQuerySnapshot, Nl as Bytes, ll as CACHE_SIZE_UNLIMITED, el as CollectionReference, tl as DocumentReference, Kh as DocumentSnapshot, Al as FieldPath, Pl as FieldValue, hl as Firestore, j as FirestoreError, Ol as GeoPoint, cl as LoadBundleTask, Lf as PersistentCacheIndexManager, $c as Query, vh as QueryCompositeFilterConstraint, hh as QueryConstraint, jh as QueryDocumentSnapshot, xh as QueryEndAtConstraint, dh as QueryFieldFilterConstraint, bh as QueryLimitConstraint, gh as QueryOrderByConstraint, Qh as QuerySnapshot, Eh as QueryStartAtConstraint, Gh as SnapshotMetadata, ut as Timestamp, Df as Transaction, xf as WriteBatch, ke as _ByteString, Ue as _DatabaseId, dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, H as _EmptyAuthCredentialsProvider, ft as _FieldPath, Wf as _TestingHooks, Hc as _cast, z as _debugAssert, Ae as _isBase64Available, L as _logWarn, Kc as _validateIsNotUsedTogether, af as addDoc, Bh as aggregateFieldEqual, zh as aggregateQuerySnapshotEqual, yh as and, Of as arrayRemove, Pf as arrayUnion, qh as average, wl as clearIndexedDbPersistence, nl as collection, rl as collectionGroup, Zc as connectFirestoreEmulator, Uh as count, zf as deleteAllPersistentCacheIndexes, of as deleteDoc, Af as deleteField, _l as disableNetwork, Bf as disablePersistentCacheIndexAutoCreation, il as doc, kl as documentId, ml as enableIndexedDbPersistence, yl as enableMultiTabIndexedDbPersistence, Il as enableNetwork, Uf as enablePersistentCacheIndexAutoCreation, Dh as endAt, Ch as endBefore, pl as ensureFirestoreConfigured, cf as executeWrite, ff as getAggregateFromServer, hf as getCountFromServer, Yh as getDoc, Jh as getDocFromCache, Zh as getDocFromServer, $h as getDocs, tf as getDocsFromCache, ef as getDocsFromServer, dl as getFirestore, qf as getPersistentCacheIndexManager, Rf as increment, fl as initializeFirestore, Ih as limit, _h as limitToLast, Tl as loadBundle, yf as memoryEagerGarbageCollector, wf as memoryLocalCache, gf as memoryLruGarbageCollector, Sl as namedQuery, uf as onSnapshot, sf as onSnapshotsInSync, mh as or, wh as orderBy, bf as persistentLocalCache, Tf as persistentMultipleTabManager, Ef as persistentSingleTabManager, fh as query, al as queryEqual, ol as refEqual, Nf as runTransaction, kf as serverTimestamp, nf as setDoc, Mf as setIndexConfiguration, F as setLogLevel, Hh as snapshotEqual, Sh as startAfter, Th as startAt, Lh as sum, El as terminate, rf as updateDoc, bl as waitForPendingWrites, ph as where, Ff as writeBatch };
|
|
22465
22453
|
//# sourceMappingURL=index.esm5.js.map
|