Added Events, Filters, and IncludeSubdirectories to fileupdate call type
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
using Microsoft.Extensions.Diagnostics.HealthChecks;
|
||||
|
||||
namespace Indexer.Models;
|
||||
|
||||
public class CallConfig
|
||||
{
|
||||
public required string Type { get; set; }
|
||||
public long? Interval { get; set; } // For Type: Interval
|
||||
public string? Path { get; set; } // For Type: FileSystemWatcher
|
||||
public string? Schedule { get; set; } // For Type: Schedule
|
||||
public List<string>? Events { get; set; } // For Type: Schedule
|
||||
public List<string>? Filters { get; set; } // For Type: Schedule
|
||||
public bool? IncludeSubdirectories { get; set; } // For Type: Schedule
|
||||
}
|
||||
public interface ICall
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user