mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
fix(series): count every volume of series longer than the ladder cap
Send logical volume counts on each series summary, tallied from the member grouping the ladder already builds, and read them on the cards instead of counting the 60-slot ladder. Long series no longer stop at 60 or show as complete after their first 60 volumes are read. Closes #1987
This commit is contained in:
@@ -38,6 +38,16 @@ export type SeriesSummary = {
|
||||
libraryNames: string[];
|
||||
/** Total a metadata provider reports for the series, or null when no provider has said. */
|
||||
expectedBookCount: number | null;
|
||||
/**
|
||||
* Logical volumes owned across the whole series, collapsing book records that share a
|
||||
* whole-numbered position. Unlike `volumes`, never capped; falls back to `bookCount` when the
|
||||
* members could not all be read.
|
||||
*/
|
||||
ownedVolumeCount: number;
|
||||
/** Owned logical volumes whose furthest status is read. */
|
||||
readVolumeCount: number;
|
||||
/** Owned logical volumes whose furthest status is reading. */
|
||||
readingVolumeCount: number;
|
||||
volumes: SeriesVolumeSlot[];
|
||||
volumesTruncated: boolean;
|
||||
/** Missing numbers, capped at {@link SERIES_GAP_PREVIEW_LIMIT}. */
|
||||
|
||||
Reference in New Issue
Block a user