added metadata support for Module and Theme templates

This commit is contained in:
Shaun Walker
2021-05-31 11:59:19 -04:00
parent 276817c89d
commit ddd657bfa7
12 changed files with 136 additions and 61 deletions

View File

@ -0,0 +1,28 @@
namespace Oqtane.Models
{
/// <summary>
/// model for defining metadata for a Module or Theme template
/// </summary>
public class Template
{
/// <summary>
/// name of template
/// </summary>
public string Name { get; set; }
/// <summary>
/// type of template - Internal / External
/// </summary>
public string Type { get; set; }
/// <summary>
/// minimum framework version dependency
/// </summary>
public string Version { get; set; }
/// <summary>
/// location where template will be created (dynamically set)
/// </summary>
public string Location { get; set; }
}
}