UNPKG

1.18 kBTypeScriptView Raw
1/**
2 * A convention based project Bootstrapper and Booters for LoopBack
3 * Applications.
4 *
5 * @remarks
6 * A Booter is a class that can be bound to an Application and is called to
7 * perform a task before the Application is started. A Booter may have multiple
8 * phases to complete its task. The task for a convention based Booter is to
9 * discover and bind Artifacts (Controllers, Repositories, Models, etc.).
10 *
11 * An example task of a Booter may be to discover and bind all artifacts of a
12 * given type.
13 *
14 * A Bootstrapper is needed to manage the Booters and execute them. This is
15 * provided in this package. For ease of use, everything needed is packages
16 * using a BootMixin. This Mixin will add convenience methods such as `boot` and
17 * `booter`, as well as properties needed for Bootstrapper such as
18 * `projectRoot`. The Mixin also adds the `BootComponent` to your `Application`
19 * which binds the `Bootstrapper` and default `Booters` made available by this
20 * package.
21 *
22 * @packageDocumentation
23 */
24export * from './boot.component';
25export * from './booters';
26export * from './bootstrapper';
27export * from './keys';
28export * from './mixins';
29export * from './types';