added PackageName property to IModule and ITheme interfaces to allow creators to specify the Nuget package name associated to a specific module/theme. This is necessary for packages which contain multiple extensions.
This commit is contained in:
@ -28,6 +28,7 @@ namespace Oqtane.Models
|
||||
ReleaseVersions = "";
|
||||
DefaultAction = "";
|
||||
SettingsType = "";
|
||||
PackageName = "";
|
||||
Runtimes = "";
|
||||
Template = "";
|
||||
}
|
||||
@ -92,6 +93,8 @@ namespace Oqtane.Models
|
||||
public string DefaultAction { get; set; }
|
||||
[NotMapped]
|
||||
public string SettingsType { get; set; } // added in 2.0.2
|
||||
[NotMapped]
|
||||
public string PackageName { get; set; } // added in 2.1.0
|
||||
|
||||
// internal properties
|
||||
[NotMapped]
|
||||
|
@ -15,6 +15,9 @@ namespace Oqtane.Models
|
||||
License = "";
|
||||
Dependencies = "";
|
||||
Template = "";
|
||||
ThemeSettingsType = "";
|
||||
ContainerSettingsType = "";
|
||||
PackageName = "";
|
||||
}
|
||||
|
||||
public string ThemeName { get; set; }
|
||||
@ -25,8 +28,9 @@ namespace Oqtane.Models
|
||||
public string Contact { get; set; }
|
||||
public string License { get; set; }
|
||||
public string Dependencies { get; set; }
|
||||
public string ThemeSettingsType { get; set; }
|
||||
public string ContainerSettingsType { get; set; }
|
||||
public string ThemeSettingsType { get; set; } // added in 2.0.2
|
||||
public string ContainerSettingsType { get; set; } // added in 2.0.2
|
||||
public string PackageName { get; set; } // added in 2.1.0
|
||||
|
||||
// internal properties
|
||||
public string AssemblyName { get; set; }
|
||||
|
Reference in New Issue
Block a user