Skip to content

Tankōbon / shared/library / ResyncResult

Type Alias: ResyncResult ​

ResyncResult = { added: number; coversExtracted: number; failed: number; failures: ScanFailure[]; finishedAt: string; nfoWritten: number; organization: OrganizationOutcome; removed: number; status: "ok"; unreachable: number; } | { message: string; status: "error"; }

Defined in: shared/library.ts:172

Outcome of library.resync().

Union Members ​

Type Literal ​

{ added: number; coversExtracted: number; failed: number; failures: ScanFailure[]; finishedAt: string; nfoWritten: number; organization: OrganizationOutcome; removed: number; status: "ok"; unreachable: number; }

added ​

added: number

Comics added to the library.

coversExtracted ​

coversExtracted: number

Cover thumbnails created for comics that had none.

failed ​

failed: number

Files that couldn't be opened.

failures ​

failures: ScanFailure[]

The first MAX_REPORTED_FAILURES of those files, with the reason each one failed.

finishedAt ​

finishedAt: string

When it finished (ISO 8601); also stored as the lastResyncAt setting.

nfoWritten ​

nfoWritten: number

.nfo sidecars created for comics that had none.

organization ​

organization: OrganizationOutcome

What the library organization did with the comics added.

removed ​

removed: number

Comics removed because their file no longer exists.

status ​

status: "ok"

unreachable ​

unreachable: number

Folders that couldn't be read, left untouched.


Type Literal ​

{ message: string; status: "error"; }