mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:26:31 +00:00
d02550f5a0
3 queues -> 1 queue send delete validate updates
15 lines
457 B
C#
15 lines
457 B
C#
using Azaion.Common.Database;
|
|
using MediatR;
|
|
|
|
namespace Azaion.Common.Events;
|
|
|
|
public class AnnotationsDeletedEvent(List<string> annotationNames, bool fromQueue = false) : INotification
|
|
{
|
|
public List<string> AnnotationNames { get; set; } = annotationNames;
|
|
public bool FromQueue { get; set; } = fromQueue;
|
|
}
|
|
|
|
public class AnnotationAddedEvent(Annotation annotation) : INotification
|
|
{
|
|
public Annotation Annotation { get; set; } = annotation;
|
|
} |