I'm currently manually tracking this:
const PG_OID = {
UUID: '2950',
BYTEA: '17',
JSON: '114',
JSONB: '3802',
TIMESTAMP: '1114',
TIMESTAMPTZ: '1184',
};
And doing my own bytesToUUID, etc. column type handling to normalize the rows of data I'm showing in the web app. The dbQuery columns returns something that forces me to handle the columns using postgres's OID. Its easy enough to add the look up but I assume we don't want to have agents or developers having to do this when they use this server package.