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 |
|
14 | export declare class DataSourceBooter extends BaseArtifactBooter {
|
15 | app: ApplicationWithRepositories;
|
16 | datasourceConfig: ArtifactOptions;
|
17 | constructor(app: ApplicationWithRepositories, projectRoot: string, datasourceConfig?: ArtifactOptions);
|
18 | /**
|
19 | * Uses super method to get a list of Artifact classes. Boot each file by
|
20 | * creating a DataSourceConstructor and binding it to the application class.
|
21 | */
|
22 | load(): Promise<void>;
|
23 | }
|
24 | /**
|
25 | * Default ArtifactOptions for DataSourceBooter.
|
26 | */
|
27 | export declare const DataSourceDefaults: ArtifactOptions;
|