mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 21:56:31 +00:00
d92da6afa4
notifying client of AI model conversion
14 lines
376 B
C#
14 lines
376 B
C#
using Azaion.Common.Database;
|
|
using MediatR;
|
|
|
|
namespace Azaion.Common.Events;
|
|
|
|
public class AnnotationsDeletedEvent(List<Annotation> annotations) : INotification
|
|
{
|
|
public List<Annotation> Annotations { get; set; } = annotations;
|
|
}
|
|
|
|
public class AnnotationAddedEvent(Annotation annotation) : INotification
|
|
{
|
|
public Annotation Annotation { get; set; } = annotation;
|
|
} |