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 { IHourlyRateDto, IMembershipDto } from './CommonDtos';
|
||||
|
||||
enum EstimateEnum {
|
||||
const enum EstimateEnum {
|
||||
AUTO = 'AUTO',
|
||||
MANUAL = 'MANUAL',
|
||||
}
|
||||
@@ -40,7 +40,7 @@ export interface IProjectRequest {
|
||||
tasks: ITaskDto;
|
||||
}
|
||||
|
||||
enum TaskStatusEnum {
|
||||
const enum TaskStatusEnum {
|
||||
ACTIVE = 'ACTIVE',
|
||||
DONE = 'DONE',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user