import type { FastifyInstance } from 'fastify'; import { getBackendVersion } from '../../utils/version.js'; export default async function metaRoutes(app: FastifyInstance) { app.get('/version', async () => ({ backend: getBackendVersion() })); app.get('/health', async () => ({ status: 'ok', ts: new Date().toISOString() })); }