Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

1.1 KB
Raw Blame
namespace API.DTOs.Update;

/// <summary>
/// Update Notification denoting a new release available for user to update to
/// </summary>
public class UpdateNotificationDto
{
    /// <summary>
    /// Current installed Version
    /// </summary>
    public required string CurrentVersion { get; init; }
    /// <summary>
    /// Semver of the release version
    /// <example>0.4.3</example>
    /// </summary>
    public required string UpdateVersion { get; init; }
    /// <summary>
    /// Release body in HTML
    /// </summary>
    public required string UpdateBody { get; init; }
    /// <summary>
    /// Title of the release
    /// </summary>
    public required string UpdateTitle { get; init; }
    /// <summary>
    /// Github Url
    /// </summary>
    public required string UpdateUrl { get; init; }
    /// <summary>
    /// If this install is within Docker
    /// </summary>
    public bool IsDocker { get; init; }
    /// <summary>
    /// Is this a pre-release
    /// </summary>
    public bool IsPrerelease { get; init; }
    /// <summary>
    /// Date of the publish
    /// </summary>
    public required string PublishDate { get; init; }
}