1 | import { Application, Constructor, Interceptor, Provider } from '@loopback/core';
|
2 | import { ArtifactOptions } from '../types';
|
3 | import { BaseArtifactBooter } from './base-artifact.booter';
|
4 | type InterceptorProviderClass = Constructor<Provider<Interceptor>>;
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | export declare class InterceptorProviderBooter extends BaseArtifactBooter {
|
15 | app: Application;
|
16 | interceptorConfig: ArtifactOptions;
|
17 | interceptors: InterceptorProviderClass[];
|
18 | constructor(app: Application, projectRoot: string, interceptorConfig?: ArtifactOptions);
|
19 | /**
|
20 | * Uses super method to get a list of Artifact classes. Boot each file by
|
21 | * creating a DataSourceConstructor and binding it to the application class.
|
22 | */
|
23 | load(): Promise<void>;
|
24 | }
|
25 | /**
|
26 | * Default ArtifactOptions for InterceptorProviderBooter.
|
27 | */
|
28 | export declare const InterceptorProviderDefaults: ArtifactOptions;
|
29 | export {};
|