Refactor frontend workspaces and centralize API contracts
Organize domain APIs and types under common/apis, shared components under named folders, and private workspace logic alongside each page. Use Bearer sessions, explicit response envelopes, session-aware routing and streams, and configurable login captcha presentation for the deployed backend contract. Preserve news, economic calendar, crawler, market, chat, Skills, settings, and demo trading workflows with responsive layouts and explicit configuration saves. Validate with frontend lint, type checking, 22 test groups, production builds, and deployed desktop/mobile page checks.
This commit is contained in:
1 parent
77b33e5e77
commit
bc480fb806
102 files changed
+4716
-1707
No files matched your search
@@ -5,6 +5,8 @@ export default antfu(
|
||||
{
|
||||
// 使用外部格式化程序格式化 css、html、markdown 等文件
|
||||
formatters: true,
|
||||
// 使用 Node 内置测试,不引入 Vitest。
|
||||
test: { overrides: { "test/no-import-node-test": "off" } },
|
||||
// 启用样式规则
|
||||
stylistic: {
|
||||
// 缩进级别
|
||||
@@ -15,7 +17,7 @@ export default antfu(
|
||||
semi: false
|
||||
},
|
||||
// 忽略文件
|
||||
ignores: ["types/auto-imports.d.ts", "types/components.d.ts"]
|
||||
ignores: ["types/auto/**"]
|
||||
},
|
||||
{
|
||||
// 对所有文件都生效的规则
|
||||
|
||||
Reference in new issue
Block a user