@firebase/firestore 3.7.3-canary.3bd031691 → 3.7.3-canary.734fdcd91
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/local/local_documents_view.d.ts +0 -2
- package/dist/firestore/src/model/document.d.ts +8 -1
- package/dist/firestore/test/unit/specs/spec_test_runner.d.ts +1 -0
- package/dist/firestore/test/util/helpers.d.ts +1 -1
- package/dist/index.esm2017.js +45 -29
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +242 -226
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +54 -21
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +54 -21
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +45 -29
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +8 -3
- package/dist/lite/firestore/src/local/local_documents_view.d.ts +0 -2
- package/dist/lite/firestore/src/model/document.d.ts +8 -1
- package/dist/lite/firestore/test/unit/specs/spec_test_runner.d.ts +1 -0
- package/dist/lite/firestore/test/util/helpers.d.ts +1 -1
- package/dist/lite/index.browser.esm2017.js +116 -98
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +104 -86
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +44 -11
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +44 -11
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +109 -91
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +8 -1
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +17 -17
- package/dist/lite/packages/firestore/src/local/local_documents_view.d.ts +0 -2
- package/dist/lite/packages/firestore/src/model/document.d.ts +8 -1
- package/dist/lite/packages/firestore/test/unit/specs/spec_test_runner.d.ts +1 -0
- package/dist/lite/packages/firestore/test/util/helpers.d.ts +1 -1
- package/dist/lite/private.d.ts +8 -1
- package/dist/packages/firestore/src/local/local_documents_view.d.ts +0 -2
- package/dist/packages/firestore/src/model/document.d.ts +8 -1
- package/dist/packages/firestore/test/unit/specs/spec_test_runner.d.ts +1 -0
- package/dist/packages/firestore/test/util/helpers.d.ts +1 -1
- package/dist/private.d.ts +8 -3
- package/package.json +9 -9
|
@@ -66,7 +66,7 @@ w.MOCK_USER = new w("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let m = "9.14.0-canary.
|
|
69
|
+
let m = "9.14.0-canary.734fdcd91";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -221,7 +221,7 @@ e) {
|
|
|
221
221
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
222
222
|
* See the License for the specific language governing permissions and
|
|
223
223
|
* limitations under the License.
|
|
224
|
-
*/ const T = "ok", R = "cancelled", P = "unknown", V = "invalid-argument",
|
|
224
|
+
*/ const T = "ok", R = "cancelled", P = "unknown", V = "invalid-argument", $ = "deadline-exceeded", N = "not-found", D = "already-exists", F = "permission-denied", x = "unauthenticated", S = "resource-exhausted", q = "failed-precondition", O = "aborted", k = "out-of-range", C = "unimplemented", L = "internal", M = "unavailable", U = "data-loss";
|
|
225
225
|
|
|
226
226
|
/** An error returned by a Firestore operation. */ class j extends c {
|
|
227
227
|
/** @hideconstructor */
|
|
@@ -928,7 +928,7 @@ function pt(t) {
|
|
|
928
928
|
|
|
929
929
|
case 404:
|
|
930
930
|
// Not Found
|
|
931
|
-
return
|
|
931
|
+
return N;
|
|
932
932
|
|
|
933
933
|
case 409:
|
|
934
934
|
// Conflict
|
|
@@ -965,7 +965,7 @@ function pt(t) {
|
|
|
965
965
|
|
|
966
966
|
case 504:
|
|
967
967
|
// Gateway Timeout
|
|
968
|
-
return
|
|
968
|
+
return $;
|
|
969
969
|
|
|
970
970
|
default:
|
|
971
971
|
return t >= 200 && t < 300 ? T : t >= 400 && t < 500 ? q : t >= 500 && t < 600 ? L : P;
|
|
@@ -1055,7 +1055,7 @@ class {
|
|
|
1055
1055
|
constructor(t, e) {
|
|
1056
1056
|
super(t), this.V = e;
|
|
1057
1057
|
}
|
|
1058
|
-
|
|
1058
|
+
$(t, e) {
|
|
1059
1059
|
throw new Error("Not supported by FetchConnection");
|
|
1060
1060
|
}
|
|
1061
1061
|
async R(t, e, n, r) {
|
|
@@ -1147,7 +1147,7 @@ function gt(t) {
|
|
|
1147
1147
|
* See the License for the specific language governing permissions and
|
|
1148
1148
|
* limitations under the License.
|
|
1149
1149
|
*/ class _t {
|
|
1150
|
-
static
|
|
1150
|
+
static N() {
|
|
1151
1151
|
// Alphanumeric characters
|
|
1152
1152
|
const t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", e = Math.floor(256 / t.length) * t.length;
|
|
1153
1153
|
// The largest byte value that is a multiple of `char.length`.
|
|
@@ -1354,7 +1354,7 @@ const Rt = new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);
|
|
|
1354
1354
|
return "number" == typeof t ? t : "string" == typeof t ? Number(t) : 0;
|
|
1355
1355
|
}
|
|
1356
1356
|
|
|
1357
|
-
/** Converts the possible Proto types for Blobs into a ByteString. */ function
|
|
1357
|
+
/** Converts the possible Proto types for Blobs into a ByteString. */ function $t(t) {
|
|
1358
1358
|
return "string" == typeof t ? Tt.fromBase64String(t) : Tt.fromUint8Array(t);
|
|
1359
1359
|
}
|
|
1360
1360
|
|
|
@@ -1389,7 +1389,7 @@ const Rt = new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);
|
|
|
1389
1389
|
* For examples and further specifications, refer to the
|
|
1390
1390
|
* {@link https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto | Timestamp definition}.
|
|
1391
1391
|
*/
|
|
1392
|
-
class
|
|
1392
|
+
class Nt {
|
|
1393
1393
|
/**
|
|
1394
1394
|
* Creates a new timestamp.
|
|
1395
1395
|
*
|
|
@@ -1421,7 +1421,7 @@ class $t {
|
|
|
1421
1421
|
*
|
|
1422
1422
|
* @returns a new timestamp representing the current date.
|
|
1423
1423
|
*/ static now() {
|
|
1424
|
-
return
|
|
1424
|
+
return Nt.fromMillis(Date.now());
|
|
1425
1425
|
}
|
|
1426
1426
|
/**
|
|
1427
1427
|
* Creates a new timestamp from the given date.
|
|
@@ -1430,7 +1430,7 @@ class $t {
|
|
|
1430
1430
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
1431
1431
|
* date.
|
|
1432
1432
|
*/ static fromDate(t) {
|
|
1433
|
-
return
|
|
1433
|
+
return Nt.fromMillis(t.getTime());
|
|
1434
1434
|
}
|
|
1435
1435
|
/**
|
|
1436
1436
|
* Creates a new timestamp from the given number of milliseconds.
|
|
@@ -1441,7 +1441,7 @@ class $t {
|
|
|
1441
1441
|
* number of milliseconds.
|
|
1442
1442
|
*/ static fromMillis(t) {
|
|
1443
1443
|
const e = Math.floor(t / 1e3), n = Math.floor(1e6 * (t - 1e3 * e));
|
|
1444
|
-
return new
|
|
1444
|
+
return new Nt(e, n);
|
|
1445
1445
|
}
|
|
1446
1446
|
/**
|
|
1447
1447
|
* Converts a `Timestamp` to a JavaScript `Date` object. This conversion
|
|
@@ -1552,7 +1552,7 @@ class $t {
|
|
|
1552
1552
|
* Returns the local time at which this timestamp was first set.
|
|
1553
1553
|
*/ function xt(t) {
|
|
1554
1554
|
const e = Pt(t.mapValue.fields.__local_write_time__.timestampValue);
|
|
1555
|
-
return new
|
|
1555
|
+
return new Nt(e.seconds, e.nanos);
|
|
1556
1556
|
}
|
|
1557
1557
|
|
|
1558
1558
|
/**
|
|
@@ -1646,7 +1646,7 @@ function qt(t) {
|
|
|
1646
1646
|
|
|
1647
1647
|
case 6 /* TypeOrder.BlobValue */ :
|
|
1648
1648
|
return function(t, e) {
|
|
1649
|
-
return
|
|
1649
|
+
return $t(t.bytesValue).isEqual($t(e.bytesValue));
|
|
1650
1650
|
}(t, e);
|
|
1651
1651
|
|
|
1652
1652
|
case 7 /* TypeOrder.RefValue */ :
|
|
@@ -1719,7 +1719,7 @@ function Ct(t, e) {
|
|
|
1719
1719
|
|
|
1720
1720
|
case 6 /* TypeOrder.BlobValue */ :
|
|
1721
1721
|
return function(t, e) {
|
|
1722
|
-
const n =
|
|
1722
|
+
const n = $t(t), r = $t(e);
|
|
1723
1723
|
return n.compareTo(r);
|
|
1724
1724
|
}(t.bytesValue, e.bytesValue);
|
|
1725
1725
|
|
|
@@ -2096,10 +2096,10 @@ function ue(t, e) {
|
|
|
2096
2096
|
return new ce(t);
|
|
2097
2097
|
}
|
|
2098
2098
|
static min() {
|
|
2099
|
-
return new ce(new
|
|
2099
|
+
return new ce(new Nt(0, 0));
|
|
2100
2100
|
}
|
|
2101
2101
|
static max() {
|
|
2102
|
-
return new ce(new
|
|
2102
|
+
return new ce(new Nt(253402300799, 999999999));
|
|
2103
2103
|
}
|
|
2104
2104
|
compareTo(t) {
|
|
2105
2105
|
return this.timestamp._compareTo(t.timestamp);
|
|
@@ -2768,38 +2768,56 @@ class de {
|
|
|
2768
2768
|
* applied, `isValidDocument()` returns false and the document should be removed
|
|
2769
2769
|
* from all views.
|
|
2770
2770
|
*/ class pe {
|
|
2771
|
-
constructor(t, e, n, r, s, i) {
|
|
2772
|
-
this.key = t, this.documentType = e, this.version = n, this.readTime = r, this.
|
|
2773
|
-
this.documentState =
|
|
2771
|
+
constructor(t, e, n, r, s, i, o) {
|
|
2772
|
+
this.key = t, this.documentType = e, this.version = n, this.readTime = r, this.createTime = s,
|
|
2773
|
+
this.data = i, this.documentState = o;
|
|
2774
2774
|
}
|
|
2775
2775
|
/**
|
|
2776
2776
|
* Creates a document with no known version or data, but which can serve as
|
|
2777
2777
|
* base document for mutations.
|
|
2778
2778
|
*/ static newInvalidDocument(t) {
|
|
2779
|
-
return new pe(t, 0 /* DocumentType.INVALID */ ,
|
|
2779
|
+
return new pe(t, 0 /* DocumentType.INVALID */ ,
|
|
2780
|
+
/* version */ ce.min(),
|
|
2781
|
+
/* readTime */ ce.min(),
|
|
2782
|
+
/* createTime */ ce.min(), me.empty(), 0 /* DocumentState.SYNCED */);
|
|
2780
2783
|
}
|
|
2781
2784
|
/**
|
|
2782
2785
|
* Creates a new document that is known to exist with the given data at the
|
|
2783
2786
|
* given version.
|
|
2784
|
-
*/ static newFoundDocument(t, e, n) {
|
|
2785
|
-
return new pe(t, 1 /* DocumentType.FOUND_DOCUMENT */ ,
|
|
2787
|
+
*/ static newFoundDocument(t, e, n, r) {
|
|
2788
|
+
return new pe(t, 1 /* DocumentType.FOUND_DOCUMENT */ ,
|
|
2789
|
+
/* version */ e,
|
|
2790
|
+
/* readTime */ ce.min(),
|
|
2791
|
+
/* createTime */ n, r, 0 /* DocumentState.SYNCED */);
|
|
2786
2792
|
}
|
|
2787
2793
|
/** Creates a new document that is known to not exist at the given version. */ static newNoDocument(t, e) {
|
|
2788
|
-
return new pe(t, 2 /* DocumentType.NO_DOCUMENT */ ,
|
|
2794
|
+
return new pe(t, 2 /* DocumentType.NO_DOCUMENT */ ,
|
|
2795
|
+
/* version */ e,
|
|
2796
|
+
/* readTime */ ce.min(),
|
|
2797
|
+
/* createTime */ ce.min(), me.empty(), 0 /* DocumentState.SYNCED */);
|
|
2789
2798
|
}
|
|
2790
2799
|
/**
|
|
2791
2800
|
* Creates a new document that is known to exist at the given version but
|
|
2792
2801
|
* whose data is not known (e.g. a document that was updated without a known
|
|
2793
2802
|
* base document).
|
|
2794
2803
|
*/ static newUnknownDocument(t, e) {
|
|
2795
|
-
return new pe(t, 3 /* DocumentType.UNKNOWN_DOCUMENT */ ,
|
|
2804
|
+
return new pe(t, 3 /* DocumentType.UNKNOWN_DOCUMENT */ ,
|
|
2805
|
+
/* version */ e,
|
|
2806
|
+
/* readTime */ ce.min(),
|
|
2807
|
+
/* createTime */ ce.min(), me.empty(), 2 /* DocumentState.HAS_COMMITTED_MUTATIONS */);
|
|
2796
2808
|
}
|
|
2797
2809
|
/**
|
|
2798
2810
|
* Changes the document type to indicate that it exists and that its version
|
|
2799
2811
|
* and data are known.
|
|
2800
2812
|
*/ convertToFoundDocument(t, e) {
|
|
2801
|
-
|
|
2802
|
-
|
|
2813
|
+
// If a document is switching state from being an invalid or deleted
|
|
2814
|
+
// document to a valid (FOUND_DOCUMENT) document, either due to receiving an
|
|
2815
|
+
// update from Watch or due to applying a local set mutation on top
|
|
2816
|
+
// of a deleted document, our best guess about its createTime would be the
|
|
2817
|
+
// version at which the document transitioned to a FOUND_DOCUMENT.
|
|
2818
|
+
return !this.createTime.isEqual(ce.min()) || 2 /* DocumentType.NO_DOCUMENT */ !== this.documentType && 0 /* DocumentType.INVALID */ !== this.documentType || (this.createTime = t),
|
|
2819
|
+
this.version = t, this.documentType = 1 /* DocumentType.FOUND_DOCUMENT */ , this.data = e,
|
|
2820
|
+
this.documentState = 0 /* DocumentState.SYNCED */ , this;
|
|
2803
2821
|
}
|
|
2804
2822
|
/**
|
|
2805
2823
|
* Changes the document type to indicate that it doesn't exist at the given
|
|
@@ -2852,10 +2870,10 @@ class de {
|
|
|
2852
2870
|
return t instanceof pe && this.key.isEqual(t.key) && this.version.isEqual(t.version) && this.documentType === t.documentType && this.documentState === t.documentState && this.data.isEqual(t.data);
|
|
2853
2871
|
}
|
|
2854
2872
|
mutableCopy() {
|
|
2855
|
-
return new pe(this.key, this.documentType, this.version, this.readTime, this.data.clone(), this.documentState);
|
|
2873
|
+
return new pe(this.key, this.documentType, this.version, this.readTime, this.createTime, this.data.clone(), this.documentState);
|
|
2856
2874
|
}
|
|
2857
2875
|
toString() {
|
|
2858
|
-
return `Document(${this.key}, ${this.version}, ${JSON.stringify(this.data.value)}, {documentType: ${this.documentType}}), {documentState: ${this.documentState}})`;
|
|
2876
|
+
return `Document(${this.key}, ${this.version}, ${JSON.stringify(this.data.value)}, {createTime: ${this.createTime}}), {documentType: ${this.documentType}}), {documentState: ${this.documentState}})`;
|
|
2859
2877
|
}
|
|
2860
2878
|
}
|
|
2861
2879
|
|
|
@@ -3095,9 +3113,9 @@ function Pe(t, e) {
|
|
|
3095
3113
|
}
|
|
3096
3114
|
}
|
|
3097
3115
|
|
|
3098
|
-
/** Transforms a value into a server-generated timestamp. */ class
|
|
3116
|
+
/** Transforms a value into a server-generated timestamp. */ class $e extends Ve {}
|
|
3099
3117
|
|
|
3100
|
-
/** Transforms an array value via a union operation. */ class
|
|
3118
|
+
/** Transforms an array value via a union operation. */ class Ne extends Ve {
|
|
3101
3119
|
constructor(t) {
|
|
3102
3120
|
super(), this.elements = t;
|
|
3103
3121
|
}
|
|
@@ -3373,7 +3391,7 @@ function We(t, e) {
|
|
|
3373
3391
|
function Ge(t) {
|
|
3374
3392
|
return I(!!t), ce.fromTimestamp(function(t) {
|
|
3375
3393
|
const e = Pt(t);
|
|
3376
|
-
return new
|
|
3394
|
+
return new Nt(e.seconds, e.nanos);
|
|
3377
3395
|
}(t));
|
|
3378
3396
|
}
|
|
3379
3397
|
|
|
@@ -3416,12 +3434,12 @@ function Ze(t, e, n) {
|
|
|
3416
3434
|
function tn(t, e) {
|
|
3417
3435
|
return "found" in e ? function(t, e) {
|
|
3418
3436
|
I(!!e.found), e.found.name, e.found.updateTime;
|
|
3419
|
-
const n = He(t, e.found.name), r = Ge(e.found.updateTime), s = new me({
|
|
3437
|
+
const n = He(t, e.found.name), r = Ge(e.found.updateTime), s = e.found.createTime ? Ge(e.found.createTime) : ce.min(), i = new me({
|
|
3420
3438
|
mapValue: {
|
|
3421
3439
|
fields: e.found.fields
|
|
3422
3440
|
}
|
|
3423
3441
|
});
|
|
3424
|
-
return pe.newFoundDocument(n, r, s);
|
|
3442
|
+
return pe.newFoundDocument(n, r, s, i);
|
|
3425
3443
|
}(t, e) : "missing" in e ? function(t, e) {
|
|
3426
3444
|
I(!!e.missing), I(!!e.readTime);
|
|
3427
3445
|
const n = He(t, e.missing), r = Ge(e.readTime);
|
|
@@ -3446,11 +3464,11 @@ function en(t, e) {
|
|
|
3446
3464
|
}
|
|
3447
3465
|
return e.fieldTransforms.length > 0 && (n.updateTransforms = e.fieldTransforms.map((t => function(t, e) {
|
|
3448
3466
|
const n = e.transform;
|
|
3449
|
-
if (n instanceof
|
|
3467
|
+
if (n instanceof $e) return {
|
|
3450
3468
|
fieldPath: e.field.canonicalString(),
|
|
3451
3469
|
setToServerValue: "REQUEST_TIME"
|
|
3452
3470
|
};
|
|
3453
|
-
if (n instanceof
|
|
3471
|
+
if (n instanceof Ne) return {
|
|
3454
3472
|
fieldPath: e.field.canonicalString(),
|
|
3455
3473
|
appendMissingElements: {
|
|
3456
3474
|
values: n.elements
|
|
@@ -3800,12 +3818,12 @@ async function pn(t, e) {
|
|
|
3800
3818
|
return (await n.P("RunQuery", r.parent, {
|
|
3801
3819
|
structuredQuery: r.structuredQuery
|
|
3802
3820
|
})).filter((t => !!t.document)).map((t => function(t, e, n) {
|
|
3803
|
-
const r = He(t, e.name), s = Ge(e.updateTime), i = new me({
|
|
3821
|
+
const r = He(t, e.name), s = Ge(e.updateTime), i = e.createTime ? Ge(e.createTime) : ce.min(), o = new me({
|
|
3804
3822
|
mapValue: {
|
|
3805
3823
|
fields: e.fields
|
|
3806
3824
|
}
|
|
3807
|
-
}),
|
|
3808
|
-
return n &&
|
|
3825
|
+
}), u = pe.newFoundDocument(r, s, i, o);
|
|
3826
|
+
return n && u.setHasCommittedMutations(), n ? u.setHasCommittedMutations() : u;
|
|
3809
3827
|
}(n.C, t.document, void 0)));
|
|
3810
3828
|
}
|
|
3811
3829
|
|
|
@@ -4204,7 +4222,7 @@ class Rn {
|
|
|
4204
4222
|
* A `DocumentReference` refers to a document location in a Firestore database
|
|
4205
4223
|
* and can be used to write, read, or listen to the location. The document at
|
|
4206
4224
|
* the referenced location may or may not exist.
|
|
4207
|
-
*/ class
|
|
4225
|
+
*/ class $n {
|
|
4208
4226
|
/** @hideconstructor */
|
|
4209
4227
|
constructor(t,
|
|
4210
4228
|
/**
|
|
@@ -4235,14 +4253,14 @@ class Rn {
|
|
|
4235
4253
|
return new Dn(this.firestore, this.converter, this._key.path.popLast());
|
|
4236
4254
|
}
|
|
4237
4255
|
withConverter(t) {
|
|
4238
|
-
return new
|
|
4256
|
+
return new $n(this.firestore, t, this._key);
|
|
4239
4257
|
}
|
|
4240
4258
|
}
|
|
4241
4259
|
|
|
4242
4260
|
/**
|
|
4243
4261
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
4244
4262
|
* construct refined `Query` objects by adding filters and ordering.
|
|
4245
|
-
*/ class
|
|
4263
|
+
*/ class Nn {
|
|
4246
4264
|
// This is the lite version of the Query class in the main SDK.
|
|
4247
4265
|
/** @hideconstructor protected */
|
|
4248
4266
|
constructor(t,
|
|
@@ -4255,14 +4273,14 @@ class Rn {
|
|
|
4255
4273
|
this.type = "query", this.firestore = t;
|
|
4256
4274
|
}
|
|
4257
4275
|
withConverter(t) {
|
|
4258
|
-
return new
|
|
4276
|
+
return new Nn(this.firestore, t, this._query);
|
|
4259
4277
|
}
|
|
4260
4278
|
}
|
|
4261
4279
|
|
|
4262
4280
|
/**
|
|
4263
4281
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
4264
4282
|
* document references, and querying for documents (using {@link query}).
|
|
4265
|
-
*/ class Dn extends
|
|
4283
|
+
*/ class Dn extends Nn {
|
|
4266
4284
|
/** @hideconstructor */
|
|
4267
4285
|
constructor(t, e, n) {
|
|
4268
4286
|
super(t, e, new _e(n)), this._path = n,
|
|
@@ -4283,7 +4301,7 @@ class Rn {
|
|
|
4283
4301
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
4284
4302
|
*/ get parent() {
|
|
4285
4303
|
const t = this._path.popLast();
|
|
4286
|
-
return t.isEmpty() ? null : new
|
|
4304
|
+
return t.isEmpty() ? null : new $n(this.firestore,
|
|
4287
4305
|
/* converter= */ null, new st(t));
|
|
4288
4306
|
}
|
|
4289
4307
|
withConverter(t) {
|
|
@@ -4297,7 +4315,7 @@ function Fn(t, e, ...n) {
|
|
|
4297
4315
|
return ut(r), new Dn(t, /* converter= */ null, r);
|
|
4298
4316
|
}
|
|
4299
4317
|
{
|
|
4300
|
-
if (!(t instanceof
|
|
4318
|
+
if (!(t instanceof $n || t instanceof Dn)) throw new j(V, "Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");
|
|
4301
4319
|
const r = t._path.child(et.fromString(e, ...n));
|
|
4302
4320
|
return ut(r), new Dn(t.firestore,
|
|
4303
4321
|
/* converter= */ null, r);
|
|
@@ -4318,7 +4336,7 @@ function Fn(t, e, ...n) {
|
|
|
4318
4336
|
* @returns The created `Query`.
|
|
4319
4337
|
*/ function xn(t, e) {
|
|
4320
4338
|
if (t = at(t, bn), it("collectionGroup", "collection id", e), e.indexOf("/") >= 0) throw new j(V, `Invalid collection ID '${e}' passed to function collectionGroup(). Collection IDs must not contain '/'.`);
|
|
4321
|
-
return new
|
|
4339
|
+
return new Nn(t,
|
|
4322
4340
|
/* converter= */ null, function(t) {
|
|
4323
4341
|
return new _e(et.emptyPath(), t);
|
|
4324
4342
|
}(e));
|
|
@@ -4328,15 +4346,15 @@ function Sn(t, e, ...n) {
|
|
|
4328
4346
|
if (t = f(t),
|
|
4329
4347
|
// We allow omission of 'pathString' but explicitly prohibit passing in both
|
|
4330
4348
|
// 'undefined' and 'null'.
|
|
4331
|
-
1 === arguments.length && (e = _t
|
|
4349
|
+
1 === arguments.length && (e = _t.N()), it("doc", "path", e), t instanceof bn) {
|
|
4332
4350
|
const r = et.fromString(e, ...n);
|
|
4333
|
-
return ot(r), new
|
|
4351
|
+
return ot(r), new $n(t,
|
|
4334
4352
|
/* converter= */ null, new st(r));
|
|
4335
4353
|
}
|
|
4336
4354
|
{
|
|
4337
|
-
if (!(t instanceof
|
|
4355
|
+
if (!(t instanceof $n || t instanceof Dn)) throw new j(V, "Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");
|
|
4338
4356
|
const r = t._path.child(et.fromString(e, ...n));
|
|
4339
|
-
return ot(r), new
|
|
4357
|
+
return ot(r), new $n(t.firestore, t instanceof Dn ? t.converter : null, new st(r));
|
|
4340
4358
|
}
|
|
4341
4359
|
}
|
|
4342
4360
|
|
|
@@ -4348,7 +4366,7 @@ function Sn(t, e, ...n) {
|
|
|
4348
4366
|
* @returns true if the references point to the same location in the same
|
|
4349
4367
|
* Firestore database.
|
|
4350
4368
|
*/ function qn(t, e) {
|
|
4351
|
-
return t = f(t), e = f(e), (t instanceof
|
|
4369
|
+
return t = f(t), e = f(e), (t instanceof $n || t instanceof Dn) && (e instanceof $n || e instanceof Dn) && (t.firestore === e.firestore && t.path === e.path && t.converter === e.converter);
|
|
4352
4370
|
}
|
|
4353
4371
|
|
|
4354
4372
|
/**
|
|
@@ -4360,7 +4378,7 @@ function Sn(t, e, ...n) {
|
|
|
4360
4378
|
* @returns true if the references point to the same location in the same
|
|
4361
4379
|
* Firestore database.
|
|
4362
4380
|
*/ function On(t, e) {
|
|
4363
|
-
return t = f(t), e = f(e), t instanceof
|
|
4381
|
+
return t = f(t), e = f(e), t instanceof Nn && e instanceof Nn && (t.firestore === e.firestore && Re(t._query, e._query) && t.converter === e.converter);
|
|
4364
4382
|
}
|
|
4365
4383
|
|
|
4366
4384
|
/**
|
|
@@ -4791,7 +4809,7 @@ class Hn extends Mn {
|
|
|
4791
4809
|
|
|
4792
4810
|
class Xn extends Mn {
|
|
4793
4811
|
_toFieldTransform(t) {
|
|
4794
|
-
return new xe(t.path, new
|
|
4812
|
+
return new xe(t.path, new $e);
|
|
4795
4813
|
}
|
|
4796
4814
|
isEqual(t) {
|
|
4797
4815
|
return t instanceof Xn;
|
|
@@ -4804,7 +4822,7 @@ class Zn extends Mn {
|
|
|
4804
4822
|
}
|
|
4805
4823
|
_toFieldTransform(t) {
|
|
4806
4824
|
const e = Jn(this, t,
|
|
4807
|
-
/*array=*/ !0), n = this.dt.map((t => ir(t, e))), r = new
|
|
4825
|
+
/*array=*/ !0), n = this.dt.map((t => ir(t, e))), r = new Ne(n);
|
|
4808
4826
|
return new xe(t.path, r);
|
|
4809
4827
|
}
|
|
4810
4828
|
isEqual(t) {
|
|
@@ -4980,16 +4998,16 @@ class er extends Mn {
|
|
|
4980
4998
|
stringValue: t
|
|
4981
4999
|
};
|
|
4982
5000
|
if (t instanceof Date) {
|
|
4983
|
-
const n =
|
|
5001
|
+
const n = Nt.fromDate(t);
|
|
4984
5002
|
return {
|
|
4985
5003
|
timestampValue: Qe(e.C, n)
|
|
4986
5004
|
};
|
|
4987
5005
|
}
|
|
4988
|
-
if (t instanceof
|
|
5006
|
+
if (t instanceof Nt) {
|
|
4989
5007
|
// Firestore backend truncates precision down to microseconds. To ensure
|
|
4990
5008
|
// offline mode works the same with regards to truncation, perform the
|
|
4991
5009
|
// truncation immediately without waiting for the backend to do that.
|
|
4992
|
-
const n = new
|
|
5010
|
+
const n = new Nt(t.seconds, 1e3 * Math.floor(t.nanoseconds / 1e3));
|
|
4993
5011
|
return {
|
|
4994
5012
|
timestampValue: Qe(e.C, n)
|
|
4995
5013
|
};
|
|
@@ -5003,7 +5021,7 @@ class er extends Mn {
|
|
|
5003
5021
|
if (t instanceof kn) return {
|
|
5004
5022
|
bytesValue: ze(e.C, t._byteString)
|
|
5005
5023
|
};
|
|
5006
|
-
if (t instanceof
|
|
5024
|
+
if (t instanceof $n) {
|
|
5007
5025
|
const n = e.databaseId, r = t.firestore._databaseId;
|
|
5008
5026
|
if (!r.isEqual(n)) throw e.at(`Document reference is for database ${r.projectId}/${r.database} but should be for database ${n.projectId}/${n.database}`);
|
|
5009
5027
|
return {
|
|
@@ -5059,7 +5077,7 @@ function or(t, e) {
|
|
|
5059
5077
|
}
|
|
5060
5078
|
|
|
5061
5079
|
function ur(t) {
|
|
5062
|
-
return !("object" != typeof t || null === t || t instanceof Array || t instanceof Date || t instanceof
|
|
5080
|
+
return !("object" != typeof t || null === t || t instanceof Array || t instanceof Date || t instanceof Nt || t instanceof Un || t instanceof kn || t instanceof $n || t instanceof Mn);
|
|
5063
5081
|
}
|
|
5064
5082
|
|
|
5065
5083
|
function cr(t, e, n) {
|
|
@@ -5162,7 +5180,7 @@ function fr(t, e, n, r, s) {
|
|
|
5162
5180
|
/**
|
|
5163
5181
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
5164
5182
|
*/ get ref() {
|
|
5165
|
-
return new
|
|
5183
|
+
return new $n(this._firestore, this._converter, this._key);
|
|
5166
5184
|
}
|
|
5167
5185
|
/**
|
|
5168
5186
|
* Signals whether or not the document at the snapshot's location exists.
|
|
@@ -5360,7 +5378,7 @@ function br(t, e, ...n) {
|
|
|
5360
5378
|
}
|
|
5361
5379
|
_apply(t) {
|
|
5362
5380
|
const e = this._parse(t);
|
|
5363
|
-
return Ur(t._query, e), new
|
|
5381
|
+
return Ur(t._query, e), new Nn(t.firestore, t.converter, Te(t._query, e));
|
|
5364
5382
|
}
|
|
5365
5383
|
_parse(t) {
|
|
5366
5384
|
const e = Kn(t.firestore), n = function(t, e, n, r, s, i, o) {
|
|
@@ -5434,7 +5452,7 @@ function br(t, e, ...n) {
|
|
|
5434
5452
|
}
|
|
5435
5453
|
// Checks if any of the provided filter operators are included in the given list of filters and
|
|
5436
5454
|
// returns the first one that is, or null if none are.
|
|
5437
|
-
(t._query, e), new
|
|
5455
|
+
(t._query, e), new Nn(t.firestore, t.converter, Te(t._query, e)));
|
|
5438
5456
|
}
|
|
5439
5457
|
_getQueryConstraints() {
|
|
5440
5458
|
return this._queryConstraints;
|
|
@@ -5516,7 +5534,7 @@ function br(t, e, ...n) {
|
|
|
5516
5534
|
* of the query or if any of the fields in the order by are an uncommitted
|
|
5517
5535
|
* server timestamp.
|
|
5518
5536
|
*/ (t._query, this._field, this._direction);
|
|
5519
|
-
return new
|
|
5537
|
+
return new Nn(t.firestore, t.converter, function(t, e) {
|
|
5520
5538
|
// TODO(dimond): validate that orderBy does not list the same key twice.
|
|
5521
5539
|
const n = t.explicitOrderBy.concat([ e ]);
|
|
5522
5540
|
return new _e(t.path, t.collectionGroup, n, t.filters.slice(), t.limit, t.limitType, t.startAt, t.endAt);
|
|
@@ -5546,7 +5564,7 @@ function br(t, e, ...n) {
|
|
|
5546
5564
|
* `QueryLimitConstraint`s are created by invoking {@link limit} or
|
|
5547
5565
|
* {@link limitToLast} and can then be passed to {@link query} to create a new
|
|
5548
5566
|
* query instance that also contains this `QueryLimitConstraint`.
|
|
5549
|
-
*/ class
|
|
5567
|
+
*/ class $r extends vr {
|
|
5550
5568
|
/**
|
|
5551
5569
|
* @internal
|
|
5552
5570
|
*/
|
|
@@ -5556,10 +5574,10 @@ function br(t, e, ...n) {
|
|
|
5556
5574
|
super(), this.type = t, this._limit = e, this._limitType = n;
|
|
5557
5575
|
}
|
|
5558
5576
|
static _create(t, e, n) {
|
|
5559
|
-
return new
|
|
5577
|
+
return new $r(t, e, n);
|
|
5560
5578
|
}
|
|
5561
5579
|
_apply(t) {
|
|
5562
|
-
return new
|
|
5580
|
+
return new Nn(t.firestore, t.converter, function(t, e, n) {
|
|
5563
5581
|
return new _e(t.path, t.collectionGroup, t.explicitOrderBy.slice(), t.filters.slice(), e, n, t.startAt, t.endAt);
|
|
5564
5582
|
}(t._query, this._limit, this._limitType));
|
|
5565
5583
|
}
|
|
@@ -5571,8 +5589,8 @@ function br(t, e, ...n) {
|
|
|
5571
5589
|
*
|
|
5572
5590
|
* @param limit - The maximum number of items to return.
|
|
5573
5591
|
* @returns The created {@link QueryLimitConstraint}.
|
|
5574
|
-
*/ function
|
|
5575
|
-
return ht("limit", t),
|
|
5592
|
+
*/ function Nr(t) {
|
|
5593
|
+
return ht("limit", t), $r._create("limit", t, "F" /* LimitType.First */);
|
|
5576
5594
|
}
|
|
5577
5595
|
|
|
5578
5596
|
/**
|
|
@@ -5585,7 +5603,7 @@ function br(t, e, ...n) {
|
|
|
5585
5603
|
* @param limit - The maximum number of items to return.
|
|
5586
5604
|
* @returns The created {@link QueryLimitConstraint}.
|
|
5587
5605
|
*/ function Dr(t) {
|
|
5588
|
-
return ht("limitToLast", t),
|
|
5606
|
+
return ht("limitToLast", t), $r._create("limitToLast", t, "L" /* LimitType.Last */);
|
|
5589
5607
|
}
|
|
5590
5608
|
|
|
5591
5609
|
/**
|
|
@@ -5608,7 +5626,7 @@ function br(t, e, ...n) {
|
|
|
5608
5626
|
}
|
|
5609
5627
|
_apply(t) {
|
|
5610
5628
|
const e = Cr(t, this.type, this._docOrFields, this._inclusive);
|
|
5611
|
-
return new
|
|
5629
|
+
return new Nn(t.firestore, t.converter, function(t, e) {
|
|
5612
5630
|
return new _e(t.path, t.collectionGroup, t.explicitOrderBy.slice(), t.filters.slice(), t.limit, t.limitType, e, t.endAt);
|
|
5613
5631
|
}(t._query, e));
|
|
5614
5632
|
}
|
|
@@ -5644,7 +5662,7 @@ function Sr(...t) {
|
|
|
5644
5662
|
}
|
|
5645
5663
|
_apply(t) {
|
|
5646
5664
|
const e = Cr(t, this.type, this._docOrFields, this._inclusive);
|
|
5647
|
-
return new
|
|
5665
|
+
return new Nn(t.firestore, t.converter, function(t, e) {
|
|
5648
5666
|
return new _e(t.path, t.collectionGroup, t.explicitOrderBy.slice(), t.filters.slice(), t.limit, t.limitType, t.startAt, e);
|
|
5649
5667
|
}(t._query, e));
|
|
5650
5668
|
}
|
|
@@ -5662,7 +5680,7 @@ function kr(...t) {
|
|
|
5662
5680
|
|
|
5663
5681
|
/** Helper function to create a bound from a document or fields */ function Cr(t, e, n, r) {
|
|
5664
5682
|
if (n[0] = f(n[0]), n[0] instanceof wr) return function(t, e, n, r, s) {
|
|
5665
|
-
if (!r) throw new j(
|
|
5683
|
+
if (!r) throw new j(N, `Can't use a DocumentSnapshot that doesn't exist for ${n}().`);
|
|
5666
5684
|
const i = [];
|
|
5667
5685
|
// Because people expect to continue/end a query at the exact document
|
|
5668
5686
|
// provided, we need to use the implicit sort order rather than the explicit
|
|
@@ -5724,7 +5742,7 @@ function Lr(t, e, n) {
|
|
|
5724
5742
|
if (!st.isDocumentKey(r)) throw new j(V, `Invalid query. When querying a collection group by documentId(), the value provided must result in a valid document path, but '${r}' is not because it has an odd number of segments (${r.length}).`);
|
|
5725
5743
|
return Mt(t, new st(r));
|
|
5726
5744
|
}
|
|
5727
|
-
if (n instanceof
|
|
5745
|
+
if (n instanceof $n) return Mt(t, n._key);
|
|
5728
5746
|
throw new j(V, `Invalid query. When querying with documentId(), you must provide a valid string or a DocumentReference, but it was: ${ct(n)}.`);
|
|
5729
5747
|
}
|
|
5730
5748
|
|
|
@@ -5847,7 +5865,7 @@ class zr extends class {
|
|
|
5847
5865
|
return t.stringValue;
|
|
5848
5866
|
|
|
5849
5867
|
case 6 /* TypeOrder.BlobValue */ :
|
|
5850
|
-
return this.convertBytes(
|
|
5868
|
+
return this.convertBytes($t(t.bytesValue));
|
|
5851
5869
|
|
|
5852
5870
|
case 7 /* TypeOrder.RefValue */ :
|
|
5853
5871
|
return this.convertReference(t.referenceValue);
|
|
@@ -5892,7 +5910,7 @@ class zr extends class {
|
|
|
5892
5910
|
}
|
|
5893
5911
|
convertTimestamp(t) {
|
|
5894
5912
|
const e = Pt(t);
|
|
5895
|
-
return new
|
|
5913
|
+
return new Nt(e.seconds, e.nanos);
|
|
5896
5914
|
}
|
|
5897
5915
|
convertDocumentKey(t, e) {
|
|
5898
5916
|
const n = et.fromString(t);
|
|
@@ -5912,7 +5930,7 @@ class zr extends class {
|
|
|
5912
5930
|
}
|
|
5913
5931
|
convertReference(t) {
|
|
5914
5932
|
const e = this.convertDocumentKey(t, this.firestore._databaseId);
|
|
5915
|
-
return new
|
|
5933
|
+
return new $n(this.firestore, /* converter= */ null, e);
|
|
5916
5934
|
}
|
|
5917
5935
|
}
|
|
5918
5936
|
|
|
@@ -5929,7 +5947,7 @@ class zr extends class {
|
|
|
5929
5947
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the current
|
|
5930
5948
|
* document contents.
|
|
5931
5949
|
*/ function Wr(t) {
|
|
5932
|
-
const e = _n((t = at(t,
|
|
5950
|
+
const e = _n((t = at(t, $n)).firestore), n = new zr(t.firestore);
|
|
5933
5951
|
return mn(e, [ t._key ]).then((e => {
|
|
5934
5952
|
I(1 === e.length);
|
|
5935
5953
|
const r = e[0];
|
|
@@ -5951,7 +5969,7 @@ class zr extends class {
|
|
|
5951
5969
|
*/ function Gr(t) {
|
|
5952
5970
|
!function(t) {
|
|
5953
5971
|
if ("L" /* LimitType.Last */ === t.limitType && 0 === t.explicitOrderBy.length) throw new j(C, "limitToLast() queries require specifying at least one orderBy() clause");
|
|
5954
|
-
}((t = at(t,
|
|
5972
|
+
}((t = at(t, Nn))._query);
|
|
5955
5973
|
const e = _n(t.firestore), n = new zr(t.firestore);
|
|
5956
5974
|
return pn(e, t._query).then((e => {
|
|
5957
5975
|
const r = e.map((e => new mr(t.firestore, n, e.key, e, t.converter)));
|
|
@@ -5964,12 +5982,12 @@ class zr extends class {
|
|
|
5964
5982
|
}
|
|
5965
5983
|
|
|
5966
5984
|
function Kr(t, e, n) {
|
|
5967
|
-
const r = Qr((t = at(t,
|
|
5985
|
+
const r = Qr((t = at(t, $n)).converter, e, n), s = Yn(Kn(t.firestore), "setDoc", t._key, r, null !== t.converter, n);
|
|
5968
5986
|
return wn(_n(t.firestore), [ s.toMutation(t._key, Se.none()) ]);
|
|
5969
5987
|
}
|
|
5970
5988
|
|
|
5971
5989
|
function Yr(t, e, n, ...r) {
|
|
5972
|
-
const s = Kn((t = at(t,
|
|
5990
|
+
const s = Kn((t = at(t, $n)).firestore);
|
|
5973
5991
|
// For Compat types, we have to "extract" the underlying types before
|
|
5974
5992
|
// performing validation.
|
|
5975
5993
|
let i;
|
|
@@ -5989,7 +6007,7 @@ function Yr(t, e, n, ...r) {
|
|
|
5989
6007
|
* @returns A `Promise` resolved once the document has been successfully
|
|
5990
6008
|
* deleted from the backend.
|
|
5991
6009
|
*/ function Hr(t) {
|
|
5992
|
-
return wn(_n((t = at(t,
|
|
6010
|
+
return wn(_n((t = at(t, $n)).firestore), [ new Ce(t._key, Se.none()) ]);
|
|
5993
6011
|
}
|
|
5994
6012
|
|
|
5995
6013
|
/**
|
|
@@ -6455,7 +6473,7 @@ class hs {
|
|
|
6455
6473
|
|
|
6456
6474
|
case R:
|
|
6457
6475
|
case P:
|
|
6458
|
-
case
|
|
6476
|
+
case $:
|
|
6459
6477
|
case S:
|
|
6460
6478
|
case L:
|
|
6461
6479
|
case M:
|
|
@@ -6465,7 +6483,7 @@ class hs {
|
|
|
6465
6483
|
return !1;
|
|
6466
6484
|
|
|
6467
6485
|
case V:
|
|
6468
|
-
case
|
|
6486
|
+
case N:
|
|
6469
6487
|
case D:
|
|
6470
6488
|
case F:
|
|
6471
6489
|
case q:
|
|
@@ -6623,9 +6641,9 @@ class hs {
|
|
|
6623
6641
|
// assertion sanity-checks.
|
|
6624
6642
|
this.Vt = !1,
|
|
6625
6643
|
// Enabled during shutdown on Safari to prevent future access to IndexedDB.
|
|
6626
|
-
this
|
|
6644
|
+
this.$t = !1,
|
|
6627
6645
|
// List of TimerIds to fast-forward delays for.
|
|
6628
|
-
this
|
|
6646
|
+
this.Nt = [],
|
|
6629
6647
|
// Backoff timer used to schedule retries for retryable operations
|
|
6630
6648
|
this.gt = new fn(this, "async_queue_retry" /* TimerId.AsyncQueueRetry */),
|
|
6631
6649
|
// Visibility handler that triggers an immediate retry of all retryable
|
|
@@ -6655,7 +6673,7 @@ class hs {
|
|
|
6655
6673
|
}
|
|
6656
6674
|
enterRestrictedMode(t) {
|
|
6657
6675
|
if (!this.Tt) {
|
|
6658
|
-
this.Tt = !0, this
|
|
6676
|
+
this.Tt = !0, this.$t = t || !1;
|
|
6659
6677
|
const e = ls();
|
|
6660
6678
|
e && "function" == typeof e.removeEventListener && e.removeEventListener("visibilitychange", this.Dt);
|
|
6661
6679
|
}
|
|
@@ -6668,7 +6686,7 @@ class hs {
|
|
|
6668
6686
|
// allows us to return a "hanging Promise" only to the callee and still
|
|
6669
6687
|
// advance the queue even when the operation is not run.
|
|
6670
6688
|
const e = new B;
|
|
6671
|
-
return this.xt((() => this.Tt && this
|
|
6689
|
+
return this.xt((() => this.Tt && this.$t ? Promise.resolve() : (t().then(e.resolve, e.reject),
|
|
6672
6690
|
e.promise))).then((() => e.promise));
|
|
6673
6691
|
}
|
|
6674
6692
|
enqueueRetryable(t) {
|
|
@@ -6787,7 +6805,7 @@ class hs {
|
|
|
6787
6805
|
enqueueAfterDelay(t, e, n) {
|
|
6788
6806
|
this.Ft(),
|
|
6789
6807
|
// Fast-forward delays for timerIds that have been overriden.
|
|
6790
|
-
this
|
|
6808
|
+
this.Nt.indexOf(t) > -1 && (e = 0);
|
|
6791
6809
|
const r = fs.createAndSchedule(this, t, e, n, (t => this.qt(t)));
|
|
6792
6810
|
return this.Rt.push(r), r;
|
|
6793
6811
|
}
|
|
@@ -6833,7 +6851,7 @@ class hs {
|
|
|
6833
6851
|
/**
|
|
6834
6852
|
* For Tests: Skip all subsequent delays for a timer id.
|
|
6835
6853
|
*/ Lt(t) {
|
|
6836
|
-
this
|
|
6854
|
+
this.Nt.push(t);
|
|
6837
6855
|
}
|
|
6838
6856
|
/** Called once a DelayedOperation is run or canceled. */ qt(t) {
|
|
6839
6857
|
// NOTE: indexOf / slice are O(n), but delayedOperations is expected to be small.
|
|
@@ -6945,7 +6963,7 @@ class ws {
|
|
|
6945
6963
|
return n && s._setSettings(n), s;
|
|
6946
6964
|
}), "PUBLIC").setMultipleInstances(!0)),
|
|
6947
6965
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
6948
|
-
r("firestore-lite", "3.7.3-canary.
|
|
6966
|
+
r("firestore-lite", "3.7.3-canary.734fdcd91", "rn"), r("firestore-lite", "3.7.3-canary.734fdcd91", "esm2017");
|
|
6949
6967
|
|
|
6950
|
-
export { Rn as AggregateField, Pn as AggregateQuerySnapshot, kn as Bytes, Dn as CollectionReference,
|
|
6968
|
+
export { Rn as AggregateField, Pn as AggregateQuerySnapshot, kn as Bytes, Dn as CollectionReference, $n as DocumentReference, wr as DocumentSnapshot, Cn as FieldPath, Mn as FieldValue, bn as Firestore, j as FirestoreError, Un as GeoPoint, Nn as Query, Ar as QueryCompositeFilterConstraint, vr as QueryConstraint, mr as QueryDocumentSnapshot, qr as QueryEndAtConstraint, Er as QueryFieldFilterConstraint, $r as QueryLimitConstraint, Pr as QueryOrderByConstraint, pr as QuerySnapshot, Fr as QueryStartAtConstraint, Nt as Timestamp, ws as Transaction, is as WriteBatch, Jr as addDoc, Zr as aggregateQuerySnapshotEqual, Rr as and, rs as arrayRemove, ns as arrayUnion, Fn as collection, xn as collectionGroup, An as connectFirestoreEmulator, Hr as deleteDoc, ts as deleteField, Sn as doc, Ln as documentId, kr as endAt, Or as endBefore, Xr as getCount, Wr as getDoc, Gr as getDocs, In as getFirestore, ss as increment, En as initializeFirestore, Nr as limit, Dr as limitToLast, Tr as or, Vr as orderBy, br as query, On as queryEqual, qn as refEqual, ms as runTransaction, es as serverTimestamp, Kr as setDoc, y as setLogLevel, yr as snapshotEqual, Sr as startAfter, xr as startAt, Tn as terminate, Yr as updateDoc, Ir as where, us as writeBatch };
|
|
6951
6969
|
//# sourceMappingURL=index.rn.esm2017.js.map
|