@firebase/firestore 3.8.0 → 3.8.1
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/CHANGELOG.md +14 -0
- package/dist/firestore/src/api/reference_impl.d.ts +2 -1
- package/dist/firestore/src/lite-api/query.d.ts +14 -12
- package/dist/firestore/src/local/overlayed_document.d.ts +8 -4
- package/dist/firestore/test/unit/local/counting_query_engine.d.ts +12 -21
- package/dist/index.d.ts +2 -1
- package/dist/index.esm2017.js +36 -20
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +38 -20
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +36 -17
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +36 -17
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +36 -20
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +25 -18
- package/dist/lite/firestore/src/api/reference_impl.d.ts +2 -1
- package/dist/lite/firestore/src/lite-api/query.d.ts +14 -12
- package/dist/lite/firestore/src/local/overlayed_document.d.ts +8 -4
- package/dist/lite/firestore/test/unit/local/counting_query_engine.d.ts +12 -21
- package/dist/lite/index.browser.esm2017.js +16 -14
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +17 -15
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +16 -14
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +16 -14
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +16 -14
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +15 -13
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +15 -13
- package/dist/lite/packages/firestore/src/api/reference_impl.d.ts +2 -1
- package/dist/lite/packages/firestore/src/lite-api/query.d.ts +14 -12
- package/dist/lite/packages/firestore/src/local/overlayed_document.d.ts +8 -4
- package/dist/lite/packages/firestore/test/unit/local/counting_query_engine.d.ts +12 -21
- package/dist/packages/firestore/dist/index.esm2017.d.ts +17 -14
- package/dist/packages/firestore/src/api/reference_impl.d.ts +2 -1
- package/dist/packages/firestore/src/lite-api/query.d.ts +14 -12
- package/dist/packages/firestore/src/local/overlayed_document.d.ts +8 -4
- package/dist/packages/firestore/test/unit/local/counting_query_engine.d.ts +12 -21
- package/dist/private.d.ts +10 -5
- package/package.json +6 -6
package/dist/lite/index.node.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { FirebaseError, getDefaultEmulatorHostnameAndPort, createMockUserToken,
|
|
|
6
6
|
import nodeFetch from 'node-fetch';
|
|
7
7
|
import { randomBytes as randomBytes$1 } from 'crypto';
|
|
8
8
|
|
|
9
|
-
const version$1 = "3.8.
|
|
9
|
+
const version$1 = "3.8.1";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @license
|
|
@@ -59,7 +59,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
|
59
59
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
60
60
|
User.MOCK_USER = new User('mock-user');
|
|
61
61
|
|
|
62
|
-
const version = "9.
|
|
62
|
+
const version = "9.16.0";
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
@@ -7193,13 +7193,14 @@ class QueryCompositeFilterConstraint extends AppliableConstraint {
|
|
|
7193
7193
|
}
|
|
7194
7194
|
}
|
|
7195
7195
|
/**
|
|
7196
|
-
* Creates a {@link QueryCompositeFilterConstraint} that
|
|
7197
|
-
*
|
|
7196
|
+
* Creates a new {@link QueryCompositeFilterConstraint} that is a disjunction of
|
|
7197
|
+
* the given filter constraints. A disjunction filter includes a document if it
|
|
7198
|
+
* satisfies any of the given filters.
|
|
7198
7199
|
*
|
|
7199
|
-
* @param queryConstraints - Optional. The
|
|
7200
|
-
*
|
|
7201
|
-
* {@link or}, or {@link and}.
|
|
7202
|
-
* @returns The created {@link QueryCompositeFilterConstraint}.
|
|
7200
|
+
* @param queryConstraints - Optional. The list of
|
|
7201
|
+
* {@link QueryFilterConstraint}s to perform a disjunction for. These must be
|
|
7202
|
+
* created with calls to {@link where}, {@link or}, or {@link and}.
|
|
7203
|
+
* @returns The newly created {@link QueryCompositeFilterConstraint}.
|
|
7203
7204
|
* @internal TODO remove this internal tag with OR Query support in the server
|
|
7204
7205
|
*/
|
|
7205
7206
|
function or(...queryConstraints) {
|
|
@@ -7208,13 +7209,14 @@ function or(...queryConstraints) {
|
|
|
7208
7209
|
return QueryCompositeFilterConstraint._create("or" /* CompositeOperator.OR */, queryConstraints);
|
|
7209
7210
|
}
|
|
7210
7211
|
/**
|
|
7211
|
-
* Creates a {@link QueryCompositeFilterConstraint} that
|
|
7212
|
-
*
|
|
7212
|
+
* Creates a new {@link QueryCompositeFilterConstraint} that is a conjunction of
|
|
7213
|
+
* the given filter constraints. A conjunction filter includes a document if it
|
|
7214
|
+
* satisfies all of the given filters.
|
|
7213
7215
|
*
|
|
7214
|
-
* @param queryConstraints - Optional. The
|
|
7215
|
-
*
|
|
7216
|
-
* {@link or}, or {@link and}.
|
|
7217
|
-
* @returns The created {@link QueryCompositeFilterConstraint}.
|
|
7216
|
+
* @param queryConstraints - Optional. The list of
|
|
7217
|
+
* {@link QueryFilterConstraint}s to perform a conjunction for. These must be
|
|
7218
|
+
* created with calls to {@link where}, {@link or}, or {@link and}.
|
|
7219
|
+
* @returns The newly created {@link QueryCompositeFilterConstraint}.
|
|
7218
7220
|
* @internal TODO remove this internal tag with OR Query support in the server
|
|
7219
7221
|
*/
|
|
7220
7222
|
function and(...queryConstraints) {
|