Files
Jackett-Jackett/src/Jackett.Common/Services/Interfaces/IConfigurationService.cs

22 lines
654 B
C#

using Jackett.Common.Models.Config;
using System.Collections.Generic;
namespace Jackett.Common.Services.Interfaces
{
public interface IConfigurationService
{
string GetContentFolder();
string GetVersion();
string GetIndexerConfigDir();
string GetAppDataFolder();
string GetSonarrConfigFile();
T GetConfig<T>();
void SaveConfig<T>(T config);
string ApplicationFolder();
List<string> GetCardigannDefinitionsFolders();
void CreateOrMigrateSettings();
void PerformMigration();
ServerConfig BuildServerConfig(RuntimeSettings runtimeSettings);
}
}