Interface DataLayerTemplateDescription

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 DataLayerTemplateDescription {
    placeholders?: {
        [placeHolderName: string]: null | string | object | ImportRelativePath;
    };
    templatePath: string;
}

Hierarchy (View Summary)

Properties

placeholders?: {
    [placeHolderName: string]: null | string | object | ImportRelativePath;
}

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.