UNPKG

892 BTypeScriptView Raw
1import { BindingKey } from '@loopback/core';
2import { Bootstrapper } from './bootstrapper';
3import { BootOptions } from './types';
4/**
5 * Namespace for boot related binding keys
6 */
7export declare namespace BootBindings {
8 /**
9 * Binding key for boot options
10 */
11 const BOOT_OPTIONS: BindingKey<BootOptions>;
12 /**
13 * Binding key for determining project root directory
14 */
15 const PROJECT_ROOT: BindingKey<string>;
16 /**
17 * Binding key for binding the BootStrapper class
18 */
19 const BOOTSTRAPPER_KEY: BindingKey<Bootstrapper>;
20 /**
21 * Booter binding namespace
22 */
23 const BOOTERS = "booters";
24 const BOOTER_PREFIX = "booters";
25}
26/**
27 * Namespace for boot related tags
28 */
29export declare namespace BootTags {
30 const BOOTER = "booter";
31 /**
32 * @deprecated Use `BootTags.BOOTER` instead.
33 */
34 const BOOTER_TAG = "booter";
35}