@tsed/platform-express 7.0.0-rc.1 → 7.0.0-rc.4
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/interfaces/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/interfaces/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["import {NextFunction as ENext, Request as EReq, Response as ERes} from \"express\";\nimport {PlatformExpressSettings} from \"./PlatformExpressSettings\";\n\ndeclare global {\n namespace TsED {\n export interface Configuration {\n /**\n * Configuration related to Express platform application.\n */\n express: PlatformExpressSettings;\n }\n\n export interface NextFunction extends ENext {}\n\n export interface Response extends ERes {}\n export interface Request extends EReq {}\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/interfaces/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/interfaces/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["import {NextFunction as ENext, Request as EReq, Response as ERes} from \"express\";\nimport {PlatformExpressSettings} from \"./PlatformExpressSettings\";\n\ndeclare global {\n namespace TsED {\n export interface Configuration {\n /**\n * Configuration related to Express platform application.\n */\n express: PlatformExpressSettings;\n }\n\n export interface NextFunction extends ENext {}\n\n export interface Response extends ERes {}\n export interface Request extends EReq {}\n }\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { NextFunction as ENext, Request as EReq, Response as ERes } from "express";
|
|
2
2
|
import { PlatformExpressSettings } from "./PlatformExpressSettings";
|
|
3
3
|
declare global {
|
|
4
4
|
namespace TsED {
|
|
@@ -8,7 +8,11 @@ declare global {
|
|
|
8
8
|
*/
|
|
9
9
|
express: PlatformExpressSettings;
|
|
10
10
|
}
|
|
11
|
-
interface NextFunction extends
|
|
11
|
+
interface NextFunction extends ENext {
|
|
12
|
+
}
|
|
13
|
+
interface Response extends ERes {
|
|
14
|
+
}
|
|
15
|
+
interface Request extends EReq {
|
|
12
16
|
}
|
|
13
17
|
}
|
|
14
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/platform-express",
|
|
3
|
-
"version": "7.0.0-rc.
|
|
3
|
+
"version": "7.0.0-rc.4",
|
|
4
4
|
"description": "A TypeScript Framework on top of Express",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
"tslib": "2.4.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@tsed/common": "7.0.0-rc.
|
|
61
|
-
"@tsed/core": "7.0.0-rc.
|
|
62
|
-
"@tsed/di": "7.0.0-rc.
|
|
63
|
-
"@tsed/platform-test-utils": "7.0.0-rc.
|
|
64
|
-
"@tsed/platform-views": "7.0.0-rc.
|
|
60
|
+
"@tsed/common": "7.0.0-rc.4",
|
|
61
|
+
"@tsed/core": "7.0.0-rc.4",
|
|
62
|
+
"@tsed/di": "7.0.0-rc.4",
|
|
63
|
+
"@tsed/platform-test-utils": "7.0.0-rc.4",
|
|
64
|
+
"@tsed/platform-views": "7.0.0-rc.4",
|
|
65
65
|
"@types/body-parser": "1.19.2",
|
|
66
66
|
"@types/compression": "1.7.2",
|
|
67
67
|
"@types/cookie-parser": "1.4.2",
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
"method-override": "3.0.0"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
|
-
"@tsed/common": "^7.0.0-rc.
|
|
81
|
-
"@tsed/core": "^7.0.0-rc.
|
|
82
|
-
"@tsed/di": "^7.0.0-rc.
|
|
83
|
-
"@tsed/json-mapper": "^7.0.0-rc.
|
|
84
|
-
"@tsed/logger": ">=6.2.
|
|
85
|
-
"@tsed/openspec": "^7.0.0-rc.
|
|
86
|
-
"@tsed/platform-views": "^7.0.0-rc.
|
|
87
|
-
"@tsed/schema": "^7.0.0-rc.
|
|
80
|
+
"@tsed/common": "^7.0.0-rc.4",
|
|
81
|
+
"@tsed/core": "^7.0.0-rc.4",
|
|
82
|
+
"@tsed/di": "^7.0.0-rc.4",
|
|
83
|
+
"@tsed/json-mapper": "^7.0.0-rc.4",
|
|
84
|
+
"@tsed/logger": ">=6.2.2",
|
|
85
|
+
"@tsed/openspec": "^7.0.0-rc.4",
|
|
86
|
+
"@tsed/platform-views": "^7.0.0-rc.4",
|
|
87
|
+
"@tsed/schema": "^7.0.0-rc.4",
|
|
88
88
|
"@types/multer": "^1.4.5",
|
|
89
89
|
"body-parser": "^1.19.0",
|
|
90
90
|
"multer": "^1.4.5-lts.1"
|
package/readme.md
CHANGED
|
@@ -41,9 +41,9 @@ npm install --save-dev @types/express
|
|
|
41
41
|
|
|
42
42
|
## Contributors
|
|
43
43
|
|
|
44
|
-
Please read [contributing guidelines here](https://tsed.io/
|
|
44
|
+
Please read [contributing guidelines here](https://tsed.io/contributing.html)
|
|
45
45
|
|
|
46
|
-
<a href="https://github.com/tsedio/
|
|
46
|
+
<a href="https://github.com/tsedio/tsed/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
|
|
47
47
|
|
|
48
48
|
## Backers
|
|
49
49
|
|