@loopback/boot 4.1.1 → 5.0.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.
Files changed (104) hide show
  1. package/LICENSE +1 -1
  2. package/dist/.sandbox/{271754jFg5k → 94669f2slbP}/service-provider.artifact.js +2 -2
  3. package/dist/.sandbox/{27178Ssz1lo → 94669w9TEAs}/datasource.artifact.js +2 -2
  4. package/dist/.sandbox/{27170qWM8MC → 94670OmxnbU}/multiple.artifact.js +10 -10
  5. package/dist/.sandbox/{27169c18IFx → 94671F39ajR}/multiple.artifact.js +10 -10
  6. package/dist/.sandbox/{27167u6gF3i → 94672VHZj5R}/application.js +2 -2
  7. package/dist/.sandbox/{271725xSKQe → 94672VHZj5R}/datasources/db.datasource.js +2 -2
  8. package/dist/.sandbox/{27177T2Bgfw → 94673ylnsBz}/dist/application.js +2 -2
  9. package/dist/.sandbox/{27177T2Bgfw → 94673ylnsBz}/package.json +1 -1
  10. package/dist/.sandbox/{27174LpE8TX → 94674512amx}/application.js +2 -2
  11. package/dist/.sandbox/{27174LpE8TX → 94674512amx}/controllers/multiple.controller.js +10 -10
  12. package/dist/.sandbox/{27173rr0uBH → 94674512amx}/package.json +1 -1
  13. package/dist/.sandbox/{27171jlbogf → 94675YSvRLc}/application.js +2 -2
  14. package/dist/.sandbox/{27171jlbogf → 94675YSvRLc}/repositories/multiple.repository.js +10 -10
  15. package/dist/.sandbox/{27178ds8xWF → 94675hLi3ve}/model-endpoints/no-entity.rest-config.js +0 -0
  16. package/dist/.sandbox/{27178ds8xWF → 94675hLi3ve}/models/no-entity.model.js +7 -7
  17. package/dist/.sandbox/{271725xSKQe → 946772Te6iJ}/application.js +2 -2
  18. package/dist/.sandbox/{27181HsdZzG → 946772Te6iJ}/models/multiple-models.model.js +2 -2
  19. package/dist/.sandbox/{27181HsdZzG → 946772Te6iJ}/models/no-entity.model.js +7 -7
  20. package/dist/.sandbox/{27171KciNNj → 946772Te6iJ}/models/product.model.js +7 -7
  21. package/dist/.sandbox/94678A6chHI/application.js +20 -0
  22. package/dist/.sandbox/{27179LZZayH → 94678A6chHI}/observers/lifecycle-observer.observer.js +2 -2
  23. package/dist/.sandbox/94679Ud3H9L/application.js +20 -0
  24. package/dist/.sandbox/{27180Od24vy → 94679Ud3H9L}/controllers/multiple.controller.js +10 -10
  25. package/dist/.sandbox/94680Q9hcOU/application.js +20 -0
  26. package/dist/.sandbox/{27167u6gF3i → 94680Q9hcOU}/services/bindable-classes.service.js +14 -14
  27. package/dist/.sandbox/{27167u6gF3i → 94680Q9hcOU}/services/date.service.js +2 -2
  28. package/dist/.sandbox/{27167u6gF3i → 94680Q9hcOU}/services/geocoder.service.js +2 -2
  29. package/dist/.sandbox/{27167u6gF3i → 94680Q9hcOU}/services/greeting.service.js +2 -2
  30. package/dist/.sandbox/{27171KciNNj → 94680ZGr7bW}/model-endpoints/product.rest-config.js +0 -0
  31. package/dist/.sandbox/{27181HsdZzG → 94680ZGr7bW}/models/product.model.js +7 -7
  32. package/dist/.sandbox/{27173rr0uBH → 94681rsDXu3}/application.js +2 -2
  33. package/dist/.sandbox/{27173rr0uBH → 94681rsDXu3}/controllers/multiple.controller.js +10 -10
  34. package/dist/.sandbox/{27174LpE8TX → 94681rsDXu3}/package.json +1 -1
  35. package/dist/.sandbox/94682y4dQiu/application.js +20 -0
  36. package/dist/.sandbox/{27176NC4S4p → 94682y4dQiu}/interceptors/interceptor.interceptor.js +3 -3
  37. package/dist/.sandbox/{27176NC4S4p → 94682y4dQiu}/interceptors/non-global-interceptor.interceptor.js +3 -3
  38. package/dist/boot.component.js +4 -4
  39. package/dist/boot.component.js.map +1 -1
  40. package/dist/booters/application-metadata.booter.js +7 -7
  41. package/dist/booters/application-metadata.booter.js.map +1 -1
  42. package/dist/booters/base-artifact.booter.js +3 -3
  43. package/dist/booters/base-artifact.booter.js.map +1 -1
  44. package/dist/booters/booter-utils.js +3 -3
  45. package/dist/booters/booter-utils.js.map +1 -1
  46. package/dist/booters/component-application.booter.js +5 -5
  47. package/dist/booters/component-application.booter.js.map +1 -1
  48. package/dist/booters/controller.booter.js +6 -6
  49. package/dist/booters/controller.booter.js.map +1 -1
  50. package/dist/booters/datasource.booter.js +6 -6
  51. package/dist/booters/datasource.booter.js.map +1 -1
  52. package/dist/booters/index.js +13 -13
  53. package/dist/booters/index.js.map +1 -1
  54. package/dist/booters/interceptor.booter.js +7 -7
  55. package/dist/booters/interceptor.booter.js.map +1 -1
  56. package/dist/booters/lifecyle-observer.booter.d.ts +1 -2
  57. package/dist/booters/lifecyle-observer.booter.js +8 -9
  58. package/dist/booters/lifecyle-observer.booter.js.map +1 -1
  59. package/dist/booters/model-api.booter.js +9 -9
  60. package/dist/booters/model-api.booter.js.map +1 -1
  61. package/dist/booters/model.booter.js +7 -7
  62. package/dist/booters/model.booter.js.map +1 -1
  63. package/dist/booters/repository.booter.js +6 -6
  64. package/dist/booters/repository.booter.js.map +1 -1
  65. package/dist/booters/service.booter.js +7 -7
  66. package/dist/booters/service.booter.js.map +1 -1
  67. package/dist/bootstrapper.js +7 -7
  68. package/dist/bootstrapper.js.map +1 -1
  69. package/dist/index.js +7 -7
  70. package/dist/index.js.map +1 -1
  71. package/dist/keys.js +1 -1
  72. package/dist/keys.js.map +1 -1
  73. package/dist/mixins/boot.mixin.d.ts +44 -45
  74. package/dist/mixins/boot.mixin.js +1 -1
  75. package/dist/mixins/boot.mixin.js.map +1 -1
  76. package/dist/mixins/index.js +2 -2
  77. package/dist/mixins/index.js.map +1 -1
  78. package/dist/types.js +1 -1
  79. package/dist/types.js.map +1 -1
  80. package/package.json +19 -19
  81. package/src/boot.component.ts +1 -1
  82. package/src/booters/application-metadata.booter.ts +3 -3
  83. package/src/booters/base-artifact.booter.ts +1 -1
  84. package/src/booters/booter-utils.ts +1 -1
  85. package/src/booters/component-application.booter.ts +1 -1
  86. package/src/booters/controller.booter.ts +2 -2
  87. package/src/booters/datasource.booter.ts +2 -2
  88. package/src/booters/index.ts +1 -1
  89. package/src/booters/interceptor.booter.ts +1 -1
  90. package/src/booters/lifecyle-observer.booter.ts +4 -2
  91. package/src/booters/model-api.booter.ts +1 -1
  92. package/src/booters/model.booter.ts +2 -2
  93. package/src/booters/repository.booter.ts +2 -2
  94. package/src/booters/service.booter.ts +1 -1
  95. package/src/bootstrapper.ts +1 -1
  96. package/src/index.ts +1 -1
  97. package/src/keys.ts +1 -1
  98. package/src/mixins/boot.mixin.ts +4 -8
  99. package/src/mixins/index.ts +1 -1
  100. package/src/types.ts +1 -1
  101. package/dist/.sandbox/27176NC4S4p/application.js +0 -20
  102. package/dist/.sandbox/27179LZZayH/application.js +0 -20
  103. package/dist/.sandbox/27180Od24vy/application.js +0 -20
  104. package/dist/.sandbox/27181HsdZzG/application.js +0 -20
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) IBM Corp. 2018,2019.
1
+ Copyright (c) IBM Corp. and LoopBack contributors 2018,2019.
2
2
  Node module: @loopback/boot
3
3
  This project is licensed under the MIT License, full text below.
4
4
 
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -18,4 +18,4 @@ class GeocoderServiceProvider {
18
18
  }
19
19
  exports.GeocoderServiceProvider = GeocoderServiceProvider;
20
20
  //# sourceMappingURL=service-provider.artifact.js.map
21
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/service-provider.artifact.js.map
21
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/service-provider.artifact.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -14,4 +14,4 @@ class DbDataSource extends repository_1.juggler.DataSource {
14
14
  exports.DbDataSource = DbDataSource;
15
15
  DbDataSource.dataSourceName = 'db';
16
16
  //# sourceMappingURL=datasource.artifact.js.map
17
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/datasource.artifact.js.map
17
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/datasource.artifact.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -12,11 +12,11 @@ class ArtifactOne {
12
12
  return 'ControllerOne.one()';
13
13
  }
14
14
  }
15
- (0, tslib_1.__decorate)([
15
+ tslib_1.__decorate([
16
16
  (0, rest_1.get)('/one'),
17
- (0, tslib_1.__metadata)("design:type", Function),
18
- (0, tslib_1.__metadata)("design:paramtypes", []),
19
- (0, tslib_1.__metadata)("design:returntype", void 0)
17
+ tslib_1.__metadata("design:type", Function),
18
+ tslib_1.__metadata("design:paramtypes", []),
19
+ tslib_1.__metadata("design:returntype", void 0)
20
20
  ], ArtifactOne.prototype, "one", null);
21
21
  exports.ArtifactOne = ArtifactOne;
22
22
  class ArtifactTwo {
@@ -24,11 +24,11 @@ class ArtifactTwo {
24
24
  return 'ControllerTwo.two()';
25
25
  }
26
26
  }
27
- (0, tslib_1.__decorate)([
27
+ tslib_1.__decorate([
28
28
  (0, rest_1.get)('/two'),
29
- (0, tslib_1.__metadata)("design:type", Function),
30
- (0, tslib_1.__metadata)("design:paramtypes", []),
31
- (0, tslib_1.__metadata)("design:returntype", void 0)
29
+ tslib_1.__metadata("design:type", Function),
30
+ tslib_1.__metadata("design:paramtypes", []),
31
+ tslib_1.__metadata("design:returntype", void 0)
32
32
  ], ArtifactTwo.prototype, "two", null);
33
33
  exports.ArtifactTwo = ArtifactTwo;
34
34
  function hello() {
@@ -36,4 +36,4 @@ function hello() {
36
36
  }
37
37
  exports.hello = hello;
38
38
  //# sourceMappingURL=multiple.artifact.js.map
39
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
39
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -12,11 +12,11 @@ class ArtifactOne {
12
12
  return 'ControllerOne.one()';
13
13
  }
14
14
  }
15
- (0, tslib_1.__decorate)([
15
+ tslib_1.__decorate([
16
16
  (0, rest_1.get)('/one'),
17
- (0, tslib_1.__metadata)("design:type", Function),
18
- (0, tslib_1.__metadata)("design:paramtypes", []),
19
- (0, tslib_1.__metadata)("design:returntype", void 0)
17
+ tslib_1.__metadata("design:type", Function),
18
+ tslib_1.__metadata("design:paramtypes", []),
19
+ tslib_1.__metadata("design:returntype", void 0)
20
20
  ], ArtifactOne.prototype, "one", null);
21
21
  exports.ArtifactOne = ArtifactOne;
22
22
  class ArtifactTwo {
@@ -24,11 +24,11 @@ class ArtifactTwo {
24
24
  return 'ControllerTwo.two()';
25
25
  }
26
26
  }
27
- (0, tslib_1.__decorate)([
27
+ tslib_1.__decorate([
28
28
  (0, rest_1.get)('/two'),
29
- (0, tslib_1.__metadata)("design:type", Function),
30
- (0, tslib_1.__metadata)("design:paramtypes", []),
31
- (0, tslib_1.__metadata)("design:returntype", void 0)
29
+ tslib_1.__metadata("design:type", Function),
30
+ tslib_1.__metadata("design:paramtypes", []),
31
+ tslib_1.__metadata("design:returntype", void 0)
32
32
  ], ArtifactTwo.prototype, "two", null);
33
33
  exports.ArtifactTwo = ArtifactTwo;
34
34
  function hello() {
@@ -36,4 +36,4 @@ function hello() {
36
36
  }
37
37
  exports.hello = hello;
38
38
  //# sourceMappingURL=multiple.artifact.js.map
39
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
39
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -17,4 +17,4 @@ class BooterApp extends (0, __1.BootMixin)((0, service_proxy_1.ServiceMixin)((0,
17
17
  }
18
18
  exports.BooterApp = BooterApp;
19
19
  //# sourceMappingURL=application.js.map
20
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
20
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -14,4 +14,4 @@ class DbDataSource extends repository_1.juggler.DataSource {
14
14
  exports.DbDataSource = DbDataSource;
15
15
  DbDataSource.dataSourceName = 'db';
16
16
  //# sourceMappingURL=datasource.artifact.js.map
17
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/datasource.artifact.js.map
17
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/datasource.artifact.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -17,4 +17,4 @@ class BooterApp extends (0, __1.BootMixin)((0, service_proxy_1.ServiceMixin)((0,
17
17
  }
18
18
  exports.BooterApp = BooterApp;
19
19
  //# sourceMappingURL=application.js.map
20
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
20
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
@@ -13,6 +13,6 @@
13
13
  "repository": {
14
14
  "type": "git"
15
15
  },
16
- "author": "IBM Corp.",
16
+ "author": "IBM Corp. and LoopBack contributors",
17
17
  "license": "MIT"
18
18
  }
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -17,4 +17,4 @@ class BooterApp extends (0, __1.BootMixin)((0, service_proxy_1.ServiceMixin)((0,
17
17
  }
18
18
  exports.BooterApp = BooterApp;
19
19
  //# sourceMappingURL=application.js.map
20
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
20
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -12,11 +12,11 @@ class ArtifactOne {
12
12
  return 'ControllerOne.one()';
13
13
  }
14
14
  }
15
- (0, tslib_1.__decorate)([
15
+ tslib_1.__decorate([
16
16
  (0, rest_1.get)('/one'),
17
- (0, tslib_1.__metadata)("design:type", Function),
18
- (0, tslib_1.__metadata)("design:paramtypes", []),
19
- (0, tslib_1.__metadata)("design:returntype", void 0)
17
+ tslib_1.__metadata("design:type", Function),
18
+ tslib_1.__metadata("design:paramtypes", []),
19
+ tslib_1.__metadata("design:returntype", void 0)
20
20
  ], ArtifactOne.prototype, "one", null);
21
21
  exports.ArtifactOne = ArtifactOne;
22
22
  class ArtifactTwo {
@@ -24,11 +24,11 @@ class ArtifactTwo {
24
24
  return 'ControllerTwo.two()';
25
25
  }
26
26
  }
27
- (0, tslib_1.__decorate)([
27
+ tslib_1.__decorate([
28
28
  (0, rest_1.get)('/two'),
29
- (0, tslib_1.__metadata)("design:type", Function),
30
- (0, tslib_1.__metadata)("design:paramtypes", []),
31
- (0, tslib_1.__metadata)("design:returntype", void 0)
29
+ tslib_1.__metadata("design:type", Function),
30
+ tslib_1.__metadata("design:paramtypes", []),
31
+ tslib_1.__metadata("design:returntype", void 0)
32
32
  ], ArtifactTwo.prototype, "two", null);
33
33
  exports.ArtifactTwo = ArtifactTwo;
34
34
  function hello() {
@@ -36,4 +36,4 @@ function hello() {
36
36
  }
37
37
  exports.hello = hello;
38
38
  //# sourceMappingURL=multiple.artifact.js.map
39
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
39
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
@@ -13,6 +13,6 @@
13
13
  "repository": {
14
14
  "type": "git"
15
15
  },
16
- "author": "IBM Corp.",
16
+ "author": "IBM Corp. and LoopBack contributors",
17
17
  "license": "MIT"
18
18
  }
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -17,4 +17,4 @@ class BooterApp extends (0, __1.BootMixin)((0, service_proxy_1.ServiceMixin)((0,
17
17
  }
18
18
  exports.BooterApp = BooterApp;
19
19
  //# sourceMappingURL=application.js.map
20
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
20
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -12,11 +12,11 @@ class ArtifactOne {
12
12
  return 'ControllerOne.one()';
13
13
  }
14
14
  }
15
- (0, tslib_1.__decorate)([
15
+ tslib_1.__decorate([
16
16
  (0, rest_1.get)('/one'),
17
- (0, tslib_1.__metadata)("design:type", Function),
18
- (0, tslib_1.__metadata)("design:paramtypes", []),
19
- (0, tslib_1.__metadata)("design:returntype", void 0)
17
+ tslib_1.__metadata("design:type", Function),
18
+ tslib_1.__metadata("design:paramtypes", []),
19
+ tslib_1.__metadata("design:returntype", void 0)
20
20
  ], ArtifactOne.prototype, "one", null);
21
21
  exports.ArtifactOne = ArtifactOne;
22
22
  class ArtifactTwo {
@@ -24,11 +24,11 @@ class ArtifactTwo {
24
24
  return 'ControllerTwo.two()';
25
25
  }
26
26
  }
27
- (0, tslib_1.__decorate)([
27
+ tslib_1.__decorate([
28
28
  (0, rest_1.get)('/two'),
29
- (0, tslib_1.__metadata)("design:type", Function),
30
- (0, tslib_1.__metadata)("design:paramtypes", []),
31
- (0, tslib_1.__metadata)("design:returntype", void 0)
29
+ tslib_1.__metadata("design:type", Function),
30
+ tslib_1.__metadata("design:paramtypes", []),
31
+ tslib_1.__metadata("design:returntype", void 0)
32
32
  ], ArtifactTwo.prototype, "two", null);
33
33
  exports.ArtifactTwo = ArtifactTwo;
34
34
  function hello() {
@@ -36,4 +36,4 @@ function hello() {
36
36
  }
37
37
  exports.hello = hello;
38
38
  //# sourceMappingURL=multiple.artifact.js.map
39
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
39
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2020. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -9,17 +9,17 @@ const tslib_1 = require("tslib");
9
9
  const repository_1 = require("@loopback/repository");
10
10
  let NoEntity = class NoEntity extends repository_1.Model {
11
11
  };
12
- (0, tslib_1.__decorate)([
12
+ tslib_1.__decorate([
13
13
  (0, repository_1.property)({ id: true }),
14
- (0, tslib_1.__metadata)("design:type", Number)
14
+ tslib_1.__metadata("design:type", Number)
15
15
  ], NoEntity.prototype, "id", void 0);
16
- (0, tslib_1.__decorate)([
16
+ tslib_1.__decorate([
17
17
  (0, repository_1.property)({ required: true }),
18
- (0, tslib_1.__metadata)("design:type", String)
18
+ tslib_1.__metadata("design:type", String)
19
19
  ], NoEntity.prototype, "name", void 0);
20
- NoEntity = (0, tslib_1.__decorate)([
20
+ NoEntity = tslib_1.__decorate([
21
21
  (0, repository_1.model)()
22
22
  ], NoEntity);
23
23
  exports.NoEntity = NoEntity;
24
24
  //# sourceMappingURL=no-entity.model.js.map
25
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/no-entity.model.js.map
25
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/no-entity.model.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -17,4 +17,4 @@ class BooterApp extends (0, __1.BootMixin)((0, service_proxy_1.ServiceMixin)((0,
17
17
  }
18
18
  exports.BooterApp = BooterApp;
19
19
  //# sourceMappingURL=application.js.map
20
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
20
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2020. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -13,4 +13,4 @@ class Model2 extends repository_1.Entity {
13
13
  }
14
14
  exports.Model2 = Model2;
15
15
  //# sourceMappingURL=multiple-models.model.js.map
16
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/multiple-models.model.js.map
16
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/multiple-models.model.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2020. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -9,17 +9,17 @@ const tslib_1 = require("tslib");
9
9
  const repository_1 = require("@loopback/repository");
10
10
  let NoEntity = class NoEntity extends repository_1.Model {
11
11
  };
12
- (0, tslib_1.__decorate)([
12
+ tslib_1.__decorate([
13
13
  (0, repository_1.property)({ id: true }),
14
- (0, tslib_1.__metadata)("design:type", Number)
14
+ tslib_1.__metadata("design:type", Number)
15
15
  ], NoEntity.prototype, "id", void 0);
16
- (0, tslib_1.__decorate)([
16
+ tslib_1.__decorate([
17
17
  (0, repository_1.property)({ required: true }),
18
- (0, tslib_1.__metadata)("design:type", String)
18
+ tslib_1.__metadata("design:type", String)
19
19
  ], NoEntity.prototype, "name", void 0);
20
- NoEntity = (0, tslib_1.__decorate)([
20
+ NoEntity = tslib_1.__decorate([
21
21
  (0, repository_1.model)()
22
22
  ], NoEntity);
23
23
  exports.NoEntity = NoEntity;
24
24
  //# sourceMappingURL=no-entity.model.js.map
25
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/no-entity.model.js.map
25
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/no-entity.model.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -9,17 +9,17 @@ const tslib_1 = require("tslib");
9
9
  const repository_1 = require("@loopback/repository");
10
10
  let Product = class Product extends repository_1.Entity {
11
11
  };
12
- (0, tslib_1.__decorate)([
12
+ tslib_1.__decorate([
13
13
  (0, repository_1.property)({ id: true }),
14
- (0, tslib_1.__metadata)("design:type", Number)
14
+ tslib_1.__metadata("design:type", Number)
15
15
  ], Product.prototype, "id", void 0);
16
- (0, tslib_1.__decorate)([
16
+ tslib_1.__decorate([
17
17
  (0, repository_1.property)({ required: true }),
18
- (0, tslib_1.__metadata)("design:type", String)
18
+ tslib_1.__metadata("design:type", String)
19
19
  ], Product.prototype, "name", void 0);
20
- Product = (0, tslib_1.__decorate)([
20
+ Product = tslib_1.__decorate([
21
21
  (0, repository_1.model)()
22
22
  ], Product);
23
23
  exports.Product = Product;
24
24
  //# sourceMappingURL=product.model.js.map
25
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/product.model.js.map
25
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/product.model.js.map
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
+ // Node module: @loopback/boot
4
+ // This file is licensed under the MIT License.
5
+ // License text available at https://opensource.org/licenses/MIT
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.BooterApp = void 0;
8
+ const repository_1 = require("@loopback/repository");
9
+ const rest_1 = require("@loopback/rest");
10
+ const service_proxy_1 = require("@loopback/service-proxy");
11
+ const __1 = require("../..");
12
+ class BooterApp extends (0, __1.BootMixin)((0, service_proxy_1.ServiceMixin)((0, repository_1.RepositoryMixin)(rest_1.RestApplication))) {
13
+ constructor(options) {
14
+ super(options);
15
+ this.projectRoot = __dirname;
16
+ }
17
+ }
18
+ exports.BooterApp = BooterApp;
19
+ //# sourceMappingURL=application.js.map
20
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2018. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2018. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -30,4 +30,4 @@ class MyLifeCycleObserver {
30
30
  }
31
31
  exports.MyLifeCycleObserver = MyLifeCycleObserver;
32
32
  //# sourceMappingURL=lifecycle-observer.artifact.js.map
33
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/lifecycle-observer.artifact.js.map
33
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/lifecycle-observer.artifact.js.map
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
+ // Node module: @loopback/boot
4
+ // This file is licensed under the MIT License.
5
+ // License text available at https://opensource.org/licenses/MIT
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.BooterApp = void 0;
8
+ const repository_1 = require("@loopback/repository");
9
+ const rest_1 = require("@loopback/rest");
10
+ const service_proxy_1 = require("@loopback/service-proxy");
11
+ const __1 = require("../..");
12
+ class BooterApp extends (0, __1.BootMixin)((0, service_proxy_1.ServiceMixin)((0, repository_1.RepositoryMixin)(rest_1.RestApplication))) {
13
+ constructor(options) {
14
+ super(options);
15
+ this.projectRoot = __dirname;
16
+ }
17
+ }
18
+ exports.BooterApp = BooterApp;
19
+ //# sourceMappingURL=application.js.map
20
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -12,11 +12,11 @@ class ArtifactOne {
12
12
  return 'ControllerOne.one()';
13
13
  }
14
14
  }
15
- (0, tslib_1.__decorate)([
15
+ tslib_1.__decorate([
16
16
  (0, rest_1.get)('/one'),
17
- (0, tslib_1.__metadata)("design:type", Function),
18
- (0, tslib_1.__metadata)("design:paramtypes", []),
19
- (0, tslib_1.__metadata)("design:returntype", void 0)
17
+ tslib_1.__metadata("design:type", Function),
18
+ tslib_1.__metadata("design:paramtypes", []),
19
+ tslib_1.__metadata("design:returntype", void 0)
20
20
  ], ArtifactOne.prototype, "one", null);
21
21
  exports.ArtifactOne = ArtifactOne;
22
22
  class ArtifactTwo {
@@ -24,11 +24,11 @@ class ArtifactTwo {
24
24
  return 'ControllerTwo.two()';
25
25
  }
26
26
  }
27
- (0, tslib_1.__decorate)([
27
+ tslib_1.__decorate([
28
28
  (0, rest_1.get)('/two'),
29
- (0, tslib_1.__metadata)("design:type", Function),
30
- (0, tslib_1.__metadata)("design:paramtypes", []),
31
- (0, tslib_1.__metadata)("design:returntype", void 0)
29
+ tslib_1.__metadata("design:type", Function),
30
+ tslib_1.__metadata("design:paramtypes", []),
31
+ tslib_1.__metadata("design:returntype", void 0)
32
32
  ], ArtifactTwo.prototype, "two", null);
33
33
  exports.ArtifactTwo = ArtifactTwo;
34
34
  function hello() {
@@ -36,4 +36,4 @@ function hello() {
36
36
  }
37
37
  exports.hello = hello;
38
38
  //# sourceMappingURL=multiple.artifact.js.map
39
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
39
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
+ // Node module: @loopback/boot
4
+ // This file is licensed under the MIT License.
5
+ // License text available at https://opensource.org/licenses/MIT
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.BooterApp = void 0;
8
+ const repository_1 = require("@loopback/repository");
9
+ const rest_1 = require("@loopback/rest");
10
+ const service_proxy_1 = require("@loopback/service-proxy");
11
+ const __1 = require("../..");
12
+ class BooterApp extends (0, __1.BootMixin)((0, service_proxy_1.ServiceMixin)((0, repository_1.RepositoryMixin)(rest_1.RestApplication))) {
13
+ constructor(options) {
14
+ super(options);
15
+ this.projectRoot = __dirname;
16
+ }
17
+ }
18
+ exports.BooterApp = BooterApp;
19
+ //# sourceMappingURL=application.js.map
20
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -12,7 +12,7 @@ let BindableGreetingService = class BindableGreetingService {
12
12
  return Promise.resolve(`Hello ${whom}`);
13
13
  }
14
14
  };
15
- BindableGreetingService = (0, tslib_1.__decorate)([
15
+ BindableGreetingService = tslib_1.__decorate([
16
16
  (0, core_1.injectable)({
17
17
  tags: { serviceType: 'local' },
18
18
  scope: core_1.BindingScope.SINGLETON,
@@ -24,7 +24,7 @@ let DateProvider = class DateProvider {
24
24
  return Promise.resolve(new Date());
25
25
  }
26
26
  };
27
- DateProvider = (0, tslib_1.__decorate)([
27
+ DateProvider = tslib_1.__decorate([
28
28
  (0, core_1.injectable)({ tags: { serviceType: 'local', name: 'CurrentDate' } })
29
29
  ], DateProvider);
30
30
  exports.DateProvider = DateProvider;
@@ -45,16 +45,16 @@ let ServiceWithConstructorInject = class ServiceWithConstructorInject {
45
45
  this.user = user;
46
46
  }
47
47
  };
48
- ServiceWithConstructorInject = (0, tslib_1.__decorate)([
49
- (0, tslib_1.__param)(0, (0, core_1.inject)('currentUser')),
50
- (0, tslib_1.__metadata)("design:paramtypes", [String])
48
+ ServiceWithConstructorInject = tslib_1.__decorate([
49
+ tslib_1.__param(0, (0, core_1.inject)('currentUser')),
50
+ tslib_1.__metadata("design:paramtypes", [String])
51
51
  ], ServiceWithConstructorInject);
52
52
  exports.ServiceWithConstructorInject = ServiceWithConstructorInject;
53
53
  class ServiceWithPropertyInject {
54
54
  }
55
- (0, tslib_1.__decorate)([
55
+ tslib_1.__decorate([
56
56
  (0, core_1.inject)('currentUser'),
57
- (0, tslib_1.__metadata)("design:type", String)
57
+ tslib_1.__metadata("design:type", String)
58
58
  ], ServiceWithPropertyInject.prototype, "user", void 0);
59
59
  exports.ServiceWithPropertyInject = ServiceWithPropertyInject;
60
60
  class ServiceWithMethodInject {
@@ -62,12 +62,12 @@ class ServiceWithMethodInject {
62
62
  return `Hello, ${user}`;
63
63
  }
64
64
  }
65
- (0, tslib_1.__decorate)([
66
- (0, tslib_1.__param)(0, (0, core_1.inject)('currentUser')),
67
- (0, tslib_1.__metadata)("design:type", Function),
68
- (0, tslib_1.__metadata)("design:paramtypes", [String]),
69
- (0, tslib_1.__metadata)("design:returntype", void 0)
65
+ tslib_1.__decorate([
66
+ tslib_1.__param(0, (0, core_1.inject)('currentUser')),
67
+ tslib_1.__metadata("design:type", Function),
68
+ tslib_1.__metadata("design:paramtypes", [String]),
69
+ tslib_1.__metadata("design:returntype", void 0)
70
70
  ], ServiceWithMethodInject.prototype, "greet", null);
71
71
  exports.ServiceWithMethodInject = ServiceWithMethodInject;
72
72
  //# sourceMappingURL=bindable-classes.artifact.js.map
73
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/bindable-classes.artifact.js.map
73
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/bindable-classes.artifact.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/boot
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -12,4 +12,4 @@ class DynamicDateProvider {
12
12
  }
13
13
  exports.DynamicDateProvider = DynamicDateProvider;
14
14
  //# sourceMappingURL=service-dynamic-value-provider.artifact.js.map
15
- //# sourceMappingURL=/Users/dhmlau/loopback/loopback-next/packages/boot/dist/__tests__/fixtures/service-dynamic-value-provider.artifact.js.map
15
+ //# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/packages/boot/dist/__tests__/fixtures/service-dynamic-value-provider.artifact.js.map