mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
22 lines
654 B
C#
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);
|
|
}
|
|
}
|