1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-26 22:56:23 -04:00

Added PrivacyLevel option to FieldDefinition for later usage

This commit is contained in:
Taloth Saldono
2020-09-22 22:31:58 +02:00
parent 25baf7bb45
commit 5aa92f47b6
32 changed files with 59 additions and 50 deletions
@@ -20,6 +20,7 @@ namespace NzbDrone.Core.Annotations
public Type SelectOptions { get; set; }
public string Section { get; set; }
public HiddenType Hidden { get; set; }
public PrivacyLevel Privacy { get; set; }
}
public enum FieldType
@@ -45,4 +46,12 @@ namespace NzbDrone.Core.Annotations
Hidden,
HiddenIfNotSet
}
public enum PrivacyLevel
{
Normal,
Password,
ApiKey,
UserName
}
}