mirror of
https://github.com/azaion/annotations.git
synced 2026-04-23 03:36:31 +00:00
huge queue refactoring:
3 queues -> 1 queue send delete validate updates
This commit is contained in:
@@ -3,9 +3,10 @@ using MediatR;
|
||||
|
||||
namespace Azaion.Common.Events;
|
||||
|
||||
public class AnnotationsDeletedEvent(List<Annotation> annotations) : INotification
|
||||
public class AnnotationsDeletedEvent(List<string> annotationNames, bool fromQueue = false) : INotification
|
||||
{
|
||||
public List<Annotation> Annotations { get; set; } = annotations;
|
||||
public List<string> AnnotationNames { get; set; } = annotationNames;
|
||||
public bool FromQueue { get; set; } = fromQueue;
|
||||
}
|
||||
|
||||
public class AnnotationAddedEvent(Annotation annotation) : INotification
|
||||
|
||||
Reference in New Issue
Block a user