/**
 * Routes Index - Register all routes
 */

import { Hono } from 'hono';
import auth from './auth';
import jobs from './jobs';
import files from './files';
import health from './health';

export function registerRoutes(app: Hono): void {
  // Health routes (no /api prefix for k8s probes)
  app.route('/health', health);
  app.route('/api/health', health);

  // API routes
  app.route('/api/auth', auth);
  app.route('/api/jobs', jobs);
  app.route('/api/files', files);
}
