Class: LabelTrait
traits.LabelTrait
Adds name and type properties, useful for querying on server-side and for choosing client-side component.
TODO: I might move
typeto base Entity class, seems I'm usingtypeeverywhere anyway
Constructors
constructor
• new LabelTrait()
LabelTrait Properties
name
• name: string
type
• type: string
Type should be unique to schema object! If you're extending this schema and adding new fields - set the new type string!