using Iceshrimp.Shared.Schemas.Web; namespace Iceshrimp.Shared.Schemas.SignalR; public interface IStreamingHubServer { public Task Subscribe(StreamingTimeline timeline); public Task Unsubscribe(StreamingTimeline timeline); } public interface IStreamingHubClient { public Task Notification(NotificationResponse notification); public Task NotePublished(List timelines, NoteResponse note); public Task NoteUpdated(List timelines, NoteResponse note); } public enum StreamingTimeline { Home, Local, Federated }