* Model, service, test and migration updates to add name and description to webhook. * Update typed client models. * Fixed migration. * Front-end rendering and update of name and description. * Updated OpenApi.json * Reworked integration tests to avoid breaking change. * add name and description to editor header * remove name and description properties * render name as first column in the table * remove focus from url * remove required from name * add parentheses to align UX * add webhook paths * use edit path const in collection * add paths for root * remove unused * remove unused state --------- Co-authored-by: Mads Rasmussen <madsr@hey.com>
30 lines
541 B
C#
30 lines
541 B
C#
using Umbraco.Cms.Core.Models.Entities;
|
|
|
|
namespace Umbraco.Cms.Core.Models;
|
|
|
|
public interface IWebhook : IEntity
|
|
{
|
|
// TODO (V16): Remove the default implementations from this interface.
|
|
string? Name
|
|
{
|
|
get { return null; }
|
|
set { }
|
|
}
|
|
|
|
string? Description
|
|
{
|
|
get { return null; }
|
|
set { }
|
|
}
|
|
|
|
string Url { get; set; }
|
|
|
|
string[] Events { get; set; }
|
|
|
|
Guid[] ContentTypeKeys {get; set; }
|
|
|
|
bool Enabled { get; set; }
|
|
|
|
IDictionary<string, string> Headers { get; set; }
|
|
}
|