mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
n8n-3867-progressively-apply-prettier-to-all (#3873)
* 🔨 formatting nodes with prettier
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const endOfDayDataOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -18,9 +16,7 @@ export const endOfDayDataOperations: INodeProperties[] = [
|
||||
default: 'getAll',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'endOfDayData',
|
||||
],
|
||||
resource: ['endOfDayData'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -34,16 +30,13 @@ export const endOfDayDataFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'endOfDayData',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['endOfDayData'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'One or multiple comma-separated stock symbols (tickers) to retrieve, e.g. <code>AAPL</code> or <code>AAPL,MSFT</code>',
|
||||
description:
|
||||
'One or multiple comma-separated stock symbols (tickers) to retrieve, e.g. <code>AAPL</code> or <code>AAPL,MSFT</code>',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -53,12 +46,8 @@ export const endOfDayDataFields: INodeProperties[] = [
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'endOfDayData',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['endOfDayData'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -73,15 +62,9 @@ export const endOfDayDataFields: INodeProperties[] = [
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'endOfDayData',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
resource: ['endOfDayData'],
|
||||
operation: ['getAll'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -93,12 +76,8 @@ export const endOfDayDataFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'endOfDayData',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['endOfDayData'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -107,7 +86,8 @@ export const endOfDayDataFields: INodeProperties[] = [
|
||||
name: 'exchange',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Stock exchange to filter results by, specified by <a href="https://en.wikipedia.org/wiki/Market_Identifier_Code">Market Identifier Code</a>, e.g. <code>XNAS</code>',
|
||||
description:
|
||||
'Stock exchange to filter results by, specified by <a href="https://en.wikipedia.org/wiki/Market_Identifier_Code">Market Identifier Code</a>, e.g. <code>XNAS</code>',
|
||||
},
|
||||
{
|
||||
displayName: 'Latest',
|
||||
@@ -138,21 +118,24 @@ export const endOfDayDataFields: INodeProperties[] = [
|
||||
name: 'specificDate',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Date in YYYY-MM-DD format, e.g. <code>2020-01-01</code>, or in ISO-8601 date format, e.g. <code>2020-05-21T00:00:00+0000</code>',
|
||||
description:
|
||||
'Date in YYYY-MM-DD format, e.g. <code>2020-01-01</code>, or in ISO-8601 date format, e.g. <code>2020-05-21T00:00:00+0000</code>',
|
||||
},
|
||||
{
|
||||
displayName: 'Timeframe Start Date',
|
||||
name: 'dateFrom',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Timeframe start date in YYYY-MM-DD format, e.g. <code>2020-01-01</code>, or in ISO-8601 date format, e.g. <code>2020-05-21T00:00:00+0000</code>',
|
||||
description:
|
||||
'Timeframe start date in YYYY-MM-DD format, e.g. <code>2020-01-01</code>, or in ISO-8601 date format, e.g. <code>2020-05-21T00:00:00+0000</code>',
|
||||
},
|
||||
{
|
||||
displayName: 'Timeframe End Date',
|
||||
name: 'dateTo',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Timeframe end date in YYYY-MM-DD format, e.g. <code>2020-01-01</code>, or in ISO-8601 date format, e.g. <code>2020-05-21T00:00:00+0000</code>',
|
||||
description:
|
||||
'Timeframe end date in YYYY-MM-DD format, e.g. <code>2020-01-01</code>, or in ISO-8601 date format, e.g. <code>2020-05-21T00:00:00+0000</code>',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user