appy-one / acebase-server

A fast, low memory, transactional, index & query enabled NoSQL database server for node.js that easily syncs with browser and node.js clients and servers
MIT License
32 stars 14 forks source link

Improvement: RouteRequest types and shutdown console logs #51

Closed appy-one closed 1 year ago

appy-one commented 1 year ago

Replaced console.log in shutdown procedure with this.debug.log to adhere the user logging level. Also removed an invalid log message about 0 clients still connected after shutdown timeout.

I noticed the tsc build was failing due to changes in Express, so I had to change the RouteRequest type used by endpoints. Took the opportunity to reorder the order of the type args to be more logical: 1. Request Query, 2. Request Body, Response Body.