import { Hono } from 'hono';

import { calendarMyRouter } from './calendar';
import { contactsMyRouter } from './contacts';
import { identitiesMyRouter } from './identities';
import { mailMyRouter } from './mail';
import { messagesMyRouter } from './messages';
import { notesMyRouter } from './notes';
import { photosMyRouter } from './photos';
import { prospectsMyRouter } from './prospects';
import { remindersMyRouter } from './reminders';
import { searchMyRouter } from './search';

export const mySurface = new Hono()
  .route('/messages', messagesMyRouter)
  .route('/photos', photosMyRouter)
  .route('/mail', mailMyRouter)
  .route('/calendar', calendarMyRouter)
  .route('/reminders', remindersMyRouter)
  .route('/notes', notesMyRouter)
  .route('/search', searchMyRouter)
  .route('/contacts', contactsMyRouter)
  .route('/prospects', prospectsMyRouter)
  .route('/identities', identitiesMyRouter);
