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:
@@ -1,6 +1,6 @@
|
||||
import type { IDataObject } from 'n8n-workflow';
|
||||
|
||||
export enum JobStatus {
|
||||
export const enum JobStatus {
|
||||
WAITING = 'Waiting',
|
||||
INPROGRESS = 'InProgress',
|
||||
SUCCESS = 'Success',
|
||||
@@ -8,14 +8,14 @@ export enum JobStatus {
|
||||
DELETED = 'Deleted',
|
||||
}
|
||||
|
||||
export enum TLP {
|
||||
export const enum TLP {
|
||||
white,
|
||||
green,
|
||||
amber,
|
||||
red,
|
||||
}
|
||||
|
||||
export enum ObservableDataType {
|
||||
export const enum ObservableDataType {
|
||||
'domain' = 'domain',
|
||||
'file' = 'file',
|
||||
'filename' = 'filename',
|
||||
|
||||
Reference in New Issue
Block a user