@tsed/common 7.83.3 → 8.0.0-alpha.10
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/esm/builder/PlatformBuilder.js +0 -13
- package/lib/esm/builder/PlatformBuilder.js.map +1 -1
- package/lib/esm/config/services/PlatformConfiguration.js.map +1 -1
- package/lib/esm/decorators/PlatformProvider.js.map +1 -1
- package/lib/esm/decorators/multer/multerFileSize.js +2 -2
- package/lib/esm/decorators/multer/multerOptions.js +2 -1
- package/lib/esm/decorators/multer/multerOptions.js.map +1 -1
- package/lib/esm/decorators/multer/multipartFile.js +2 -2
- package/lib/esm/decorators/multer/multipartFile.js.map +1 -1
- package/lib/esm/decorators/params/request.js +1 -1
- package/lib/esm/decorators/params/request.js.map +1 -1
- package/lib/esm/decorators/params/response.js.map +1 -1
- package/lib/esm/domain/AnyToPromiseWithCtx.js.map +1 -1
- package/lib/esm/domain/PlatformContext.js.map +1 -1
- package/lib/esm/exports.js +3 -5
- package/lib/esm/exports.js.map +1 -1
- package/lib/esm/index.js +0 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/middlewares/PlatformAcceptMimesMiddleware.js.map +1 -1
- package/lib/esm/middlewares/PlatformMulterMiddleware.js.map +1 -1
- package/lib/esm/services/Platform.js.map +1 -1
- package/lib/esm/services/PlatformAdapter.js.map +1 -1
- package/lib/esm/services/PlatformApplication.js.map +1 -1
- package/lib/esm/services/PlatformHandler.js.map +1 -1
- package/lib/esm/services/PlatformMiddlewaresChain.js.map +1 -1
- package/lib/esm/services/PlatformRequest.js.map +1 -1
- package/lib/esm/services/PlatformResponse.js.map +1 -1
- package/lib/esm/services/PlatformTest.js.map +1 -1
- package/lib/esm/utils/createContext.js.map +1 -1
- package/lib/esm/utils/createHttpServer.js.map +1 -1
- package/lib/esm/utils/createHttpsServer.js.map +1 -1
- package/lib/esm/utils/createInjector.js.map +1 -1
- package/lib/esm/utils/createServer.js.map +1 -1
- package/lib/esm/utils/ensureContext.js.map +1 -1
- package/lib/esm/utils/getConfiguration.js.map +1 -1
- package/lib/esm/utils/getStaticsOptions.js.map +1 -1
- package/lib/esm/utils/printRoutes.js.map +1 -1
- package/lib/esm/utils/registerPlatformAdapter.js.map +1 -1
- package/lib/esm/utils/setResponseHeaders.js.map +1 -1
- package/lib/types/builder/PlatformBuilder.d.ts +1 -6
- package/lib/types/config/services/PlatformConfiguration.d.ts +1 -1
- package/lib/types/decorators/multer/multerFileSize.d.ts +2 -2
- package/lib/types/decorators/multer/multerOptions.d.ts +2 -1
- package/lib/types/decorators/multer/multipartFile.d.ts +2 -2
- package/lib/types/domain/PlatformContext.d.ts +1 -1
- package/lib/types/exports.d.ts +3 -5
- package/lib/types/index.d.ts +0 -1
- package/lib/types/interfaces/IncomingEvent.d.ts +1 -1
- package/lib/types/services/FakeResponse.d.ts +1 -1
- package/lib/types/services/PlatformAdapter.d.ts +1 -1
- package/lib/types/services/PlatformApplication.d.ts +1 -1
- package/lib/types/services/PlatformRequest.d.ts +1 -1
- package/lib/types/services/PlatformResponse.d.ts +3 -2
- package/lib/types/services/PlatformTest.d.ts +1 -1
- package/lib/types/utils/closeServer.d.ts +3 -3
- package/lib/types/utils/createHttpServer.d.ts +1 -1
- package/lib/types/utils/createHttpsServer.d.ts +1 -1
- package/lib/types/utils/createServer.d.ts +3 -3
- package/lib/types/utils/listenServer.d.ts +3 -3
- package/package.json +30 -28
- package/vitest.config.mts +5 -5
- package/lib/cjs/builder/PlatformBuilder.js +0 -349
- package/lib/cjs/builder/PlatformBuilder.js.map +0 -1
- package/lib/cjs/config/interfaces/PlatformJsonMapperSettings.js +0 -3
- package/lib/cjs/config/interfaces/PlatformJsonMapperSettings.js.map +0 -1
- package/lib/cjs/config/interfaces/PlatformLoggerSettings.js +0 -3
- package/lib/cjs/config/interfaces/PlatformLoggerSettings.js.map +0 -1
- package/lib/cjs/config/interfaces/PlatformMulterSettings.js +0 -3
- package/lib/cjs/config/interfaces/PlatformMulterSettings.js.map +0 -1
- package/lib/cjs/config/interfaces/PlatformRouterSettings.js +0 -3
- package/lib/cjs/config/interfaces/PlatformRouterSettings.js.map +0 -1
- package/lib/cjs/config/interfaces/PlatformStaticsSettings.js +0 -3
- package/lib/cjs/config/interfaces/PlatformStaticsSettings.js.map +0 -1
- package/lib/cjs/config/services/PlatformConfiguration.js +0 -122
- package/lib/cjs/config/services/PlatformConfiguration.js.map +0 -1
- package/lib/cjs/constants/routerOptions.js +0 -5
- package/lib/cjs/constants/routerOptions.js.map +0 -1
- package/lib/cjs/decorators/PlatformProvider.js +0 -11
- package/lib/cjs/decorators/PlatformProvider.js.map +0 -1
- package/lib/cjs/decorators/multer/multerFileSize.js +0 -35
- package/lib/cjs/decorators/multer/multerFileSize.js.map +0 -1
- package/lib/cjs/decorators/multer/multerOptions.js +0 -52
- package/lib/cjs/decorators/multer/multerOptions.js.map +0 -1
- package/lib/cjs/decorators/multer/multipartFile.js +0 -78
- package/lib/cjs/decorators/multer/multipartFile.js.map +0 -1
- package/lib/cjs/decorators/params/error.js +0 -20
- package/lib/cjs/decorators/params/error.js.map +0 -1
- package/lib/cjs/decorators/params/next.js +0 -21
- package/lib/cjs/decorators/params/next.js.map +0 -1
- package/lib/cjs/decorators/params/request.js +0 -39
- package/lib/cjs/decorators/params/request.js.map +0 -1
- package/lib/cjs/decorators/params/response.js +0 -33
- package/lib/cjs/decorators/params/response.js.map +0 -1
- package/lib/cjs/domain/AnyToPromiseWithCtx.js +0 -25
- package/lib/cjs/domain/AnyToPromiseWithCtx.js.map +0 -1
- package/lib/cjs/domain/EndpointMetadata.js +0 -6
- package/lib/cjs/domain/EndpointMetadata.js.map +0 -1
- package/lib/cjs/domain/PlatformContext.js +0 -73
- package/lib/cjs/domain/PlatformContext.js.map +0 -1
- package/lib/cjs/domain/PlatformRouteDetails.js +0 -3
- package/lib/cjs/domain/PlatformRouteDetails.js.map +0 -1
- package/lib/cjs/exports.js +0 -30
- package/lib/cjs/exports.js.map +0 -1
- package/lib/cjs/index.js +0 -68
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/interfaces/AfterInit.js +0 -3
- package/lib/cjs/interfaces/AfterInit.js.map +0 -1
- package/lib/cjs/interfaces/AfterListen.js +0 -3
- package/lib/cjs/interfaces/AfterListen.js.map +0 -1
- package/lib/cjs/interfaces/AfterRoutesInit.js +0 -3
- package/lib/cjs/interfaces/AfterRoutesInit.js.map +0 -1
- package/lib/cjs/interfaces/BeforeInit.js +0 -3
- package/lib/cjs/interfaces/BeforeInit.js.map +0 -1
- package/lib/cjs/interfaces/BeforeListen.js +0 -3
- package/lib/cjs/interfaces/BeforeListen.js.map +0 -1
- package/lib/cjs/interfaces/BeforeRoutesInit.js +0 -3
- package/lib/cjs/interfaces/BeforeRoutesInit.js.map +0 -1
- package/lib/cjs/interfaces/HandlerType.js +0 -17
- package/lib/cjs/interfaces/HandlerType.js.map +0 -1
- package/lib/cjs/interfaces/IncomingEvent.js +0 -3
- package/lib/cjs/interfaces/IncomingEvent.js.map +0 -1
- package/lib/cjs/interfaces/OnReady.js +0 -3
- package/lib/cjs/interfaces/OnReady.js.map +0 -1
- package/lib/cjs/interfaces/OnRequest.js +0 -3
- package/lib/cjs/interfaces/OnRequest.js.map +0 -1
- package/lib/cjs/interfaces/OnResponse.js +0 -3
- package/lib/cjs/interfaces/OnResponse.js.map +0 -1
- package/lib/cjs/interfaces/OnRoutesInit.js +0 -3
- package/lib/cjs/interfaces/OnRoutesInit.js.map +0 -1
- package/lib/cjs/interfaces/PlatformRouteOptions.js +0 -3
- package/lib/cjs/interfaces/PlatformRouteOptions.js.map +0 -1
- package/lib/cjs/interfaces/ResponseErrorObject.js +0 -3
- package/lib/cjs/interfaces/ResponseErrorObject.js.map +0 -1
- package/lib/cjs/interfaces/Route.js +0 -3
- package/lib/cjs/interfaces/Route.js.map +0 -1
- package/lib/cjs/middlewares/PlatformAcceptMimesMiddleware.js +0 -39
- package/lib/cjs/middlewares/PlatformAcceptMimesMiddleware.js.map +0 -1
- package/lib/cjs/middlewares/PlatformMulterMiddleware.js +0 -70
- package/lib/cjs/middlewares/PlatformMulterMiddleware.js.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/cjs/services/FakeAdapter.js +0 -6
- package/lib/cjs/services/FakeAdapter.js.map +0 -1
- package/lib/cjs/services/FakeResponse.js +0 -59
- package/lib/cjs/services/FakeResponse.js.map +0 -1
- package/lib/cjs/services/Platform.js +0 -76
- package/lib/cjs/services/Platform.js.map +0 -1
- package/lib/cjs/services/PlatformAdapter.js +0 -82
- package/lib/cjs/services/PlatformAdapter.js.map +0 -1
- package/lib/cjs/services/PlatformApplication.js +0 -44
- package/lib/cjs/services/PlatformApplication.js.map +0 -1
- package/lib/cjs/services/PlatformHandler.js +0 -133
- package/lib/cjs/services/PlatformHandler.js.map +0 -1
- package/lib/cjs/services/PlatformMiddlewaresChain.js +0 -60
- package/lib/cjs/services/PlatformMiddlewaresChain.js.map +0 -1
- package/lib/cjs/services/PlatformRequest.js +0 -144
- package/lib/cjs/services/PlatformRequest.js.map +0 -1
- package/lib/cjs/services/PlatformResponse.js +0 -309
- package/lib/cjs/services/PlatformResponse.js.map +0 -1
- package/lib/cjs/services/PlatformTest.js +0 -142
- package/lib/cjs/services/PlatformTest.js.map +0 -1
- package/lib/cjs/utils/closeServer.js +0 -8
- package/lib/cjs/utils/closeServer.js.map +0 -1
- package/lib/cjs/utils/createContext.js +0 -49
- package/lib/cjs/utils/createContext.js.map +0 -1
- package/lib/cjs/utils/createHttpServer.js +0 -18
- package/lib/cjs/utils/createHttpServer.js.map +0 -1
- package/lib/cjs/utils/createHttpsServer.js +0 -18
- package/lib/cjs/utils/createHttpsServer.js.map +0 -1
- package/lib/cjs/utils/createInjector.js +0 -45
- package/lib/cjs/utils/createInjector.js.map +0 -1
- package/lib/cjs/utils/createServer.js +0 -33
- package/lib/cjs/utils/createServer.js.map +0 -1
- package/lib/cjs/utils/ensureContext.js +0 -16
- package/lib/cjs/utils/ensureContext.js.map +0 -1
- package/lib/cjs/utils/getConfiguration.js +0 -36
- package/lib/cjs/utils/getConfiguration.js.map +0 -1
- package/lib/cjs/utils/getStaticsOptions.js +0 -21
- package/lib/cjs/utils/getStaticsOptions.js.map +0 -1
- package/lib/cjs/utils/listenServer.js +0 -14
- package/lib/cjs/utils/listenServer.js.map +0 -1
- package/lib/cjs/utils/mapReturnedResponse.js +0 -15
- package/lib/cjs/utils/mapReturnedResponse.js.map +0 -1
- package/lib/cjs/utils/printRoutes.js +0 -38
- package/lib/cjs/utils/printRoutes.js.map +0 -1
- package/lib/cjs/utils/registerPlatformAdapter.js +0 -11
- package/lib/cjs/utils/registerPlatformAdapter.js.map +0 -1
- package/lib/cjs/utils/setResponseHeaders.js +0 -29
- package/lib/cjs/utils/setResponseHeaders.js.map +0 -1
- package/lib/esm/config/interfaces/PlatformLoggerSettings.js +0 -2
- package/lib/esm/config/interfaces/PlatformLoggerSettings.js.map +0 -1
- package/lib/esm/package.json +0 -3
- package/lib/types/config/interfaces/PlatformLoggerSettings.d.ts +0 -5
- package/lib/types-esm/builder/PlatformBuilder.d.ts +0 -105
- package/lib/types-esm/config/interfaces/PlatformJsonMapperSettings.d.ts +0 -10
- package/lib/types-esm/config/interfaces/PlatformLoggerSettings.d.ts +0 -5
- package/lib/types-esm/config/interfaces/PlatformMulterSettings.d.ts +0 -14
- package/lib/types-esm/config/interfaces/PlatformRouterSettings.d.ts +0 -10
- package/lib/types-esm/config/interfaces/PlatformStaticsSettings.d.ts +0 -17
- package/lib/types-esm/config/services/PlatformConfiguration.d.ts +0 -67
- package/lib/types-esm/constants/routerOptions.d.ts +0 -1
- package/lib/types-esm/decorators/PlatformProvider.d.ts +0 -3
- package/lib/types-esm/decorators/multer/multerFileSize.d.ts +0 -27
- package/lib/types-esm/decorators/multer/multerOptions.d.ts +0 -41
- package/lib/types-esm/decorators/multer/multipartFile.d.ts +0 -47
- package/lib/types-esm/decorators/params/error.d.ts +0 -7
- package/lib/types-esm/decorators/params/next.d.ts +0 -22
- package/lib/types-esm/decorators/params/request.d.ts +0 -46
- package/lib/types-esm/decorators/params/response.d.ts +0 -40
- package/lib/types-esm/domain/AnyToPromiseWithCtx.d.ts +0 -10
- package/lib/types-esm/domain/EndpointMetadata.d.ts +0 -1
- package/lib/types-esm/domain/PlatformContext.d.ts +0 -80
- package/lib/types-esm/domain/PlatformRouteDetails.d.ts +0 -7
- package/lib/types-esm/exports.d.ts +0 -11
- package/lib/types-esm/index.d.ts +0 -64
- package/lib/types-esm/interfaces/AfterInit.d.ts +0 -3
- package/lib/types-esm/interfaces/AfterListen.d.ts +0 -3
- package/lib/types-esm/interfaces/AfterRoutesInit.d.ts +0 -3
- package/lib/types-esm/interfaces/BeforeInit.d.ts +0 -3
- package/lib/types-esm/interfaces/BeforeListen.d.ts +0 -3
- package/lib/types-esm/interfaces/BeforeRoutesInit.d.ts +0 -3
- package/lib/types-esm/interfaces/HandlerType.d.ts +0 -12
- package/lib/types-esm/interfaces/IncomingEvent.d.ts +0 -6
- package/lib/types-esm/interfaces/OnReady.d.ts +0 -3
- package/lib/types-esm/interfaces/OnRequest.d.ts +0 -4
- package/lib/types-esm/interfaces/OnResponse.d.ts +0 -4
- package/lib/types-esm/interfaces/OnRoutesInit.d.ts +0 -3
- package/lib/types-esm/interfaces/PlatformRouteOptions.d.ts +0 -15
- package/lib/types-esm/interfaces/ResponseErrorObject.d.ts +0 -8
- package/lib/types-esm/interfaces/Route.d.ts +0 -10
- package/lib/types-esm/middlewares/PlatformAcceptMimesMiddleware.d.ts +0 -10
- package/lib/types-esm/middlewares/PlatformMulterMiddleware.d.ts +0 -24
- package/lib/types-esm/services/FakeAdapter.d.ts +0 -1
- package/lib/types-esm/services/FakeResponse.d.ts +0 -22
- package/lib/types-esm/services/Platform.d.ts +0 -25
- package/lib/types-esm/services/PlatformAdapter.d.ts +0 -89
- package/lib/types-esm/services/PlatformApplication.d.ts +0 -29
- package/lib/types-esm/services/PlatformHandler.d.ts +0 -39
- package/lib/types-esm/services/PlatformMiddlewaresChain.d.ts +0 -17
- package/lib/types-esm/services/PlatformRequest.d.ts +0 -111
- package/lib/types-esm/services/PlatformResponse.d.ts +0 -174
- package/lib/types-esm/services/PlatformTest.d.ts +0 -60
- package/lib/types-esm/utils/closeServer.d.ts +0 -7
- package/lib/types-esm/utils/createContext.d.ts +0 -10
- package/lib/types-esm/utils/createHttpServer.d.ts +0 -4
- package/lib/types-esm/utils/createHttpsServer.d.ts +0 -4
- package/lib/types-esm/utils/createInjector.d.ts +0 -9
- package/lib/types-esm/utils/createServer.d.ts +0 -17
- package/lib/types-esm/utils/ensureContext.d.ts +0 -2
- package/lib/types-esm/utils/getConfiguration.d.ts +0 -2
- package/lib/types-esm/utils/getStaticsOptions.d.ts +0 -5
- package/lib/types-esm/utils/listenServer.d.ts +0 -8
- package/lib/types-esm/utils/mapReturnedResponse.d.ts +0 -4
- package/lib/types-esm/utils/printRoutes.d.ts +0 -2
- package/lib/types-esm/utils/registerPlatformAdapter.d.ts +0 -3
- package/lib/types-esm/utils/setResponseHeaders.d.ts +0 -5
package/lib/types/exports.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import "@tsed/logger";
|
|
2
2
|
import "@tsed/logger-file";
|
|
3
3
|
export * from "@tsed/di";
|
|
4
|
-
export
|
|
4
|
+
export { $log, Logger } from "@tsed/logger";
|
|
5
5
|
export * from "@tsed/platform-exceptions";
|
|
6
|
-
export * from "@tsed/platform-response-filter";
|
|
7
6
|
export * from "@tsed/platform-middlewares";
|
|
8
|
-
export * from "@tsed/platform-
|
|
7
|
+
export * from "@tsed/platform-params";
|
|
8
|
+
export * from "@tsed/platform-response-filter";
|
|
9
9
|
export * from "@tsed/platform-router";
|
|
10
|
-
export { $log, Logger } from "@tsed/logger";
|
|
11
|
-
export { AcceptMime, Location, Redirect, View, Get, Post, Put, Patch, Delete, Head, Options, All } from "@tsed/schema";
|
package/lib/types/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export * from "./builder/PlatformBuilder.js";
|
|
5
5
|
export * from "./config/interfaces/PlatformJsonMapperSettings.js";
|
|
6
|
-
export * from "./config/interfaces/PlatformLoggerSettings.js";
|
|
7
6
|
export * from "./config/interfaces/PlatformMulterSettings.js";
|
|
8
7
|
export * from "./config/interfaces/PlatformRouterSettings.js";
|
|
9
8
|
export * from "./config/interfaces/PlatformStaticsSettings.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
2
|
import { IncomingMessage, ServerResponse } from "http";
|
|
3
3
|
export interface IncomingEvent<Req = IncomingMessage, Res = ServerResponse> extends Record<string, unknown> {
|
|
4
4
|
response: Res;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
2
|
import { Type } from "@tsed/core";
|
|
3
3
|
import { InjectorService, ProviderOpts } from "@tsed/di";
|
|
4
4
|
import { PlatformContextHandler, PlatformHandlerMetadata, PlatformLayer } from "@tsed/platform-router";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="multer" />
|
|
2
|
-
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
3
3
|
import { InjectorService } from "@tsed/di";
|
|
4
4
|
import { PlatformRouter } from "@tsed/platform-router";
|
|
5
5
|
import { IncomingMessage, ServerResponse } from "http";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
2
|
import { IncomingHttpHeaders, IncomingMessage } from "http";
|
|
3
3
|
import type { PlatformContext } from "../domain/PlatformContext.js";
|
|
4
4
|
import type { PlatformResponse } from "./PlatformResponse.js";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
3
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
3
4
|
import { OutgoingHttpHeaders, ServerResponse } from "http";
|
|
4
5
|
import type { PlatformContext } from "../domain/PlatformContext.js";
|
|
5
6
|
import type { PlatformRequest } from "./PlatformRequest.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
/// <reference types="node" />
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
3
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
4
4
|
import type Http from "http";
|
|
5
5
|
import type Http2 from "http2";
|
|
6
6
|
import type Https from "https";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
2
|
import { InjectorService } from "@tsed/di";
|
|
3
3
|
import Http from "http";
|
|
4
4
|
export declare function createHttpServer(injector: InjectorService, requestListener: Http.RequestListener): import("./createServer.js").CreateServerReturn | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
2
|
import { InjectorService } from "@tsed/di";
|
|
3
3
|
import Http from "http";
|
|
4
4
|
export declare function createHttpsServer(injector: InjectorService, requestListener?: Http.RequestListener): import("./createServer.js").CreateServerReturn | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
/// <reference types="node" />
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
3
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
4
4
|
import { ReturnHostInfoFromPort } from "@tsed/core";
|
|
5
5
|
import { InjectorService, TokenProvider } from "@tsed/di";
|
|
6
6
|
import Http from "http";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
/// <reference types="node" />
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
3
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
4
4
|
import { getHostInfoFromPort } from "@tsed/core";
|
|
5
5
|
import type Http from "http";
|
|
6
6
|
import type Http2 from "http2";
|
package/package.json
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/common",
|
|
3
3
|
"description": "A TypeScript Framework on top of Express",
|
|
4
|
-
"type": "
|
|
5
|
-
"version": "
|
|
4
|
+
"type": "module",
|
|
5
|
+
"version": "8.0.0-alpha.10",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
|
-
"main": "./lib/
|
|
7
|
+
"main": "./lib/esm/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
9
9
|
"typings": "./lib/types/index.d.ts",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
12
|
"types": "./lib/types/index.d.ts",
|
|
13
13
|
"import": "./lib/esm/index.js",
|
|
14
|
-
"
|
|
15
|
-
"default": "./lib/cjs/index.js"
|
|
14
|
+
"default": "./lib/esm/index.js"
|
|
16
15
|
}
|
|
17
16
|
},
|
|
18
17
|
"scripts": {
|
|
@@ -64,34 +63,34 @@
|
|
|
64
63
|
}
|
|
65
64
|
],
|
|
66
65
|
"dependencies": {
|
|
67
|
-
"@tsed/core": "
|
|
68
|
-
"@tsed/di": "
|
|
69
|
-
"@tsed/exceptions": "
|
|
70
|
-
"@tsed/json-mapper": "
|
|
71
|
-
"@tsed/logger": "
|
|
72
|
-
"@tsed/logger-file": "
|
|
73
|
-
"@tsed/platform-exceptions": "
|
|
74
|
-
"@tsed/platform-log-middleware": "
|
|
75
|
-
"@tsed/platform-middlewares": "
|
|
76
|
-
"@tsed/platform-params": "
|
|
77
|
-
"@tsed/platform-response-filter": "
|
|
78
|
-
"@tsed/platform-router": "
|
|
79
|
-
"@tsed/platform-views": "
|
|
80
|
-
"@tsed/schema": "
|
|
66
|
+
"@tsed/core": "8.0.0-alpha.10",
|
|
67
|
+
"@tsed/di": "8.0.0-alpha.10",
|
|
68
|
+
"@tsed/exceptions": "8.0.0-alpha.10",
|
|
69
|
+
"@tsed/json-mapper": "8.0.0-alpha.10",
|
|
70
|
+
"@tsed/logger": "^6.7.8",
|
|
71
|
+
"@tsed/logger-file": "^6.7.8",
|
|
72
|
+
"@tsed/platform-exceptions": "8.0.0-alpha.10",
|
|
73
|
+
"@tsed/platform-log-middleware": "8.0.0-alpha.10",
|
|
74
|
+
"@tsed/platform-middlewares": "8.0.0-alpha.10",
|
|
75
|
+
"@tsed/platform-params": "8.0.0-alpha.10",
|
|
76
|
+
"@tsed/platform-response-filter": "8.0.0-alpha.10",
|
|
77
|
+
"@tsed/platform-router": "8.0.0-alpha.10",
|
|
78
|
+
"@tsed/platform-views": "8.0.0-alpha.10",
|
|
79
|
+
"@tsed/schema": "8.0.0-alpha.10",
|
|
81
80
|
"@types/json-schema": "7.0.15",
|
|
82
81
|
"accepts": "^1.3.8",
|
|
83
|
-
"tslib": "2.
|
|
84
|
-
"uuid": "
|
|
82
|
+
"tslib": "2.7.0",
|
|
83
|
+
"uuid": "10.0.0"
|
|
85
84
|
},
|
|
86
85
|
"devDependencies": {
|
|
87
|
-
"@tsed/barrels": "
|
|
88
|
-
"@tsed/components-scan": "
|
|
89
|
-
"@tsed/engines": "
|
|
90
|
-
"@tsed/typescript": "
|
|
86
|
+
"@tsed/barrels": "8.0.0-alpha.10",
|
|
87
|
+
"@tsed/components-scan": "8.0.0-alpha.10",
|
|
88
|
+
"@tsed/engines": "8.0.0-alpha.10",
|
|
89
|
+
"@tsed/typescript": "8.0.0-alpha.10",
|
|
91
90
|
"cross-env": "7.0.3",
|
|
92
|
-
"eslint": "
|
|
93
|
-
"typescript": "4.
|
|
94
|
-
"vitest": "2.
|
|
91
|
+
"eslint": "9.12.0",
|
|
92
|
+
"typescript": "5.4.5",
|
|
93
|
+
"vitest": "2.1.2"
|
|
95
94
|
},
|
|
96
95
|
"peerDependencies": {
|
|
97
96
|
"@tsed/logger": ">=6.7.5",
|
|
@@ -104,5 +103,8 @@
|
|
|
104
103
|
"@tsed/logger-file": {
|
|
105
104
|
"optional": false
|
|
106
105
|
}
|
|
106
|
+
},
|
|
107
|
+
"publishConfig": {
|
|
108
|
+
"tag": "alpha"
|
|
107
109
|
}
|
|
108
110
|
}
|
package/vitest.config.mts
CHANGED
|
@@ -10,12 +10,12 @@ export default defineConfig(
|
|
|
10
10
|
coverage: {
|
|
11
11
|
...presets.test.coverage,
|
|
12
12
|
thresholds: {
|
|
13
|
-
statements:
|
|
14
|
-
branches:
|
|
15
|
-
functions:
|
|
16
|
-
lines:
|
|
13
|
+
statements: 97.17,
|
|
14
|
+
branches: 95.13,
|
|
15
|
+
functions: 94.89,
|
|
16
|
+
lines: 97.17
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
);
|
|
21
|
+
);
|
|
@@ -1,349 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.PlatformBuilder = void 0;
|
|
27
|
-
const core_1 = require("@tsed/core");
|
|
28
|
-
const di_1 = require("@tsed/di");
|
|
29
|
-
const platform_middlewares_1 = require("@tsed/platform-middlewares");
|
|
30
|
-
const Platform_js_1 = require("../services/Platform.js");
|
|
31
|
-
const PlatformAdapter_js_1 = require("../services/PlatformAdapter.js");
|
|
32
|
-
const PlatformApplication_js_1 = require("../services/PlatformApplication.js");
|
|
33
|
-
const closeServer_js_1 = require("../utils/closeServer.js");
|
|
34
|
-
const createInjector_js_1 = require("../utils/createInjector.js");
|
|
35
|
-
const getConfiguration_js_1 = require("../utils/getConfiguration.js");
|
|
36
|
-
const getStaticsOptions_js_1 = require("../utils/getStaticsOptions.js");
|
|
37
|
-
const printRoutes_js_1 = require("../utils/printRoutes.js");
|
|
38
|
-
/**
|
|
39
|
-
* @platform
|
|
40
|
-
*/
|
|
41
|
-
class PlatformBuilder {
|
|
42
|
-
#injector;
|
|
43
|
-
#rootModule;
|
|
44
|
-
#adapter;
|
|
45
|
-
#promise;
|
|
46
|
-
#servers;
|
|
47
|
-
#listeners;
|
|
48
|
-
constructor(adapter, module, settings) {
|
|
49
|
-
this.name = "";
|
|
50
|
-
this.startedAt = new Date();
|
|
51
|
-
this.current = new Date();
|
|
52
|
-
this.#listeners = [];
|
|
53
|
-
this.#rootModule = module;
|
|
54
|
-
const configuration = (0, getConfiguration_js_1.getConfiguration)(settings, module);
|
|
55
|
-
const adapterKlass = adapter || PlatformBuilder.adapter;
|
|
56
|
-
configuration.PLATFORM_NAME = adapterKlass.NAME;
|
|
57
|
-
this.name = adapterKlass.NAME;
|
|
58
|
-
this.#injector = (0, createInjector_js_1.createInjector)({
|
|
59
|
-
adapter: adapterKlass,
|
|
60
|
-
settings: configuration
|
|
61
|
-
});
|
|
62
|
-
this.log(`Loading ${adapterKlass.NAME.toUpperCase()} platform adapter...`);
|
|
63
|
-
this.#adapter = this.#injector.get(PlatformAdapter_js_1.PlatformAdapter);
|
|
64
|
-
this.createHttpServers();
|
|
65
|
-
this.log("Injector created...");
|
|
66
|
-
}
|
|
67
|
-
get injector() {
|
|
68
|
-
return this.#injector;
|
|
69
|
-
}
|
|
70
|
-
get rootModule() {
|
|
71
|
-
return this.#injector.get(this.#rootModule);
|
|
72
|
-
}
|
|
73
|
-
get app() {
|
|
74
|
-
return this.injector.get(PlatformApplication_js_1.PlatformApplication);
|
|
75
|
-
}
|
|
76
|
-
get platform() {
|
|
77
|
-
return this.injector.get(Platform_js_1.Platform);
|
|
78
|
-
}
|
|
79
|
-
get adapter() {
|
|
80
|
-
return this.#adapter;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Return the settings configured by the decorator @@Configuration@@.
|
|
84
|
-
*
|
|
85
|
-
* ```typescript
|
|
86
|
-
* @Configuration({
|
|
87
|
-
* port: 8000,
|
|
88
|
-
* httpsPort: 8080,
|
|
89
|
-
* mount: {
|
|
90
|
-
* "/rest": "${rootDir}/controllers/**\/*.js"
|
|
91
|
-
* }
|
|
92
|
-
* })
|
|
93
|
-
* export class Server {
|
|
94
|
-
* $onInit(){
|
|
95
|
-
* console.log(this.settings); // {rootDir, port, httpsPort,...}
|
|
96
|
-
* }
|
|
97
|
-
* }
|
|
98
|
-
* ```
|
|
99
|
-
*
|
|
100
|
-
* @returns {PlatformConfiguration}
|
|
101
|
-
*/
|
|
102
|
-
get settings() {
|
|
103
|
-
return this.injector.settings;
|
|
104
|
-
}
|
|
105
|
-
get logger() {
|
|
106
|
-
return this.injector.logger;
|
|
107
|
-
}
|
|
108
|
-
get disableBootstrapLog() {
|
|
109
|
-
return this.settings.get("logger.disableBootstrapLog");
|
|
110
|
-
}
|
|
111
|
-
static create(module, settings) {
|
|
112
|
-
return this.build(module, {
|
|
113
|
-
httpsPort: false,
|
|
114
|
-
httpPort: false,
|
|
115
|
-
...settings
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
static build(module, { adapter, ...settings }) {
|
|
119
|
-
return new PlatformBuilder(adapter, module, settings);
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Bootstrap a server application
|
|
123
|
-
* @param module
|
|
124
|
-
* @param settings
|
|
125
|
-
*/
|
|
126
|
-
static bootstrap(module, settings) {
|
|
127
|
-
return this.build(module, settings).bootstrap();
|
|
128
|
-
}
|
|
129
|
-
callback(...args) {
|
|
130
|
-
return this.adapter.app.callback(...args);
|
|
131
|
-
}
|
|
132
|
-
log(...data) {
|
|
133
|
-
return !this.disableBootstrapLog && this.logger.info(...data, this.diff());
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* Add classes to the components list
|
|
137
|
-
* @param classes
|
|
138
|
-
*/
|
|
139
|
-
addComponents(classes) {
|
|
140
|
-
this.settings.set("imports", this.settings.get("imports", []).concat(classes));
|
|
141
|
-
return this;
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
* Add classes decorated by @@Controller@@ to components container.
|
|
145
|
-
*
|
|
146
|
-
* ### Example
|
|
147
|
-
*
|
|
148
|
-
* ```typescript
|
|
149
|
-
* @Controller('/ctrl')
|
|
150
|
-
* class MyController{
|
|
151
|
-
* }
|
|
152
|
-
*
|
|
153
|
-
* platform.addControllers('/rest', [MyController])
|
|
154
|
-
* ```
|
|
155
|
-
*
|
|
156
|
-
* ::: tip
|
|
157
|
-
* If the MyController class isn't decorated, the class will be ignored.
|
|
158
|
-
* :::
|
|
159
|
-
*
|
|
160
|
-
* @param {string} endpoint
|
|
161
|
-
* @param {any[]} controllers
|
|
162
|
-
*/
|
|
163
|
-
addControllers(endpoint, controllers) {
|
|
164
|
-
[].concat(controllers).forEach((token) => {
|
|
165
|
-
this.settings.routes.push({ token, route: endpoint });
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
async runLifecycle() {
|
|
169
|
-
// init adapter (Express, Koa, etc...)
|
|
170
|
-
await this.#adapter.onInit();
|
|
171
|
-
(0, di_1.setLoggerConfiguration)(this.injector);
|
|
172
|
-
// create the middleware mapping to be executed to the expected hook
|
|
173
|
-
await this.mapTokenMiddlewares();
|
|
174
|
-
await this.loadInjector();
|
|
175
|
-
// add the context middleware to the application
|
|
176
|
-
this.log("Mount app context");
|
|
177
|
-
this.#adapter.useContext();
|
|
178
|
-
// init routes (controllers, middlewares, etc...)
|
|
179
|
-
this.log("Load routes");
|
|
180
|
-
await this.#adapter.beforeLoadRoutes();
|
|
181
|
-
// istanbul ignore next
|
|
182
|
-
if (this.settings.get("logger.level") !== "off") {
|
|
183
|
-
const { PlatformLogMiddleware } = await Promise.resolve().then(() => __importStar(require("@tsed/platform-log-middleware")));
|
|
184
|
-
this.app.use(PlatformLogMiddleware);
|
|
185
|
-
}
|
|
186
|
-
if (this.rootModule.$beforeRoutesInit) {
|
|
187
|
-
await this.rootModule.$beforeRoutesInit();
|
|
188
|
-
// remove method to avoid multiple call and preserve hook order
|
|
189
|
-
this.rootModule.$beforeRoutesInit = () => { };
|
|
190
|
-
}
|
|
191
|
-
// Hooks execution (adding middlewares, controllers, services, etc...)
|
|
192
|
-
await this.loadStatics("$beforeRoutesInit");
|
|
193
|
-
await this.callHook("$beforeRoutesInit");
|
|
194
|
-
const routes = this.injector.settings.get("routes");
|
|
195
|
-
this.platform.addRoutes(routes);
|
|
196
|
-
await this.callHook("$onRoutesInit");
|
|
197
|
-
await this.loadStatics("$afterRoutesInit");
|
|
198
|
-
await this.callHook("$afterRoutesInit");
|
|
199
|
-
await this.#adapter.afterLoadRoutes();
|
|
200
|
-
// map routers are loaded after all hooks because it contains all added middlewares/controllers in the virtual Ts.ED layers
|
|
201
|
-
// This step will convert all Ts.ED layers to the platform layer (Express or Koa)
|
|
202
|
-
await this.mapRouters();
|
|
203
|
-
// Server is bootstrapped and ready to listen
|
|
204
|
-
return this;
|
|
205
|
-
}
|
|
206
|
-
async loadInjector() {
|
|
207
|
-
const { injector } = this;
|
|
208
|
-
this.log("Build providers");
|
|
209
|
-
await injector.loadModule(this.#rootModule);
|
|
210
|
-
this.log("Settings and injector loaded...");
|
|
211
|
-
await this.callHook("$afterInit");
|
|
212
|
-
}
|
|
213
|
-
async listen(network = true) {
|
|
214
|
-
if (!this.#promise) {
|
|
215
|
-
await this.bootstrap();
|
|
216
|
-
}
|
|
217
|
-
await this.callHook("$beforeListen");
|
|
218
|
-
if (network) {
|
|
219
|
-
await this.listenServers();
|
|
220
|
-
}
|
|
221
|
-
await this.callHook("$afterListen");
|
|
222
|
-
await this.ready();
|
|
223
|
-
}
|
|
224
|
-
async stop() {
|
|
225
|
-
await this.callHook("$onDestroy");
|
|
226
|
-
await this.injector.destroy();
|
|
227
|
-
this.#listeners.map(closeServer_js_1.closeServer);
|
|
228
|
-
}
|
|
229
|
-
async ready() {
|
|
230
|
-
const { startedAt } = this;
|
|
231
|
-
await this.callHook("$onReady");
|
|
232
|
-
await this.injector.emit("$onServerReady");
|
|
233
|
-
this.log(`Started in ${new Date().getTime() - startedAt.getTime()} ms`);
|
|
234
|
-
}
|
|
235
|
-
async callHook(hook, ...args) {
|
|
236
|
-
const { injector } = this;
|
|
237
|
-
if (!this.disableBootstrapLog) {
|
|
238
|
-
injector.logger.debug(`\x1B[1mCall hook ${hook}\x1B[22m`);
|
|
239
|
-
}
|
|
240
|
-
// Load middlewares for the given hook
|
|
241
|
-
this.loadMiddlewaresFor(hook);
|
|
242
|
-
// call hooks added by providers
|
|
243
|
-
await injector.emit(hook, ...args);
|
|
244
|
-
}
|
|
245
|
-
loadStatics(hook) {
|
|
246
|
-
const statics = this.settings.get("statics");
|
|
247
|
-
(0, getStaticsOptions_js_1.getStaticsOptions)(statics).forEach(({ path, options }) => {
|
|
248
|
-
if (options.hook === hook) {
|
|
249
|
-
this.platform.app.statics(path, options);
|
|
250
|
-
}
|
|
251
|
-
});
|
|
252
|
-
}
|
|
253
|
-
useProvider(token, settings) {
|
|
254
|
-
this.injector.addProvider(token, settings);
|
|
255
|
-
return this;
|
|
256
|
-
}
|
|
257
|
-
bootstrap() {
|
|
258
|
-
this.#promise = this.#promise || this.runLifecycle();
|
|
259
|
-
return this.#promise;
|
|
260
|
-
}
|
|
261
|
-
mapRouters() {
|
|
262
|
-
const layers = this.platform.getLayers();
|
|
263
|
-
this.#adapter.mapLayers(layers);
|
|
264
|
-
const rawBody = this.settings.get("rawBody") ||
|
|
265
|
-
layers.some(({ handlers }) => {
|
|
266
|
-
return handlers.some((handler) => handler.opts?.paramsTypes?.RAW_BODY);
|
|
267
|
-
});
|
|
268
|
-
this.settings.set("rawBody", rawBody);
|
|
269
|
-
return this.logRoutes(layers.filter((layer) => layer.isProvider()));
|
|
270
|
-
}
|
|
271
|
-
diff() {
|
|
272
|
-
const ms = di_1.colors.yellow(`+${new Date().getTime() - this.current.getTime()}ms`);
|
|
273
|
-
this.current = new Date();
|
|
274
|
-
return ms;
|
|
275
|
-
}
|
|
276
|
-
/**
|
|
277
|
-
* Load middlewares from configuration for the given hook
|
|
278
|
-
* @param hook
|
|
279
|
-
* @protected
|
|
280
|
-
*/
|
|
281
|
-
loadMiddlewaresFor(hook) {
|
|
282
|
-
return (0, platform_middlewares_1.getMiddlewaresForHook)(hook, this.settings, "$beforeRoutesInit").forEach(({ use }) => {
|
|
283
|
-
this.app.use(use);
|
|
284
|
-
});
|
|
285
|
-
}
|
|
286
|
-
createHttpServers() {
|
|
287
|
-
this.#servers = this.#adapter.getServers();
|
|
288
|
-
}
|
|
289
|
-
async listenServers() {
|
|
290
|
-
this.#listeners = await Promise.all(this.#servers.map((cb) => cb && cb()));
|
|
291
|
-
}
|
|
292
|
-
async logRoutes(layers) {
|
|
293
|
-
const { logger } = this;
|
|
294
|
-
this.log("Routes mounted...");
|
|
295
|
-
if (!this.settings.get("logger.disableRoutesSummary") && !this.disableBootstrapLog) {
|
|
296
|
-
const routes = layers.map((layer) => {
|
|
297
|
-
return {
|
|
298
|
-
url: layer.path,
|
|
299
|
-
method: layer.method,
|
|
300
|
-
name: layer.opts.name || `${layer.provider.className}.constructor()`,
|
|
301
|
-
className: layer.opts.className || layer.provider.className,
|
|
302
|
-
methodClassName: layer.opts.methodClassName || ""
|
|
303
|
-
};
|
|
304
|
-
});
|
|
305
|
-
logger.info((0, printRoutes_js_1.printRoutes)(await this.injector.alterAsync("$logRoutes", routes)));
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
async mapTokenMiddlewares() {
|
|
309
|
-
let middlewares = this.injector.settings.get("middlewares", []);
|
|
310
|
-
const { env } = this.injector.settings;
|
|
311
|
-
const defaultHook = "$beforeRoutesInit";
|
|
312
|
-
const promises = middlewares.map(async (middleware) => {
|
|
313
|
-
var _a;
|
|
314
|
-
if ((0, core_1.isFunction)(middleware)) {
|
|
315
|
-
return {
|
|
316
|
-
env,
|
|
317
|
-
hook: defaultHook,
|
|
318
|
-
use: middleware
|
|
319
|
-
};
|
|
320
|
-
}
|
|
321
|
-
if ((0, core_1.isString)(middleware)) {
|
|
322
|
-
middleware = { env, use: middleware, hook: defaultHook };
|
|
323
|
-
}
|
|
324
|
-
let { use, options } = middleware;
|
|
325
|
-
if ((0, core_1.isString)(use)) {
|
|
326
|
-
if (["text-parser", "raw-parser", "json-parser", "urlencoded-parser"].includes(use)) {
|
|
327
|
-
use = this.adapter.bodyParser(use.replace("-parser", ""), options);
|
|
328
|
-
}
|
|
329
|
-
else {
|
|
330
|
-
const mod = await (_a = use, Promise.resolve().then(() => __importStar(require(_a))));
|
|
331
|
-
use = (mod.default || mod)(options);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
if ((0, core_1.isClass)(use) && ["$beforeInit", "$onInit", "$afterInit"].includes(middleware.hook)) {
|
|
335
|
-
throw new Error(`Ts.ED Middleware "${(0, core_1.nameOf)(use)}" middleware cannot be added on ${middleware.hook} hook. Use one of this hooks instead: $beforeRoutesInit, $onRoutesInit, $afterRoutesInit, $beforeListen, $afterListen, $onReady`);
|
|
336
|
-
}
|
|
337
|
-
return {
|
|
338
|
-
env,
|
|
339
|
-
hook: defaultHook,
|
|
340
|
-
...middleware,
|
|
341
|
-
use
|
|
342
|
-
};
|
|
343
|
-
});
|
|
344
|
-
middlewares = await Promise.all(promises);
|
|
345
|
-
this.injector.settings.set("middlewares", middlewares.filter((middleware) => middleware.use));
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
exports.PlatformBuilder = PlatformBuilder;
|
|
349
|
-
//# sourceMappingURL=PlatformBuilder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformBuilder.js","sourceRoot":"","sources":["../../../src/builder/PlatformBuilder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAuE;AACvE,iCAAsG;AACtG,qEAAmG;AASnG,yDAAiD;AACjD,uEAAwF;AACxF,+EAAuE;AACvE,4DAAoD;AACpD,kEAA0D;AAE1D,sEAA8D;AAC9D,wEAAgE;AAChE,4DAAoD;AAEpD;;GAEG;AACH,MAAa,eAAe;IAMjB,SAAS,CAAkB;IAC3B,WAAW,CAAY;IACvB,QAAQ,CAAuB;IACxC,QAAQ,CAAgB;IACxB,QAAQ,CAAuB;IAC/B,UAAU,CAA0D;IAEpE,YAAsB,OAA+C,EAAE,MAAY,EAAE,QAAqC;QAVjH,SAAI,GAAW,EA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AAI,CAAC,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,mBAAmB,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;oBACnF,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC;iBACpE;qBAAM;oBACL,MAAM,GAAG,GAAG,YAAa,GAAG,0DAAC,CAAC;oBAC9B,GAAG,GAAG,CAAC,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC;iBACrC;aACF;YAED,IAAI,IAAA,cAAO,EAAC,GAAG,CAAC,IAAI,CAAC,aAAa,EAAE,SAAS,EAAE,YAAY,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAK,CAAC,EAAE;gBACvF,MAAM,IAAI,KAAK,CACb,qBAAqB,IAAA,aAAM,EAAC,GAAG,CAAC,mCAC9B,UAAU,CAAC,IACb,iIAAiI,CAClI,CAAC;aACH;YAED,OAAO;gBACL,GAAG;gBACH,IAAI,EAAE,WAAW;gBACjB,GAAG,UAAU;gBACb,GAAG;aACJ,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,WAAW,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAE1C,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CACxB,aAAa,EACb,WAAW,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CACnD,CAAC;IACJ,CAAC;CACF;AAlZD,0CAkZC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformJsonMapperSettings.js","sourceRoot":"","sources":["../../../../src/config/interfaces/PlatformJsonMapperSettings.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformLoggerSettings.js","sourceRoot":"","sources":["../../../../src/config/interfaces/PlatformLoggerSettings.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformMulterSettings.js","sourceRoot":"","sources":["../../../../src/config/interfaces/PlatformMulterSettings.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformRouterSettings.js","sourceRoot":"","sources":["../../../../src/config/interfaces/PlatformRouterSettings.ts"],"names":[],"mappings":""}
|