1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-23 22:25:14 -04:00

Added PrivacyLevel option to FieldDefinition for later usage

Fixes #5107

Co-Authored-By: Taloth <Taloth@users.noreply.github.com>
This commit is contained in:
Qstick
2020-10-16 23:27:01 -04:00
parent 6ee2780370
commit 67fca87c44
38 changed files with 74 additions and 65 deletions
@@ -21,6 +21,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 string RequestAction { get; set; }
}
@@ -62,4 +63,12 @@ namespace NzbDrone.Core.Annotations
Hidden,
HiddenIfNotSet
}
public enum PrivacyLevel
{
Normal,
Password,
ApiKey,
UserName
}
}