@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
42 lines (27 loc) • 1.6 kB
Markdown
lang: en
title: 'API docs: model-api-builder'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/model-api-builder
permalink: /doc/en/lb4/apidocs.model-api-builder.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/model-api-builder](./model-api-builder.md)
## model-api-builder package
A packge with types and helpers for packages contributing Model API builders.
## Remarks
Provides a contract for extensions that contribute builders for repositories and controllers. Users provide both the model class and an extension. The extension is then used to build their repository and controller based on the model class.
## Interfaces
| Interface | Description |
| --- | --- |
| [ModelApiBuilder](./model-api-builder.modelapibuilder.md) | Interface for extensions contributing custom API flavors. |
## Variables
| Variable | Description |
| --- | --- |
| [asModelApiBuilder](./model-api-builder.asmodelapibuilder.md) | A binding template for model API extensions |
| [MODEL\_API\_BUILDER\_PLUGINS](./model-api-builder.model_api_builder_plugins.md) | Extension Point name for Model API builders. |
## Type Aliases
| Type Alias | Description |
| --- | --- |
| [ModelApiConfig](./model-api-builder.modelapiconfig.md) | Configuration settings for individual model files. This type describes content of <code>public-models/{model-name}.config.json</code> files. |