mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 06:15:25 -04:00
Inherit web links for Series and bug fixes (#4152)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using API.Entities;
|
||||
using API.Entities.Enums;
|
||||
|
||||
namespace API.DTOs;
|
||||
@@ -8,30 +9,45 @@ public sealed record UpdateLibraryDto
|
||||
{
|
||||
[Required]
|
||||
public int Id { get; init; }
|
||||
/// <inheritdoc cref="Library.Name"/>
|
||||
[Required]
|
||||
public required string Name { get; init; }
|
||||
/// <inheritdoc cref="Library.Type"/>
|
||||
[Required]
|
||||
public LibraryType Type { get; set; }
|
||||
/// <inheritdoc cref="Library.Folders"/>
|
||||
[Required]
|
||||
public required IEnumerable<string> Folders { get; init; }
|
||||
/// <inheritdoc cref="Library.FolderWatching"/>
|
||||
[Required]
|
||||
public bool FolderWatching { get; init; }
|
||||
/// <inheritdoc cref="Library.IncludeInDashboard"/>
|
||||
[Required]
|
||||
public bool IncludeInDashboard { get; init; }
|
||||
/// <inheritdoc cref="Library.IncludeInSearch"/>
|
||||
[Required]
|
||||
public bool IncludeInSearch { get; init; }
|
||||
/// <inheritdoc cref="Library.ManageCollections"/>
|
||||
[Required]
|
||||
public bool ManageCollections { get; init; }
|
||||
/// <inheritdoc cref="Library.ManageReadingLists"/>
|
||||
[Required]
|
||||
public bool ManageReadingLists { get; init; }
|
||||
/// <inheritdoc cref="Library.AllowScrobbling"/>
|
||||
[Required]
|
||||
public bool AllowScrobbling { get; init; }
|
||||
/// <inheritdoc cref="Library.AllowMetadataMatching"/>
|
||||
[Required]
|
||||
public bool AllowMetadataMatching { get; init; }
|
||||
/// <inheritdoc cref="Library.EnableMetadata"/>
|
||||
[Required]
|
||||
public bool EnableMetadata { get; init; }
|
||||
/// <inheritdoc cref="Library.RemovePrefixForSortName"/>
|
||||
[Required]
|
||||
public bool RemovePrefixForSortName { get; init; }
|
||||
/// <inheritdoc cref="Library.InheritWebLinksFromFirstChapter"/>
|
||||
[Required]
|
||||
public bool InheritWebLinksFromFirstChapter { get; init; }
|
||||
/// <summary>
|
||||
/// What types of files to allow the scanner to pickup
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user