added metadata support for Module and Theme templates
This commit is contained in:
28
Oqtane.Shared/Models/Template.cs
Normal file
28
Oqtane.Shared/Models/Template.cs
Normal 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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user