BaseReadTemplate
Presents the parts of a Template that do not depend on the type of its Items: its definition, Grants, Roles and Relations.
Remarks
Section titled “Remarks”Accept this where only the Template itself is needed, for example to create a child of it. Unlike ReadTemplate it never mentions an Item type, so checking a generated Template against it does not compare the generated Item types, and through their Relations the whole graph of Items, against ReadItem.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”definition
Section titled “definition”
readonlydefinition:TemplateDefinition
The complete Template definition.
grants
Section titled “grants”
readonlygrants:TemplateGrantInstance[]
Grants declared on the Template, one per granted Role.
isExtensible
Section titled “isExtensible”
readonlyisExtensible:boolean
Whether parent Items may extend this Template’s Properties for their children; see ReadTemplateExtension.
readonlyprn:string
The PRN identifying this Template, for example prn::identity:template/user.
properties
Section titled “properties”
readonlyproperties:Readonly<Record<string,PropertyDefinition>>
Property definitions declared by the Template, keyed by Property key.
relations
Section titled “relations”
readonlyrelations:Record<string,RelationDefinition>
Relations declared from and to this Template, keyed by Relation key.
readonlyroles:Record<string,TemplateRoleInstance>
Template Roles declared by the Template, keyed by Role key.

