refactor: priority messages duplication

This commit is contained in:
Takeshi Kimata
2024-07-21 13:59:49 +09:00
parent 63df563b87
commit 74bb379c1a
16 changed files with 84 additions and 90 deletions

View File

@@ -1,7 +1,16 @@
type PriorityUidType = 'critical' | 'high' | 'medium' | 'low';
type PriorityType = {
uid: PriorityUidType;
color: string;
chartColor: string;
};
type PriorityMessages = {
critical: string;
high: string;
medium: string;
low: string;
};
export type { PriorityMessages };
export type { PriorityUidType, PriorityType, PriorityMessages };

View File

@@ -68,10 +68,6 @@ type RunMessages = {
priority: string;
status: string;
actions: string;
critical: string;
high: string;
medium: string;
low: string;
untested: string;
passed: string;
failed: string;