UNPKG

1.44 kBJavaScriptView Raw
1"use strict";
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
6Object.defineProperty(exports, "__esModule", { value: true });
7exports.BootTags = exports.BootBindings = void 0;
8const core_1 = require("@loopback/core");
9/**
10 * Namespace for boot related binding keys
11 */
12var BootBindings;
13(function (BootBindings) {
14 /**
15 * Binding key for boot options
16 */
17 BootBindings.BOOT_OPTIONS = core_1.BindingKey.create('boot.options');
18 /**
19 * Binding key for determining project root directory
20 */
21 BootBindings.PROJECT_ROOT = core_1.BindingKey.create('boot.project_root');
22 /**
23 * Binding key for binding the BootStrapper class
24 */
25 BootBindings.BOOTSTRAPPER_KEY = core_1.BindingKey.create('application.bootstrapper');
26 /**
27 * Booter binding namespace
28 */
29 BootBindings.BOOTERS = 'booters';
30 BootBindings.BOOTER_PREFIX = 'booters';
31})(BootBindings = exports.BootBindings || (exports.BootBindings = {}));
32/**
33 * Namespace for boot related tags
34 */
35var BootTags;
36(function (BootTags) {
37 BootTags.BOOTER = 'booter';
38 /**
39 * @deprecated Use `BootTags.BOOTER` instead.
40 */
41 BootTags.BOOTER_TAG = BootTags.BOOTER;
42})(BootTags = exports.BootTags || (exports.BootTags = {}));
43//# sourceMappingURL=keys.js.map
\No newline at end of file