n8n-3867-progressively-apply-prettier-to-all (#3873)

* 🔨 formatting nodes with prettier
This commit is contained in:
Michael Kret
2022-08-17 18:50:24 +03:00
committed by GitHub
parent f2d326c7f0
commit 91d7e16c81
1072 changed files with 42357 additions and 59109 deletions

View File

@@ -1,6 +1,4 @@
import {
INodeProperties,
} from 'n8n-workflow';
import { INodeProperties } from 'n8n-workflow';
export const salesOrderOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const salesOrderOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'salesOrder',
],
resource: ['salesOrder'],
},
},
options: [
@@ -28,7 +24,6 @@ export const salesOrderOperations: INodeProperties[] = [
];
export const salesOrderFields: INodeProperties[] = [
/* ------------------------------------------------------------------------- */
/* salesOrder:getAll */
/* ------------------------------------------------------------------------- */
@@ -38,12 +33,8 @@ export const salesOrderFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'salesOrder',
],
operation: ['getAll'],
resource: ['salesOrder'],
},
},
default: false,
@@ -55,15 +46,9 @@ export const salesOrderFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'salesOrder',
],
returnAll: [
false,
],
operation: ['getAll'],
resource: ['salesOrder'],
returnAll: [false],
},
},
typeOptions: {
@@ -81,12 +66,8 @@ export const salesOrderFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'salesOrder',
],
operation: ['getAll'],
resource: ['salesOrder'],
},
},
options: [
@@ -96,7 +77,8 @@ export const salesOrderFields: INodeProperties[] = [
type: 'string',
default: '',
placeholder: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
description: 'Only returns orders for a specified Customer GUID. The CustomerId can be specified as a list of comma-separated GUIDs.',
description:
'Only returns orders for a specified Customer GUID. The CustomerId can be specified as a list of comma-separated GUIDs.',
},
{
displayName: 'Customer Code',
@@ -124,7 +106,8 @@ export const salesOrderFields: INodeProperties[] = [
name: 'orderNumber',
type: 'string',
default: '',
description: 'Returns a single order with the specified order number. If set, it overrides all other filters.',
description:
'Returns a single order with the specified order number. If set, it overrides all other filters.',
},
{
displayName: 'Order Status',
@@ -153,7 +136,8 @@ export const salesOrderFields: INodeProperties[] = [
},
],
default: [],
description: 'Returns orders with the specified status. If no orderStatus filter is specified, then we exclude "Deleted" by default.',
description:
'Returns orders with the specified status. If no orderStatus filter is specified, then we exclude "Deleted" by default.',
},
{
displayName: 'Start Date',