@firebase/firestore 3.12.0-20230511201449 → 3.12.0
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/index.cjs.js +1475 -1475
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +1475 -1475
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +2626 -2626
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +2 -2
- package/dist/index.node.mjs +2 -2
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +1475 -1475
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/index.browser.esm2017.js +80 -80
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +122 -122
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.cjs.js +80 -80
- package/dist/lite/index.cjs.js.map +1 -1
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +80 -80
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +4 -4
- package/dist/packages/firestore/dist/index.esm2017.d.ts +252 -252
- package/package.json +5 -5
- package/CHANGELOG.md +0 -1349
- package/dist/firestore/src/tsdoc-metadata.json +0 -11
|
@@ -67,7 +67,7 @@ v.MOCK_USER = new v("mock-user");
|
|
|
67
67
|
* See the License for the specific language governing permissions and
|
|
68
68
|
* limitations under the License.
|
|
69
69
|
*/
|
|
70
|
-
var g = "9.22.0
|
|
70
|
+
var g = "9.22.0", w = new l("@firebase/firestore");
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* @license
|
|
@@ -225,7 +225,7 @@ e) {
|
|
|
225
225
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
226
226
|
* See the License for the specific language governing permissions and
|
|
227
227
|
* limitations under the License.
|
|
228
|
-
*/ var
|
|
228
|
+
*/ var F = "cancelled", P = "unknown", O = "invalid-argument", V = "deadline-exceeded", D = "not-found", N = "permission-denied", q = "unauthenticated", R = "resource-exhausted", x = "failed-precondition", C = "aborted", j = "out-of-range", L = "unimplemented", M = "internal", U = "unavailable", B = /** @class */ function(e) {
|
|
229
229
|
/** @hideconstructor */
|
|
230
230
|
function n(
|
|
231
231
|
/**
|
|
@@ -826,7 +826,7 @@ function pt(t) {
|
|
|
826
826
|
* Code.UNKNOWN.
|
|
827
827
|
*/
|
|
828
828
|
function gt(t) {
|
|
829
|
-
if (void 0 === t) return T("RPC_ERROR", "HTTP error has no status"),
|
|
829
|
+
if (void 0 === t) return T("RPC_ERROR", "HTTP error has no status"), P;
|
|
830
830
|
// The canonical error codes for Google APIs [1] specify mapping onto HTTP
|
|
831
831
|
// status codes but the mapping is not bijective. In each case of ambiguity
|
|
832
832
|
// this function chooses a primary error.
|
|
@@ -872,11 +872,11 @@ function gt(t) {
|
|
|
872
872
|
|
|
873
873
|
case 499:
|
|
874
874
|
// Client Closed Request
|
|
875
|
-
return
|
|
875
|
+
return F;
|
|
876
876
|
|
|
877
877
|
case 500:
|
|
878
878
|
// Internal Server Error
|
|
879
|
-
return
|
|
879
|
+
return P;
|
|
880
880
|
|
|
881
881
|
// Other possibilities:
|
|
882
882
|
// return Code.INTERNAL;
|
|
@@ -894,7 +894,7 @@ function gt(t) {
|
|
|
894
894
|
return V;
|
|
895
895
|
|
|
896
896
|
default:
|
|
897
|
-
return t >= 200 && t < 300 ? "ok" : t >= 400 && t < 500 ? x : t >= 500 && t < 600 ? M :
|
|
897
|
+
return t >= 200 && t < 300 ? "ok" : t >= 400 && t < 500 ? x : t >= 500 && t < 600 ? M : P;
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
900
|
|
|
@@ -1187,7 +1187,7 @@ function It(t, e) {
|
|
|
1187
1187
|
return (t = e.apply(this, arguments) || this).name = "Base64DecodeError", t;
|
|
1188
1188
|
}
|
|
1189
1189
|
return t(n, e), n;
|
|
1190
|
-
}(Error),
|
|
1190
|
+
}(Error), Ft = /** @class */ function() {
|
|
1191
1191
|
function t(t) {
|
|
1192
1192
|
this.binaryString = t;
|
|
1193
1193
|
}
|
|
@@ -1286,9 +1286,9 @@ function It(t, e) {
|
|
|
1286
1286
|
* the proto byte string in a common class that must be converted into a string
|
|
1287
1287
|
* before being sent as a proto.
|
|
1288
1288
|
* @internal
|
|
1289
|
-
*/
|
|
1289
|
+
*/ Ft.EMPTY_BYTE_STRING = new Ft("");
|
|
1290
1290
|
|
|
1291
|
-
var
|
|
1291
|
+
var Pt = new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);
|
|
1292
1292
|
|
|
1293
1293
|
/**
|
|
1294
1294
|
* Converts the possible Proto values for a timestamp value into a "seconds and
|
|
@@ -1301,7 +1301,7 @@ var Ft = new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);
|
|
|
1301
1301
|
// The date string can have higher precision (nanos) than the Date class
|
|
1302
1302
|
// (millis), so we do some custom parsing here.
|
|
1303
1303
|
// Parse the nanos right out of the string.
|
|
1304
|
-
var e = 0, n =
|
|
1304
|
+
var e = 0, n = Pt.exec(t);
|
|
1305
1305
|
if (I(!!n), n[1]) {
|
|
1306
1306
|
// Pad the fraction out to 9 digits (nanos).
|
|
1307
1307
|
var r = n[1];
|
|
@@ -1329,7 +1329,7 @@ var Ft = new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);
|
|
|
1329
1329
|
}
|
|
1330
1330
|
|
|
1331
1331
|
/** Converts the possible Proto types for Blobs into a ByteString. */ function Dt(t) {
|
|
1332
|
-
return "string" == typeof t ?
|
|
1332
|
+
return "string" == typeof t ? Ft.fromBase64String(t) : Ft.fromUint8Array(t);
|
|
1333
1333
|
}
|
|
1334
1334
|
|
|
1335
1335
|
/**
|
|
@@ -2833,7 +2833,7 @@ function Se(t) {
|
|
|
2833
2833
|
return e.O;
|
|
2834
2834
|
}
|
|
2835
2835
|
|
|
2836
|
-
function
|
|
2836
|
+
function Fe(t, e) {
|
|
2837
2837
|
e.getFirstInequalityField(), Se(t);
|
|
2838
2838
|
var n = t.filters.concat([ e ]);
|
|
2839
2839
|
return new Te(t.path, t.collectionGroup, t.explicitOrderBy.slice(), n, t.limit, t.limitType, t.startAt, t.endAt);
|
|
@@ -2864,7 +2864,7 @@ function Pe(t, e) {
|
|
|
2864
2864
|
* The return value is an IntegerValue if it can safely represent the value,
|
|
2865
2865
|
* otherwise a DoubleValue is returned.
|
|
2866
2866
|
*/
|
|
2867
|
-
function
|
|
2867
|
+
function Pe(t, e) {
|
|
2868
2868
|
return function(t) {
|
|
2869
2869
|
return "number" == typeof t && Number.isInteger(t) && !dt(t) && t <= Number.MAX_SAFE_INTEGER && t >= Number.MIN_SAFE_INTEGER;
|
|
2870
2870
|
}(e) ?
|
|
@@ -3350,7 +3350,7 @@ function ln(t) {
|
|
|
3350
3350
|
return r.connection.v(t, e, n, o, a);
|
|
3351
3351
|
})).catch((function(t) {
|
|
3352
3352
|
throw "FirebaseError" === t.name ? (t.code === q && (r.authCredentials.invalidateToken(),
|
|
3353
|
-
r.appCheckCredentials.invalidateToken()), t) : new B(
|
|
3353
|
+
r.appCheckCredentials.invalidateToken()), t) : new B(P, t.toString());
|
|
3354
3354
|
}));
|
|
3355
3355
|
},
|
|
3356
3356
|
/** Invokes the provided RPC with streamed results with auth and AppCheck tokens. */ n.prototype.R = function(t, e, n, r) {
|
|
@@ -3360,7 +3360,7 @@ function ln(t) {
|
|
|
3360
3360
|
return i.connection.R(t, e, n, a, u, r);
|
|
3361
3361
|
})).catch((function(t) {
|
|
3362
3362
|
throw "FirebaseError" === t.name ? (t.code === q && (i.authCredentials.invalidateToken(),
|
|
3363
|
-
i.appCheckCredentials.invalidateToken()), t) : new B(
|
|
3363
|
+
i.appCheckCredentials.invalidateToken()), t) : new B(P, t.toString());
|
|
3364
3364
|
}));
|
|
3365
3365
|
}, n.prototype.terminate = function() {
|
|
3366
3366
|
this.J = !0;
|
|
@@ -3864,7 +3864,7 @@ t, e) {
|
|
|
3864
3864
|
* The collection this `DocumentReference` belongs to.
|
|
3865
3865
|
*/
|
|
3866
3866
|
get: function() {
|
|
3867
|
-
return new
|
|
3867
|
+
return new Fn(this.firestore, this.converter, this._key.path.popLast());
|
|
3868
3868
|
},
|
|
3869
3869
|
enumerable: !1,
|
|
3870
3870
|
configurable: !0
|
|
@@ -3886,7 +3886,7 @@ t, e) {
|
|
|
3886
3886
|
return t.prototype.withConverter = function(e) {
|
|
3887
3887
|
return new t(this.firestore, e, this._query);
|
|
3888
3888
|
}, t;
|
|
3889
|
-
}(),
|
|
3889
|
+
}(), Fn = /** @class */ function(e) {
|
|
3890
3890
|
/** @hideconstructor */
|
|
3891
3891
|
function n(t, n, r) {
|
|
3892
3892
|
var i = this;
|
|
@@ -3929,15 +3929,15 @@ t, e) {
|
|
|
3929
3929
|
|
|
3930
3930
|
/**
|
|
3931
3931
|
* The results of executing an aggregation query.
|
|
3932
|
-
*/ function
|
|
3932
|
+
*/ function Pn(t, e) {
|
|
3933
3933
|
for (var n = [], i = 2; i < arguments.length; i++) n[i - 2] = arguments[i];
|
|
3934
3934
|
if (t = p(t), ot("collection", "path", e), t instanceof wn) {
|
|
3935
3935
|
var o = et.fromString.apply(et, r([ e ], n, !1));
|
|
3936
|
-
return ut(o), new
|
|
3936
|
+
return ut(o), new Fn(t, /* converter= */ null, o);
|
|
3937
3937
|
}
|
|
3938
|
-
if (!(t instanceof In || t instanceof
|
|
3938
|
+
if (!(t instanceof In || t instanceof Fn)) throw new B(O, "Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");
|
|
3939
3939
|
var a = t._path.child(et.fromString.apply(et, r([ e ], n, !1)));
|
|
3940
|
-
return ut(a), new
|
|
3940
|
+
return ut(a), new Fn(t.firestore,
|
|
3941
3941
|
/* converter= */ null, a);
|
|
3942
3942
|
}
|
|
3943
3943
|
|
|
@@ -3971,9 +3971,9 @@ function Vn(t, e) {
|
|
|
3971
3971
|
return at(o), new In(t,
|
|
3972
3972
|
/* converter= */ null, new it(o));
|
|
3973
3973
|
}
|
|
3974
|
-
if (!(t instanceof In || t instanceof
|
|
3974
|
+
if (!(t instanceof In || t instanceof Fn)) throw new B(O, "Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");
|
|
3975
3975
|
var a = t._path.child(et.fromString.apply(et, r([ e ], n, !1)));
|
|
3976
|
-
return at(a), new In(t.firestore, t instanceof
|
|
3976
|
+
return at(a), new In(t.firestore, t instanceof Fn ? t.converter : null, new it(a));
|
|
3977
3977
|
}
|
|
3978
3978
|
|
|
3979
3979
|
/**
|
|
@@ -3984,7 +3984,7 @@ function Vn(t, e) {
|
|
|
3984
3984
|
* @returns true if the references point to the same location in the same
|
|
3985
3985
|
* Firestore database.
|
|
3986
3986
|
*/ function Dn(t, e) {
|
|
3987
|
-
return t = p(t), e = p(e), (t instanceof In || t instanceof
|
|
3987
|
+
return t = p(t), e = p(e), (t instanceof In || t instanceof Fn) && (e instanceof In || e instanceof Fn) && t.firestore === e.firestore && t.path === e.path && t.converter === e.converter
|
|
3988
3988
|
/**
|
|
3989
3989
|
* Returns true if the provided queries point to the same collection and apply
|
|
3990
3990
|
* the same constraints.
|
|
@@ -4040,7 +4040,7 @@ var qn = /** @class */ function() {
|
|
|
4040
4040
|
* @param base64 - The Base64 string used to create the `Bytes` object.
|
|
4041
4041
|
*/ return t.fromBase64String = function(e) {
|
|
4042
4042
|
try {
|
|
4043
|
-
return new t(
|
|
4043
|
+
return new t(Ft.fromBase64String(e));
|
|
4044
4044
|
} catch (e) {
|
|
4045
4045
|
throw new B(O, "Failed to construct data from Base64 string: " + e);
|
|
4046
4046
|
}
|
|
@@ -4051,7 +4051,7 @@ var qn = /** @class */ function() {
|
|
|
4051
4051
|
* @param array - The Uint8Array used to create the `Bytes` object.
|
|
4052
4052
|
*/
|
|
4053
4053
|
t.fromUint8Array = function(e) {
|
|
4054
|
-
return new t(
|
|
4054
|
+
return new t(Ft.fromUint8Array(e));
|
|
4055
4055
|
},
|
|
4056
4056
|
/**
|
|
4057
4057
|
* Returns the underlying bytes as a Base64-encoded string.
|
|
@@ -4337,7 +4337,7 @@ function(t) {
|
|
|
4337
4337
|
st: !0
|
|
4338
4338
|
});
|
|
4339
4339
|
}, t.prototype.ct = function(t) {
|
|
4340
|
-
return cr(t, this.settings.methodName, this.settings.
|
|
4340
|
+
return cr(t, this.settings.methodName, this.settings.ht || !1, this.path, this.settings.lt);
|
|
4341
4341
|
},
|
|
4342
4342
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ t.prototype.contains = function(t) {
|
|
4343
4343
|
return void 0 !== this.fieldMask.find((function(e) {
|
|
@@ -4358,14 +4358,14 @@ function(t) {
|
|
|
4358
4358
|
this.databaseId = t, this.ignoreUndefinedProperties = e, this.serializer = n || fn(t)
|
|
4359
4359
|
/** Creates a new top-level parse context. */;
|
|
4360
4360
|
}
|
|
4361
|
-
return t.prototype.
|
|
4361
|
+
return t.prototype.ft = function(t, e, n, r) {
|
|
4362
4362
|
return void 0 === r && (r = !1), new zn({
|
|
4363
4363
|
et: t,
|
|
4364
4364
|
methodName: e,
|
|
4365
|
-
|
|
4365
|
+
lt: n,
|
|
4366
4366
|
path: rt.emptyPath(),
|
|
4367
4367
|
st: !1,
|
|
4368
|
-
|
|
4368
|
+
ht: r
|
|
4369
4369
|
}, this.databaseId, this.serializer, this.ignoreUndefinedProperties);
|
|
4370
4370
|
}, t;
|
|
4371
4371
|
}();
|
|
@@ -4380,7 +4380,7 @@ function(t) {
|
|
|
4380
4380
|
|
|
4381
4381
|
/** Parse document data from a set() call. */ function Gn(t, e, n, r, i, o) {
|
|
4382
4382
|
void 0 === o && (o = {});
|
|
4383
|
-
var a = t.
|
|
4383
|
+
var a = t.ft(o.merge || o.mergeFields ? 2 /* UserDataSource.MergeSet */ : 0 /* UserDataSource.Set */ , e, n, i);
|
|
4384
4384
|
or("Data must be an object, but it was:", a, r);
|
|
4385
4385
|
var u, s, c = rr(r, a);
|
|
4386
4386
|
if (o.merge) u = new ve(a.fieldMask), s = a.fieldTransforms; else if (o.mergeFields) {
|
|
@@ -4428,7 +4428,7 @@ var Wn = /** @class */ function(e) {
|
|
|
4428
4428
|
*/ function Yn(t, e, n) {
|
|
4429
4429
|
return new zn({
|
|
4430
4430
|
et: 3 /* UserDataSource.Argument */ ,
|
|
4431
|
-
|
|
4431
|
+
lt: e.settings.lt,
|
|
4432
4432
|
methodName: t._methodName,
|
|
4433
4433
|
st: n
|
|
4434
4434
|
}, e.databaseId, e.serializer, e.ignoreUndefinedProperties);
|
|
@@ -4446,11 +4446,11 @@ var Hn = /** @class */ function(e) {
|
|
|
4446
4446
|
}(Cn), Jn = /** @class */ function(e) {
|
|
4447
4447
|
function n(t, n) {
|
|
4448
4448
|
var r = this;
|
|
4449
|
-
return (r = e.call(this, t) || this).
|
|
4449
|
+
return (r = e.call(this, t) || this).dt = n, r;
|
|
4450
4450
|
}
|
|
4451
4451
|
return t(n, e), n.prototype._toFieldTransform = function(t) {
|
|
4452
4452
|
var e = Yn(this, t,
|
|
4453
|
-
/*array=*/ !0), n = this.
|
|
4453
|
+
/*array=*/ !0), n = this.dt.map((function(t) {
|
|
4454
4454
|
return nr(t, e);
|
|
4455
4455
|
})), r = new De(n);
|
|
4456
4456
|
return new Re(t.path, r);
|
|
@@ -4461,11 +4461,11 @@ var Hn = /** @class */ function(e) {
|
|
|
4461
4461
|
}(Cn), Xn = /** @class */ function(e) {
|
|
4462
4462
|
function n(t, n) {
|
|
4463
4463
|
var r = this;
|
|
4464
|
-
return (r = e.call(this, t) || this).
|
|
4464
|
+
return (r = e.call(this, t) || this).dt = n, r;
|
|
4465
4465
|
}
|
|
4466
4466
|
return t(n, e), n.prototype._toFieldTransform = function(t) {
|
|
4467
4467
|
var e = Yn(this, t,
|
|
4468
|
-
/*array=*/ !0), n = this.
|
|
4468
|
+
/*array=*/ !0), n = this.dt.map((function(t) {
|
|
4469
4469
|
return nr(t, e);
|
|
4470
4470
|
})), r = new Ne(n);
|
|
4471
4471
|
return new Re(t.path, r);
|
|
@@ -4476,10 +4476,10 @@ var Hn = /** @class */ function(e) {
|
|
|
4476
4476
|
}(Cn), $n = /** @class */ function(e) {
|
|
4477
4477
|
function n(t, n) {
|
|
4478
4478
|
var r = this;
|
|
4479
|
-
return (r = e.call(this, t) || this).
|
|
4479
|
+
return (r = e.call(this, t) || this).wt = n, r;
|
|
4480
4480
|
}
|
|
4481
4481
|
return t(n, e), n.prototype._toFieldTransform = function(t) {
|
|
4482
|
-
var e = new qe(t.serializer,
|
|
4482
|
+
var e = new qe(t.serializer, Pe(t.serializer, this.wt));
|
|
4483
4483
|
return new Re(t.path, e);
|
|
4484
4484
|
}, n.prototype.isEqual = function(t) {
|
|
4485
4485
|
// TODO(mrschmidt): Implement isEquals
|
|
@@ -4488,7 +4488,7 @@ var Hn = /** @class */ function(e) {
|
|
|
4488
4488
|
}(Cn);
|
|
4489
4489
|
|
|
4490
4490
|
/** Parse update data from an update() call. */ function Zn(t, e, n, r) {
|
|
4491
|
-
var i = t.
|
|
4491
|
+
var i = t.ft(1 /* UserDataSource.Update */ , e, n);
|
|
4492
4492
|
or("Data must be an object, but it was:", i, r);
|
|
4493
4493
|
var o = [], a = ge.empty();
|
|
4494
4494
|
It(r, (function(t, r) {
|
|
@@ -4509,7 +4509,7 @@ var Hn = /** @class */ function(e) {
|
|
|
4509
4509
|
}
|
|
4510
4510
|
|
|
4511
4511
|
/** Parse update data from a list of field/value arguments. */ function tr(t, e, n, r, i, o) {
|
|
4512
|
-
var a = t.
|
|
4512
|
+
var a = t.ft(1 /* UserDataSource.Update */ , e, n), u = [ ar(e, r, n) ], s = [ i ];
|
|
4513
4513
|
if (o.length % 2 != 0) throw new B(O, "Function ".concat(e, "() needs to be called with an even number of arguments that alternate between field names and values."));
|
|
4514
4514
|
for (var c = 0; c < o.length; c += 2) u.push(ar(e, o[c])), s.push(o[c + 1]);
|
|
4515
4515
|
// We iterate in reverse order to pick the last value for a field if the
|
|
@@ -4538,7 +4538,7 @@ var Hn = /** @class */ function(e) {
|
|
|
4538
4538
|
* @param allowArrays - Whether the query value is an array that may directly
|
|
4539
4539
|
* contain additional arrays (e.g. the operand of an `in` query).
|
|
4540
4540
|
*/ function er(t, e, n, r) {
|
|
4541
|
-
return void 0 === r && (r = !1), nr(n, t.
|
|
4541
|
+
return void 0 === r && (r = !1), nr(n, t.ft(r ? 4 /* UserDataSource.ArrayArgument */ : 3 /* UserDataSource.Argument */ , e));
|
|
4542
4542
|
}
|
|
4543
4543
|
|
|
4544
4544
|
/**
|
|
@@ -4608,7 +4608,7 @@ var Hn = /** @class */ function(e) {
|
|
|
4608
4608
|
if (null === (t = p(t))) return {
|
|
4609
4609
|
nullValue: "NULL_VALUE"
|
|
4610
4610
|
};
|
|
4611
|
-
if ("number" == typeof t) return
|
|
4611
|
+
if ("number" == typeof t) return Pe(e.serializer, t);
|
|
4612
4612
|
if ("boolean" == typeof t) return {
|
|
4613
4613
|
booleanValue: t
|
|
4614
4614
|
};
|
|
@@ -4976,7 +4976,7 @@ function yr(t, e) {
|
|
|
4976
4976
|
return new n(t, e, r);
|
|
4977
4977
|
}, n.prototype._apply = function(t) {
|
|
4978
4978
|
var e = this._parse(t);
|
|
4979
|
-
return jr(t._query, e), new An(t.firestore, t.converter,
|
|
4979
|
+
return jr(t._query, e), new An(t.firestore, t.converter, Fe(t._query, e));
|
|
4980
4980
|
}, n.prototype._parse = function(t) {
|
|
4981
4981
|
var e = Kn(t.firestore), n = function(t, e, n, r, i, o, a) {
|
|
4982
4982
|
var u;
|
|
@@ -5049,9 +5049,9 @@ function yr(t, e) {
|
|
|
5049
5049
|
return 0 === e.getFilters().length ? t : (function(t, e) {
|
|
5050
5050
|
for (var n = t, r = 0, i = e.getFlattenedFilters(); r < i.length; r++) {
|
|
5051
5051
|
var o = i[r];
|
|
5052
|
-
jr(n, o), n =
|
|
5052
|
+
jr(n, o), n = Fe(n, o);
|
|
5053
5053
|
}
|
|
5054
|
-
}(t._query, e), new An(t.firestore, t.converter,
|
|
5054
|
+
}(t._query, e), new An(t.firestore, t.converter, Fe(t._query, e)));
|
|
5055
5055
|
}, n.prototype._getQueryConstraints = function() {
|
|
5056
5056
|
return this._queryConstraints;
|
|
5057
5057
|
}, n.prototype._getOperator = function() {
|
|
@@ -5198,7 +5198,7 @@ var Sr = /** @class */ function(e) {
|
|
|
5198
5198
|
*/;
|
|
5199
5199
|
}
|
|
5200
5200
|
|
|
5201
|
-
function
|
|
5201
|
+
function Fr(t) {
|
|
5202
5202
|
return lt("limitToLast", t), Ir._create("limitToLast", t, "L" /* LimitType.Last */)
|
|
5203
5203
|
/**
|
|
5204
5204
|
* A `QueryStartAtConstraint` is used to exclude documents from the start of a
|
|
@@ -5209,7 +5209,7 @@ function Pr(t) {
|
|
|
5209
5209
|
*/;
|
|
5210
5210
|
}
|
|
5211
5211
|
|
|
5212
|
-
var
|
|
5212
|
+
var Pr = /** @class */ function(e) {
|
|
5213
5213
|
/**
|
|
5214
5214
|
* @internal
|
|
5215
5215
|
*/
|
|
@@ -5232,13 +5232,13 @@ var Fr = /** @class */ function(e) {
|
|
|
5232
5232
|
|
|
5233
5233
|
function Or() {
|
|
5234
5234
|
for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e];
|
|
5235
|
-
return
|
|
5235
|
+
return Pr._create("startAt", t,
|
|
5236
5236
|
/*inclusive=*/ !0);
|
|
5237
5237
|
}
|
|
5238
5238
|
|
|
5239
5239
|
function Vr() {
|
|
5240
5240
|
for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e];
|
|
5241
|
-
return
|
|
5241
|
+
return Pr._create("startAfter", t,
|
|
5242
5242
|
/*inclusive=*/ !1);
|
|
5243
5243
|
}
|
|
5244
5244
|
|
|
@@ -5645,7 +5645,7 @@ function Gr(t, e, n) {
|
|
|
5645
5645
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
5646
5646
|
* newly created document after it has been written to the backend.
|
|
5647
5647
|
*/ function Yr(t, e) {
|
|
5648
|
-
var n = Vn(t = ct(t,
|
|
5648
|
+
var n = Vn(t = ct(t, Fn)), r = Ur(t.converter, e), i = Gn(Kn(t.firestore), "addDoc", n._key, r, null !== n.converter, {});
|
|
5649
5649
|
return dn(vn(t.firestore), [ i.toMutation(n._key, xe.exists(!1)) ]).then((function() {
|
|
5650
5650
|
return n;
|
|
5651
5651
|
}));
|
|
@@ -6155,32 +6155,32 @@ function si(t, e) {
|
|
|
6155
6155
|
}, hi = /** @class */ function() {
|
|
6156
6156
|
function t(t, e, n, r, i) {
|
|
6157
6157
|
this.asyncQueue = t, this.datastore = e, this.options = n, this.updateFunction = r,
|
|
6158
|
-
this.deferred = i, this.
|
|
6158
|
+
this.deferred = i, this.yt = n.maxAttempts, this.gt = new hn(this.asyncQueue, "transaction_retry" /* TimerId.TransactionRetry */)
|
|
6159
6159
|
/** Runs the transaction and sets the result on deferred. */;
|
|
6160
6160
|
}
|
|
6161
6161
|
return t.prototype.run = function() {
|
|
6162
|
-
this.
|
|
6163
|
-
}, t.prototype.
|
|
6162
|
+
this.yt -= 1, this._t();
|
|
6163
|
+
}, t.prototype._t = function() {
|
|
6164
6164
|
var t = this;
|
|
6165
|
-
this.
|
|
6165
|
+
this.gt.K((function() {
|
|
6166
6166
|
return e(t, void 0, void 0, (function() {
|
|
6167
6167
|
var t, e, r = this;
|
|
6168
6168
|
return n(this, (function(n) {
|
|
6169
|
-
return t = new li(this.datastore), (e = this.
|
|
6169
|
+
return t = new li(this.datastore), (e = this.vt(t)) && e.then((function(e) {
|
|
6170
6170
|
r.asyncQueue.enqueueAndForget((function() {
|
|
6171
6171
|
return t.commit().then((function() {
|
|
6172
6172
|
r.deferred.resolve(e);
|
|
6173
6173
|
})).catch((function(t) {
|
|
6174
|
-
r.
|
|
6174
|
+
r.bt(t);
|
|
6175
6175
|
}));
|
|
6176
6176
|
}));
|
|
6177
6177
|
})).catch((function(t) {
|
|
6178
|
-
r.
|
|
6178
|
+
r.bt(t);
|
|
6179
6179
|
})), [ 2 /*return*/ ];
|
|
6180
6180
|
}));
|
|
6181
6181
|
}));
|
|
6182
6182
|
}));
|
|
6183
|
-
}, t.prototype.
|
|
6183
|
+
}, t.prototype.vt = function(t) {
|
|
6184
6184
|
try {
|
|
6185
6185
|
var e = this.updateFunction(t);
|
|
6186
6186
|
return !pt(e) && e.catch && e.then ? e : (this.deferred.reject(Error("Transaction callback must return a Promise")),
|
|
@@ -6189,12 +6189,12 @@ function si(t, e) {
|
|
|
6189
6189
|
// Do not retry errors thrown by user provided updateFunction.
|
|
6190
6190
|
return this.deferred.reject(t), null;
|
|
6191
6191
|
}
|
|
6192
|
-
}, t.prototype.
|
|
6192
|
+
}, t.prototype.bt = function(t) {
|
|
6193
6193
|
var e = this;
|
|
6194
|
-
this.
|
|
6195
|
-
return e.
|
|
6194
|
+
this.yt > 0 && this.Et(t) ? (this.yt -= 1, this.asyncQueue.enqueueAndForget((function() {
|
|
6195
|
+
return e._t(), Promise.resolve();
|
|
6196
6196
|
}))) : this.deferred.reject(t);
|
|
6197
|
-
}, t.prototype.
|
|
6197
|
+
}, t.prototype.Et = function(t) {
|
|
6198
6198
|
if ("FirebaseError" === t.name) {
|
|
6199
6199
|
// In transactions, the backend will fail outdated reads with FAILED_PRECONDITION and
|
|
6200
6200
|
// non-matching document versions with ABORTED. These errors should be retried.
|
|
@@ -6211,8 +6211,8 @@ function si(t, e) {
|
|
|
6211
6211
|
default:
|
|
6212
6212
|
return k();
|
|
6213
6213
|
|
|
6214
|
-
case P:
|
|
6215
6214
|
case F:
|
|
6215
|
+
case P:
|
|
6216
6216
|
case V:
|
|
6217
6217
|
case R:
|
|
6218
6218
|
case M:
|
|
@@ -6358,7 +6358,7 @@ function si(t, e) {
|
|
|
6358
6358
|
* guarantee that the operation will not be run.
|
|
6359
6359
|
*/
|
|
6360
6360
|
t.prototype.cancel = function(t) {
|
|
6361
|
-
null !== this.timerHandle && (this.clearTimeout(), this.deferred.reject(new B(
|
|
6361
|
+
null !== this.timerHandle && (this.clearTimeout(), this.deferred.reject(new B(F, "Operation cancelled" + (t ? ": " + t : ""))));
|
|
6362
6362
|
}, t.prototype.handleDelayElapsed = function() {
|
|
6363
6363
|
var t = this;
|
|
6364
6364
|
this.asyncQueue.enqueueAndForget((function() {
|
|
@@ -6374,40 +6374,40 @@ function si(t, e) {
|
|
|
6374
6374
|
function t() {
|
|
6375
6375
|
var t = this;
|
|
6376
6376
|
// The last promise in the queue.
|
|
6377
|
-
this.
|
|
6377
|
+
this.It = Promise.resolve(),
|
|
6378
6378
|
// A list of retryable operations. Retryable operations are run in order and
|
|
6379
6379
|
// retried with backoff.
|
|
6380
|
-
this.
|
|
6380
|
+
this.Tt = [],
|
|
6381
6381
|
// Is this AsyncQueue being shut down? Once it is set to true, it will not
|
|
6382
6382
|
// be changed again.
|
|
6383
|
-
this.
|
|
6383
|
+
this.At = !1,
|
|
6384
6384
|
// Operations scheduled to be queued in the future. Operations are
|
|
6385
6385
|
// automatically removed after they are run or canceled.
|
|
6386
|
-
this.
|
|
6386
|
+
this.Rt = [],
|
|
6387
6387
|
// visible for testing
|
|
6388
|
-
this.
|
|
6388
|
+
this.Pt = null,
|
|
6389
6389
|
// Flag set while there's an outstanding AsyncQueue operation, used for
|
|
6390
6390
|
// assertion sanity-checks.
|
|
6391
|
-
this.Pt = !1,
|
|
6392
|
-
// Enabled during shutdown on Safari to prevent future access to IndexedDB.
|
|
6393
6391
|
this.Vt = !1,
|
|
6392
|
+
// Enabled during shutdown on Safari to prevent future access to IndexedDB.
|
|
6393
|
+
this.$t = !1,
|
|
6394
6394
|
// List of TimerIds to fast-forward delays for.
|
|
6395
|
-
this
|
|
6395
|
+
this.Nt = [],
|
|
6396
6396
|
// Backoff timer used to schedule retries for retryable operations
|
|
6397
|
-
this.
|
|
6397
|
+
this.gt = new hn(this, "async_queue_retry" /* TimerId.AsyncQueueRetry */),
|
|
6398
6398
|
// Visibility handler that triggers an immediate retry of all retryable
|
|
6399
6399
|
// operations. Meant to speed up recovery when we regain file system access
|
|
6400
6400
|
// after page comes into foreground.
|
|
6401
|
-
this.
|
|
6401
|
+
this.Dt = function() {
|
|
6402
6402
|
var e = pi();
|
|
6403
|
-
e && b("AsyncQueue", "Visibility state changed to " + e.visibilityState), t.
|
|
6403
|
+
e && b("AsyncQueue", "Visibility state changed to " + e.visibilityState), t.gt.H();
|
|
6404
6404
|
};
|
|
6405
6405
|
var e = pi();
|
|
6406
|
-
e && "function" == typeof e.addEventListener && e.addEventListener("visibilitychange", this.
|
|
6406
|
+
e && "function" == typeof e.addEventListener && e.addEventListener("visibilitychange", this.Dt);
|
|
6407
6407
|
}
|
|
6408
6408
|
return Object.defineProperty(t.prototype, "isShuttingDown", {
|
|
6409
6409
|
get: function() {
|
|
6410
|
-
return this.
|
|
6410
|
+
return this.At;
|
|
6411
6411
|
},
|
|
6412
6412
|
enumerable: !1,
|
|
6413
6413
|
configurable: !0
|
|
@@ -6420,53 +6420,53 @@ function si(t, e) {
|
|
|
6420
6420
|
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
6421
6421
|
this.enqueue(t);
|
|
6422
6422
|
}, t.prototype.enqueueAndForgetEvenWhileRestricted = function(t) {
|
|
6423
|
-
this.
|
|
6423
|
+
this.Ft(),
|
|
6424
6424
|
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
6425
|
-
this.
|
|
6425
|
+
this.xt(t);
|
|
6426
6426
|
}, t.prototype.enterRestrictedMode = function(t) {
|
|
6427
|
-
if (!this.
|
|
6428
|
-
this.
|
|
6427
|
+
if (!this.At) {
|
|
6428
|
+
this.At = !0, this.$t = t || !1;
|
|
6429
6429
|
var e = pi();
|
|
6430
|
-
e && "function" == typeof e.removeEventListener && e.removeEventListener("visibilitychange", this.
|
|
6430
|
+
e && "function" == typeof e.removeEventListener && e.removeEventListener("visibilitychange", this.Dt);
|
|
6431
6431
|
}
|
|
6432
6432
|
}, t.prototype.enqueue = function(t) {
|
|
6433
6433
|
var e = this;
|
|
6434
|
-
if (this.
|
|
6434
|
+
if (this.Ft(), this.At)
|
|
6435
6435
|
// Return a Promise which never resolves.
|
|
6436
6436
|
return new Promise((function() {}));
|
|
6437
6437
|
// Create a deferred Promise that we can return to the callee. This
|
|
6438
6438
|
// allows us to return a "hanging Promise" only to the callee and still
|
|
6439
6439
|
// advance the queue even when the operation is not run.
|
|
6440
6440
|
var n = new z;
|
|
6441
|
-
return this.
|
|
6442
|
-
return e.
|
|
6441
|
+
return this.xt((function() {
|
|
6442
|
+
return e.At && e.$t ? Promise.resolve() : (t().then(n.resolve, n.reject), n.promise);
|
|
6443
6443
|
})).then((function() {
|
|
6444
6444
|
return n.promise;
|
|
6445
6445
|
}));
|
|
6446
6446
|
}, t.prototype.enqueueRetryable = function(t) {
|
|
6447
6447
|
var e = this;
|
|
6448
6448
|
this.enqueueAndForget((function() {
|
|
6449
|
-
return e.
|
|
6449
|
+
return e.Tt.push(t), e.St();
|
|
6450
6450
|
}));
|
|
6451
6451
|
},
|
|
6452
6452
|
/**
|
|
6453
6453
|
* Runs the next operation from the retryable queue. If the operation fails,
|
|
6454
6454
|
* reschedules with backoff.
|
|
6455
6455
|
*/
|
|
6456
|
-
t.prototype.
|
|
6456
|
+
t.prototype.St = function() {
|
|
6457
6457
|
return e(this, void 0, void 0, (function() {
|
|
6458
6458
|
var t, e = this;
|
|
6459
6459
|
return n(this, (function(n) {
|
|
6460
6460
|
switch (n.label) {
|
|
6461
6461
|
case 0:
|
|
6462
|
-
if (0 === this.
|
|
6462
|
+
if (0 === this.Tt.length) return [ 3 /*break*/ , 5 ];
|
|
6463
6463
|
n.label = 1;
|
|
6464
6464
|
|
|
6465
6465
|
case 1:
|
|
6466
|
-
return n.trys.push([ 1, 3, , 4 ]), [ 4 /*yield*/ , this.
|
|
6466
|
+
return n.trys.push([ 1, 3, , 4 ]), [ 4 /*yield*/ , this.Tt[0]() ];
|
|
6467
6467
|
|
|
6468
6468
|
case 2:
|
|
6469
|
-
return n.sent(), this.
|
|
6469
|
+
return n.sent(), this.Tt.shift(), this.gt.reset(), [ 3 /*break*/ , 4 ];
|
|
6470
6470
|
|
|
6471
6471
|
case 3:
|
|
6472
6472
|
if (t = n.sent(), "IndexedDbTransactionError" !== t.name) throw t;
|
|
@@ -6475,7 +6475,7 @@ function si(t, e) {
|
|
|
6475
6475
|
[ 3 /*break*/ , 4 ];
|
|
6476
6476
|
|
|
6477
6477
|
case 4:
|
|
6478
|
-
this.
|
|
6478
|
+
this.Tt.length > 0 &&
|
|
6479
6479
|
// If there are additional operations, we re-schedule `retryNextOp()`.
|
|
6480
6480
|
// This is necessary to run retryable operations that failed during
|
|
6481
6481
|
// their initial attempt since we don't know whether they are already
|
|
@@ -6486,8 +6486,8 @@ function si(t, e) {
|
|
|
6486
6486
|
// Since `backoffAndRun()` cancels an existing backoff and schedules a
|
|
6487
6487
|
// new backoff on every call, there is only ever a single additional
|
|
6488
6488
|
// operation in the queue.
|
|
6489
|
-
this.
|
|
6490
|
-
return e.
|
|
6489
|
+
this.gt.K((function() {
|
|
6490
|
+
return e.St();
|
|
6491
6491
|
})), n.label = 5;
|
|
6492
6492
|
|
|
6493
6493
|
case 5:
|
|
@@ -6495,10 +6495,10 @@ function si(t, e) {
|
|
|
6495
6495
|
}
|
|
6496
6496
|
}));
|
|
6497
6497
|
}));
|
|
6498
|
-
}, t.prototype.
|
|
6499
|
-
var e = this, n = this.
|
|
6500
|
-
return e.
|
|
6501
|
-
e.
|
|
6498
|
+
}, t.prototype.xt = function(t) {
|
|
6499
|
+
var e = this, n = this.It.then((function() {
|
|
6500
|
+
return e.Vt = !0, t().catch((function(t) {
|
|
6501
|
+
e.Pt = t, e.Vt = !1;
|
|
6502
6502
|
var n =
|
|
6503
6503
|
/**
|
|
6504
6504
|
* Chrome includes Error.message in Error.stack. Other browsers do not.
|
|
@@ -6515,39 +6515,39 @@ function si(t, e) {
|
|
|
6515
6515
|
// and return the rejected Promise.
|
|
6516
6516
|
throw T("INTERNAL UNHANDLED ERROR: ", n), t;
|
|
6517
6517
|
})).then((function(t) {
|
|
6518
|
-
return e.
|
|
6518
|
+
return e.Vt = !1, t;
|
|
6519
6519
|
}));
|
|
6520
6520
|
}));
|
|
6521
|
-
return this.
|
|
6521
|
+
return this.It = n, n;
|
|
6522
6522
|
}, t.prototype.enqueueAfterDelay = function(t, e, n) {
|
|
6523
6523
|
var r = this;
|
|
6524
|
-
this.
|
|
6524
|
+
this.Ft(),
|
|
6525
6525
|
// Fast-forward delays for timerIds that have been overriden.
|
|
6526
|
-
this
|
|
6526
|
+
this.Nt.indexOf(t) > -1 && (e = 0);
|
|
6527
6527
|
var i = yi.createAndSchedule(this, t, e, n, (function(t) {
|
|
6528
|
-
return r.
|
|
6528
|
+
return r.qt(t);
|
|
6529
6529
|
}));
|
|
6530
|
-
return this.
|
|
6531
|
-
}, t.prototype.
|
|
6532
|
-
this.
|
|
6530
|
+
return this.Rt.push(i), i;
|
|
6531
|
+
}, t.prototype.Ft = function() {
|
|
6532
|
+
this.Pt && k();
|
|
6533
6533
|
}, t.prototype.verifyOperationInProgress = function() {},
|
|
6534
6534
|
/**
|
|
6535
6535
|
* Waits until all currently queued tasks are finished executing. Delayed
|
|
6536
6536
|
* operations are not run.
|
|
6537
6537
|
*/
|
|
6538
|
-
t.prototype.
|
|
6538
|
+
t.prototype.Ot = function() {
|
|
6539
6539
|
return e(this, void 0, void 0, (function() {
|
|
6540
6540
|
var t;
|
|
6541
6541
|
return n(this, (function(e) {
|
|
6542
6542
|
switch (e.label) {
|
|
6543
6543
|
case 0:
|
|
6544
|
-
return [ 4 /*yield*/ , t = this.
|
|
6544
|
+
return [ 4 /*yield*/ , t = this.It ];
|
|
6545
6545
|
|
|
6546
6546
|
case 1:
|
|
6547
6547
|
e.sent(), e.label = 2;
|
|
6548
6548
|
|
|
6549
6549
|
case 2:
|
|
6550
|
-
if (t !== this.
|
|
6550
|
+
if (t !== this.It) return [ 3 /*break*/ , 0 ];
|
|
6551
6551
|
e.label = 3;
|
|
6552
6552
|
|
|
6553
6553
|
case 3:
|
|
@@ -6560,8 +6560,8 @@ function si(t, e) {
|
|
|
6560
6560
|
* For Tests: Determine if a delayed operation with a particular TimerId
|
|
6561
6561
|
* exists.
|
|
6562
6562
|
*/
|
|
6563
|
-
t.prototype.
|
|
6564
|
-
for (var e = 0, n = this.
|
|
6563
|
+
t.prototype.kt = function(t) {
|
|
6564
|
+
for (var e = 0, n = this.Rt; e < n.length; e++) {
|
|
6565
6565
|
if (n[e].timerId === t) return !0;
|
|
6566
6566
|
}
|
|
6567
6567
|
return !1;
|
|
@@ -6573,31 +6573,31 @@ function si(t, e) {
|
|
|
6573
6573
|
* will be drained. Pass TimerId.All to run all delayed operations.
|
|
6574
6574
|
* @returns a Promise that resolves once all operations have been run.
|
|
6575
6575
|
*/
|
|
6576
|
-
t.prototype.
|
|
6576
|
+
t.prototype.Ct = function(t) {
|
|
6577
6577
|
var e = this;
|
|
6578
6578
|
// Note that draining may generate more delayed ops, so we do that first.
|
|
6579
|
-
return this.
|
|
6579
|
+
return this.Ot().then((function() {
|
|
6580
6580
|
// Run ops in the same order they'd run if they ran naturally.
|
|
6581
|
-
e.
|
|
6581
|
+
e.Rt.sort((function(t, e) {
|
|
6582
6582
|
return t.targetTimeMs - e.targetTimeMs;
|
|
6583
6583
|
}));
|
|
6584
|
-
for (var n = 0, r = e.
|
|
6584
|
+
for (var n = 0, r = e.Rt; n < r.length; n++) {
|
|
6585
6585
|
var i = r[n];
|
|
6586
6586
|
if (i.skipDelay(), "all" /* TimerId.All */ !== t && i.timerId === t) break;
|
|
6587
6587
|
}
|
|
6588
|
-
return e.
|
|
6588
|
+
return e.Ot();
|
|
6589
6589
|
}));
|
|
6590
6590
|
},
|
|
6591
6591
|
/**
|
|
6592
6592
|
* For Tests: Skip all subsequent delays for a timer id.
|
|
6593
6593
|
*/
|
|
6594
|
-
t.prototype.
|
|
6595
|
-
this
|
|
6594
|
+
t.prototype.Mt = function(t) {
|
|
6595
|
+
this.Nt.push(t);
|
|
6596
6596
|
},
|
|
6597
|
-
/** Called once a DelayedOperation is run or canceled. */ t.prototype.
|
|
6597
|
+
/** Called once a DelayedOperation is run or canceled. */ t.prototype.qt = function(t) {
|
|
6598
6598
|
// NOTE: indexOf / slice are O(n), but delayedOperations is expected to be small.
|
|
6599
|
-
var e = this.
|
|
6600
|
-
this.
|
|
6599
|
+
var e = this.Rt.indexOf(t);
|
|
6600
|
+
this.Rt.splice(e, 1);
|
|
6601
6601
|
}, t;
|
|
6602
6602
|
}(), vi = /** @class */ function() {
|
|
6603
6603
|
/** @hideconstructor */
|
|
@@ -6704,7 +6704,7 @@ di = "".concat(i, "_lite"), g = di, o(new c("firestore/lite", (function(t, e) {
|
|
|
6704
6704
|
return r && o._setSettings(r), o;
|
|
6705
6705
|
}), "PUBLIC").setMultipleInstances(!0)),
|
|
6706
6706
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
6707
|
-
a("firestore-lite", "3.12.0
|
|
6707
|
+
a("firestore-lite", "3.12.0", ""), a("firestore-lite", "3.12.0", "esm5");
|
|
6708
6708
|
|
|
6709
|
-
export { Sn as AggregateField, kn as AggregateQuerySnapshot, qn as Bytes,
|
|
6709
|
+
export { Sn as AggregateField, kn as AggregateQuerySnapshot, qn as Bytes, Fn as CollectionReference, In as DocumentReference, fr as DocumentSnapshot, Rn as FieldPath, Cn as FieldValue, wn as Firestore, B as FirestoreError, jn as GeoPoint, An as Query, br as QueryCompositeFilterConstraint, vr as QueryConstraint, hr as QueryDocumentSnapshot, Dr as QueryEndAtConstraint, wr as QueryFieldFilterConstraint, Ir as QueryLimitConstraint, Sr as QueryOrderByConstraint, pr as QuerySnapshot, Pr as QueryStartAtConstraint, Nt as Timestamp, vi as Transaction, ui as WriteBatch, Yr as addDoc, ti as aggregateFieldEqual, ei as aggregateQuerySnapshotEqual, Er as and, oi as arrayRemove, ii as arrayUnion, $r as average, Pn as collection, On as collectionGroup, Tn as connectFirestoreEmulator, Zr as count, Wr as deleteDoc, ni as deleteField, Vn as doc, xn as documentId, qr as endAt, Nr as endBefore, Jr as getAggregate, Hr as getCount, zr as getDoc, Qr as getDocs, bn as getFirestore, ai as increment, _n as initializeFirestore, Ar as limit, Fr as limitToLast, Tr as or, kr as orderBy, gr as query, Nn as queryEqual, Dn as refEqual, gi as runTransaction, ri as serverTimestamp, Kr as setDoc, _ as setLogLevel, dr as snapshotEqual, Vr as startAfter, Or as startAt, Xr as sum, En as terminate, Gr as updateDoc, _r as where, ci as writeBatch };
|
|
6710
6710
|
//# sourceMappingURL=index.browser.esm5.js.map
|