mirror of
https://github.com/modrinth/code.git
synced 2026-08-30 19:46:33 +00:00
add sibling traces
This commit is contained in:
@@ -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>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user