import { Hono } from 'hono';
import type { Bindings } from '../types';

export const healthRouter = new Hono<{ Bindings: Bindings }>();

healthRouter.get('/health', (c) =>
  c.json({ ok: true })
);

healthRouter.get('/', (c) =>
  c.json({
    service: 'arcrun-cypher-executor',
    version: '1.0.0',
    status: 'ok',
  })
);
