mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-04 03:27:05 -05:00 
			
		
		
		
	* Replaced profile links to anchors so we can open in new tab if we like * Refactored how update checking works. We now explicitly check and send back on the same API. We have a weekly job that will push an update to the user. * Implemented a changelog tab * Ported over a GA fix for using ' in PR bodies. * Don't check cert for Github
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
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 string CurrentVersion { get; init; }
 | 
						|
        /// <summary>
 | 
						|
        /// Semver of the release version
 | 
						|
        /// <example>0.4.3</example>
 | 
						|
        /// </summary>
 | 
						|
        public string UpdateVersion { get; init; }
 | 
						|
        /// <summary>
 | 
						|
        /// Release body in HTML
 | 
						|
        /// </summary>
 | 
						|
        public string UpdateBody { get; init; }
 | 
						|
        /// <summary>
 | 
						|
        /// Title of the release
 | 
						|
        /// </summary>
 | 
						|
        public string UpdateTitle { get; init; }
 | 
						|
        /// <summary>
 | 
						|
        /// Github Url
 | 
						|
        /// </summary>
 | 
						|
        public 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; }
 | 
						|
    }
 | 
						|
}
 |