install/upgrade refactoring to consolidate all use cases and implement IInstallable interface for modules, moved tenant creation to site management UI, fixed z-order issues in Blazor theme, enhanced JS Interop methods to support integrity and crossorigin
This commit is contained in:
12
Oqtane.Server/Infrastructure/Interfaces/IDatabaseManager.cs
Normal file
12
Oqtane.Server/Infrastructure/Interfaces/IDatabaseManager.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using Oqtane.Models;
|
||||
using Oqtane.Shared;
|
||||
|
||||
namespace Oqtane.Infrastructure
|
||||
{
|
||||
public interface IDatabaseManager
|
||||
{
|
||||
bool IsInstalled();
|
||||
Installation Install();
|
||||
Installation Install(InstallConfig install);
|
||||
}
|
||||
}
|
@ -1,8 +1,10 @@
|
||||
namespace Oqtane.Infrastructure
|
||||
using Oqtane.Models;
|
||||
|
||||
namespace Oqtane.Infrastructure
|
||||
{
|
||||
public interface IInstallable
|
||||
{
|
||||
bool Install(string version);
|
||||
bool Uninstall();
|
||||
bool Install(Tenant tenant, string version);
|
||||
bool Uninstall(Tenant tenant);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user