Skip to content

Tankōbon / hooks/use-library-rows / LibraryRows

Interface: LibraryRows ​

Defined in: hooks/use-library-rows.ts:16

What useLibraryRows returns.

Properties ​

editions ​

editions: Map<string, LibraryEntry[]>

Defined in: hooks/use-library-rows.ts:18

For each book that exists in several formats, its files (see editionGroups()).


rows ​

rows: LibraryRow[]

Defined in: hooks/use-library-rows.ts:24

The rows in the order they are drawn: series headings and books, or books only.


shown ​

shown: LibraryEntry[]

Defined in: hooks/use-library-rows.ts:26

The books of rows, in the same order (folded series left out).


tags ​

tags: string[]

Defined in: hooks/use-library-rows.ts:22

The tags the filter can offer, the quick tags first.


toggleSeries ​

toggleSeries: (key) => void

Defined in: hooks/use-library-rows.ts:28

Folds or unfolds a series of the grouped view.

Parameters ​

key ​

string

Returns ​

void


visible ​

visible: LibraryEntry[]

Defined in: hooks/use-library-rows.ts:20

The books left by the filters, one per book whatever its formats, before sorting or grouping.