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