@tsed/common 6.87.1 → 6.87.2

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.
@@ -7,7 +7,7 @@ import { PlatformContext, PlatformContextOptions } from "../domain/PlatformConte
7
7
  */
8
8
  export declare class PlatformTest extends DITest {
9
9
  static platformBuilder: Type<PlatformBuilder<any, any>>;
10
- static create(options?: Partial<TsED.Configuration>): Promise<void>;
10
+ static create(settings?: Partial<TsED.Configuration>): Promise<void>;
11
11
  /**
12
12
  * Create a new injector with the right default services
13
13
  */
@@ -1,2 +1,7 @@
1
- import { InjectorService } from "@tsed/di";
2
- export declare function createInjector(settings?: Partial<TsED.Configuration>): InjectorService;
1
+ import { InjectorService, IProvider } from "@tsed/di";
2
+ interface CreateInjectorOptions {
3
+ providers?: IProvider[];
4
+ settings?: Partial<TsED.Configuration>;
5
+ }
6
+ export declare function createInjector({ providers, settings }: CreateInjectorOptions): InjectorService;
7
+ export {};
@@ -1,5 +1,4 @@
1
1
  export * from "./createInjector";
2
- export * from "./createPlatformApplication";
3
2
  export * from "./createHttpServer";
4
3
  export * from "./createHttpsServer";
5
4
  export * from "./loadInjector";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/common",
3
- "version": "6.87.1",
3
+ "version": "6.87.2",
4
4
  "description": "A TypeScript Framework on top of Express",
5
5
  "private": false,
6
6
  "source": "./src/index.ts",
@@ -55,22 +55,22 @@
55
55
  "build": "microbundle --target node --no-compress --format modern,cjs --tsconfig ./tsconfig.compile.json"
56
56
  },
57
57
  "dependencies": {
58
- "@tsed/components-scan": "6.87.1",
59
- "@tsed/core": "6.87.1",
60
- "@tsed/di": "6.87.1",
61
- "@tsed/exceptions": "6.87.1",
62
- "@tsed/json-mapper": "6.87.1",
58
+ "@tsed/components-scan": "6.87.2",
59
+ "@tsed/core": "6.87.2",
60
+ "@tsed/di": "6.87.2",
61
+ "@tsed/exceptions": "6.87.2",
62
+ "@tsed/json-mapper": "6.87.2",
63
63
  "@tsed/logger": "^6.0.0",
64
64
  "@tsed/logger-file": "^6.0.0",
65
- "@tsed/perf": "6.87.1",
66
- "@tsed/platform-cache": "6.87.1",
67
- "@tsed/platform-exceptions": "6.87.1",
68
- "@tsed/platform-log-middleware": "6.87.1",
69
- "@tsed/platform-middlewares": "6.87.1",
70
- "@tsed/platform-params": "6.87.1",
71
- "@tsed/platform-response-filter": "6.87.1",
72
- "@tsed/platform-views": "6.87.1",
73
- "@tsed/schema": "6.87.1",
65
+ "@tsed/perf": "6.87.2",
66
+ "@tsed/platform-cache": "6.87.2",
67
+ "@tsed/platform-exceptions": "6.87.2",
68
+ "@tsed/platform-log-middleware": "6.87.2",
69
+ "@tsed/platform-middlewares": "6.87.2",
70
+ "@tsed/platform-params": "6.87.2",
71
+ "@tsed/platform-response-filter": "6.87.2",
72
+ "@tsed/platform-views": "6.87.2",
73
+ "@tsed/schema": "6.87.2",
74
74
  "@types/json-schema": "7.0.7",
75
75
  "json-schema": "^0.2.3",
76
76
  "on-finished": "2.3.0",
@@ -1,2 +0,0 @@
1
- import { InjectorService } from "@tsed/di";
2
- export declare function createPlatformApplication(injector: InjectorService): void;