1 | ;
|
2 | // Copyright IBM Corp. and LoopBack contributors 2018,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 | /**
|
9 | * A convention based project Bootstrapper and Booters for LoopBack
|
10 | * Applications.
|
11 | *
|
12 | * @remarks
|
13 | * A Booter is a class that can be bound to an Application and is called to
|
14 | * perform a task before the Application is started. A Booter may have multiple
|
15 | * phases to complete its task. The task for a convention based Booter is to
|
16 | * discover and bind Artifacts (Controllers, Repositories, Models, etc.).
|
17 | *
|
18 | * An example task of a Booter may be to discover and bind all artifacts of a
|
19 | * given type.
|
20 | *
|
21 | * A Bootstrapper is needed to manage the Booters and execute them. This is
|
22 | * provided in this package. For ease of use, everything needed is packages
|
23 | * using a BootMixin. This Mixin will add convenience methods such as `boot` and
|
24 | * `booter`, as well as properties needed for Bootstrapper such as
|
25 | * `projectRoot`. The Mixin also adds the `BootComponent` to your `Application`
|
26 | * which binds the `Bootstrapper` and default `Booters` made available by this
|
27 | * package.
|
28 | *
|
29 | * @packageDocumentation
|
30 | */
|
31 | tslib_1.__exportStar(require("./boot.component"), exports);
|
32 | tslib_1.__exportStar(require("./booters"), exports);
|
33 | tslib_1.__exportStar(require("./bootstrapper"), exports);
|
34 | tslib_1.__exportStar(require("./keys"), exports);
|
35 | tslib_1.__exportStar(require("./mixins"), exports);
|
36 | tslib_1.__exportStar(require("./types"), exports);
|
37 | //# sourceMappingURL=index.js.map |
\ | No newline at end of file |