@tsed/platform-serverless 8.0.0-alpha.3 → 8.0.0-alpha.5
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/cjs/exports.js +3 -2
- package/lib/cjs/exports.js.map +1 -1
- package/lib/esm/exports.js +1 -1
- package/lib/esm/exports.js.map +1 -1
- package/lib/types/builder/PlatformServerlessHandler.d.ts +1 -1
- package/lib/types/exports.d.ts +1 -1
- package/lib/types-esm/builder/PlatformServerlessHandler.d.ts +1 -1
- package/lib/types-esm/exports.d.ts +1 -1
- package/package.json +11 -11
package/lib/cjs/exports.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Lambda = exports.Options = exports.Patch = exports.Head = exports.Delete = exports.Put = exports.Post = exports.Get = void 0;
|
|
3
|
+
exports.Lambda = exports.Operation = exports.Options = exports.Patch = exports.Head = exports.Delete = exports.Put = exports.Post = exports.Get = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
tslib_1.__exportStar(require("@tsed/di"), exports);
|
|
6
6
|
var schema_1 = require("@tsed/schema");
|
|
@@ -11,6 +11,7 @@ Object.defineProperty(exports, "Delete", { enumerable: true, get: function () {
|
|
|
11
11
|
Object.defineProperty(exports, "Head", { enumerable: true, get: function () { return schema_1.Head; } });
|
|
12
12
|
Object.defineProperty(exports, "Patch", { enumerable: true, get: function () { return schema_1.Patch; } });
|
|
13
13
|
Object.defineProperty(exports, "Options", { enumerable: true, get: function () { return schema_1.Options; } });
|
|
14
|
-
Object.defineProperty(exports, "
|
|
14
|
+
Object.defineProperty(exports, "Operation", { enumerable: true, get: function () { return schema_1.Operation; } });
|
|
15
|
+
Object.defineProperty(exports, "Lambda", { enumerable: true, get: function () { return schema_1.Operation; } });
|
|
15
16
|
tslib_1.__exportStar(require("@tsed/platform-params"), exports);
|
|
16
17
|
//# sourceMappingURL=exports.js.map
|
package/lib/cjs/exports.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports.js","sourceRoot":"","sources":["../../src/exports.ts"],"names":[],"mappings":";;;;AAAA,mDAAyB;AACzB,
|
|
1
|
+
{"version":3,"file":"exports.js","sourceRoot":"","sources":["../../src/exports.ts"],"names":[],"mappings":";;;;AAAA,mDAAyB;AACzB,uCAA0G;AAAlG,6FAAA,GAAG,OAAA;AAAE,8FAAA,IAAI,OAAA;AAAE,6FAAA,GAAG,OAAA;AAAE,gGAAA,MAAM,OAAA;AAAE,8FAAA,IAAI,OAAA;AAAE,+FAAA,KAAK,OAAA;AAAE,iGAAA,OAAO,OAAA;AAAE,mGAAA,SAAS,OAAA;AAAE,gGAAA,SAAS,OAAU;AACpF,gEAAsC"}
|
package/lib/esm/exports.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from "@tsed/di";
|
|
2
|
-
export { Get, Post, Put, Delete, Head, Patch, Options,
|
|
2
|
+
export { Get, Post, Put, Delete, Head, Patch, Options, Operation, Operation as Lambda } from "@tsed/schema";
|
|
3
3
|
export * from "@tsed/platform-params";
|
|
4
4
|
//# sourceMappingURL=exports.js.map
|
package/lib/esm/exports.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports.js","sourceRoot":"","sources":["../../src/exports.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAC,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"exports.js","sourceRoot":"","sources":["../../src/exports.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAC,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,IAAI,MAAM,EAAC,MAAM,cAAc,CAAC;AAC1G,cAAc,uBAAuB,CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare class PlatformServerlessHandler {
|
|
|
7
7
|
protected injector: InjectorService;
|
|
8
8
|
protected params: PlatformParams;
|
|
9
9
|
protected exceptionsManager: Promise<PlatformExceptions>;
|
|
10
|
-
createHandler(token: TokenProvider, propertyKey: string | symbol): ($ctx: ServerlessContext<ServerlessEvent>) => Promise<
|
|
10
|
+
createHandler(token: TokenProvider, propertyKey: string | symbol): ($ctx: ServerlessContext<ServerlessEvent>) => Promise<Promise<unknown>>;
|
|
11
11
|
private flush;
|
|
12
12
|
private makeHttpResponse;
|
|
13
13
|
private processResult;
|
package/lib/types/exports.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare class PlatformServerlessHandler {
|
|
|
7
7
|
protected injector: InjectorService;
|
|
8
8
|
protected params: PlatformParams;
|
|
9
9
|
protected exceptionsManager: Promise<PlatformExceptions>;
|
|
10
|
-
createHandler(token: TokenProvider, propertyKey: string | symbol): ($ctx: ServerlessContext<ServerlessEvent>) => Promise<
|
|
10
|
+
createHandler(token: TokenProvider, propertyKey: string | symbol): ($ctx: ServerlessContext<ServerlessEvent>) => Promise<Promise<unknown>>;
|
|
11
11
|
private flush;
|
|
12
12
|
private makeHttpResponse;
|
|
13
13
|
private processResult;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/platform-serverless",
|
|
3
3
|
"description": "Platform serverless module for Ts.ED Framework",
|
|
4
4
|
"type": "commonjs",
|
|
5
|
-
"version": "8.0.0-alpha.
|
|
5
|
+
"version": "8.0.0-alpha.5",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/cjs/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
@@ -23,21 +23,21 @@
|
|
|
23
23
|
"test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@tsed/core": "8.0.0-alpha.
|
|
27
|
-
"@tsed/exceptions": "8.0.0-alpha.
|
|
28
|
-
"@tsed/json-mapper": "8.0.0-alpha.
|
|
29
|
-
"@tsed/platform-exceptions": "8.0.0-alpha.
|
|
30
|
-
"@tsed/platform-params": "8.0.0-alpha.
|
|
31
|
-
"@tsed/schema": "8.0.0-alpha.
|
|
26
|
+
"@tsed/core": "8.0.0-alpha.5",
|
|
27
|
+
"@tsed/exceptions": "8.0.0-alpha.5",
|
|
28
|
+
"@tsed/json-mapper": "8.0.0-alpha.5",
|
|
29
|
+
"@tsed/platform-exceptions": "8.0.0-alpha.5",
|
|
30
|
+
"@tsed/platform-params": "8.0.0-alpha.5",
|
|
31
|
+
"@tsed/schema": "8.0.0-alpha.5",
|
|
32
32
|
"encodeurl": "^2.0.0",
|
|
33
33
|
"mime": "^3.0.0",
|
|
34
34
|
"tslib": "2.6.1",
|
|
35
35
|
"uuid": "^9.0.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@tsed/barrels": "8.0.0-alpha.
|
|
39
|
-
"@tsed/platform-serverless-testing": "8.0.0-alpha.
|
|
40
|
-
"@tsed/typescript": "8.0.0-alpha.
|
|
38
|
+
"@tsed/barrels": "8.0.0-alpha.5",
|
|
39
|
+
"@tsed/platform-serverless-testing": "8.0.0-alpha.5",
|
|
40
|
+
"@tsed/typescript": "8.0.0-alpha.5",
|
|
41
41
|
"@types/aws-lambda": "^8.10.136",
|
|
42
42
|
"@types/encodeurl": "^1.0.2",
|
|
43
43
|
"@types/mime": "^3.0.4",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"vitest": "2.0.4"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@tsed/di": "8.0.0-alpha.
|
|
50
|
+
"@tsed/di": "8.0.0-alpha.5",
|
|
51
51
|
"@tsed/logger": ">=6.7.5",
|
|
52
52
|
"find-my-way": ">=7.0.0"
|
|
53
53
|
},
|