Skip to content

Tankōbon / shared/library / ScanResult

Type Alias: ScanResult ​

ScanResult = { status: "cancelled"; } | { added: number; directory: string; failed: number; organization: OrganizationOutcome; skipped: number; status: "ok"; total: number; }

Defined in: shared/library.ts:141

Outcome of library.addFolder().

Union Members ​

Type Literal ​

{ status: "cancelled"; }


Type Literal ​

{ added: number; directory: string; failed: number; organization: OrganizationOutcome; skipped: number; status: "ok"; total: number; }

added ​

added: number

Comics added to the library.

directory ​

directory: string

failed ​

failed: number

Files that couldn't be opened (corrupt, unsupported variant…).

organization ​

organization: OrganizationOutcome

What the library organization did with the comics added.

skipped ​

skipped: number

Comics already in the library, left untouched.

status ​

status: "ok"

total ​

total: number

Supported files found in the tree, i.e. added + skipped + failed.