feat: Added the ability to specify which branch you are on

Currently this will only affect the update check on the settings page, this will not switch builds for you
This commit is contained in:
tidusjar 2021-10-07 16:36:42 +01:00
commit 777ed2f322
6 changed files with 55 additions and 22 deletions

View file

@ -1,6 +1,6 @@
namespace Ombi.Settings.Settings.Models
{
public class OmbiSettings : Models.Settings
public class OmbiSettings : Settings
{
public string BaseUrl { get; set; }
public bool CollectAnalyticData { get; set; }
@ -12,9 +12,16 @@
public string DefaultLanguageCode { get; set; } = "en";
public bool AutoDeleteAvailableRequests { get; set; }
public int AutoDeleteAfterDays { get; set; }
public Branch Branch { get; set; }
//INTERNAL
public bool HasMigratedOldTvDbData { get; set; }
public bool Set { get; set; }
}
public enum Branch
{
Develop = 0,
Stable = 1,
}
}