Page Contents

Home > @loopback/repository > PropertyDefinition

PropertyDefinition interface

Property definition for a model


export interface PropertyDefinition 


Property Modifiers Type Description
hidden?   boolean (Optional) Used to hide this property from the response body, adding this property to the hiddenProperties array
id?   boolean | number (Optional)
itemType?   PropertyType (Optional)
json?   PropertyForm (Optional)
jsonSchema?   JsonSchemaWithExtensions (Optional)
store?   PropertyForm (Optional)
type   PropertyType