Skip to content

TemplateRoleBuilder

Configures a Template Role, resolved per Item by its callback.

readonly prn: string

Platform Resource Name of the declared resource, derived from the App key and resource key.

BaseRoleBuilder.prn

setDescription(description): this

Sets the description emitted into the definition and rendered in generated reference and application assets.

string

Human-readable description of the resource.

this

This builder for chaining.

BaseRoleBuilder.setDescription


toDefinition(): TemplateRoleDefinition

Emits the Role Definition, including its resolver callback.

TemplateRoleDefinition