1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var DecoratorConfig = (function () {
|
4 | function DecoratorConfig(execute, applicator, options) {
|
5 | if (options === void 0) { options = {}; }
|
6 | this.execute = execute;
|
7 | this.applicator = applicator;
|
8 | this.options = options;
|
9 | }
|
10 | Object.defineProperty(DecoratorConfig.prototype, "bound", {
|
11 | get: function () {
|
12 | return this.options.bound != null ? this.options.bound : false;
|
13 | },
|
14 | enumerable: true,
|
15 | configurable: true
|
16 | });
|
17 | Object.defineProperty(DecoratorConfig.prototype, "setter", {
|
18 | get: function () {
|
19 | return this.options.setter != null ? this.options.setter : false;
|
20 | },
|
21 | enumerable: true,
|
22 | configurable: true
|
23 | });
|
24 | Object.defineProperty(DecoratorConfig.prototype, "getter", {
|
25 | get: function () {
|
26 | return this.options.getter != null ? this.options.getter : false;
|
27 | },
|
28 | enumerable: true,
|
29 | configurable: true
|
30 | });
|
31 | Object.defineProperty(DecoratorConfig.prototype, "property", {
|
32 | get: function () {
|
33 | return this.options.property != null ? this.options.property : false;
|
34 | },
|
35 | enumerable: true,
|
36 | configurable: true
|
37 | });
|
38 | Object.defineProperty(DecoratorConfig.prototype, "method", {
|
39 | get: function () {
|
40 | return this.options.method != null ? this.options.method : true;
|
41 | },
|
42 | enumerable: true,
|
43 | configurable: true
|
44 | });
|
45 | Object.defineProperty(DecoratorConfig.prototype, "optionalParams", {
|
46 | get: function () {
|
47 | return this.options.optionalParams != null ? this.options.optionalParams : false;
|
48 | },
|
49 | enumerable: true,
|
50 | configurable: true
|
51 | });
|
52 | return DecoratorConfig;
|
53 | }());
|
54 | exports.DecoratorConfig = DecoratorConfig;
|
55 |
|
\ | No newline at end of file |