Closed cboulanger closed 3 years ago
Makes sense. I'll check for undefined in my own code.
I've added a type
to RemoteLibrary
Cool. This allows a more robust checking (name could be undefined for many reasons)
It can't, really. Zotero groups always have a name.
Hmmm... instead of the prefix
+ type, we could break the two out; both would have type
and id
, and prefix
would just be /${type}/${id}
. The type is otherwise implied by the lead of the prefix.
The thing is that the user library does not have a fixed name. It is locale dependent. I'd rather signal somehow that this concerns the user library so that it is clear that if a name is to be displayed, it is up to the consumer to think of one.