Skip to content

Tankōbon / shared/library / ResyncResult

Type Alias: ResyncResult ​

ResyncResult = { added: number; failed: number; finishedAt: string; organization: OrganizationOutcome; removed: number; status: "ok"; unreachable: number; } | { message: string; status: "error"; }

Defined in: shared/library.ts:159

Outcome of library.resync().

Union Members ​

Type Literal ​

{ added: number; failed: number; finishedAt: string; organization: OrganizationOutcome; removed: number; status: "ok"; unreachable: number; }

added ​

added: number

Comics added to the library.

failed ​

failed: number

Files that couldn't be opened.

finishedAt ​

finishedAt: string

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

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"; }