refactor: Convert all enums to const object types in nodes-base (no-changelog) (#14131)

This commit is contained in:
Alex Grozav
2025-03-24 14:40:19 +02:00
committed by GitHub
parent defeb2e817
commit b9608647ca
31 changed files with 422 additions and 345 deletions

View File

@@ -1,6 +1,6 @@
import type { INodeProperties } from 'n8n-workflow';
import { TLP } from './AnalyzerInterface';
import { TLPs } from './AnalyzerInterface';
export const analyzersOperations: INodeProperties[] = [
{
@@ -120,19 +120,19 @@ export const analyzerFields: 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,
},
],
default: 2,