@tsed/platform-koa 8.16.0-rc.2 → 8.16.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.
@@ -27,13 +27,13 @@ export declare class PlatformKoa extends PlatformAdapter<Koa> {
27
27
  * @param module
28
28
  * @param settings
29
29
  */
30
- static create(module: Type<any>, settings?: Partial<TsED.Configuration>): PlatformBuilder<TsED.Application>;
30
+ static create(module: Type<any>, settings?: Partial<TsED.Configuration>): PlatformBuilder<Koa<Koa.DefaultState, Koa.DefaultContext>>;
31
31
  /**
32
32
  * Bootstrap a server application
33
33
  * @param module
34
34
  * @param settings
35
35
  */
36
- static bootstrap(module: Type<any>, settings?: Partial<TsED.Configuration>): Promise<PlatformBuilder<TsED.Application>>;
36
+ static bootstrap(module: Type<any>, settings?: Partial<TsED.Configuration>): Promise<PlatformBuilder<Koa<Koa.DefaultState, Koa.DefaultContext>>>;
37
37
  onInit(): void;
38
38
  mapLayers(layers: PlatformLayer[]): void;
39
39
  mapHandler(handler: Function, metadata: PlatformHandlerMetadata): (koaContext: Koa.Context, next: Koa.Next) => Promise<any>;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/platform-koa",
3
3
  "description": "Koa package for Ts.ED framework",
4
4
  "type": "module",
5
- "version": "8.16.0-rc.2",
5
+ "version": "8.16.0-rc.4",
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/esm/index.js",
8
8
  "module": "./lib/esm/index.js",
@@ -54,12 +54,12 @@
54
54
  "repository": "https://github.com/tsedio/tsed",
55
55
  "devDependencies": {
56
56
  "@koa/cors": "5.0.0",
57
- "@tsed/barrels": "8.16.0-rc.2",
58
- "@tsed/core": "8.16.0-rc.2",
59
- "@tsed/di": "8.16.0-rc.2",
60
- "@tsed/platform-http": "8.16.0-rc.2",
61
- "@tsed/platform-test-sdk": "8.16.0-rc.2",
62
- "@tsed/typescript": "8.16.0-rc.2",
57
+ "@tsed/barrels": "8.16.0-rc.4",
58
+ "@tsed/core": "8.16.0-rc.4",
59
+ "@tsed/di": "8.16.0-rc.4",
60
+ "@tsed/platform-http": "8.16.0-rc.4",
61
+ "@tsed/platform-test-sdk": "8.16.0-rc.4",
62
+ "@tsed/typescript": "8.16.0-rc.4",
63
63
  "@types/koa": "2.15.0",
64
64
  "@types/koa-bodyparser": "4.3.12",
65
65
  "@types/koa-compose": "3.2.8",
@@ -90,7 +90,7 @@
90
90
  "@tsed/core": ">=8.0.0",
91
91
  "@tsed/di": ">=8.0.0",
92
92
  "@tsed/json-mapper": ">=8.0.0",
93
- "@tsed/logger": ">=8.0.0-rc.1",
93
+ "@tsed/logger": ">=8.0.0",
94
94
  "@tsed/openspec": ">=8.0.0",
95
95
  "@tsed/platform-http": ">=8.0.0",
96
96
  "@tsed/schema": ">=8.0.0",