Skip to content

BasicTemplateDefinition

The structural core of a Template, as code that reads and displays Items needs it: its Properties and the Relations on both sides.

readonly optional description?: string

Description set with setDescription, or undefined.


readonly fromRelations: Record<string, RelationDefinition>

Relations declared on this Template, keyed by Relation key.


readonly prn: string

PRN of the Template, prn::<app>:template/<key>.


readonly properties: Record<string, PropertyDefinition>

Properties of the Template, keyed by Property key.


readonly toRelations: Record<string, RelationDefinition>

Relations that target this Template, directly or through a Union, keyed by their toKey; filled once every App is built.