@travetto/model-mongo 3.0.0-rc.21 → 3.0.0-rc.23

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 CHANGED
@@ -90,8 +90,7 @@ export class MongoModelConfig {
90
90
  * Mongo client options
91
91
  */
92
92
  @Field(Object)
93
- options: mongo.MongoClientOptions = {
94
- };
93
+ options: mongo.MongoClientOptions = {};
95
94
 
96
95
  /**
97
96
  * Should we auto create the db
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/model-mongo",
3
- "version": "3.0.0-rc.21",
3
+ "version": "3.0.0-rc.23",
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.21",
29
- "@travetto/model": "^3.0.0-rc.21",
30
- "@travetto/model-query": "^3.0.0-rc.21",
28
+ "@travetto/config": "^3.0.0-rc.23",
29
+ "@travetto/model": "^3.0.0-rc.23",
30
+ "@travetto/model-query": "^3.0.0-rc.23",
31
31
  "mongodb": "^5.0.1"
32
32
  },
33
33
  "peerDependencies": {
34
- "@travetto/command": "^3.0.0-rc.17"
34
+ "@travetto/command": "^3.0.0-rc.19"
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