@pi-r/atlas 0.2.11 → 0.2.12
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/package.json +6 -6
- package/types/index.d.ts +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-r/atlas",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.12",
|
|
4
4
|
"description": "MongoDB Atlas cloud functions for E-mc.",
|
|
5
5
|
"main": "client/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"homepage": "https://github.com/anpham6/pi-r#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/cloud": "^0.5.
|
|
24
|
-
"@e-mc/db": "^0.5.
|
|
25
|
-
"@e-mc/module": "^0.5.
|
|
26
|
-
"@e-mc/types": "^0.5.
|
|
27
|
-
"@pi-r/mongodb": "^0.2.
|
|
23
|
+
"@e-mc/cloud": "^0.5.10",
|
|
24
|
+
"@e-mc/db": "^0.5.10",
|
|
25
|
+
"@e-mc/module": "^0.5.10",
|
|
26
|
+
"@e-mc/types": "^0.5.10",
|
|
27
|
+
"@pi-r/mongodb": "^0.2.12",
|
|
28
28
|
"mongodb": "^5.9.2"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/types/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { CloudDatabase } from '@e-mc/types/lib/cloud';
|
|
2
|
-
|
|
3
|
-
import type { MongoDBClientDBOptions, MongoDBFilterValue } from '@pi-r/mongodb/types';
|
|
4
|
-
|
|
5
|
-
import type { Document, Filter, MongoClientOptions, OptionalUnlessRequiredId, UpdateFilter } from 'mongodb';
|
|
6
|
-
|
|
7
|
-
export interface AtlasDatabaseQuery extends CloudDatabase<Filter<Document> | MongoDBFilterValue, MongoClientOptions, UpdateFilter<Document> | OptionalUnlessRequiredId<unknown>[], AtlasDatabaseCredential>, MongoDBClientDBOptions {
|
|
8
|
-
source: "cloud";
|
|
9
|
-
service: "atlas";
|
|
10
|
-
uri: string;
|
|
11
|
-
updateType?: 0 | 1 | 2 | 3;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface AtlasDatabaseCredential extends AuthValue, MongoClientOptions {}
|