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 |
|
15 | export declare class RepositoryBooter extends BaseArtifactBooter {
|
16 | app: ApplicationWithRepositories;
|
17 | repositoryOptions: ArtifactOptions;
|
18 | constructor(app: ApplicationWithRepositories, projectRoot: string, repositoryOptions?: ArtifactOptions);
|
19 | /**
|
20 | * Uses super method to get a list of Artifact classes. Boot each class by
|
21 | * binding it to the application using `app.repository(repository);` if present.
|
22 | */
|
23 | load(): Promise<void>;
|
24 | }
|
25 | /**
|
26 | * Default ArtifactOptions for RepositoryBooter.
|
27 | */
|
28 | export declare const RepositoryDefaults: ArtifactOptions;
|