Model for capturing metadata for a template used for rendering source code. Provides an interface to define, what a specific template expects and needs in order to generate code. Additionally, TemplateModel instance determines the location of the template to be used.

interface SidebarComponentTemplate {
    placeholders: {
        collection_aggregates: { [capabilityPath: string]: string };
    };
    templatePath: string;
}

Hierarchy (View Summary)

Properties

placeholders: { collection_aggregates: { [capabilityPath: string]: string } }

An object containing placeholders for template values. These properties must provide a corresponding value before being processed by the template renderer.

templatePath: string

The path to the template to be rendered.