Base field mappings
After filing #13, I've come across some more base-mapped fields that disappear in cslItem() output. I'm running libZoteroJS in node---would that make a difference?
For a quick solution, I'm thinking to build a mapping object in JS from the Zotero SQL and apply that inside cslItem(). That will serve my purposes locally, but it may not be a proper fix; I'm not sure whether the base-field mappings are needed in other parts of the libZoteroJS code.
Or possibly I'm just missing something about how cslItem() should be invoked?
We only just recently got libZotero to run at all in node. There are definitely compatibility issues that are still cropping up, but I don't think this is one.
We don't actually use this cslItem() for anything currently. I don't think we use base-mapped fields anywhere yet, but we should (https://github.com/zotero/web-library/issues/40 ).
As that web-library issue indicates, we should ultimately get them from the API the same way we do some of the other maps, but starting off with applying a hard coded mapping as you suggest is the way to go until we actually need something more flexible.