UNPKG

@loopback/docs

Version:
45 lines (31 loc) 1.68 kB
--- lang: en title: 'API docs: boot.modelapibooter' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar editurl: https://github.com/strongloop/loopback-next/tree/master/packages/boot permalink: /doc/en/lb4/apidocs.boot.modelapibooter.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/boot](./boot.md) &gt; [ModelApiBooter](./boot.modelapibooter.md) ## ModelApiBooter class <b>Signature:</b> ```typescript export declare class ModelApiBooter extends BaseArtifactBooter ``` ## Constructors | Constructor | Modifiers | Description | | --- | --- | --- | | [(constructor)(app, projectRoot, getModelApiBuilders, booterConfig)](./boot.modelapibooter._constructor_.md) | | Constructs a new instance of the <code>ModelApiBooter</code> class | ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [app](./boot.modelapibooter.app.md) | | <code>ApplicationWithRepositories</code> | | | [booterConfig](./boot.modelapibooter.booterconfig.md) | | <code>ArtifactOptions</code> | | | [getModelApiBuilders](./boot.modelapibooter.getmodelapibuilders.md) | | <code>Getter&lt;ModelApiBuilder[]&gt;</code> | | ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [getApiBuilderForPattern(pattern)](./boot.modelapibooter.getapibuilderforpattern.md) | | Retrieve the API builder that matches the pattern provided | | [load()](./boot.modelapibooter.load.md) | | Load the the model config files | | [setupModel(configFile)](./boot.modelapibooter.setupmodel.md) | | Set up the loaded model classes |