@dereekb/firebase 9.7.0 → 9.7.3
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 +12 -0
- package/package.json +5 -5
- package/src/lib/common/firestore/accessor/document.rxjs.js +1 -1
- package/src/lib/common/firestore/accessor/document.rxjs.js.map +1 -1
- package/src/lib/common/firestore/util/id.batch.d.ts +2 -2
- package/src/lib/common/firestore/util/id.batch.js.map +1 -1
- package/test/CHANGELOG.md +12 -0
- package/test/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [9.7.3](https://github.com/dereekb/dbx-components/compare/v9.7.2-dev...v9.7.3) (2022-09-06)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [9.7.2](https://github.com/dereekb/dbx-components/compare/v9.7.1-dev...v9.7.2) (2022-09-06)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [9.7.1](https://github.com/dereekb/dbx-components/compare/v9.7.0-dev...v9.7.1) (2022-09-06)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
5
17
|
# [9.7.0](https://github.com/dereekb/dbx-components/compare/v9.6.5-dev...v9.7.0) (2022-09-05)
|
|
6
18
|
|
|
7
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase",
|
|
3
|
-
"version": "9.7.
|
|
3
|
+
"version": "9.7.3",
|
|
4
4
|
"devDependencies": {
|
|
5
5
|
"@firebase/rules-unit-testing": "^2.0.0"
|
|
6
6
|
},
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"rxjs": "^7.5.0",
|
|
24
24
|
"firebase": "^9.9.2",
|
|
25
|
-
"@dereekb/util": "9.7.
|
|
25
|
+
"@dereekb/util": "9.7.3",
|
|
26
26
|
"lodash.isequal": "^4.5.0",
|
|
27
27
|
"make-error": "^1.3.0",
|
|
28
28
|
"ts-essentials": "^9.1.2",
|
|
29
29
|
"extra-set": "^2.2.11",
|
|
30
|
-
"@dereekb/rxjs": "9.7.
|
|
30
|
+
"@dereekb/rxjs": "9.7.3",
|
|
31
31
|
"ms": "^3.0.0-canary.1",
|
|
32
|
-
"@dereekb/model": "9.7.
|
|
32
|
+
"@dereekb/model": "9.7.3",
|
|
33
33
|
"class-transformer": "^0.5.1",
|
|
34
34
|
"class-validator": "^0.13.2",
|
|
35
|
-
"@dereekb/date": "9.7.
|
|
35
|
+
"@dereekb/date": "9.7.3",
|
|
36
36
|
"date-fns": "^2.29.0",
|
|
37
37
|
"date-fns-tz": "^1.3.0",
|
|
38
38
|
"rrule": "git+https://git@github.com/dereekb/rrule#2b13b1ea881059ba2ecfec380e12ef244ef54570",
|
|
@@ -4,7 +4,7 @@ exports.streamDocumentData = exports.streamDocumentSnapshots = exports.dataFromD
|
|
|
4
4
|
const rxjs_1 = require("rxjs");
|
|
5
5
|
const document_utility_1 = require("./document.utility");
|
|
6
6
|
function latestSnapshotsFromDocuments(documents) {
|
|
7
|
-
return (0, rxjs_1.combineLatest)(documents.map((x) => x.accessor.stream())).pipe((0, rxjs_1.shareReplay)(1));
|
|
7
|
+
return documents.length ? (0, rxjs_1.combineLatest)(documents.map((x) => x.accessor.stream())).pipe((0, rxjs_1.shareReplay)(1)) : (0, rxjs_1.of)([]);
|
|
8
8
|
}
|
|
9
9
|
exports.latestSnapshotsFromDocuments = latestSnapshotsFromDocuments;
|
|
10
10
|
function latestDataFromDocuments(documents) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.rxjs.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase/src/lib/common/firestore/accessor/document.rxjs.ts"],"names":[],"mappings":";;;AAAA,+
|
|
1
|
+
{"version":3,"file":"document.rxjs.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase/src/lib/common/firestore/accessor/document.rxjs.ts"],"names":[],"mappings":";;;AAAA,+BAAyF;AAGzF,yDAAkE;AAElE,SAAgB,4BAA4B,CAAmC,SAAc;IAC3F,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,IAAA,oBAAa,EAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAA,kBAAW,EAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAA,SAAE,EAAC,EAAE,CAAC,CAAC;AACnH,CAAC;AAFD,oEAEC;AAED,SAAgB,uBAAuB,CAAmC,SAAc;IACtF,OAAO,4BAA4B,CAAI,SAAS,CAAC,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAA,kBAAW,EAAC,CAAC,CAAC,CAAC,CAAC;AACtG,CAAC;AAFD,0DAEC;AAED,SAAgB,yBAAyB;IACvC,OAAO,IAAA,UAAG,EAAC,CAAC,CAAwB,EAAE,EAAE,CAAC,IAAA,+CAA4B,EAAI,CAAC,CAAC,CAAC,CAAC;AAC/E,CAAC;AAFD,8DAEC;AAED,eAAe;AACf;;GAEG;AACH,SAAgB,uBAAuB,CAAoC,SAAc;IACvF,OAAO,4BAA4B,CAAC,SAAS,CAAC,CAAC;AACjD,CAAC;AAFD,0DAEC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAAoC,SAAc;IAClF,OAAO,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,CAAC;AAFD,gDAEC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArrayOrValue, FactoryWithRequiredInput, IdBatchVerifier, PrimativeKey,
|
|
1
|
+
import { ArrayOrValue, FactoryWithRequiredInput, IdBatchVerifier, PrimativeKey, ReadMultipleKeysFunction } from '@dereekb/util';
|
|
2
2
|
import { FirestoreCollectionLike } from '../collection';
|
|
3
3
|
import { FirestoreQueryConstraint } from '../query/constraint';
|
|
4
4
|
import { DocumentSnapshot } from '../types';
|
|
@@ -6,7 +6,7 @@ export declare type FirestoreIdBatchVerifierFactoryBaseConfig<T, I extends Prima
|
|
|
6
6
|
/**
|
|
7
7
|
* Reads the existing identifier(s) from the queried model.
|
|
8
8
|
*/
|
|
9
|
-
readKeys:
|
|
9
|
+
readKeys: ReadMultipleKeysFunction<DocumentSnapshot<T>, I>;
|
|
10
10
|
};
|
|
11
11
|
export declare type FirestoreIdBatchVerifierFactoryFieldsQueryConfig<T, I extends PrimativeKey> = FirestoreIdBatchVerifierFactoryBaseConfig<T, I> & {
|
|
12
12
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id.batch.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase/src/lib/common/firestore/util/id.batch.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"id.batch.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase/src/lib/common/firestore/util/id.batch.ts"],"names":[],"mappings":";;;;AAAA,wCAAiK;AAEjK,oDAAiI;AA6BjI,SAAgB,+BAA+B,CAA4B,MAAmD;IAC5H,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;IAC5B,MAAM,YAAY,GAAqB,MAAiE,CAAC,YAAY,CAAC;IACtH,MAAM,oBAAoB,GAAI,MAA+D,CAAC,oBAAoB,CAAC,CAAC,CAAE,MAA+D,CAAC,oBAAoB,CAAC,CAAC,CAAC,YAAY,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,GAAQ,EAAE,EAAE,CAAC,IAAA,4BAAe,EAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAQ,EAAE,EAAE,CAAC,IAAA,kBAAK,EAAC,YAAsB,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;IAExU,OAAO,CAAC,UAAsC,EAAE,EAAE;QAChD,MAAM,MAAM,GAA+B,CAAO,IAAS,EAAE,EAAE;YAC7D,MAAM,WAAW,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;YAC/C,MAAM,OAAO,GAAG,MAAM,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,OAAO,EAAE,CAAC;YAC9D,MAAM,aAAa,GAAQ,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;YACvE,MAAM,UAAU,GAAG,IAAA,aAAM,EAAC,IAAI,EAAE,aAAa,CAAC,CAAC;YAC/C,OAAO,UAAU,CAAC;QACpB,CAAC,CAAA,CAAC;QAEF,MAAM,QAAQ,GAAuB;YACnC,YAAY,EAAE,qDAAwC;YACtD,UAAU,EAAE,aAAM;YAClB,MAAM;SACP,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC,CAAC;AACJ,CAAC;AAtBD,0EAsBC"}
|
package/test/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [9.7.3](https://github.com/dereekb/dbx-components/compare/v9.7.2-dev...v9.7.3) (2022-09-06)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [9.7.2](https://github.com/dereekb/dbx-components/compare/v9.7.1-dev...v9.7.2) (2022-09-06)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [9.7.1](https://github.com/dereekb/dbx-components/compare/v9.7.0-dev...v9.7.1) (2022-09-06)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
5
17
|
# [9.7.0](https://github.com/dereekb/dbx-components/compare/v9.6.5-dev...v9.7.0) (2022-09-05)
|
|
6
18
|
|
|
7
19
|
|
package/test/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase/test",
|
|
3
|
-
"version": "9.7.
|
|
3
|
+
"version": "9.7.3",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"typings": "./src/index.d.ts",
|
|
7
7
|
"dependencies": {},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@dereekb/util/test": "9.7.
|
|
10
|
-
"@dereekb/util": "9.7.
|
|
9
|
+
"@dereekb/util/test": "9.7.3",
|
|
10
|
+
"@dereekb/util": "9.7.3",
|
|
11
11
|
"lodash.isequal": "^4.5.0",
|
|
12
12
|
"make-error": "^1.3.0",
|
|
13
13
|
"ts-essentials": "^9.1.2",
|
|
14
14
|
"extra-set": "^2.2.11",
|
|
15
|
-
"@dereekb/firebase": "9.7.
|
|
15
|
+
"@dereekb/firebase": "9.7.3",
|
|
16
16
|
"rxjs": "^7.5.0",
|
|
17
17
|
"firebase": "^9.9.2",
|
|
18
|
-
"@dereekb/rxjs": "9.7.
|
|
18
|
+
"@dereekb/rxjs": "9.7.3",
|
|
19
19
|
"ms": "^3.0.0-canary.1",
|
|
20
|
-
"@dereekb/model": "9.7.
|
|
20
|
+
"@dereekb/model": "9.7.3",
|
|
21
21
|
"class-transformer": "^0.5.1",
|
|
22
22
|
"class-validator": "^0.13.2",
|
|
23
|
-
"@dereekb/date": "9.7.
|
|
23
|
+
"@dereekb/date": "9.7.3",
|
|
24
24
|
"date-fns": "^2.29.0",
|
|
25
25
|
"date-fns-tz": "^1.3.0",
|
|
26
26
|
"rrule": "git+https://git@github.com/dereekb/rrule#2b13b1ea881059ba2ecfec380e12ef244ef54570",
|