@travetto/model-mongo 3.0.0-rc.21 → 3.0.0-rc.22
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/README.md +1 -2
- package/package.json +5 -5
- package/src/service.ts +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/model-mongo",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.22",
|
|
4
4
|
"description": "Mongo backing for the travetto model module.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mongo",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"directory": "module/model-mongo"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@travetto/config": "^3.0.0-rc.
|
|
29
|
-
"@travetto/model": "^3.0.0-rc.
|
|
30
|
-
"@travetto/model-query": "^3.0.0-rc.
|
|
28
|
+
"@travetto/config": "^3.0.0-rc.22",
|
|
29
|
+
"@travetto/model": "^3.0.0-rc.22",
|
|
30
|
+
"@travetto/model-query": "^3.0.0-rc.22",
|
|
31
31
|
"mongodb": "^5.0.1"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@travetto/command": "^3.0.0-rc.
|
|
34
|
+
"@travetto/command": "^3.0.0-rc.18"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"@travetto/command": {
|
package/src/service.ts
CHANGED
|
@@ -450,7 +450,7 @@ export class MongoModelService implements
|
|
|
450
450
|
cls,
|
|
451
451
|
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
|
452
452
|
ModelIndexedUtil.projectIndex(cls, idx, body, { emptySortValue: { $exists: true } }) as WhereClause<T>
|
|
453
|
-
) as mongo.Filter<Document>;
|
|
453
|
+
) as mongo.Filter<mongo.Document>;
|
|
454
454
|
|
|
455
455
|
const cursor = store.find(where, { timeout: true }).batchSize(100).sort(asFielded(idxCfg)[IdxFieldsⲐ]);
|
|
456
456
|
|