// Copyright Epic Games, Inc. All Rights Reserved. using HordeCommon; using HordeServer.Api; using MongoDB.Bson; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using StreamId = HordeServer.Utilities.StringId; using TemplateRefId = HordeServer.Utilities.StringId; namespace HordeServer.Models { /// /// The type of notification to send /// public enum NotificationType { /// /// Send a DM on Slack /// Slack, } /// /// Subscription to a type of event /// public interface ISubscription { /// /// Unique id for this subscription /// public string Id { get; } /// /// Name of the event to subscribe to /// public IEvent Event { get; } /// /// User to notify /// public ObjectId UserId { get; } /// /// Type of notification to receive /// public NotificationType NotificationType { get; } } }