mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-20 05:54:15 -04:00
* When skipping over folders in a scan, inform the ui * Try out new backout condition for library watcher. * Tweaked the code for folder watching to be more intense on killing if stuck in inotify loop. * Streamlined my implementation of enhanced LibraryWatcher * Added new extension method to make complex where statements cleaner. * Added an implementation to flatten series and not show them if they have relationships defined. Only the parent would show. Currently disabled until i figure out how to apply it. * Added the ability to collapse series that are not the primary entry point to reading. Configurable in library settings, only applies when all libraries in a filter have the property to true. * Exclude from parsing .@_thumb directories, a QNAP system folder. Show number of items a JumpKey has * Refactored some time reading to display in days, months, years or minutes.
31 lines
785 B
C#
31 lines
785 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using API.Entities.Enums;
|
|
|
|
namespace API.DTOs;
|
|
|
|
public class UpdateLibraryDto
|
|
{
|
|
[Required]
|
|
public int Id { get; init; }
|
|
[Required]
|
|
public string Name { get; init; }
|
|
[Required]
|
|
public LibraryType Type { get; set; }
|
|
[Required]
|
|
public IEnumerable<string> Folders { get; init; }
|
|
[Required]
|
|
public bool FolderWatching { get; init; }
|
|
[Required]
|
|
public bool IncludeInDashboard { get; init; }
|
|
[Required]
|
|
public bool IncludeInRecommended { get; init; }
|
|
[Required]
|
|
public bool IncludeInSearch { get; init; }
|
|
[Required]
|
|
public bool ManageCollections { get; init; }
|
|
[Required]
|
|
public bool CollapseSeriesRelationships { get; init; }
|
|
|
|
}
|