mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): Forbid raw enums (no-changelog)
This commit is contained in:
@@ -20,21 +20,21 @@ import type { ICreateContactBody } from './ContactInterface';
|
||||
|
||||
import { contactFields, contactOperations } from './ContactDescription';
|
||||
|
||||
enum Status {
|
||||
const enum Status {
|
||||
Open = 2,
|
||||
Pending = 3,
|
||||
Resolved = 4,
|
||||
Closed = 5,
|
||||
}
|
||||
|
||||
enum Priority {
|
||||
const enum Priority {
|
||||
Low = 1,
|
||||
Medium = 2,
|
||||
High = 3,
|
||||
Urgent = 4,
|
||||
}
|
||||
|
||||
enum Source {
|
||||
const enum Source {
|
||||
Email = 1,
|
||||
Portal = 2,
|
||||
Phone = 3,
|
||||
|
||||
Reference in New Issue
Block a user