render mode integration
This commit is contained in:
@ -2,8 +2,7 @@ namespace Oqtane.Shared
|
||||
{
|
||||
public enum Runtime
|
||||
{
|
||||
Server,
|
||||
WebAssembly,
|
||||
Web,
|
||||
Hybrid
|
||||
}
|
||||
}
|
||||
|
@ -69,19 +69,19 @@ namespace Oqtane.Models
|
||||
public string SiteGuid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The hosting model for the site (ie. Server or WebAssembly ).
|
||||
/// </summary>
|
||||
public string Runtime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The render mode for the site (ie. Server, ServerPrerendered, WebAssembly, WebAssemblyPrerendered ).
|
||||
/// The default render mode for the site (ie. Static,InteractiveServer,InteractiveWebAssembly,InteractiveAuto)
|
||||
/// </summary>
|
||||
public string RenderMode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// If the site supports prerendering (only applies to Interactive rendering)
|
||||
/// </summary>
|
||||
public bool Prerender { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Indicates if a site can be integrated with an external .NET MAUI hybrid application
|
||||
/// </summary>
|
||||
public bool HybridEnabled { get; set; }
|
||||
public bool Hybrid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Keeps track of site configuration changes and is used by the ISiteMigration interface
|
||||
|
@ -17,7 +17,6 @@ namespace Oqtane.Shared
|
||||
public string DefaultTheme { get; set; }
|
||||
public string DefaultContainer { get; set; }
|
||||
public string DefaultAdminContainer { get; set; }
|
||||
public string Runtime { get; set; }
|
||||
public string RenderMode { get; set; }
|
||||
public bool Register { get; set; }
|
||||
}
|
||||
|
8
Oqtane.Shared/Shared/RenderModes.cs
Normal file
8
Oqtane.Shared/Shared/RenderModes.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace Oqtane.Shared {
|
||||
public class RenderModes {
|
||||
public const string StaticServer = "StaticServer";
|
||||
public const string InteractiveServer = "InteractiveServer";
|
||||
public const string InteractiveWebAssembly = "InteractiveWebAssembly";
|
||||
public const string InteractiveAuto = "InteractiveAuto";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user