OlympeInterfacesEntryVersion: 2.9On this pageEntry The entry of a brick is a static object linked to the brick class itself that is used to make the link between the code and the database. It stores tags linked to a specific brick :tag of the brick itselftags of properties that can be used as constants.@deprecatedHierarchyHasTagEntryIndex MethodsaddPropertyaddRelationgetTagMethods addPropertyaddProperty<T>(tag: string): Property<T>Register a property on the brick with the specified tag.@deprecateduse defineProperty insteadType parametersTParameterstag: stringReturns Property<T>the property descriptoraddRelationaddRelation(tag: string, direction: Direction): Related<any, any>Register a new relation type with the specified tag and direction@deprecateduse defineRelation insteadParameterstag: stringdirection: DirectionReturns Related<any, any>getTaggetTag(): stringReturns stringtag of this instance
The entry of a brick is a static object linked to the brick class itself that is used to make the link between the code and the database. It stores tags linked to a specific brick :