@atlantjs/backend 1.0.20 → 1.0.23
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/backend/infrastructure/repositories/schemas/schema.abstract.d.ts +0 -3
- package/index.d.ts +0 -1
- package/index.js +1 -3
- package/package.json +2 -2
- package/setup/dependency-injections/index.d.ts +0 -1
- package/setup/dependency-injections/index.js +1 -5
- package/tsconfig.tsbuildinfo +1 -1
- package/setup/dependency-injections/container.d.ts +0 -11
- package/setup/dependency-injections/container.js +0 -14
- package/setup/dependency-injections/default-container.d.ts +0 -4
- package/setup/dependency-injections/default-container.js +0 -20
package/index.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ export { ValidatorAbstract } from "./backend/infrastructure/controllers/payloads
|
|
|
17
17
|
export { ResponseAbstract } from "./backend/infrastructure/controllers/responses/response.abstract";
|
|
18
18
|
export { SchemaAbstract } from "./backend/infrastructure/repositories/schemas/schema.abstract";
|
|
19
19
|
export { startContainer, diContainer } from "./setup/dependency-injections";
|
|
20
|
-
export { DefaultContainer } from "./setup/dependency-injections/default-container";
|
|
21
20
|
export { DiContainerAbstract } from "./setup/dependency-injections/di-container.abstract";
|
|
22
21
|
export { BodyParserMiddleware } from "./setup/server/body-parser-middleware";
|
|
23
22
|
export { CorsMiddleware } from "./setup/server/cors-middleware";
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.initializeApi = exports.injectable = exports.inject = exports.Container = exports.Server = exports.DefaultErrorHandlerMiddleware = exports.CorsMiddleware = exports.BodyParserMiddleware = exports.DiContainerAbstract = exports.
|
|
3
|
+
exports.initializeApi = exports.injectable = exports.inject = exports.Container = exports.Server = exports.DefaultErrorHandlerMiddleware = exports.CorsMiddleware = exports.BodyParserMiddleware = exports.DiContainerAbstract = exports.diContainer = exports.startContainer = exports.SchemaAbstract = exports.ResponseAbstract = exports.ValidatorAbstract = exports.PayloadAbstract = exports.ControllerAbstract = exports.UsecaseAbstract = exports.ServiceAbstract = exports.RepositoryAbstract = exports.ProviderAbstract = exports.MiddlewareHandlerAbstract = exports.EntityAbstract = exports.InjectionsAbstract = exports.CORS_ALLOWED_ORIGINS = exports.LOAD_MODULES = exports.APP_PORT = exports.IAM_MOVINGAPP_REALM_PUBLIC_KEY_RS256 = exports.DatabaseHelperAbstract = exports.DatabaseConfigAbstract = exports.UseBefore = exports.Req = exports.Post = exports.Body = exports.Res = exports.JsonController = exports.Get = exports.getFromContainer = void 0;
|
|
4
4
|
require("reflect-metadata");
|
|
5
5
|
const setup_1 = require("./setup");
|
|
6
6
|
(0, setup_1.synthesizePaths)();
|
|
@@ -49,8 +49,6 @@ Object.defineProperty(exports, "SchemaAbstract", { enumerable: true, get: functi
|
|
|
49
49
|
var dependency_injections_1 = require("./setup/dependency-injections");
|
|
50
50
|
Object.defineProperty(exports, "startContainer", { enumerable: true, get: function () { return dependency_injections_1.startContainer; } });
|
|
51
51
|
Object.defineProperty(exports, "diContainer", { enumerable: true, get: function () { return dependency_injections_1.diContainer; } });
|
|
52
|
-
var default_container_1 = require("./setup/dependency-injections/default-container");
|
|
53
|
-
Object.defineProperty(exports, "DefaultContainer", { enumerable: true, get: function () { return default_container_1.DefaultContainer; } });
|
|
54
52
|
var di_container_abstract_1 = require("./setup/dependency-injections/di-container.abstract");
|
|
55
53
|
Object.defineProperty(exports, "DiContainerAbstract", { enumerable: true, get: function () { return di_container_abstract_1.DiContainerAbstract; } });
|
|
56
54
|
var body_parser_middleware_1 = require("./setup/server/body-parser-middleware");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlantjs/backend",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"test:unit:cov": "yarn test:unit --coverage --runInBand"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlantjs/arch": "^4.1.
|
|
35
|
+
"@atlantjs/arch": "^4.1.6",
|
|
36
36
|
"body-parser": "^1.20.3",
|
|
37
37
|
"class-transformer": "^0.5.1",
|
|
38
38
|
"class-validator": "^0.14.1",
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.diContainer =
|
|
3
|
+
exports.diContainer = void 0;
|
|
4
4
|
exports.startContainer = startContainer;
|
|
5
|
-
const container_1 = require("./container");
|
|
6
5
|
const di_container_1 = require("./di-container");
|
|
7
6
|
const routing_controllers_1 = require("routing-controllers");
|
|
8
7
|
function startContainer() {
|
|
9
|
-
container_1.Container.useStorage(di_container_1.diContainer);
|
|
10
8
|
(0, routing_controllers_1.useContainer)(di_container_1.diContainer);
|
|
11
9
|
}
|
|
12
|
-
var container_2 = require("./container");
|
|
13
|
-
Object.defineProperty(exports, "Container", { enumerable: true, get: function () { return container_2.Container; } });
|
|
14
10
|
var di_container_2 = require("./di-container");
|
|
15
11
|
Object.defineProperty(exports, "diContainer", { enumerable: true, get: function () { return di_container_2.diContainer; } });
|