mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-31 06:11:03 -08:00
d4116630a6
Co-authored-by: Charlie Kolb <charlie@n8n.io> Co-authored-by: Milorad FIlipović <milorad@n8n.io> Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
37 lines
757 B
TypeScript
37 lines
757 B
TypeScript
import type { FieldType } from 'n8n-workflow';
|
|
|
|
export const INPUT_SOURCE = 'inputSource';
|
|
export const WORKFLOW_INPUTS = 'workflowInputs';
|
|
export const VALUES = 'values';
|
|
export const JSON_EXAMPLE = 'jsonExample';
|
|
export const PASSTHROUGH = 'passthrough';
|
|
export const TYPE_OPTIONS: Array<{ name: string; value: FieldType | 'any' }> = [
|
|
{
|
|
name: 'Allow Any Type',
|
|
value: 'any',
|
|
},
|
|
{
|
|
name: 'String',
|
|
value: 'string',
|
|
},
|
|
{
|
|
name: 'Number',
|
|
value: 'number',
|
|
},
|
|
{
|
|
name: 'Boolean',
|
|
value: 'boolean',
|
|
},
|
|
{
|
|
name: 'Array',
|
|
value: 'array',
|
|
},
|
|
{
|
|
name: 'Object',
|
|
value: 'object',
|
|
},
|
|
// Intentional omission of `dateTime`, `time`, `string-alphanumeric`, `form-fields`, `jwt` and `url`
|
|
];
|
|
|
|
export const FALLBACK_DEFAULT_VALUE = null;
|