move hidden to severity

This commit is contained in:
aecsocket
2026-08-02 15:08:27 +01:00
parent cc77fd1b87
commit ddb45f6aac
46 changed files with 536 additions and 513 deletions
@@ -2292,8 +2292,7 @@ export namespace Labrinth {
jar: string | null
file_path: string
original_severity: DelphiSeverity
severity: DelphiSeverity | null
hidden: boolean
severity: DelphiSeverity
}
export type WriteDelphiRule = {
@@ -2308,8 +2307,7 @@ export namespace Labrinth {
}
export type DelphiRuleEffect = {
severity: DelphiSeverity | null
hidden: boolean
severity: DelphiSeverity
}
export type DelphiRuleSchema = Record<string, unknown>
@@ -2607,7 +2605,7 @@ export namespace Labrinth {
export type FlagReason = 'delphi'
export type DelphiSeverity = 'low' | 'medium' | 'high' | 'severe'
export type DelphiSeverity = 'hidden' | 'low' | 'medium' | 'high' | 'severe' | 'malware'
export type DelphiReportIssueStatus = 'pending' | 'safe' | 'unsafe'