import { Hono } from 'hono';

import { calendarSendQueueAdminRouter } from './calendar-send-queue';
import { devicesAdminRouter } from './devices';
import { iphotoAdminRouter } from './iphoto';
import { mailSendQueueAdminRouter } from './mail-send-queue';
import { noteSendQueueAdminRouter } from './note-send-queue';
import { prospectsAdminRouter } from './prospects';
import { reminderSendQueueAdminRouter } from './reminder-send-queue';
import { scheduledSendAdminRouter } from './scheduled-send';
import { sendDirectAdminRouter } from './send-direct';
import { sendQueueAdminRouter } from './send-queue';

export const adminSurface = new Hono()
  .route('/devices', devicesAdminRouter)
  .route('/scheduled-send', scheduledSendAdminRouter)
  .route('/send-direct', sendDirectAdminRouter)
  .route('/send-queue', sendQueueAdminRouter)
  .route('/calendar-send-queue', calendarSendQueueAdminRouter)
  .route('/reminder-send-queue', reminderSendQueueAdminRouter)
  .route('/note-send-queue', noteSendQueueAdminRouter)
  .route('/mail-send-queue', mailSendQueueAdminRouter)
  .route('/prospects', prospectsAdminRouter)
  .route('/iphoto', iphotoAdminRouter);
