Small UI changes (#3787)
This commit is contained in:
parent
50a052e412
commit
5b8a643d82
203 changed files with 369 additions and 446 deletions
|
@ -3,7 +3,7 @@ using API.Entities.Enums.Device;
|
|||
|
||||
namespace API.DTOs.Device;
|
||||
|
||||
public class CreateDeviceDto
|
||||
public sealed record CreateDeviceDto
|
||||
{
|
||||
[Required]
|
||||
public string Name { get; set; } = default!;
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace API.DTOs.Device;
|
|||
/// <summary>
|
||||
/// A Device is an entity that can receive data from Kavita (kindle)
|
||||
/// </summary>
|
||||
public class DeviceDto
|
||||
public sealed record DeviceDto
|
||||
{
|
||||
/// <summary>
|
||||
/// The device Id
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
namespace API.DTOs.Device;
|
||||
|
||||
public class SendSeriesToDeviceDto
|
||||
public sealed record SendSeriesToDeviceDto
|
||||
{
|
||||
public int DeviceId { get; set; }
|
||||
public int SeriesId { get; set; }
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace API.DTOs.Device;
|
||||
|
||||
public class SendToDeviceDto
|
||||
public sealed record SendToDeviceDto
|
||||
{
|
||||
public int DeviceId { get; set; }
|
||||
public IReadOnlyList<int> ChapterIds { get; set; } = default!;
|
||||
|
|
|
@ -3,7 +3,7 @@ using API.Entities.Enums.Device;
|
|||
|
||||
namespace API.DTOs.Device;
|
||||
|
||||
public class UpdateDeviceDto
|
||||
public sealed record UpdateDeviceDto
|
||||
{
|
||||
[Required]
|
||||
public int Id { get; set; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue