Explorar el Código

fix: 修复mini-ui-packages构建错误

- 添加 talent-employment 路由缺失的404响应定义
- 为 yongren-order-management-ui 添加 downlevelIteration 支持 Set 展开
- 为 yongren-statistics-ui 添加 downlevelIteration 支持 Set 展开

🤖 Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
yourname hace 1 semana
padre
commit
11dd9c4318

+ 4 - 0
allin-packages/order-module/src/routes/talent-employment.routes.ts

@@ -45,6 +45,10 @@ const getEmploymentStatusRoute = createRoute({
       description: '权限不足',
       content: { 'application/json': { schema: ErrorSchema } }
     },
+    404: {
+      description: '用户不存在',
+      content: { 'application/json': { schema: ErrorSchema } }
+    },
     500: {
       description: '服务器内部错误',
       content: { 'application/json': { schema: ErrorSchema } }

+ 1 - 0
mini-ui-packages/yongren-order-management-ui/tsconfig.json

@@ -16,6 +16,7 @@
     "jsx": "react-jsx",
     "resolveJsonModule": true,
     "allowSyntheticDefaultImports": true,
+    "downlevelIteration": true,
     "experimentalDecorators": true,
     "emitDecoratorMetadata": true,
     "types": ["react", "node"],

+ 1 - 0
mini-ui-packages/yongren-statistics-ui/tsconfig.json

@@ -16,6 +16,7 @@
     "jsx": "react-jsx",
     "resolveJsonModule": true,
     "allowSyntheticDefaultImports": true,
+    "downlevelIteration": true,
     "experimentalDecorators": true,
     "emitDecoratorMetadata": true,
     "types": ["react", "node"],