-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00f44d5
commit c6a9a61
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
src/Umbraco.Core/Webhooks/Events/PublicAccess/PublicAccessEntryDeletedWebhookEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using Microsoft.Extensions.Options; | ||
using Umbraco.Cms.Core.Configuration.Models; | ||
using Umbraco.Cms.Core.Notifications; | ||
using Umbraco.Cms.Core.Services; | ||
using Umbraco.Cms.Core.Sync; | ||
|
||
namespace Umbraco.Cms.Core.Webhooks.Events.PublicAccess; | ||
|
||
[WebhookEvent("Public Access Entry Deleted")] | ||
public class PublicAccessEntryDeletedWebhookEvent : WebhookEventBase<PublicAccessEntryDeletedNotification> | ||
{ | ||
public PublicAccessEntryDeletedWebhookEvent( | ||
IWebhookFiringService webhookFiringService, | ||
IWebhookService webHookService, | ||
IOptionsMonitor<WebhookSettings> webhookSettings, | ||
IServerRoleAccessor serverRoleAccessor) | ||
: base(webhookFiringService, webHookService, webhookSettings, serverRoleAccessor) | ||
{ | ||
} | ||
|
||
public override string Alias => "publicAccessEntryDeleted"; | ||
} |
22 changes: 22 additions & 0 deletions
22
src/Umbraco.Core/Webhooks/Events/PublicAccess/PublicAccessEntrySavedWebhookEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using Microsoft.Extensions.Options; | ||
using Umbraco.Cms.Core.Configuration.Models; | ||
using Umbraco.Cms.Core.Notifications; | ||
using Umbraco.Cms.Core.Services; | ||
using Umbraco.Cms.Core.Sync; | ||
|
||
namespace Umbraco.Cms.Core.Webhooks.Events.PublicAccess; | ||
|
||
[WebhookEvent("Public Access Entry Saved")] | ||
public class PublicAccessEntrySavedWebhookEvent : WebhookEventBase<PublicAccessEntrySavedNotification> | ||
{ | ||
public PublicAccessEntrySavedWebhookEvent( | ||
IWebhookFiringService webhookFiringService, | ||
IWebhookService webHookService, | ||
IOptionsMonitor<WebhookSettings> webhookSettings, | ||
IServerRoleAccessor serverRoleAccessor) | ||
: base(webhookFiringService, webHookService, webhookSettings, serverRoleAccessor) | ||
{ | ||
} | ||
|
||
public override string Alias => "publicAccessEntrySaved"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters