@loopback/boot
Version:
A collection of Booters for LoopBack 4 Applications
37 lines • 1.71 kB
JavaScript
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/boot
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
/**
* A convention based project Bootstrapper and Booters for LoopBack
* Applications.
*
* @remarks
* A Booter is a class that can be bound to an Application and is called to
* perform a task before the Application is started. A Booter may have multiple
* phases to complete its task. The task for a convention based Booter is to
* discover and bind Artifacts (Controllers, Repositories, Models, etc.).
*
* An example task of a Booter may be to discover and bind all artifacts of a
* given type.
*
* A Bootstrapper is needed to manage the Booters and execute them. This is
* provided in this package. For ease of use, everything needed is packages
* using a BootMixin. This Mixin will add convenience methods such as `boot` and
* `booter`, as well as properties needed for Bootstrapper such as
* `projectRoot`. The Mixin also adds the `BootComponent` to your `Application`
* which binds the `Bootstrapper` and default `Booters` made available by this
* package.
*
* @packageDocumentation
*/
tslib_1.__exportStar(require("./boot.component"), exports);
tslib_1.__exportStar(require("./booters"), exports);
tslib_1.__exportStar(require("./bootstrapper"), exports);
tslib_1.__exportStar(require("./keys"), exports);
tslib_1.__exportStar(require("./mixins"), exports);
tslib_1.__exportStar(require("./types"), exports);
//# sourceMappingURL=index.js.map
;