import type { RouteDefinition } from '../../core/router.js';
import { questionVideosBatchRoute, questionVideosRoute, videoPlaybackRoute, videoProgressRoute, videoSearchRoute } from './routes.js';

export const videoRoutes: RouteDefinition[] = [
  ['GET', '/api/questions/videos', questionVideosRoute],
  ['POST', '/api/questions/videos/batch', questionVideosBatchRoute],
  ['GET', '/api/videos/search', videoSearchRoute],
  ['POST', '/api/videos/play', videoPlaybackRoute],
  ['POST', '/api/videos/progress', videoProgressRoute],
];
