web_api_base 3.6.8 → 3.7.0

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.
Files changed (65) hide show
  1. package/dist/Application.d.ts +24 -24
  2. package/dist/Application.js +449 -421
  3. package/dist/Application.js.map +1 -1
  4. package/dist/ApplicationConfiguration.d.ts +18 -18
  5. package/dist/ApplicationConfiguration.js +126 -126
  6. package/dist/bin/CreateApplication.d.ts +1 -1
  7. package/dist/bin/CreateApplication.js +16 -16
  8. package/dist/bin/CreateController.d.ts +1 -1
  9. package/dist/bin/CreateController.js +21 -21
  10. package/dist/controllers/base/ControllerBase.d.ts +19 -19
  11. package/dist/controllers/base/ControllerBase.js +46 -46
  12. package/dist/decorators/controllers/ControllerDecorators.d.ts +50 -46
  13. package/dist/decorators/controllers/ControllerDecorators.js +172 -166
  14. package/dist/decorators/controllers/ControllerDecorators.js.map +1 -1
  15. package/dist/decorators/documentation/DocumentationDecorators.d.ts +17 -17
  16. package/dist/decorators/documentation/DocumentationDecorators.js +38 -38
  17. package/dist/decorators/validations/ValidationDecorators.d.ts +53 -53
  18. package/dist/decorators/validations/ValidationDecorators.js +180 -180
  19. package/dist/decorators/validations/ValidationDecorators.js.map +1 -1
  20. package/dist/dependencyInjection/DependecyService.d.ts +28 -28
  21. package/dist/dependencyInjection/DependecyService.js +135 -135
  22. package/dist/dependencyInjection/DependecyService.js.map +1 -1
  23. package/dist/dependencyInjection/IDIContext.d.ts +7 -7
  24. package/dist/dependencyInjection/IDIContext.js +2 -2
  25. package/dist/documentation/CSS.d.ts +6 -6
  26. package/dist/documentation/CSS.js +18 -18
  27. package/dist/documentation/CSS.js.map +1 -1
  28. package/dist/documentation/Documentation.d.ts +7 -7
  29. package/dist/documentation/Documentation.js +80 -80
  30. package/dist/documentation/HTML.d.ts +4 -4
  31. package/dist/documentation/HTML.js +13 -13
  32. package/dist/documentation/HTML.js.map +1 -1
  33. package/dist/documentation/JS.d.ts +5 -5
  34. package/dist/documentation/JS.js +36 -34
  35. package/dist/documentation/JS.js.map +1 -1
  36. package/dist/enums/httpVerbs/HttpVerbs.d.ts +6 -6
  37. package/dist/enums/httpVerbs/HttpVerbs.js +10 -10
  38. package/dist/enums/httpVerbs/HttpVerbs.js.map +1 -1
  39. package/dist/exceptions/ArgumentNullException.d.ts +3 -3
  40. package/dist/exceptions/ArgumentNullException.js +9 -9
  41. package/dist/exceptions/ControllerLoadException.d.ts +3 -3
  42. package/dist/exceptions/ControllerLoadException.js +9 -9
  43. package/dist/exceptions/Exception.d.ts +4 -4
  44. package/dist/exceptions/Exception.js +9 -9
  45. package/dist/exceptions/FindDependencyException.d.ts +3 -3
  46. package/dist/exceptions/FindDependencyException.js +9 -9
  47. package/dist/index.d.ts +47 -45
  48. package/dist/index.js +155 -147
  49. package/dist/index.js.map +1 -1
  50. package/dist/interfaces/IApplication.d.ts +13 -13
  51. package/dist/interfaces/IApplication.js +2 -2
  52. package/dist/interfaces/IApplicationConfiguration.d.ts +12 -12
  53. package/dist/interfaces/IApplicationConfiguration.js +2 -2
  54. package/dist/interfaces/IController.d.ts +5 -5
  55. package/dist/interfaces/IController.js +2 -2
  56. package/dist/metadata/FunctionAnalizer.d.ts +8 -8
  57. package/dist/metadata/FunctionAnalizer.js +22 -22
  58. package/dist/metadata/OwnMetaDataContainer.d.ts +12 -12
  59. package/dist/metadata/OwnMetaDataContainer.js +32 -32
  60. package/dist/metadata/OwnMetaDataContainer.js.map +1 -1
  61. package/dist/metadata/Type.d.ts +4 -4
  62. package/dist/metadata/Type.js +36 -36
  63. package/dist/midlewares/IMidleware.d.ts +19 -19
  64. package/dist/midlewares/IMidleware.js +2 -2
  65. package/package.json +8 -11
package/dist/index.js CHANGED
@@ -1,148 +1,156 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FromQuery = exports.FromBody = exports.Rule = exports.Regex = exports.Min = exports.Max = exports.MinLenght = exports.MaxLenght = exports.Required = exports.ValidateObject = exports.Validate = exports.InjectAbstract = exports.Inject = exports.Verb = exports.ProducesResponse = exports.RequestJson = exports.Description = exports.DELETE = exports.PUT = exports.POST = exports.GET = exports.Route = exports.Action = exports.RunAfter = exports.UseAfter = exports.RunBefore = exports.UseBefore = exports.DependecyService = exports.Exception = exports.HTTPVerbs = exports.ControllerBase = exports.ControllersDecorators = exports.ApplicationConfiguration = exports.Application = void 0;
7
- var Application_1 = require("./Application");
8
- Object.defineProperty(exports, "Application", { enumerable: true, get: function () { return __importDefault(Application_1).default; } });
9
- var ApplicationConfiguration_1 = require("./ApplicationConfiguration");
10
- Object.defineProperty(exports, "ApplicationConfiguration", { enumerable: true, get: function () { return __importDefault(ApplicationConfiguration_1).default; } });
11
- var ControllerDecorators_1 = require("./decorators/controllers/ControllerDecorators");
12
- Object.defineProperty(exports, "ControllersDecorators", { enumerable: true, get: function () { return __importDefault(ControllerDecorators_1).default; } });
13
- var ControllerBase_1 = require("./controllers/base/ControllerBase");
14
- Object.defineProperty(exports, "ControllerBase", { enumerable: true, get: function () { return ControllerBase_1.ControllerBase; } });
15
- var HttpVerbs_1 = require("./enums/httpVerbs/HttpVerbs");
16
- Object.defineProperty(exports, "HTTPVerbs", { enumerable: true, get: function () { return HttpVerbs_1.HTTPVerbs; } });
17
- var Exception_1 = require("./exceptions/Exception");
18
- Object.defineProperty(exports, "Exception", { enumerable: true, get: function () { return __importDefault(Exception_1).default; } });
19
- var DependecyService_1 = require("./dependencyInjection/DependecyService");
20
- Object.defineProperty(exports, "DependecyService", { enumerable: true, get: function () { return __importDefault(DependecyService_1).default; } });
21
- const ControllerDecorators_2 = __importDefault(require("./decorators/controllers/ControllerDecorators"));
22
- const DocumentationDecorators_1 = require("./decorators/documentation/DocumentationDecorators");
23
- const ValidationDecorators_1 = __importDefault(require("./decorators/validations/ValidationDecorators"));
24
- const DependecyService_2 = __importDefault(require("./dependencyInjection/DependecyService"));
25
- const HttpVerbs_2 = require("./enums/httpVerbs/HttpVerbs");
26
- function UseBefore(midleware) {
27
- return ControllerDecorators_2.default.UseBefore(midleware);
28
- }
29
- exports.UseBefore = UseBefore;
30
- ;
31
- function RunBefore(midleware) {
32
- return ControllerDecorators_2.default.RunBefore(midleware);
33
- }
34
- exports.RunBefore = RunBefore;
35
- ;
36
- function UseAfter(resultHandler) {
37
- return ControllerDecorators_2.default.UseAfter(resultHandler);
38
- }
39
- exports.UseAfter = UseAfter;
40
- ;
41
- function RunAfter(resultHandler) {
42
- return ControllerDecorators_2.default.RunAfter(resultHandler);
43
- }
44
- exports.RunAfter = RunAfter;
45
- ;
46
- function Action(actionName) {
47
- return ControllerDecorators_2.default.Action(actionName);
48
- }
49
- exports.Action = Action;
50
- ;
51
- function Route(route) {
52
- return ControllerDecorators_2.default.Route(route);
53
- }
54
- exports.Route = Route;
55
- ;
56
- function GET(action) {
57
- return ControllerDecorators_2.default.Verb(HttpVerbs_2.HTTPVerbs.GET, action);
58
- }
59
- exports.GET = GET;
60
- ;
61
- function POST(action) {
62
- return ControllerDecorators_2.default.Verb(HttpVerbs_2.HTTPVerbs.POST, action);
63
- }
64
- exports.POST = POST;
65
- ;
66
- function PUT(action) {
67
- return ControllerDecorators_2.default.Verb(HttpVerbs_2.HTTPVerbs.PUT, action);
68
- }
69
- exports.PUT = PUT;
70
- ;
71
- function DELETE(action) {
72
- return ControllerDecorators_2.default.Verb(HttpVerbs_2.HTTPVerbs.DELETE, action);
73
- }
74
- exports.DELETE = DELETE;
75
- ;
76
- function Description(description) {
77
- return DocumentationDecorators_1.DocumentationDecorators.Description(description);
78
- }
79
- exports.Description = Description;
80
- ;
81
- function RequestJson(json) {
82
- return DocumentationDecorators_1.DocumentationDecorators.RequestJson(json);
83
- }
84
- exports.RequestJson = RequestJson;
85
- ;
86
- function ProducesResponse(response) {
87
- return DocumentationDecorators_1.DocumentationDecorators.ProducesResponse(response);
88
- }
89
- exports.ProducesResponse = ProducesResponse;
90
- ;
91
- function Verb(verb) {
92
- return ControllerDecorators_2.default.Verb(verb);
93
- }
94
- exports.Verb = Verb;
95
- ;
96
- function Inject() {
97
- return DependecyService_2.default.Injectable();
98
- }
99
- exports.Inject = Inject;
100
- function InjectAbstract(cTor) {
101
- return DependecyService_2.default.InjectOne(cTor);
102
- }
103
- exports.InjectAbstract = InjectAbstract;
104
- function Validate() {
105
- return ControllerDecorators_2.default.Validate();
106
- }
107
- exports.Validate = Validate;
108
- function ValidateObject(obj) {
109
- return ValidationDecorators_1.default.Validate(obj);
110
- }
111
- exports.ValidateObject = ValidateObject;
112
- function Required(message) {
113
- return ValidationDecorators_1.default.Required(message);
114
- }
115
- exports.Required = Required;
116
- function MaxLenght(max, message) {
117
- return ValidationDecorators_1.default.MaxLenght(max, message);
118
- }
119
- exports.MaxLenght = MaxLenght;
120
- function MinLenght(min, message) {
121
- return ValidationDecorators_1.default.MinLenght(min, message);
122
- }
123
- exports.MinLenght = MinLenght;
124
- function Max(max, message) {
125
- return ValidationDecorators_1.default.MaxValue(max, message);
126
- }
127
- exports.Max = Max;
128
- function Min(min, message) {
129
- return ValidationDecorators_1.default.MinValue(min, message);
130
- }
131
- exports.Min = Min;
132
- function Regex(regex, message) {
133
- return ValidationDecorators_1.default.Regex(regex, message);
134
- }
135
- exports.Regex = Regex;
136
- function Rule(action, message) {
137
- return ValidationDecorators_1.default.Rule(action, message);
138
- }
139
- exports.Rule = Rule;
140
- function FromBody(paramName) {
141
- return ControllerDecorators_2.default.FromBody(paramName);
142
- }
143
- exports.FromBody = FromBody;
144
- function FromQuery(paramName) {
145
- return ControllerDecorators_2.default.FromQuery(paramName);
146
- }
147
- exports.FromQuery = FromQuery;
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.FromQuery = exports.RequiredFromQueryArg = exports.FromBody = exports.RequiredFromBodyArg = exports.Rule = exports.Regex = exports.Min = exports.Max = exports.MinLenght = exports.MaxLenght = exports.Required = exports.ValidateObject = exports.Validate = exports.InjectAbstract = exports.Inject = exports.Verb = exports.ProducesResponse = exports.RequestJson = exports.Description = exports.DELETE = exports.PUT = exports.POST = exports.GET = exports.Route = exports.Action = exports.RunAfter = exports.UseAfter = exports.RunBefore = exports.UseBefore = exports.DependecyService = exports.Exception = exports.HTTPVerbs = exports.ControllerBase = exports.ControllersDecorators = exports.ApplicationConfiguration = exports.Application = void 0;
7
+ var Application_1 = require("./Application");
8
+ Object.defineProperty(exports, "Application", { enumerable: true, get: function () { return __importDefault(Application_1).default; } });
9
+ var ApplicationConfiguration_1 = require("./ApplicationConfiguration");
10
+ Object.defineProperty(exports, "ApplicationConfiguration", { enumerable: true, get: function () { return __importDefault(ApplicationConfiguration_1).default; } });
11
+ var ControllerDecorators_1 = require("./decorators/controllers/ControllerDecorators");
12
+ Object.defineProperty(exports, "ControllersDecorators", { enumerable: true, get: function () { return __importDefault(ControllerDecorators_1).default; } });
13
+ var ControllerBase_1 = require("./controllers/base/ControllerBase");
14
+ Object.defineProperty(exports, "ControllerBase", { enumerable: true, get: function () { return ControllerBase_1.ControllerBase; } });
15
+ var HttpVerbs_1 = require("./enums/httpVerbs/HttpVerbs");
16
+ Object.defineProperty(exports, "HTTPVerbs", { enumerable: true, get: function () { return HttpVerbs_1.HTTPVerbs; } });
17
+ var Exception_1 = require("./exceptions/Exception");
18
+ Object.defineProperty(exports, "Exception", { enumerable: true, get: function () { return __importDefault(Exception_1).default; } });
19
+ var DependecyService_1 = require("./dependencyInjection/DependecyService");
20
+ Object.defineProperty(exports, "DependecyService", { enumerable: true, get: function () { return __importDefault(DependecyService_1).default; } });
21
+ const ControllerDecorators_2 = __importDefault(require("./decorators/controllers/ControllerDecorators"));
22
+ const DocumentationDecorators_1 = require("./decorators/documentation/DocumentationDecorators");
23
+ const ValidationDecorators_1 = __importDefault(require("./decorators/validations/ValidationDecorators"));
24
+ const DependecyService_2 = __importDefault(require("./dependencyInjection/DependecyService"));
25
+ const HttpVerbs_2 = require("./enums/httpVerbs/HttpVerbs");
26
+ function UseBefore(midleware) {
27
+ return ControllerDecorators_2.default.UseBefore(midleware);
28
+ }
29
+ exports.UseBefore = UseBefore;
30
+ ;
31
+ function RunBefore(midleware) {
32
+ return ControllerDecorators_2.default.RunBefore(midleware);
33
+ }
34
+ exports.RunBefore = RunBefore;
35
+ ;
36
+ function UseAfter(resultHandler) {
37
+ return ControllerDecorators_2.default.UseAfter(resultHandler);
38
+ }
39
+ exports.UseAfter = UseAfter;
40
+ ;
41
+ function RunAfter(resultHandler) {
42
+ return ControllerDecorators_2.default.RunAfter(resultHandler);
43
+ }
44
+ exports.RunAfter = RunAfter;
45
+ ;
46
+ function Action(actionName) {
47
+ return ControllerDecorators_2.default.Action(actionName);
48
+ }
49
+ exports.Action = Action;
50
+ ;
51
+ function Route(route) {
52
+ return ControllerDecorators_2.default.Route(route);
53
+ }
54
+ exports.Route = Route;
55
+ ;
56
+ function GET(action) {
57
+ return ControllerDecorators_2.default.Verb(HttpVerbs_2.HTTPVerbs.GET, action);
58
+ }
59
+ exports.GET = GET;
60
+ ;
61
+ function POST(action) {
62
+ return ControllerDecorators_2.default.Verb(HttpVerbs_2.HTTPVerbs.POST, action);
63
+ }
64
+ exports.POST = POST;
65
+ ;
66
+ function PUT(action) {
67
+ return ControllerDecorators_2.default.Verb(HttpVerbs_2.HTTPVerbs.PUT, action);
68
+ }
69
+ exports.PUT = PUT;
70
+ ;
71
+ function DELETE(action) {
72
+ return ControllerDecorators_2.default.Verb(HttpVerbs_2.HTTPVerbs.DELETE, action);
73
+ }
74
+ exports.DELETE = DELETE;
75
+ ;
76
+ function Description(description) {
77
+ return DocumentationDecorators_1.DocumentationDecorators.Description(description);
78
+ }
79
+ exports.Description = Description;
80
+ ;
81
+ function RequestJson(json) {
82
+ return DocumentationDecorators_1.DocumentationDecorators.RequestJson(json);
83
+ }
84
+ exports.RequestJson = RequestJson;
85
+ ;
86
+ function ProducesResponse(response) {
87
+ return DocumentationDecorators_1.DocumentationDecorators.ProducesResponse(response);
88
+ }
89
+ exports.ProducesResponse = ProducesResponse;
90
+ ;
91
+ function Verb(verb) {
92
+ return ControllerDecorators_2.default.Verb(verb);
93
+ }
94
+ exports.Verb = Verb;
95
+ ;
96
+ function Inject() {
97
+ return DependecyService_2.default.Injectable();
98
+ }
99
+ exports.Inject = Inject;
100
+ function InjectAbstract(cTor) {
101
+ return DependecyService_2.default.InjectOne(cTor);
102
+ }
103
+ exports.InjectAbstract = InjectAbstract;
104
+ function Validate() {
105
+ return ControllerDecorators_2.default.Validate();
106
+ }
107
+ exports.Validate = Validate;
108
+ function ValidateObject(obj) {
109
+ return ValidationDecorators_1.default.Validate(obj);
110
+ }
111
+ exports.ValidateObject = ValidateObject;
112
+ function Required(message) {
113
+ return ValidationDecorators_1.default.Required(message);
114
+ }
115
+ exports.Required = Required;
116
+ function MaxLenght(max, message) {
117
+ return ValidationDecorators_1.default.MaxLenght(max, message);
118
+ }
119
+ exports.MaxLenght = MaxLenght;
120
+ function MinLenght(min, message) {
121
+ return ValidationDecorators_1.default.MinLenght(min, message);
122
+ }
123
+ exports.MinLenght = MinLenght;
124
+ function Max(max, message) {
125
+ return ValidationDecorators_1.default.MaxValue(max, message);
126
+ }
127
+ exports.Max = Max;
128
+ function Min(min, message) {
129
+ return ValidationDecorators_1.default.MinValue(min, message);
130
+ }
131
+ exports.Min = Min;
132
+ function Regex(regex, message) {
133
+ return ValidationDecorators_1.default.Regex(regex, message);
134
+ }
135
+ exports.Regex = Regex;
136
+ function Rule(action, message) {
137
+ return ValidationDecorators_1.default.Rule(action, message);
138
+ }
139
+ exports.Rule = Rule;
140
+ function RequiredFromBodyArg(paramName) {
141
+ return ControllerDecorators_2.default.RequiredFromBodyArg(paramName);
142
+ }
143
+ exports.RequiredFromBodyArg = RequiredFromBodyArg;
144
+ function FromBody(paramName) {
145
+ return ControllerDecorators_2.default.FromBody(paramName);
146
+ }
147
+ exports.FromBody = FromBody;
148
+ function RequiredFromQueryArg(paramName) {
149
+ return ControllerDecorators_2.default.RequiredFromQueryArg(paramName);
150
+ }
151
+ exports.RequiredFromQueryArg = RequiredFromQueryArg;
152
+ function FromQuery(paramName) {
153
+ return ControllerDecorators_2.default.FromQuery(paramName);
154
+ }
155
+ exports.FromQuery = FromQuery;
148
156
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;AAAA,6CAAsD;AAA7C,2HAAA,OAAO,OAAe;AAC/B,uEAAiF;AAAxE,qJAAA,OAAO,OAA4B;AAE5C,sFAAiG;AAAxF,8IAAA,OAAO,OAAyB;AACzC,oEAAmE;AAA1D,gHAAA,cAAc,OAAA;AAEvB,yDAAwD;AAA/C,sGAAA,SAAS,OAAA;AAElB,oDAA8D;AAArD,uHAAA,OAAO,OAAa;AAE7B,2EAAqF;AAA5E,qIAAA,OAAO,OAAoB;AAQpC,yGAAkF;AAClF,gGAA6F;AAC7F,yGAAiF;AACjF,8FAAsE;AACtE,2DAAwD;AAGxD,SAAgB,SAAS,CAAC,SAAsB;IAE5C,OAAO,8BAAqB,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;AACtD,CAAC;AAHD,8BAGC;AAAC,CAAC;AAEH,SAAgB,SAAS,CAAC,SAAsB;IAE5C,OAAO,8BAAqB,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;AACtD,CAAC;AAHD,8BAGC;AAAC,CAAC;AAEH,SAAgB,QAAQ,CAAC,aAAqC;IAE1D,OAAO,8BAAqB,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AACzD,CAAC;AAHD,4BAGC;AAAC,CAAC;AAEH,SAAgB,QAAQ,CAAC,aAAqC;IAE1D,OAAO,8BAAqB,CAAC,QAAQ,CAAC,aAAa,CAAC,C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ED,SAAgB,GAAG,CAAC,GAAY,EAAE,OAAgB;IAE9C,OAAO,8BAAoB,CAAC,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AACvD,CAAC;AAHD,kBAGC;AAED,SAAgB,GAAG,CAAC,GAAY,EAAE,OAAgB;IAE9C,OAAO,8BAAoB,CAAC,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AACvD,CAAC;AAHD,kBAGC;AAED,SAAgB,KAAK,CAAC,KAAa,EAAE,OAAgB;IAEjD,OAAO,8BAAoB,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACtD,CAAC;AAHD,sBAGC;AAED,SAAgB,IAAI,CAAI,MAA0B,EAAE,OAAgB;IAEhE,OAAO,8BAAoB,CAAC,IAAI,CAAI,MAAM,EAAE,OAAO,CAAC,CAAC;AACzD,CAAC;AAHD,oBAGC;AAED,SAAgB,mBAAmB,CAAC,SAAmB;IAEnD,OAAO,8BAAqB,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;AAChE,CAAC;AAHD,kDAGC;AAED,SAAgB,QAAQ,CAAC,SAAmB;IAExC,OAAO,8BAAqB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AACrD,CAAC;AAHD,4BAGC;AAED,SAAgB,oBAAoB,CAAC,SAAmB;IAEpD,OAAO,8BAAqB,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC;AACjE,CAAC;AAHD,oDAGC;AAED,SAAgB,SAAS,CAAC,SAAmB;IAEzC,OAAO,8BAAqB,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;AACtD,CAAC;AAHD,8BAGC"}
@@ -1,13 +1,13 @@
1
- import { Express, Request, Response } from "express";
2
- import IApplicationConfiguration from './IApplicationConfiguration';
3
- import Exception from "../exceptions/Exception";
4
- export default interface IApplication {
5
- Express: Express;
6
- ApplicationThreadExeptionHandler?: ApplicationExceptionHandler;
7
- StartAsync(): Promise<void>;
8
- ConfigureAsync(appConfig: IApplicationConfiguration): Promise<void>;
9
- CreateDocumentation(): void;
10
- }
11
- export interface ApplicationExceptionHandler {
12
- (request: Request, response: Response, exception: Exception): void;
13
- }
1
+ import { Express, Request, Response } from "express";
2
+ import IApplicationConfiguration from './IApplicationConfiguration';
3
+ import Exception from "../exceptions/Exception";
4
+ export default interface IApplication {
5
+ Express: Express;
6
+ ApplicationThreadExeptionHandler?: ApplicationExceptionHandler;
7
+ StartAsync(): Promise<void>;
8
+ ConfigureAsync(appConfig: IApplicationConfiguration): Promise<void>;
9
+ CreateDocumentation(): void;
10
+ }
11
+ export interface ApplicationExceptionHandler {
12
+ (request: Request, response: Response, exception: Exception): void;
13
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=IApplication.js.map
@@ -1,12 +1,12 @@
1
- export default interface IApplicationConfiguration {
2
- Host: string;
3
- Port: number;
4
- RootPath: string;
5
- DEBUG: boolean;
6
- EnviromentVariables: {
7
- [key: string]: any;
8
- };
9
- AddScoped(type: Function, ctor?: (new (...args: any[]) => any) | undefined, builder?: (() => any) | undefined): void;
10
- AddTransient(type: Function, ctor?: (new (...args: any[]) => any) | undefined, builder?: (() => any) | undefined): void;
11
- AddSingleton(type: Function, ctor?: (new (...args: any[]) => any) | undefined, builder?: (() => any) | undefined): void;
12
- }
1
+ export default interface IApplicationConfiguration {
2
+ Host: string;
3
+ Port: number;
4
+ RootPath: string;
5
+ DEBUG: boolean;
6
+ EnviromentVariables: {
7
+ [key: string]: any;
8
+ };
9
+ AddScoped(type: Function, ctor?: (new (...args: any[]) => any) | undefined, builder?: (() => any) | undefined): void;
10
+ AddTransient(type: Function, ctor?: (new (...args: any[]) => any) | undefined, builder?: (() => any) | undefined): void;
11
+ AddSingleton(type: Function, ctor?: (new (...args: any[]) => any) | undefined, builder?: (() => any) | undefined): void;
12
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=IApplicationConfiguration.js.map
@@ -1,5 +1,5 @@
1
- import { Request, Response } from 'express';
2
- export default interface IController {
3
- Request: Request;
4
- Response: Response;
5
- }
1
+ import { Request, Response } from 'express';
2
+ export default interface IController {
3
+ Request: Request;
4
+ Response: Response;
5
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=IController.js.map
@@ -1,8 +1,8 @@
1
- export default class FunctionAnalizer {
2
- static ExtractParamsList(target: Object, func: Function): ArgumentOfFunction[];
3
- }
4
- export interface ArgumentOfFunction {
5
- Name: string;
6
- Index: number;
7
- Type: Function;
8
- }
1
+ export default class FunctionAnalizer {
2
+ static ExtractParamsList(target: Object, func: Function): ArgumentOfFunction[];
3
+ }
4
+ export interface ArgumentOfFunction {
5
+ Name: string;
6
+ Index: number;
7
+ Type: Function;
8
+ }
@@ -1,23 +1,23 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- class FunctionAnalizer {
4
- static ExtractParamsList(target, func) {
5
- let init = func.toString().indexOf('(');
6
- let end = func.toString().indexOf(')');
7
- let args = func.toString().substring(init + 1, end);
8
- let argsAndTypes = [];
9
- if (args.trim().length == 0)
10
- return argsAndTypes;
11
- let params = Reflect.getMetadata("design:paramtypes", target, func.name);
12
- args.split(',').forEach((p, i) => {
13
- argsAndTypes.push({
14
- Name: p.trim(),
15
- Index: i,
16
- Type: params[i]
17
- });
18
- });
19
- return argsAndTypes;
20
- }
21
- }
22
- exports.default = FunctionAnalizer;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class FunctionAnalizer {
4
+ static ExtractParamsList(target, func) {
5
+ let init = func.toString().indexOf('(');
6
+ let end = func.toString().indexOf(')');
7
+ let args = func.toString().substring(init + 1, end);
8
+ let argsAndTypes = [];
9
+ if (args.trim().length == 0)
10
+ return argsAndTypes;
11
+ let params = Reflect.getMetadata("design:paramtypes", target, func.name);
12
+ args.split(',').forEach((p, i) => {
13
+ argsAndTypes.push({
14
+ Name: p.trim(),
15
+ Index: i,
16
+ Type: params[i]
17
+ });
18
+ });
19
+ return argsAndTypes;
20
+ }
21
+ }
22
+ exports.default = FunctionAnalizer;
23
23
  //# sourceMappingURL=FunctionAnalizer.js.map
@@ -1,12 +1,12 @@
1
- export default class OwnMetaDataContainer {
2
- private static _metadas;
3
- static Get(target: any, key: string, member?: string): IMetaData | undefined;
4
- static Set(target: Function, key: string, member?: string, value?: any): void;
5
- private static TryFindCtor;
6
- }
7
- export interface IMetaData {
8
- CTor: Function;
9
- Member?: string;
10
- Key: string;
11
- Value?: any;
12
- }
1
+ export default class OwnMetaDataContainer {
2
+ private static _metadas;
3
+ static Get(target: any, key: string, member?: string): IMetaData | undefined;
4
+ static Set(target: Function, key: string, member?: string, value?: any): void;
5
+ private static TryFindCtor;
6
+ }
7
+ export interface IMetaData {
8
+ CTor: Function;
9
+ Member?: string;
10
+ Key: string;
11
+ Value?: any;
12
+ }
@@ -1,33 +1,33 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- class OwnMetaDataContainer {
4
- static Get(target, key, member) {
5
- let meta = this._metadas.filter(s => s.Key == key && OwnMetaDataContainer.TryFindCtor(s.CTor, target) && (s.Member == member || (s.Member == undefined && member == undefined)));
6
- if (meta && meta.length > 0)
7
- return meta[0];
8
- return undefined;
9
- }
10
- static Set(target, key, member, value) {
11
- let meta = this.Get(target, key, member);
12
- if (meta) {
13
- meta.Value = value;
14
- }
15
- else {
16
- this._metadas.push({
17
- CTor: target,
18
- Key: key,
19
- Member: member,
20
- Value: value
21
- });
22
- }
23
- }
24
- static TryFindCtor(cTor, target) {
25
- let sameType = cTor == target || cTor == target.constructor;
26
- let sameProto = (target.prototype && target.prototype.constructor == cTor);
27
- let sameAssign = (target.prototype && target.prototype.constructor.toString() == cTor.toString());
28
- return sameType || sameProto || sameAssign;
29
- }
30
- }
31
- exports.default = OwnMetaDataContainer;
32
- OwnMetaDataContainer._metadas = [];
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class OwnMetaDataContainer {
4
+ static Get(target, key, member) {
5
+ let meta = this._metadas.filter(s => s.Key == key && OwnMetaDataContainer.TryFindCtor(s.CTor, target) && (s.Member == member || (s.Member == undefined && member == undefined)));
6
+ if (meta && meta.length > 0)
7
+ return meta[0];
8
+ return undefined;
9
+ }
10
+ static Set(target, key, member, value) {
11
+ let meta = this.Get(target, key, member);
12
+ if (meta) {
13
+ meta.Value = value;
14
+ }
15
+ else {
16
+ this._metadas.push({
17
+ CTor: target,
18
+ Key: key,
19
+ Member: member,
20
+ Value: value
21
+ });
22
+ }
23
+ }
24
+ static TryFindCtor(cTor, target) {
25
+ let sameType = cTor == target || cTor == target.constructor;
26
+ let sameProto = (target.prototype && target.prototype.constructor == cTor);
27
+ let sameAssign = (target.prototype && target.prototype.constructor.toString() == cTor.toString());
28
+ return sameType || sameProto || sameAssign;
29
+ }
30
+ }
31
+ OwnMetaDataContainer._metadas = [];
32
+ exports.default = OwnMetaDataContainer;
33
33
  //# sourceMappingURL=OwnMetaDataContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OwnMetaDataContainer.js","sourceRoot":"","sources":["../../metadata/OwnMetaDataContainer.ts"],"names":[],"mappings":";;AAAA,MAAqB,oBAAoB;IAI9B,MAAM,CAAC,GAAG,CAAC,MAAY,EAAE,GAAY,EAAE,MAAgB;QAE1D,IAAI,IAAI,GAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,IAAI,oBAAoB,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,EA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AAI,IAAI,CAAC,CAAC;QAC3E,IAAI,UAAU,GAAG,CAAC,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,SAAS,CAAC,WAAW,CAAC,QAAQ,EAAE,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAElG,OAAO,QAAQ,IAAI,SAAS,IAAI,UAAU,CAAC;IAC/C,CAAC;;AAvCe,6BAAQ,GAAiB,EAAE,CAAC;kBAF3B,oBAAoB"}
@@ -1,4 +1,4 @@
1
- export default class Type {
2
- static CreateTemplateFrom<T extends object>(ctor: new (...args: any[]) => T): T;
3
- static FillObject<T extends object>(obj: T): T;
4
- }
1
+ export default class Type {
2
+ static CreateTemplateFrom<T extends object>(ctor: new (...args: any[]) => T): T;
3
+ static FillObject<T extends object>(obj: T): T;
4
+ }