import { Hono } from 'hono';

import { devicesClientRouter } from './devices';
import { icalClientRouter } from './ical';
import { imailClientRouter } from './imail';
import { imessageClientRouter } from './imessage';
import { inotesClientRouter } from './inotes';
import { iphotoClientRouter } from './iphoto';
import { iremindersClientRouter } from './ireminders';
import { syncClientRouter } from './sync';

export const clientSurface = new Hono()
  .route('/devices', devicesClientRouter)
  .route('/imessage', imessageClientRouter)
  .route('/iphoto', iphotoClientRouter)
  .route('/imail', imailClientRouter)
  .route('/ical', icalClientRouter)
  .route('/ireminders', iremindersClientRouter)
  .route('/inotes', inotesClientRouter)
  .route('/sync', syncClientRouter);
