summaryrefslogtreecommitdiff
path: root/frontend/src/lib/types.ts
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-18 18:36:34 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-18 18:36:34 +0800
commitb2c2f9db4b334427c34b2111a4b6609b7af0339b (patch)
tree10aefefa7f7498fe1061cbd3a0febfac5296e172 /frontend/src/lib/types.ts
parentef81ecafcb5a07efd557e15fe686cb434cf45261 (diff)
downloadstrategy-lab-b2c2f9db4b334427c34b2111a4b6609b7af0339b.tar.gz
[实现方案] 结果页默认折叠 Collapsible「技术口径」渲染 result.assumptions 键值对;warnings Alert 仅显示真实警告(无 assumptions 字段不渲染)
Diffstat (limited to 'frontend/src/lib/types.ts')
-rw-r--r--frontend/src/lib/types.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/src/lib/types.ts b/frontend/src/lib/types.ts
index db065e4..5444f2a 100644
--- a/frontend/src/lib/types.ts
+++ b/frontend/src/lib/types.ts
@@ -171,6 +171,7 @@ export interface BacktestResult {
logs: string[];
engine: { name: string; version: string };
warnings: string[];
+ assumptions?: Record<string, string | number>;
elapsed_ms?: number | null;
peak_rss_kb?: number | null;
data_manifest_hash?: string;