mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 04:10:01 +00:00
refactor: Convert all enums to const object types in nodes-base (no-changelog) (#14131)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
import { TLP } from '../interfaces/AlertInterface';
|
||||
import { TLPs } from '../interfaces/AlertInterface';
|
||||
|
||||
export const observableOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -177,19 +177,19 @@ export const observableFields: INodeProperties[] = [
|
||||
options: [
|
||||
{
|
||||
name: 'White',
|
||||
value: TLP.white,
|
||||
value: TLPs.white,
|
||||
},
|
||||
{
|
||||
name: 'Green',
|
||||
value: TLP.green,
|
||||
value: TLPs.green,
|
||||
},
|
||||
{
|
||||
name: 'Amber',
|
||||
value: TLP.amber,
|
||||
value: TLPs.amber,
|
||||
},
|
||||
{
|
||||
name: 'Red',
|
||||
value: TLP.red,
|
||||
value: TLPs.red,
|
||||
},
|
||||
],
|
||||
description: 'Traffict Light Protocol (TLP). Default=Amber.',
|
||||
@@ -351,19 +351,19 @@ export const observableFields: INodeProperties[] = [
|
||||
options: [
|
||||
{
|
||||
name: 'White',
|
||||
value: TLP.white,
|
||||
value: TLPs.white,
|
||||
},
|
||||
{
|
||||
name: 'Green',
|
||||
value: TLP.green,
|
||||
value: TLPs.green,
|
||||
},
|
||||
{
|
||||
name: 'Amber',
|
||||
value: TLP.amber,
|
||||
value: TLPs.amber,
|
||||
},
|
||||
{
|
||||
name: 'Red',
|
||||
value: TLP.red,
|
||||
value: TLPs.red,
|
||||
},
|
||||
],
|
||||
description: 'Traffict Light Protocol (TLP). Default=Amber.',
|
||||
@@ -542,19 +542,19 @@ export const observableFields: INodeProperties[] = [
|
||||
options: [
|
||||
{
|
||||
name: 'White',
|
||||
value: TLP.white,
|
||||
value: TLPs.white,
|
||||
},
|
||||
{
|
||||
name: 'Green',
|
||||
value: TLP.green,
|
||||
value: TLPs.green,
|
||||
},
|
||||
{
|
||||
name: 'Amber',
|
||||
value: TLP.amber,
|
||||
value: TLPs.amber,
|
||||
},
|
||||
{
|
||||
name: 'Red',
|
||||
value: TLP.red,
|
||||
value: TLPs.red,
|
||||
},
|
||||
],
|
||||
description: 'Traffict Light Protocol (TLP). Default=Amber.',
|
||||
|
||||
Reference in New Issue
Block a user