"use strict"; export default async function(sys, ctx, _next) { ctx.send.json(200, { version: `${sys.version}-${sys.commit.substring(0, 7)}`, // TODO: Implement a fancier check here status: sys.listening ? "ok" : "not_listening", tables: sys.info.list_tables() }); }