More Bugfixes (#2989)
This commit is contained in:
parent
1ae723b405
commit
a3e020fe17
49 changed files with 579 additions and 272 deletions
|
@ -6,10 +6,23 @@ namespace API.DTOs;
|
|||
public class MangaFileDto
|
||||
{
|
||||
public int Id { get; init; }
|
||||
/// <summary>
|
||||
/// Absolute path to the archive file (normalized)
|
||||
/// </summary>
|
||||
public string FilePath { get; init; } = default!;
|
||||
/// <summary>
|
||||
/// Number of pages for the given file
|
||||
/// </summary>
|
||||
public int Pages { get; init; }
|
||||
/// <summary>
|
||||
/// How many bytes make up this file
|
||||
/// </summary>
|
||||
public long Bytes { get; init; }
|
||||
public MangaFormat Format { get; init; }
|
||||
public DateTime Created { get; init; }
|
||||
/// <summary>
|
||||
/// File extension
|
||||
/// </summary>
|
||||
public string? Extension { get; set; }
|
||||
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using API.Entities.Enums;
|
||||
using System;
|
||||
using API.Entities.Enums;
|
||||
using API.Services;
|
||||
|
||||
namespace API.DTOs.Settings;
|
||||
|
@ -88,6 +89,14 @@ public class ServerSettingDto
|
|||
/// SMTP Configuration
|
||||
/// </summary>
|
||||
public SmtpConfigDto SmtpConfig { get; set; }
|
||||
/// <summary>
|
||||
/// The Date Kavita was first installed
|
||||
/// </summary>
|
||||
public DateTime? FirstInstallDate { get; set; }
|
||||
/// <summary>
|
||||
/// The Version of Kavita on the first run
|
||||
/// </summary>
|
||||
public string? FirstInstallVersion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Are at least some basics filled in
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace API.DTOs.Stats;
|
||||
using System;
|
||||
|
||||
namespace API.DTOs.Stats;
|
||||
|
||||
/// <summary>
|
||||
/// This is just for the Server tab on UI
|
||||
|
@ -17,5 +19,13 @@ public class ServerInfoSlimDto
|
|||
/// Version of Kavita
|
||||
/// </summary>
|
||||
public required string KavitaVersion { get; set; }
|
||||
/// <summary>
|
||||
/// The Date Kavita was first installed
|
||||
/// </summary>
|
||||
public DateTime? FirstInstallDate { get; set; }
|
||||
/// <summary>
|
||||
/// The Version of Kavita on the first run
|
||||
/// </summary>
|
||||
public string? FirstInstallVersion { get; set; }
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue