@tsed/objection 6.101.0 → 6.102.3
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 +11 -11
- package/readme.md +5 -7
- package/tsconfig.compile.esm.json +1 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/objection",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.102.3",
|
|
4
4
|
"description": "Objection.js package for Ts.ED framework",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"tslib": "2.2.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@tsed/ajv": "6.
|
|
26
|
-
"@tsed/core": "6.
|
|
27
|
-
"@tsed/di": "6.
|
|
28
|
-
"@tsed/json-mapper": "6.
|
|
29
|
-
"@tsed/schema": "6.
|
|
25
|
+
"@tsed/ajv": "6.102.3",
|
|
26
|
+
"@tsed/core": "6.102.3",
|
|
27
|
+
"@tsed/di": "6.102.3",
|
|
28
|
+
"@tsed/json-mapper": "6.102.3",
|
|
29
|
+
"@tsed/schema": "6.102.3",
|
|
30
30
|
"knex": "^0.95.11",
|
|
31
31
|
"mssql": "^7.2.1",
|
|
32
32
|
"mysql": "^2.18.1",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"sqlite3": "^5.0.2"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@tsed/ajv": "^6.
|
|
42
|
-
"@tsed/core": "^6.
|
|
43
|
-
"@tsed/di": "^6.
|
|
44
|
-
"@tsed/json-mapper": "^6.
|
|
45
|
-
"@tsed/schema": "^6.
|
|
41
|
+
"@tsed/ajv": "^6.102.3",
|
|
42
|
+
"@tsed/core": "^6.102.3",
|
|
43
|
+
"@tsed/di": "^6.102.3",
|
|
44
|
+
"@tsed/json-mapper": "^6.102.3",
|
|
45
|
+
"@tsed/schema": "^6.102.3",
|
|
46
46
|
"knex": ">=0.94.0",
|
|
47
47
|
"objection": ">=2.0.0"
|
|
48
48
|
},
|
package/readme.md
CHANGED
|
@@ -32,8 +32,8 @@ A package of Ts.ED framework. See website: https://tsed.io/tutorials/objection.h
|
|
|
32
32
|
## Feature
|
|
33
33
|
|
|
34
34
|
Currently, `@tsed/objection` allows you:
|
|
35
|
-
|
|
36
|
-
- Configure one database connection via the `@Configuration` decorator.
|
|
35
|
+
|
|
36
|
+
- Configure one database connection via the `@Configuration` decorator.
|
|
37
37
|
- Databases will be initialized when the server starts during the server's `OnInit` phase.
|
|
38
38
|
- Declare a Model from a class with annotation,
|
|
39
39
|
|
|
@@ -69,27 +69,25 @@ import "@tsed/objection"; // don't forget to add this line!
|
|
|
69
69
|
@Configuration({
|
|
70
70
|
// ...
|
|
71
71
|
knex: {
|
|
72
|
-
client:
|
|
73
|
-
connection:
|
|
72
|
+
client: "sqlite3",
|
|
73
|
+
connection: ":memory:"
|
|
74
74
|
}
|
|
75
75
|
})
|
|
76
76
|
class Server {}
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
|
|
80
79
|
## Contributors
|
|
80
|
+
|
|
81
81
|
Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
|
|
82
82
|
|
|
83
83
|
<a href="https://github.com/tsedio/ts-express-decorators/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
|
|
84
84
|
|
|
85
|
-
|
|
86
85
|
## Backers
|
|
87
86
|
|
|
88
87
|
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]
|
|
89
88
|
|
|
90
89
|
<a href="https://opencollective.com/tsed#backers" target="_blank"><img src="https://opencollective.com/tsed/backers.svg?width=890"></a>
|
|
91
90
|
|
|
92
|
-
|
|
93
91
|
## Sponsors
|
|
94
92
|
|
|
95
93
|
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
|
|
@@ -8,16 +8,5 @@
|
|
|
8
8
|
"declaration": true,
|
|
9
9
|
"declarationDir": "./lib/types"
|
|
10
10
|
},
|
|
11
|
-
"exclude": [
|
|
12
|
-
"node_modules",
|
|
13
|
-
"test",
|
|
14
|
-
"lib",
|
|
15
|
-
"benchmark",
|
|
16
|
-
"coverage",
|
|
17
|
-
"spec",
|
|
18
|
-
"**/*.benchmark.ts",
|
|
19
|
-
"**/*.spec.ts",
|
|
20
|
-
"keys",
|
|
21
|
-
"jest.config.js"
|
|
22
|
-
]
|
|
11
|
+
"exclude": ["node_modules", "test", "lib", "benchmark", "coverage", "spec", "**/*.benchmark.ts", "**/*.spec.ts", "keys", "jest.config.js"]
|
|
23
12
|
}
|