fix #5005 - adds versioning (ie. fingerprinting) for static assets - core, modules, and themes.
This commit is contained in:
@ -40,10 +40,13 @@ namespace Oqtane.Models
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
// additional ITheme properties
|
||||
[NotMapped]
|
||||
/// <summary>
|
||||
/// Version information of this Theme based on the information stored in its assembly
|
||||
/// </summary>
|
||||
public string Version { get; set; }
|
||||
|
||||
// additional ITheme properties
|
||||
|
||||
[NotMapped]
|
||||
public string Owner { get; set; }
|
||||
|
||||
@ -78,17 +81,25 @@ namespace Oqtane.Models
|
||||
// internal properties
|
||||
[NotMapped]
|
||||
public int SiteId { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public bool IsEnabled { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string AssemblyName { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public List<ThemeControl> Themes { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public List<ThemeControl> Containers { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string Template { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string Hash { get; set; }
|
||||
|
||||
#region Obsolete Properties
|
||||
|
||||
[Obsolete("This property is obsolete. Use Themes instead.", false)]
|
||||
|
Reference in New Issue
Block a user