using IWS5.Core.Enums;
using IWS5.DatabaseAccess.IwsDataModels;

namespace IWS5.DatabaseAccess.Interfaces;

public interface ITriggerDefinitionRepository : IIWSRepository<AteventTriggerDefinition>
{
    Task<List<AteventTriggerDefinition>> ListTriggerDefinitionsByWorkItemIdAsync(int workItemId, ATTriggerHook? hook = null, ATTriggerAction? action = null);
}