@opra/mongodb 0.18.4 → 0.19.0
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/cjs/mongo-adapter.js
CHANGED
|
@@ -106,4 +106,4 @@ var MongoAdapter;
|
|
|
106
106
|
throw new TypeError(`Unimplemented request kind (${request.resourceKind}.${request.operation})`);
|
|
107
107
|
}
|
|
108
108
|
MongoAdapter.transformRequest = transformRequest;
|
|
109
|
-
})(MongoAdapter
|
|
109
|
+
})(MongoAdapter || (exports.MongoAdapter = MongoAdapter = {}));
|
|
@@ -54,6 +54,7 @@ class MongoCollectionResource extends core_1.CollectionResourceBase {
|
|
|
54
54
|
return service.find(prepared.filter, prepared.options);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
+
exports.MongoCollectionResource = MongoCollectionResource;
|
|
57
58
|
tslib_1.__decorate([
|
|
58
59
|
common_1.Collection.Create(),
|
|
59
60
|
tslib_1.__metadata("design:type", Function),
|
|
@@ -96,4 +97,3 @@ tslib_1.__decorate([
|
|
|
96
97
|
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
97
98
|
tslib_1.__metadata("design:returntype", Promise)
|
|
98
99
|
], MongoCollectionResource.prototype, "findMany", null);
|
|
99
|
-
exports.MongoCollectionResource = MongoCollectionResource;
|
|
@@ -30,6 +30,7 @@ class MongoSingletonResource {
|
|
|
30
30
|
return service.updateOne(prepared.filter, prepared.update, prepared.options);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
+
exports.MongoSingletonResource = MongoSingletonResource;
|
|
33
34
|
tslib_1.__decorate([
|
|
34
35
|
common_1.Singleton.Create(),
|
|
35
36
|
tslib_1.__metadata("design:type", Function),
|
|
@@ -54,4 +55,3 @@ tslib_1.__decorate([
|
|
|
54
55
|
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
55
56
|
tslib_1.__metadata("design:returntype", Promise)
|
|
56
57
|
], MongoSingletonResource.prototype, "update", null);
|
|
57
|
-
exports.MongoSingletonResource = MongoSingletonResource;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opra/mongodb",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Opra MongoDB adapter package",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"lodash": "^4.17.21"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@faker-js/faker": "^8.0.
|
|
32
|
-
"mongodb": "^5.
|
|
31
|
+
"@faker-js/faker": "^8.0.2",
|
|
32
|
+
"mongodb": "^5.6.0",
|
|
33
33
|
"ts-gems": "^2.4.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@opra/common": "^0.
|
|
37
|
-
"@opra/core": "^0.
|
|
36
|
+
"@opra/common": "^0.19.0",
|
|
37
|
+
"@opra/core": "^0.19.0",
|
|
38
38
|
"mongodb": ">=4.x.x"
|
|
39
39
|
},
|
|
40
40
|
"type": "module",
|