UX Overhaul Part 2 (#3112)
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
parent
0247bc5012
commit
3d8aa2ad24
192 changed files with 14808 additions and 1874 deletions
|
@ -138,6 +138,14 @@ public static class MessageFactory
|
|||
/// A Progress event when a smart collection is synchronizing
|
||||
/// </summary>
|
||||
public const string SmartCollectionSync = "SmartCollectionSync";
|
||||
/// <summary>
|
||||
/// Chapter is removed from server
|
||||
/// </summary>
|
||||
public const string ChapterRemoved = "ChapterRemoved";
|
||||
/// <summary>
|
||||
/// Volume is removed from server
|
||||
/// </summary>
|
||||
public const string VolumeRemoved = "VolumeRemoved";
|
||||
|
||||
public static SignalRMessage DashboardUpdateEvent(int userId)
|
||||
{
|
||||
|
@ -213,6 +221,32 @@ public static class MessageFactory
|
|||
};
|
||||
}
|
||||
|
||||
public static SignalRMessage ChapterRemovedEvent(int chapterId, int seriesId)
|
||||
{
|
||||
return new SignalRMessage()
|
||||
{
|
||||
Name = ChapterRemoved,
|
||||
Body = new
|
||||
{
|
||||
SeriesId = seriesId,
|
||||
ChapterId = chapterId
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public static SignalRMessage VolumeRemovedEvent(int volumeId, int seriesId)
|
||||
{
|
||||
return new SignalRMessage()
|
||||
{
|
||||
Name = VolumeRemoved,
|
||||
Body = new
|
||||
{
|
||||
SeriesId = seriesId,
|
||||
VolumeId = volumeId
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
public static SignalRMessage WordCountAnalyzerProgressEvent(int libraryId, float progress, string eventType, string subtitle = "")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue