@arikajs/database 0.0.8 → 0.10.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.
|
@@ -45,7 +45,7 @@ export declare class MongoDBConnection implements Connection {
|
|
|
45
45
|
/**
|
|
46
46
|
* Convenience: get a collection automatically routed to the right pool
|
|
47
47
|
*/
|
|
48
|
-
getCollection(name: string, forWrite?: boolean): Promise<import("mongodb").Collection<import("
|
|
48
|
+
getCollection(name: string, forWrite?: boolean): Promise<import("mongodb").Collection<import("mongodb").Document>>;
|
|
49
49
|
/**
|
|
50
50
|
* Get the underlying write MongoClient instance
|
|
51
51
|
*/
|
package/package.json
CHANGED
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arikajs/database",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Database layer for the ArikaJS framework with MySQL & PostgreSQL support.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"build": "tsc -p tsconfig.json",
|
|
10
|
-
"build:tests": "tsc -p tsconfig.test.json",
|
|
11
|
-
"clean": "rm -rf dist",
|
|
12
|
-
"prepare": "echo skip",
|
|
13
|
-
"test": "npx tsx tests/Database.test.ts",
|
|
14
|
-
"test:watch": "npx tsx --watch tests/Database.test.ts",
|
|
15
|
-
"dev": "tsc -p tsconfig.json --watch"
|
|
16
|
-
},
|
|
17
8
|
"files": [
|
|
18
9
|
"dist"
|
|
19
10
|
],
|
|
@@ -53,5 +44,13 @@
|
|
|
53
44
|
"@types/pg": "^8.11.10",
|
|
54
45
|
"typescript": "^5.3.3"
|
|
55
46
|
},
|
|
56
|
-
"author": "Prakash Tank"
|
|
57
|
-
|
|
47
|
+
"author": "Prakash Tank",
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "tsc -p tsconfig.json",
|
|
50
|
+
"build:tests": "tsc -p tsconfig.test.json",
|
|
51
|
+
"clean": "rm -rf dist",
|
|
52
|
+
"test": "npx tsx tests/Database.test.ts",
|
|
53
|
+
"test:watch": "npx tsx --watch tests/Database.test.ts",
|
|
54
|
+
"dev": "tsc -p tsconfig.json --watch"
|
|
55
|
+
}
|
|
56
|
+
}
|