Skeudenn / hooks/use-library-rows / LibraryRows
Interface: LibraryRows ​
Defined in: src/hooks/use-library-rows.ts:16
What useLibraryRows returns.
Properties ​
editions ​
editions:
Map<string,LibraryEntry[]>
Defined in: src/hooks/use-library-rows.ts:18
For each book that exists in several formats, its files (see editionGroups()).
languages ​
languages:
string[]
Defined in: src/hooks/use-library-rows.ts:24
The languages the filter can offer (codes), by name.
rows ​
rows:
LibraryRow[]
Defined in: src/hooks/use-library-rows.ts:26
The rows in the order they are drawn: series headings and books, or books only.
shown ​
shown:
LibraryEntry[]
Defined in: src/hooks/use-library-rows.ts:28
The books of rows, in the same order (folded series left out).
tags ​
tags:
string[]
Defined in: src/hooks/use-library-rows.ts:22
The tags the filter can offer, the quick tags first.
toggleSeries ​
toggleSeries: (
key) =>void
Defined in: src/hooks/use-library-rows.ts:30
Folds or unfolds a series of the grouped view.
Parameters ​
key ​
string
Returns ​
void
visible ​
visible:
LibraryEntry[]
Defined in: src/hooks/use-library-rows.ts:20
The books left by the filters, one per book whatever its formats, before sorting or grouping.