mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Forbid raw enums (no-changelog)
This commit is contained in:
@@ -31,13 +31,13 @@ export interface ICase {
|
||||
upadtedAt?: Date;
|
||||
}
|
||||
|
||||
export enum CaseStatus {
|
||||
export const enum CaseStatus {
|
||||
OPEN = 'Open',
|
||||
RESOLVED = 'Resolved',
|
||||
DELETED = 'Deleted',
|
||||
}
|
||||
|
||||
export enum CaseResolutionStatus {
|
||||
export const enum CaseResolutionStatus {
|
||||
INDETERMINATE = 'Indeterminate',
|
||||
FALSEPOSITIVE = 'FalsePositive',
|
||||
TRUEPOSITIVE = 'TruePositive',
|
||||
@@ -45,7 +45,7 @@ export enum CaseResolutionStatus {
|
||||
DUPLICATED = 'Duplicated',
|
||||
}
|
||||
|
||||
export enum CaseImpactStatus {
|
||||
export const enum CaseImpactStatus {
|
||||
NOIMPACT = 'NoImpact',
|
||||
WITHIMPACT = 'WithImpact',
|
||||
NOTAPPLICABLE = 'NotApplicable',
|
||||
|
||||
Reference in New Issue
Block a user