One thing that could be implemented in the JSDoc created in the header of the DB Events is the complete definition of the record object.
You know the DB definition and the table definition so you could create the complete string JSRecord<db:/databasename/tablename>
Don´t you think?