Skip to content

Tankōbon / shared/library / LibraryEntry

Interface: LibraryEntry ​

Defined in: shared/library.ts:14

A comic registered in the local library database.

Properties ​

addedAt ​

addedAt: string

Defined in: shared/library.ts:23

ISO timestamps.


avgPageHeight ​

avgPageHeight: number | null

Defined in: shared/library.ts:53

Simple average height of the pages' images, in pixels; null until measured.


avgPageWidth ​

avgPageWidth: number | null

Defined in: shared/library.ts:51

Simple average width of the pages' images, in pixels, once the background scan has measured the book (see ImageScanProgress); null until then. For a PDF, the size pages are rendered at.


credits ​

credits: Credit[]

Defined in: shared/library.ts:55

People credited on the book, with their role.


currentPage ​

currentPage: number

Defined in: shared/library.ts:21

Last page read, for resuming where the user left off.


fileCount ​

fileCount: number

Defined in: shared/library.ts:26

Total entries in the archive (not just image pages).


fileSize ​

fileSize: number

Defined in: shared/library.ts:28

Size in bytes of the archive file on disk.


id ​

id: string

Defined in: shared/library.ts:15


language ​

language: string | null

Defined in: shared/library.ts:46

Language of the book, as an ISO 639-1 code ("fr", "en").


lastOpenedAt ​

lastOpenedAt: string

Defined in: shared/library.ts:24


pageCount ​

pageCount: number

Defined in: shared/library.ts:19


path ​

path: string

Defined in: shared/library.ts:17

Absolute path on disk.


rating ​

rating: number

Defined in: shared/library.ts:30

User rating, 0 (unrated) to 5.


releaseDate ​

releaseDate: string | null

Defined in: shared/library.ts:44

Release date as precise as known: YYYY, YYYY-MM or YYYY-MM-DD.


series ​

series: string | null

Defined in: shared/library.ts:40

Series the book belongs to ("Tintin", "X-Men"), null when unknown or a one-shot.


tags ​

tags: string[]

Defined in: shared/library.ts:32

Free-form user labels, e.g. "Lu", "À lire".


title ​

title: string

Defined in: shared/library.ts:18


titleLocked ​

titleLocked: boolean

Defined in: shared/library.ts:38

Whether title was set by the user (accepted from a metadata lookup or typed in the edit form) rather than derived from the file name. A locked title survives reopening the file, which otherwise refreshes it.


volume ​

volume: string | null

Defined in: shared/library.ts:42

Volume or issue number within series, as text ("3", "12.1", "HS"). Null for one-shots.