Added Events, Filters, and IncludeSubdirectories to fileupdate call type

This commit is contained in:
2025-08-31 01:15:38 +02:00
parent d8e03d1ee0
commit bb6f7c31fb
3 changed files with 24 additions and 5 deletions

View File

@@ -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
{