1 | import { Application } from '@loopback/core';
|
2 | import { ArtifactOptions } from '../types';
|
3 | import { BaseArtifactBooter } from './base-artifact.booter';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | export declare class ControllerBooter extends BaseArtifactBooter {
|
15 | app: Application;
|
16 | controllerConfig: ArtifactOptions;
|
17 | constructor(app: Application, projectRoot: string, controllerConfig?: ArtifactOptions);
|
18 | /**
|
19 | * Uses super method to get a list of Artifact classes. Boot each class by
|
20 | * binding it to the application using `app.controller(controller);`.
|
21 | */
|
22 | load(): Promise<void>;
|
23 | }
|
24 | /**
|
25 | * Default ArtifactOptions for ControllerBooter.
|
26 | */
|
27 | export declare const ControllerDefaults: ArtifactOptions;
|