mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 03:55:59 +00:00
move hidden to severity
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user