1 | import { Application, Binding, BindingFilter, Constructor } from '@loopback/core';
|
2 | import { Bootable, Booter } from '../types';
|
3 | /**
|
4 | * Binding keys excluded from a sub application. These bindings booted from the
|
5 | * sub application won't be added to the main application.
|
6 | */
|
7 | export declare const bindingKeysExcludedFromSubApp: string[];
|
8 | /**
|
9 | * Create a booter that boots the component application. Bindings that exist
|
10 | * in the component application before `boot` are skipped. Locked bindings in
|
11 | * the main application will not be overridden.
|
12 | *
|
13 | * @param componentApp - The application exposing a component
|
14 | * @param filter Binding filter to selected bindings to be added
|
15 | */
|
16 | export declare function createBooterForComponentApplication(componentApp: Application & Bootable, filter?: BindingFilter): Constructor<Booter>;
|
17 | /**
|
18 | * Create a binding to register a booter that boots the component application.
|
19 | * Bindings that exist in the component application before `boot` are skipped.
|
20 | * Locked bindings in the main application will not be overridden.
|
21 | *
|
22 | * @param componentApp - The application exposing a component
|
23 | * @param filter Binding filter to selected bindings to be added
|
24 | */
|
25 | export declare function createComponentApplicationBooterBinding(componentApp: Application & Bootable, filter?: BindingFilter): Binding<Booter>;
|