@loopback/boot 2.1.1 → 2.3.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 (100) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/.sandbox/{11889PRvhvm → 635411GGsm1}/model-endpoints/no-entity.rest-config.js +0 -0
  3. package/dist/.sandbox/635411GGsm1/models/no-entity.model.js +28 -0
  4. package/dist/.sandbox/{11889wtTpPA → 635415cxfJi}/service-provider.artifact.js +1 -0
  5. package/dist/.sandbox/{118893KtxoA → 635419mu8mo}/application.js +1 -0
  6. package/dist/.sandbox/{11889S6GDvS → 635419mu8mo}/services/bindable-classes.service.js +26 -19
  7. package/dist/.sandbox/{11889S6GDvS → 635419mu8mo}/services/geocoder.service.js +1 -0
  8. package/dist/.sandbox/{11889S6GDvS → 635419mu8mo}/services/greeting.service.js +1 -0
  9. package/dist/.sandbox/{11889K8KL2J → 635419t6TqH}/datasource.artifact.js +9 -5
  10. package/dist/.sandbox/63541BtDxTa/multiple.artifact.js +45 -0
  11. package/dist/.sandbox/{11889CQQ0nI → 63541DlS0Ic}/application.js +1 -0
  12. package/dist/.sandbox/63541DlS0Ic/repositories/multiple.repository.js +45 -0
  13. package/dist/.sandbox/{118896Rj4ze → 63541DshyBF}/application.js +1 -0
  14. package/dist/.sandbox/{118893KtxoA → 63541DshyBF}/observers/lifecycle-observer.observer.js +1 -0
  15. package/dist/.sandbox/{11889DQbyT8 → 63541IEce5V}/application.js +1 -0
  16. package/dist/.sandbox/{11889zAsxZb → 63541IEce5V}/datasources/db.datasource.js +9 -5
  17. package/dist/.sandbox/63541ik89oh/application.js +20 -0
  18. package/dist/.sandbox/63541ik89oh/models/multiple-models.model.js +16 -0
  19. package/dist/.sandbox/63541ik89oh/models/no-entity.model.js +28 -0
  20. package/dist/.sandbox/63541ik89oh/models/product.model.js +28 -0
  21. package/dist/.sandbox/63541meTxP7/application.js +20 -0
  22. package/dist/.sandbox/63541meTxP7/controllers/multiple.controller.js +45 -0
  23. package/dist/.sandbox/{11889DQbyT8 → 63541meTxP7}/package.json +0 -0
  24. package/dist/.sandbox/63541nGmQFL/application.js +20 -0
  25. package/dist/.sandbox/63541nGmQFL/controllers/multiple.controller.js +45 -0
  26. package/dist/.sandbox/{11889mdaOd9 → 63541odlHvc}/model-endpoints/product.rest-config.js +0 -0
  27. package/dist/.sandbox/63541odlHvc/models/product.model.js +28 -0
  28. package/dist/.sandbox/63541ruUDNf/application.js +20 -0
  29. package/dist/.sandbox/63541ruUDNf/interceptors/interceptor.interceptor.js +54 -0
  30. package/dist/.sandbox/63541ruUDNf/interceptors/non-global-interceptor.interceptor.js +54 -0
  31. package/dist/.sandbox/63541vSi6af/multiple.artifact.js +45 -0
  32. package/dist/.sandbox/application.js +20 -0
  33. package/dist/.sandbox/controllers/multiple.controller.js +45 -0
  34. package/dist/boot.component.d.ts +2 -2
  35. package/dist/boot.component.js +34 -29
  36. package/dist/boot.component.js.map +1 -1
  37. package/dist/booters/application-metadata.booter.js +23 -19
  38. package/dist/booters/application-metadata.booter.js.map +1 -1
  39. package/dist/booters/base-artifact.booter.js +1 -0
  40. package/dist/booters/base-artifact.booter.js.map +1 -1
  41. package/dist/booters/booter-utils.js +1 -0
  42. package/dist/booters/booter-utils.js.map +1 -1
  43. package/dist/booters/component-application.booter.d.ts +25 -0
  44. package/dist/booters/component-application.booter.js +99 -0
  45. package/dist/booters/component-application.booter.js.map +1 -0
  46. package/dist/booters/controller.booter.js +30 -26
  47. package/dist/booters/controller.booter.js.map +1 -1
  48. package/dist/booters/datasource.booter.d.ts +1 -1
  49. package/dist/booters/datasource.booter.js +40 -36
  50. package/dist/booters/datasource.booter.js.map +1 -1
  51. package/dist/booters/index.d.ts +2 -0
  52. package/dist/booters/index.js +2 -0
  53. package/dist/booters/index.js.map +1 -1
  54. package/dist/booters/interceptor.booter.js +32 -31
  55. package/dist/booters/interceptor.booter.js.map +1 -1
  56. package/dist/booters/lifecyle-observer.booter.js +32 -28
  57. package/dist/booters/lifecyle-observer.booter.js.map +1 -1
  58. package/dist/booters/model-api.booter.js +67 -63
  59. package/dist/booters/model-api.booter.js.map +1 -1
  60. package/dist/booters/model.booter.d.ts +26 -0
  61. package/dist/booters/model.booter.js +74 -0
  62. package/dist/booters/model.booter.js.map +1 -0
  63. package/dist/booters/repository.booter.js +39 -35
  64. package/dist/booters/repository.booter.js.map +1 -1
  65. package/dist/booters/service.booter.d.ts +1 -1
  66. package/dist/booters/service.booter.js +34 -30
  67. package/dist/booters/service.booter.js.map +1 -1
  68. package/dist/bootstrapper.js +85 -81
  69. package/dist/bootstrapper.js.map +1 -1
  70. package/dist/keys.js +1 -0
  71. package/dist/keys.js.map +1 -1
  72. package/dist/mixins/boot.mixin.d.ts +84 -15
  73. package/dist/mixins/boot.mixin.js +40 -20
  74. package/dist/mixins/boot.mixin.js.map +1 -1
  75. package/dist/types.js +1 -0
  76. package/dist/types.js.map +1 -1
  77. package/package.json +17 -17
  78. package/src/boot.component.ts +2 -0
  79. package/src/booters/component-application.booter.ts +123 -0
  80. package/src/booters/datasource.booter.ts +1 -1
  81. package/src/booters/index.ts +2 -0
  82. package/src/booters/interceptor.booter.ts +1 -6
  83. package/src/booters/model.booter.ts +76 -0
  84. package/src/booters/service.booter.ts +1 -1
  85. package/src/mixins/boot.mixin.ts +84 -20
  86. package/dist/.sandbox/118896Rj4ze/repositories/multiple.repository.js +0 -38
  87. package/dist/.sandbox/11889CQQ0nI/controllers/multiple.controller.js +0 -38
  88. package/dist/.sandbox/11889DQbyT8/controllers/multiple.controller.js +0 -38
  89. package/dist/.sandbox/11889PRvhvm/models/no-entity.model.js +0 -24
  90. package/dist/.sandbox/11889S6GDvS/application.js +0 -19
  91. package/dist/.sandbox/11889SgiPny/multiple.artifact.js +0 -38
  92. package/dist/.sandbox/11889SuGYhr/application.js +0 -19
  93. package/dist/.sandbox/11889SuGYhr/interceptors/interceptor.interceptor.js +0 -50
  94. package/dist/.sandbox/11889SuGYhr/interceptors/non-global-interceptor.interceptor.js +0 -50
  95. package/dist/.sandbox/11889mdaOd9/models/product.model.js +0 -24
  96. package/dist/.sandbox/11889t5aVl4/multiple.artifact.js +0 -38
  97. package/dist/.sandbox/11889zAsxZb/application.js +0 -19
  98. package/dist/.sandbox/dist/application.js +0 -19
  99. package/index.d.ts +0 -6
  100. package/index.js +0 -6
@@ -1,38 +0,0 @@
1
- "use strict";
2
- // Copyright IBM Corp. 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
- const tslib_1 = require("tslib");
8
- const rest_1 = require("@loopback/rest");
9
- class ArtifactOne {
10
- one() {
11
- return 'ControllerOne.one()';
12
- }
13
- }
14
- tslib_1.__decorate([
15
- rest_1.get('/one'),
16
- tslib_1.__metadata("design:type", Function),
17
- tslib_1.__metadata("design:paramtypes", []),
18
- tslib_1.__metadata("design:returntype", void 0)
19
- ], ArtifactOne.prototype, "one", null);
20
- exports.ArtifactOne = ArtifactOne;
21
- class ArtifactTwo {
22
- two() {
23
- return 'ControllerTwo.two()';
24
- }
25
- }
26
- tslib_1.__decorate([
27
- rest_1.get('/two'),
28
- tslib_1.__metadata("design:type", Function),
29
- tslib_1.__metadata("design:paramtypes", []),
30
- tslib_1.__metadata("design:returntype", void 0)
31
- ], ArtifactTwo.prototype, "two", null);
32
- exports.ArtifactTwo = ArtifactTwo;
33
- function hello() {
34
- return 'hello world';
35
- }
36
- exports.hello = hello;
37
- //# sourceMappingURL=multiple.artifact.js.map
38
- //# sourceMappingURL=/Users/rfeng/Projects/loopback4/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
@@ -1,38 +0,0 @@
1
- "use strict";
2
- // Copyright IBM Corp. 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
- const tslib_1 = require("tslib");
8
- const rest_1 = require("@loopback/rest");
9
- class ArtifactOne {
10
- one() {
11
- return 'ControllerOne.one()';
12
- }
13
- }
14
- tslib_1.__decorate([
15
- rest_1.get('/one'),
16
- tslib_1.__metadata("design:type", Function),
17
- tslib_1.__metadata("design:paramtypes", []),
18
- tslib_1.__metadata("design:returntype", void 0)
19
- ], ArtifactOne.prototype, "one", null);
20
- exports.ArtifactOne = ArtifactOne;
21
- class ArtifactTwo {
22
- two() {
23
- return 'ControllerTwo.two()';
24
- }
25
- }
26
- tslib_1.__decorate([
27
- rest_1.get('/two'),
28
- tslib_1.__metadata("design:type", Function),
29
- tslib_1.__metadata("design:paramtypes", []),
30
- tslib_1.__metadata("design:returntype", void 0)
31
- ], ArtifactTwo.prototype, "two", null);
32
- exports.ArtifactTwo = ArtifactTwo;
33
- function hello() {
34
- return 'hello world';
35
- }
36
- exports.hello = hello;
37
- //# sourceMappingURL=multiple.artifact.js.map
38
- //# sourceMappingURL=/Users/rfeng/Projects/loopback4/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
@@ -1,38 +0,0 @@
1
- "use strict";
2
- // Copyright IBM Corp. 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
- const tslib_1 = require("tslib");
8
- const rest_1 = require("@loopback/rest");
9
- class ArtifactOne {
10
- one() {
11
- return 'ControllerOne.one()';
12
- }
13
- }
14
- tslib_1.__decorate([
15
- rest_1.get('/one'),
16
- tslib_1.__metadata("design:type", Function),
17
- tslib_1.__metadata("design:paramtypes", []),
18
- tslib_1.__metadata("design:returntype", void 0)
19
- ], ArtifactOne.prototype, "one", null);
20
- exports.ArtifactOne = ArtifactOne;
21
- class ArtifactTwo {
22
- two() {
23
- return 'ControllerTwo.two()';
24
- }
25
- }
26
- tslib_1.__decorate([
27
- rest_1.get('/two'),
28
- tslib_1.__metadata("design:type", Function),
29
- tslib_1.__metadata("design:paramtypes", []),
30
- tslib_1.__metadata("design:returntype", void 0)
31
- ], ArtifactTwo.prototype, "two", null);
32
- exports.ArtifactTwo = ArtifactTwo;
33
- function hello() {
34
- return 'hello world';
35
- }
36
- exports.hello = hello;
37
- //# sourceMappingURL=multiple.artifact.js.map
38
- //# sourceMappingURL=/Users/rfeng/Projects/loopback4/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
@@ -1,24 +0,0 @@
1
- "use strict";
2
- // Copyright IBM Corp. 2020. 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
- const tslib_1 = require("tslib");
8
- const repository_1 = require("@loopback/repository");
9
- let NoEntity = class NoEntity extends repository_1.Model {
10
- };
11
- tslib_1.__decorate([
12
- repository_1.property({ id: true }),
13
- tslib_1.__metadata("design:type", Number)
14
- ], NoEntity.prototype, "id", void 0);
15
- tslib_1.__decorate([
16
- repository_1.property({ required: true }),
17
- tslib_1.__metadata("design:type", String)
18
- ], NoEntity.prototype, "name", void 0);
19
- NoEntity = tslib_1.__decorate([
20
- repository_1.model()
21
- ], NoEntity);
22
- exports.NoEntity = NoEntity;
23
- //# sourceMappingURL=no-entity.model.js.map
24
- //# sourceMappingURL=/Users/rfeng/Projects/loopback4/loopback-next/packages/boot/dist/__tests__/fixtures/no-entity.model.js.map
@@ -1,19 +0,0 @@
1
- "use strict";
2
- // Copyright IBM Corp. 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
- const repository_1 = require("@loopback/repository");
8
- const rest_1 = require("@loopback/rest");
9
- const service_proxy_1 = require("@loopback/service-proxy");
10
- const __1 = require("../..");
11
- class BooterApp extends __1.BootMixin(service_proxy_1.ServiceMixin(repository_1.RepositoryMixin(rest_1.RestApplication))) {
12
- constructor(options) {
13
- super(options);
14
- this.projectRoot = __dirname;
15
- }
16
- }
17
- exports.BooterApp = BooterApp;
18
- //# sourceMappingURL=application.js.map
19
- //# sourceMappingURL=/Users/rfeng/Projects/loopback4/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
@@ -1,38 +0,0 @@
1
- "use strict";
2
- // Copyright IBM Corp. 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
- const tslib_1 = require("tslib");
8
- const rest_1 = require("@loopback/rest");
9
- class ArtifactOne {
10
- one() {
11
- return 'ControllerOne.one()';
12
- }
13
- }
14
- tslib_1.__decorate([
15
- rest_1.get('/one'),
16
- tslib_1.__metadata("design:type", Function),
17
- tslib_1.__metadata("design:paramtypes", []),
18
- tslib_1.__metadata("design:returntype", void 0)
19
- ], ArtifactOne.prototype, "one", null);
20
- exports.ArtifactOne = ArtifactOne;
21
- class ArtifactTwo {
22
- two() {
23
- return 'ControllerTwo.two()';
24
- }
25
- }
26
- tslib_1.__decorate([
27
- rest_1.get('/two'),
28
- tslib_1.__metadata("design:type", Function),
29
- tslib_1.__metadata("design:paramtypes", []),
30
- tslib_1.__metadata("design:returntype", void 0)
31
- ], ArtifactTwo.prototype, "two", null);
32
- exports.ArtifactTwo = ArtifactTwo;
33
- function hello() {
34
- return 'hello world';
35
- }
36
- exports.hello = hello;
37
- //# sourceMappingURL=multiple.artifact.js.map
38
- //# sourceMappingURL=/Users/rfeng/Projects/loopback4/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
@@ -1,19 +0,0 @@
1
- "use strict";
2
- // Copyright IBM Corp. 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
- const repository_1 = require("@loopback/repository");
8
- const rest_1 = require("@loopback/rest");
9
- const service_proxy_1 = require("@loopback/service-proxy");
10
- const __1 = require("../..");
11
- class BooterApp extends __1.BootMixin(service_proxy_1.ServiceMixin(repository_1.RepositoryMixin(rest_1.RestApplication))) {
12
- constructor(options) {
13
- super(options);
14
- this.projectRoot = __dirname;
15
- }
16
- }
17
- exports.BooterApp = BooterApp;
18
- //# sourceMappingURL=application.js.map
19
- //# sourceMappingURL=/Users/rfeng/Projects/loopback4/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
@@ -1,50 +0,0 @@
1
- "use strict";
2
- // Copyright IBM Corp. 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
- const tslib_1 = require("tslib");
8
- const context_1 = require("@loopback/context");
9
- /**
10
- * This class will be bound to the application as a global `Interceptor` during
11
- * `boot`
12
- */
13
- let MyGlobalInterceptor = class MyGlobalInterceptor {
14
- /*
15
- constructor() {}
16
- */
17
- /**
18
- * This method is used by LoopBack context to produce an interceptor function
19
- * for the binding.
20
- *
21
- * @returns An interceptor function
22
- */
23
- value() {
24
- return this.intercept.bind(this);
25
- }
26
- /**
27
- * The logic to intercept an invocation
28
- * @param invocationCtx - Invocation context
29
- * @param next - A function to invoke next interceptor or the target method
30
- */
31
- async intercept(invocationCtx, next) {
32
- // eslint-disable-next-line no-useless-catch
33
- try {
34
- // Add pre-invocation logic here
35
- const result = await next();
36
- // Add post-invocation logic here
37
- return result;
38
- }
39
- catch (err) {
40
- // Add error handling logic here
41
- throw err;
42
- }
43
- }
44
- };
45
- MyGlobalInterceptor = tslib_1.__decorate([
46
- context_1.globalInterceptor('auth', { tags: { name: 'myGlobalInterceptor' } })
47
- ], MyGlobalInterceptor);
48
- exports.MyGlobalInterceptor = MyGlobalInterceptor;
49
- //# sourceMappingURL=interceptor.artifact.js.map
50
- //# sourceMappingURL=/Users/rfeng/Projects/loopback4/loopback-next/packages/boot/dist/__tests__/fixtures/interceptor.artifact.js.map
@@ -1,50 +0,0 @@
1
- "use strict";
2
- // Copyright IBM Corp. 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
- const tslib_1 = require("tslib");
8
- const context_1 = require("@loopback/context");
9
- /**
10
- * This class will be bound to the application as a global `Interceptor` during
11
- * `boot`
12
- */
13
- let MyInterceptor = class MyInterceptor {
14
- /*
15
- constructor() {}
16
- */
17
- /**
18
- * This method is used by LoopBack context to produce an interceptor function
19
- * for the binding.
20
- *
21
- * @returns An interceptor function
22
- */
23
- value() {
24
- return this.intercept.bind(this);
25
- }
26
- /**
27
- * The logic to intercept an invocation
28
- * @param invocationCtx - Invocation context
29
- * @param next - A function to invoke next interceptor or the target method
30
- */
31
- async intercept(invocationCtx, next) {
32
- // eslint-disable-next-line no-useless-catch
33
- try {
34
- // Add pre-invocation logic here
35
- const result = await next();
36
- // Add post-invocation logic here
37
- return result;
38
- }
39
- catch (err) {
40
- // Add error handling logic here
41
- throw err;
42
- }
43
- }
44
- };
45
- MyInterceptor = tslib_1.__decorate([
46
- context_1.bind({ tags: { namespace: 'interceptors', name: 'myInterceptor' } })
47
- ], MyInterceptor);
48
- exports.MyInterceptor = MyInterceptor;
49
- //# sourceMappingURL=non-global-interceptor.artifact.js.map
50
- //# sourceMappingURL=/Users/rfeng/Projects/loopback4/loopback-next/packages/boot/dist/__tests__/fixtures/non-global-interceptor.artifact.js.map
@@ -1,24 +0,0 @@
1
- "use strict";
2
- // Copyright IBM Corp. 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
- const tslib_1 = require("tslib");
8
- const repository_1 = require("@loopback/repository");
9
- let Product = class Product extends repository_1.Entity {
10
- };
11
- tslib_1.__decorate([
12
- repository_1.property({ id: true }),
13
- tslib_1.__metadata("design:type", Number)
14
- ], Product.prototype, "id", void 0);
15
- tslib_1.__decorate([
16
- repository_1.property({ required: true }),
17
- tslib_1.__metadata("design:type", String)
18
- ], Product.prototype, "name", void 0);
19
- Product = tslib_1.__decorate([
20
- repository_1.model()
21
- ], Product);
22
- exports.Product = Product;
23
- //# sourceMappingURL=product.model.js.map
24
- //# sourceMappingURL=/Users/rfeng/Projects/loopback4/loopback-next/packages/boot/dist/__tests__/fixtures/product.model.js.map
@@ -1,38 +0,0 @@
1
- "use strict";
2
- // Copyright IBM Corp. 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
- const tslib_1 = require("tslib");
8
- const rest_1 = require("@loopback/rest");
9
- class ArtifactOne {
10
- one() {
11
- return 'ControllerOne.one()';
12
- }
13
- }
14
- tslib_1.__decorate([
15
- rest_1.get('/one'),
16
- tslib_1.__metadata("design:type", Function),
17
- tslib_1.__metadata("design:paramtypes", []),
18
- tslib_1.__metadata("design:returntype", void 0)
19
- ], ArtifactOne.prototype, "one", null);
20
- exports.ArtifactOne = ArtifactOne;
21
- class ArtifactTwo {
22
- two() {
23
- return 'ControllerTwo.two()';
24
- }
25
- }
26
- tslib_1.__decorate([
27
- rest_1.get('/two'),
28
- tslib_1.__metadata("design:type", Function),
29
- tslib_1.__metadata("design:paramtypes", []),
30
- tslib_1.__metadata("design:returntype", void 0)
31
- ], ArtifactTwo.prototype, "two", null);
32
- exports.ArtifactTwo = ArtifactTwo;
33
- function hello() {
34
- return 'hello world';
35
- }
36
- exports.hello = hello;
37
- //# sourceMappingURL=multiple.artifact.js.map
38
- //# sourceMappingURL=/Users/rfeng/Projects/loopback4/loopback-next/packages/boot/dist/__tests__/fixtures/multiple.artifact.js.map
@@ -1,19 +0,0 @@
1
- "use strict";
2
- // Copyright IBM Corp. 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
- const repository_1 = require("@loopback/repository");
8
- const rest_1 = require("@loopback/rest");
9
- const service_proxy_1 = require("@loopback/service-proxy");
10
- const __1 = require("../..");
11
- class BooterApp extends __1.BootMixin(service_proxy_1.ServiceMixin(repository_1.RepositoryMixin(rest_1.RestApplication))) {
12
- constructor(options) {
13
- super(options);
14
- this.projectRoot = __dirname;
15
- }
16
- }
17
- exports.BooterApp = BooterApp;
18
- //# sourceMappingURL=application.js.map
19
- //# sourceMappingURL=/Users/rfeng/Projects/loopback4/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
@@ -1,19 +0,0 @@
1
- "use strict";
2
- // Copyright IBM Corp. 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
- const repository_1 = require("@loopback/repository");
8
- const rest_1 = require("@loopback/rest");
9
- const service_proxy_1 = require("@loopback/service-proxy");
10
- const __1 = require("../..");
11
- class BooterApp extends __1.BootMixin(service_proxy_1.ServiceMixin(repository_1.RepositoryMixin(rest_1.RestApplication))) {
12
- constructor(options) {
13
- super(options);
14
- this.projectRoot = __dirname;
15
- }
16
- }
17
- exports.BooterApp = BooterApp;
18
- //# sourceMappingURL=application.js.map
19
- //# sourceMappingURL=/Users/rfeng/Projects/loopback4/loopback-next/packages/boot/dist/__tests__/fixtures/application.js.map
package/index.d.ts DELETED
@@ -1,6 +0,0 @@
1
- // Copyright IBM Corp. 2018,2020. All Rights Reserved.
2
- // Node module: @loopback/boot
3
- // This file is licensed under the MIT License.
4
- // License text available at https://opensource.org/licenses/MIT
5
-
6
- export * from './dist';
package/index.js DELETED
@@ -1,6 +0,0 @@
1
- // Copyright IBM Corp. 2018,2020. All Rights Reserved.
2
- // Node module: @loopback/boot
3
- // This file is licensed under the MIT License.
4
- // License text available at https://opensource.org/licenses/MIT
5
-
6
- module.exports = require('./dist');