Tankōbon / shared/data-changes / LibraryChange
Interface: LibraryChange
Defined in: shared/data-changes.ts:15
The library changed. With upserted and/or removed, only those entries did (the new state of each one is carried along, so the renderer needs no extra request); with neither, anything may have changed (a folder scan, a data import, clearing the library) and the renderer reloads it all.
Properties
removed?
optionalremoved?:string[]
Defined in: shared/data-changes.ts:20
Ids of entries deleted.
scope
scope:
"library"
Defined in: shared/data-changes.ts:16
upserted?
optionalupserted?:LibraryEntry[]
Defined in: shared/data-changes.ts:18
Entries created or modified, in their new state.