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 stockOnHandOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const stockOnHandOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'stockOnHand',
],
resource: ['stockOnHand'],
},
},
options: [
@@ -34,7 +30,6 @@ export const stockOnHandOperations: INodeProperties[] = [
];
export const stockOnHandFields: INodeProperties[] = [
/* ------------------------------------------------------------------------- */
/* stockOnHand:get */
/* ------------------------------------------------------------------------- */
@@ -44,12 +39,8 @@ export const stockOnHandFields: INodeProperties[] = [
type: 'string',
displayOptions: {
show: {
operation: [
'get',
],
resource: [
'stockOnHand',
],
operation: ['get'],
resource: ['stockOnHand'],
},
},
default: '',
@@ -63,12 +54,8 @@ export const stockOnHandFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'stockOnHand',
],
operation: ['getAll'],
resource: ['stockOnHand'],
},
},
default: false,
@@ -80,15 +67,9 @@ export const stockOnHandFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'stockOnHand',
],
returnAll: [
false,
],
operation: ['getAll'],
resource: ['stockOnHand'],
returnAll: [false],
},
},
typeOptions: {
@@ -106,12 +87,8 @@ export const stockOnHandFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'stockOnHand',
],
operation: ['getAll'],
resource: ['stockOnHand'],
},
},
options: [
@@ -127,7 +104,8 @@ export const stockOnHandFields: INodeProperties[] = [
name: 'IsAssembled',
type: 'boolean',
default: false,
description: 'Whether the AvailableQty will also include the quantity that can be assembled',
description:
'Whether the AvailableQty will also include the quantity that can be assembled',
},
{
displayName: 'Modified Since',
@@ -141,14 +119,16 @@ export const stockOnHandFields: INodeProperties[] = [
name: 'orderBy',
type: 'string',
default: '',
description: 'Orders the list by a specific column, by default the list is ordered by productCode',
description:
'Orders the list by a specific column, by default the list is ordered by productCode',
},
{
displayName: 'Product ID',
name: 'productId',
type: 'string',
default: '',
description: 'Returns products with the specific Product Guid. You can enter multiple product IDs separated by commas.',
description:
'Returns products with the specific Product Guid. You can enter multiple product IDs separated by commas.',
},
{
displayName: 'Warehouse Code',