Skeudenn / shared/library / ScanResult
Type Alias: ScanResult ​
ScanResult = {
status:"cancelled"; } | {message:string;status:"error"; } | {added:number;directory:string;failed:number;organization:OrganizationOutcome;skipped:number;status:"ok";total:number; }
Defined in: src/shared/library.ts:141
Outcome of library.addFolder().
Union Members ​
Type Literal ​
{ status: "cancelled"; }
Type Literal ​
{ message: string; status: "error"; }
Another run over the library files is in progress; message is in the interface language.
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.