add sibling traces

This commit is contained in:
aecsocket
2026-08-19 15:56:47 +09:00
parent 5cf9d423ad
commit c204e00ebc
9 changed files with 454 additions and 361 deletions
@@ -2398,14 +2398,8 @@ export namespace Labrinth {
export type RuleInput = {
schema_version: number
trace: {
key: string
issue_type: string
severity: DelphiSeverity
jar: string | null
file_path: string
data: Record<string, unknown>
}
trace: RuleTrace
sibling_traces: RuleTrace[]
scan: {
delphi_version: number
}
@@ -2426,6 +2420,15 @@ export namespace Labrinth {
}
}
export type RuleTrace = {
key: string
issue_type: string
severity: DelphiSeverity
jar: string | null
file_path: string
data: Record<string, unknown>
}
export type TestDelphiRuleResponse = {
effects: Array<DelphiRuleEffect | null>
}