Implements search functionality and prepares for upcoming paging in v0.3.

This commit is contained in:
Joseph Milazzo 2021-02-15 13:08:30 -06:00
parent 852317d3a6
commit 2887fab53f
17 changed files with 174 additions and 15 deletions

View file

@ -9,7 +9,8 @@
public int Height { get; init; }
public string Format { get; init; }
public byte[] Content { get; init; }
public int Chapter { get; set; }
//public int Chapter { get; set; }
public string MangaFileName { get; set; }
public bool NeedsSplitting { get; set; }
}
}

View file

@ -2,6 +2,6 @@
{
public class SearchQueryDto
{
public string QueryString { get; init; }
}
}

View file

@ -2,6 +2,15 @@
{
public class SearchResultDto
{
public int SeriesId { get; init; }
public string Name { get; init; }
public string OriginalName { get; init; }
public string SortName { get; init; }
public byte[] CoverImage { get; init; } // This should be optional or a thumbImage (much smaller)
// Grouping information
public string LibraryName { get; set; }
public int LibraryId { get; set; }
}
}