namespace API.SignalR
{
public static class SignalREvents
{
///
/// An update is available for the Kavita instance
///
public const string UpdateAvailable = "UpdateAvailable";
///
/// Used to tell when a scan series completes
///
public const string ScanSeries = "ScanSeries";
///
/// Event sent out during Refresh Metadata for progress tracking
///
public const string RefreshMetadataProgress = "RefreshMetadataProgress";
///
/// Series is added to server
///
public const string SeriesAdded = "SeriesAdded";
///
/// Series is removed from server
///
public const string SeriesRemoved = "SeriesRemoved";
///
/// Progress event for Scan library
///
public const string ScanLibraryProgress = "ScanLibraryProgress";
///
/// When a user is connects/disconnects from server
///
public const string OnlineUsers = "OnlineUsers";
///
/// When a series is added to a collection
///
public const string SeriesAddedToCollection = "SeriesAddedToCollection";
///
/// When an error occurs during a scan library task
///
public const string ScanLibraryError = "ScanLibraryError";
///
/// Event sent out during backing up the database
///
public const string BackupDatabaseProgress = "BackupDatabaseProgress";
///
/// Event sent out during cleaning up temp and cache folders
///
public const string CleanupProgress = "CleanupProgress";
///
/// Event sent out during downloading of files
///
public const string DownloadProgress = "DownloadProgress";
///
/// A cover was updated
///
public const string CoverUpdate = "CoverUpdate";
}
}