mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-20 22:10:33 -04:00
25 lines
567 B
C#
25 lines
567 B
C#
using System.Collections.Generic;
|
|
using API.Entities.Enums;
|
|
|
|
namespace API.DTOs.Statistics;
|
|
#nullable enable
|
|
|
|
public sealed record FileExtensionDto
|
|
{
|
|
public string? Extension { get; set; }
|
|
public MangaFormat Format { get; set; }
|
|
public long TotalSize { get; set; }
|
|
public long TotalFiles { get; set; }
|
|
}
|
|
|
|
public sealed record FileExtensionBreakdownDto
|
|
{
|
|
/// <summary>
|
|
/// Total bytes for all files
|
|
/// </summary>
|
|
public long TotalFileSize { get; set; }
|
|
|
|
public IList<FileExtensionDto> FileBreakdown { get; set; } = default!;
|
|
|
|
}
|