types.ts:RunComparison 的注释挪回它正上方。分析卡那一节插进来的时候把「GET /runs/{id}/compare?base=…」的说明顶到了 RunCompareAnalysisSide 头上,读的人以为那是另一边的说明

This commit is contained in:
ThearchyHelios
2026-10-21 15:53:41 +00:00
parent c54196326f
commit 41f64172c3
+1 -1
View File
@@ -4601,7 +4601,6 @@ export interface RunCompareQuery {
problem?: string problem?: string
} }
/** GET /runs/{id}/compare?base=。任一未封存或封存核对不一致 409;不是同一工作流、是同一次运行 422 */
/** 运行对比里分析卡的一边(analysis.end 那一项):没有这一项为 null */ /** 运行对比里分析卡的一边(analysis.end 那一项):没有这一项为 null */
export interface RunCompareAnalysisSide { export interface RunCompareAnalysisSide {
status?: string | null status?: string | null
@@ -4626,6 +4625,7 @@ export interface RunCompareAnalysis {
change: 'same' | 'verdict' | 'phrase' | 'added' | 'removed' | string change: 'same' | 'verdict' | 'phrase' | 'added' | 'removed' | string
} }
/** GET /runs/{id}/compare?base=。任一未封存或封存核对不一致 409;不是同一工作流、是同一次运行 422 */
export interface RunComparison { export interface RunComparison {
target: RunCompareRef target: RunCompareRef
base: RunCompareRef base: RunCompareRef