@tsed/common 6.71.1 → 7.0.0-alpha.1
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/decorators/index.d.ts +0 -2
- package/lib/domain/index.d.ts +0 -1
- package/lib/index.js +0 -101
- package/lib/index.js.map +1 -1
- package/lib/index.modern.js +3 -101
- package/lib/index.modern.js.map +1 -1
- package/lib/middlewares/index.d.ts +0 -2
- package/lib/utils/index.d.ts +0 -1
- package/package.json +15 -15
- package/lib/decorators/params/endpointInfo.d.ts +0 -10
- package/lib/decorators/params/responseData.d.ts +0 -9
- package/lib/domain/PropertyMetadata.d.ts +0 -11
- package/lib/middlewares/AcceptMimesMiddleware.d.ts +0 -10
- package/lib/middlewares/GlobalAcceptMimesMiddleware.d.ts +0 -9
- package/lib/utils/loadInjector.d.ts +0 -6
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export * from "./bindEndpointMiddleware";
|
|
2
2
|
export * from "./PlatformLogMiddleware";
|
|
3
3
|
export * from "./PlatformMulterMiddleware";
|
|
4
|
-
export * from "./GlobalAcceptMimesMiddleware";
|
|
5
4
|
export * from "./PlatformAcceptMimesMiddleware";
|
|
6
|
-
export * from "./AcceptMimesMiddleware";
|
package/lib/utils/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from "./createInjector";
|
|
|
2
2
|
export * from "./createPlatformApplication";
|
|
3
3
|
export * from "./createHttpServer";
|
|
4
4
|
export * from "./createHttpsServer";
|
|
5
|
-
export * from "./loadInjector";
|
|
6
5
|
export * from "./printRoutes";
|
|
7
6
|
export * from "./listenServer";
|
|
8
7
|
export * from "./createContext";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/common",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-alpha.1",
|
|
4
4
|
"description": "A TypeScript Framework on top of Express",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"bugs": {
|
|
40
40
|
"url": "https://github.com/tsedio/tsed/issues"
|
|
41
41
|
},
|
|
42
|
-
"homepage": "https://github.com/tsedio/tsed/tree/
|
|
42
|
+
"homepage": "https://github.com/tsedio/tsed/tree/alpha/packages/platform/common",
|
|
43
43
|
"repository": "https://github.com/tsedio/tsed",
|
|
44
44
|
"funding": [
|
|
45
45
|
{
|
|
@@ -55,20 +55,20 @@
|
|
|
55
55
|
"build": "microbundle --target node --no-compress --format modern,cjs --tsconfig ./tsconfig.compile.json"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@tsed/components-scan": "
|
|
59
|
-
"@tsed/core": "
|
|
60
|
-
"@tsed/di": "
|
|
61
|
-
"@tsed/exceptions": "
|
|
62
|
-
"@tsed/json-mapper": "
|
|
58
|
+
"@tsed/components-scan": "7.0.0-alpha.1",
|
|
59
|
+
"@tsed/core": "7.0.0-alpha.1",
|
|
60
|
+
"@tsed/di": "7.0.0-alpha.1",
|
|
61
|
+
"@tsed/exceptions": "7.0.0-alpha.1",
|
|
62
|
+
"@tsed/json-mapper": "7.0.0-alpha.1",
|
|
63
63
|
"@tsed/logger": "^5.16.0",
|
|
64
|
-
"@tsed/perf": "
|
|
65
|
-
"@tsed/platform-cache": "
|
|
66
|
-
"@tsed/platform-exceptions": "
|
|
67
|
-
"@tsed/platform-middlewares": "
|
|
68
|
-
"@tsed/platform-params": "
|
|
69
|
-
"@tsed/platform-response-filter": "
|
|
70
|
-
"@tsed/platform-views": "
|
|
71
|
-
"@tsed/schema": "
|
|
64
|
+
"@tsed/perf": "7.0.0-alpha.1",
|
|
65
|
+
"@tsed/platform-cache": "7.0.0-alpha.1",
|
|
66
|
+
"@tsed/platform-exceptions": "7.0.0-alpha.1",
|
|
67
|
+
"@tsed/platform-middlewares": "7.0.0-alpha.1",
|
|
68
|
+
"@tsed/platform-params": "7.0.0-alpha.1",
|
|
69
|
+
"@tsed/platform-response-filter": "7.0.0-alpha.1",
|
|
70
|
+
"@tsed/platform-views": "7.0.0-alpha.1",
|
|
71
|
+
"@tsed/schema": "7.0.0-alpha.1",
|
|
72
72
|
"@types/json-schema": "7.0.7",
|
|
73
73
|
"json-schema": "^0.2.3",
|
|
74
74
|
"on-finished": "2.3.0",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EndpointMetadata } from "../../domain/EndpointMetadata";
|
|
2
|
-
export declare type EndpointInfo = EndpointMetadata;
|
|
3
|
-
/**
|
|
4
|
-
* Get the current endpoint metadata.
|
|
5
|
-
* @decorator
|
|
6
|
-
* @operation
|
|
7
|
-
* @input
|
|
8
|
-
* @deprecated Use `@Context() $ctx: Context` then `$ctx.endpoint` instead.
|
|
9
|
-
*/
|
|
10
|
-
export declare function EndpointInfo(): Function;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Return the current response data. Prefer the @@Context@@ decorator to get or set data.
|
|
3
|
-
*
|
|
4
|
-
* @decorator
|
|
5
|
-
* @operation
|
|
6
|
-
* @input
|
|
7
|
-
* @deprecated Use `@Context() $ctx: Context` then $ctx.data.
|
|
8
|
-
*/
|
|
9
|
-
export declare function ResponseData(): ParameterDecorator;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Type } from "@tsed/core";
|
|
2
|
-
import { JsonEntityStore } from "@tsed/schema";
|
|
3
|
-
export declare class PropertyMetadata extends JsonEntityStore {
|
|
4
|
-
static get(target: Type<any>, propertyKey: string | symbol): PropertyMetadata;
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated Since 2020-11-11. Use getProperties from @tsed/schema
|
|
7
|
-
*/
|
|
8
|
-
static getProperties(target: Type<any>, options?: Partial<{
|
|
9
|
-
withIgnoredProps: boolean;
|
|
10
|
-
}>): Map<string | number | symbol, JsonEntityStore>;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Context } from "@tsed/platform-params";
|
|
2
|
-
import { MiddlewareMethods } from "@tsed/platform-middlewares";
|
|
3
|
-
/**
|
|
4
|
-
* @middleware
|
|
5
|
-
* @deprecated Since 2020-11-30. Use PlatformAcceptMimesMiddleware.
|
|
6
|
-
* @ignore
|
|
7
|
-
*/
|
|
8
|
-
export declare class AcceptMimesMiddleware implements MiddlewareMethods {
|
|
9
|
-
use(ctx: Context): void;
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MiddlewareMethods } from "@tsed/platform-middlewares";
|
|
2
|
-
import { Context } from "@tsed/platform-params";
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated Since 2020-11-30. Use PlatformAcceptMimesMiddleware.
|
|
5
|
-
* @ignore
|
|
6
|
-
*/
|
|
7
|
-
export declare class GlobalAcceptMimesMiddleware implements MiddlewareMethods {
|
|
8
|
-
use(ctx: Context): void;
|
|
9
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Container, InjectorService, LocalsContainer } from "@tsed/di";
|
|
2
|
-
/**
|
|
3
|
-
* @ignore
|
|
4
|
-
* @deprecated User injector.load(container, module) instead
|
|
5
|
-
*/
|
|
6
|
-
export declare function loadInjector(injector: InjectorService, container?: Container): Promise<LocalsContainer<any>>;
|