BasicTemplateDefinition
The structural core of a Template, as code that reads and displays Items needs it: its Properties and the Relations on both sides.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”description?
Section titled “description?”
readonlyoptionaldescription?:string
Description set with setDescription, or undefined.
fromRelations
Section titled “fromRelations”
readonlyfromRelations:Record<string,RelationDefinition>
Relations declared on this Template, keyed by Relation key.
readonlyprn:string
PRN of the Template, prn::<app>:template/<key>.
properties
Section titled “properties”
readonlyproperties:Record<string,PropertyDefinition>
Properties of the Template, keyed by Property key.
toRelations
Section titled “toRelations”
readonlytoRelations:Record<string,RelationDefinition>
Relations that target this Template, directly or through a Union, keyed by their toKey; filled once every App is built.

