Refactoring of Webhooks and Email Rules (#6954)

This commit is contained in:
Nicolas Dorier
2025-10-19 22:31:24 +09:00
committed by GitHub
parent 6b727dd192
commit e8282ca849
101 changed files with 2700 additions and 1611 deletions

View File

@@ -0,0 +1,12 @@
namespace BTCPayServer.Plugins.Webhooks.Views;
/// <summary>
/// Used to represent available webhooks with their descriptions in the ModifyWebhook view
/// </summary>
/// <param name="type">The webhook type</param>
/// <param name="description">User friendly description</param>
public class AvailableWebhookViewModel(string type, string description)
{
public string Type { get; } = type;
public string Description { get; } = description;
}