mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 20:29:08 +00:00
refactor: Convert all enums to const object types in nodes-base (no-changelog) (#14131)
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
import type { IAttachment } from './ObservableInterface';
|
||||
export const enum LogStatus {
|
||||
OK = 'Ok',
|
||||
DELETED = 'Deleted',
|
||||
}
|
||||
|
||||
export const LogStatuses = {
|
||||
OK: 'Ok',
|
||||
DELETED: 'Deleted',
|
||||
} as const;
|
||||
|
||||
export type LogStatus = (typeof LogStatuses)[keyof typeof LogStatuses];
|
||||
|
||||
export interface ILog {
|
||||
// Required attributes
|
||||
id?: string;
|
||||
|
||||
Reference in New Issue
Block a user