@forklaunch/express 0.4.6 → 0.4.7
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/lib/index.d.mts +1728 -5
- package/lib/index.d.ts +1728 -5
- package/lib/index.js +3 -1
- package/lib/index.mjs +3 -1
- package/package.json +4 -4
package/lib/index.js
CHANGED
@@ -45,7 +45,9 @@ var Application = class extends import_http.ForklaunchExpressLikeApplication {
|
|
45
45
|
/**
|
46
46
|
* Creates an instance of Application.
|
47
47
|
*
|
48
|
-
* @param {SV} schemaValidator - The schema validator.
|
48
|
+
* @param {SV} schemaValidator - The schema validator for request/response validation.
|
49
|
+
* @param {OpenTelemetryCollector<MetricsDefinition>} openTelemetryCollector - Collector for OpenTelemetry metrics.
|
50
|
+
* @param {DocsConfiguration} [docsConfiguration] - Optional configuration for API documentation (Swagger/Scalar).
|
49
51
|
*/
|
50
52
|
constructor(schemaValidator, openTelemetryCollector, docsConfiguration) {
|
51
53
|
super(schemaValidator, (0, import_express.default)(), openTelemetryCollector);
|
package/lib/index.mjs
CHANGED
@@ -14,7 +14,9 @@ var Application = class extends ForklaunchExpressLikeApplication {
|
|
14
14
|
/**
|
15
15
|
* Creates an instance of Application.
|
16
16
|
*
|
17
|
-
* @param {SV} schemaValidator - The schema validator.
|
17
|
+
* @param {SV} schemaValidator - The schema validator for request/response validation.
|
18
|
+
* @param {OpenTelemetryCollector<MetricsDefinition>} openTelemetryCollector - Collector for OpenTelemetry metrics.
|
19
|
+
* @param {DocsConfiguration} [docsConfiguration] - Optional configuration for API documentation (Swagger/Scalar).
|
18
20
|
*/
|
19
21
|
constructor(schemaValidator, openTelemetryCollector, docsConfiguration) {
|
20
22
|
super(schemaValidator, express(), openTelemetryCollector);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@forklaunch/express",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.7",
|
4
4
|
"description": "Forklaunch framework for express.",
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
6
6
|
"bugs": {
|
@@ -30,9 +30,9 @@
|
|
30
30
|
"express": "^5.1.0",
|
31
31
|
"qs": "^6.14.0",
|
32
32
|
"swagger-ui-express": "^5.0.1",
|
33
|
-
"@forklaunch/
|
34
|
-
"@forklaunch/validator": "0.
|
35
|
-
"@forklaunch/
|
33
|
+
"@forklaunch/common": "0.2.7",
|
34
|
+
"@forklaunch/validator": "0.5.0",
|
35
|
+
"@forklaunch/core": "0.7.0"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
38
38
|
"@eslint/js": "^9.24.0",
|