mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-27 22:56:45 -04:00
New: Added FileList.io indexer support
Signed-off-by: Robin Dadswell <robin@dadswell.email>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace NzbDrone.Core.Annotations
|
||||
{
|
||||
@@ -22,6 +23,20 @@ namespace NzbDrone.Core.Annotations
|
||||
public HiddenType Hidden { get; set; }
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
|
||||
public class FieldOptionAttribute : Attribute
|
||||
{
|
||||
public FieldOptionAttribute(string label = null, [CallerLineNumber] int order = 0)
|
||||
{
|
||||
Order = order;
|
||||
Label = label;
|
||||
}
|
||||
|
||||
public int Order { get; private set; }
|
||||
public string Label { get; set; }
|
||||
public string Hint { get; set; }
|
||||
}
|
||||
|
||||
public enum FieldType
|
||||
{
|
||||
Textbox,
|
||||
|
||||
Reference in New Issue
Block a user