import { Router } from 'express';
import { LiteConsoleController } from '../controllers/LiteConsoleController';
import { requireTraceContext } from '../../core/guards/trace-context.guard';

const router = Router();

/**
 * [UX_LITE_01] 极简控制台 API (Lite Console for Beginners)
 * @description 核心逻辑：为新手卖家提供极简的一体化经营看板。
 */
router.get('/summary', requireTraceContext, LiteConsoleController.getSummary);
router.get('/listings', requireTraceContext, LiteConsoleController.getListingHistory);

export default router;
