mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-05-28 10:32:34 -04:00
Kavita+ Overhaul & New Changelog (#3507)
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
namespace API.DTOs.Update;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices.JavaScript;
|
||||
|
||||
namespace API.DTOs.Update;
|
||||
|
||||
/// <summary>
|
||||
/// Update Notification denoting a new release available for user to update to
|
||||
@@ -21,11 +24,11 @@ public class UpdateNotificationDto
|
||||
/// <summary>
|
||||
/// Title of the release
|
||||
/// </summary>
|
||||
public required string UpdateTitle { get; init; }
|
||||
public required string UpdateTitle { get; set; }
|
||||
/// <summary>
|
||||
/// Github Url
|
||||
/// </summary>
|
||||
public required string UpdateUrl { get; init; }
|
||||
public required string UpdateUrl { get; set; }
|
||||
/// <summary>
|
||||
/// If this install is within Docker
|
||||
/// </summary>
|
||||
@@ -37,7 +40,8 @@ public class UpdateNotificationDto
|
||||
/// <summary>
|
||||
/// Date of the publish
|
||||
/// </summary>
|
||||
public required string PublishDate { get; init; }
|
||||
public required string PublishDate { get; set
|
||||
; }
|
||||
/// <summary>
|
||||
/// Is the server on a nightly within this release
|
||||
/// </summary>
|
||||
@@ -50,4 +54,16 @@ public class UpdateNotificationDto
|
||||
/// Is the server on this version
|
||||
/// </summary>
|
||||
public bool IsReleaseEqual { get; set; }
|
||||
|
||||
public IList<string> Added { get; set; }
|
||||
public IList<string> Removed { get; set; }
|
||||
public IList<string> Changed { get; set; }
|
||||
public IList<string> Fixed { get; set; }
|
||||
public IList<string> Theme { get; set; }
|
||||
public IList<string> Developer { get; set; }
|
||||
public IList<string> Api { get; set; }
|
||||
/// <summary>
|
||||
/// The part above the changelog part
|
||||
/// </summary>
|
||||
public string BlogPart { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user