attachCategoryIds(kind: CategoryKind,items: { id: string; categoryIds?: string[]; }[]): void
Sets categoryIds on each of items, dumps or playlists as kind says, in
place, in one query. Their rows don't carry them, so every service that
returns dumps or playlists calls this first.
kind: CategoryKind