Page Contents
Home > @loopback/repository > PropertyDefinition
PropertyDefinition interface
Property definition for a model
Signature:
export interface PropertyDefinition
Properties
| Property | 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 |