Page Contents

Home > @loopback/repository > ModelDefinitionSyntax

ModelDefinitionSyntax interface

DSL for building a model definition.

Signature:

export interface ModelDefinitionSyntax 

Properties

Property Type Description
name string  
properties {
[name: string]: PropertyDefinition | PropertyType;
}
 
relations RelationDefinitionMap  
settings {
[name: string]: any;
}