/**
 * Register Direct MySQL Test Routes
 * These routes test packages/db-mysql adapter directly with Cloudflare Workers
 */
import { Router } from '../src/routes/Router.js';
import { testCacheClear, testCacheDelete, testCacheGet, testCacheHas, testCacheSet, testCacheSmoke, testMailSend, testRedisProxy, testWorkerProcessorUrl, } from './DirectTestRoutes.js';
/**
 * Register direct MySQL test routes
 */
export const registerDirectMysqlTestRoutes = (router) => {
    // CRUD operations test
    Router.get(router, '/test/wg-pr', testRedisProxy);
    // Processor spec resolution test
    Router.get(router, '/test/wg-ts', testWorkerProcessorUrl);
    // Mail send test
    Router.get(router, '/test/wg-ma', testMailSend);
    // Cache system (src/cache/Cache.ts) tests
    Router.get(router, '/test/cache/smoke', testCacheSmoke);
    Router.get(router, '/test/cache/set', testCacheSet);
    Router.get(router, '/test/cache/get', testCacheGet);
    Router.get(router, '/test/cache/has', testCacheHas);
    Router.get(router, '/test/cache/delete', testCacheDelete);
    Router.get(router, '/test/cache/clear', testCacheClear);
};
export default registerDirectMysqlTestRoutes;
