mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +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 noteOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -11,9 +9,7 @@ export const noteOperations: INodeProperties[] = [
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'note',
|
||||
],
|
||||
resource: ['note'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -63,12 +59,8 @@ export const noteDescription: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: [
|
||||
'note',
|
||||
],
|
||||
operation: ['create'],
|
||||
resource: ['note'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -109,13 +101,8 @@ export const noteDescription: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'get',
|
||||
'delete',
|
||||
],
|
||||
resource: [
|
||||
'note',
|
||||
],
|
||||
operation: ['get', 'delete'],
|
||||
resource: ['note'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -129,12 +116,8 @@ export const noteDescription: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'note',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['note'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
@@ -148,15 +131,9 @@ export const noteDescription: INodeProperties[] = [
|
||||
default: 50,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'note',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
resource: ['note'],
|
||||
operation: ['getAll'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -173,13 +150,8 @@ export const noteDescription: INodeProperties[] = [
|
||||
placeholder: 'Add Field',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
'get',
|
||||
],
|
||||
resource: [
|
||||
'note',
|
||||
],
|
||||
operation: ['getAll', 'get'],
|
||||
resource: ['note'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -188,7 +160,8 @@ export const noteDescription: INodeProperties[] = [
|
||||
displayName: 'Fields to Include',
|
||||
name: 'fieldsList',
|
||||
type: 'multiOptions',
|
||||
description: 'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
description:
|
||||
'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
default: [],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getModelFields',
|
||||
@@ -207,12 +180,8 @@ export const noteDescription: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: [
|
||||
'note',
|
||||
],
|
||||
operation: ['update'],
|
||||
resource: ['note'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -224,12 +193,8 @@ export const noteDescription: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: [
|
||||
'note',
|
||||
],
|
||||
operation: ['update'],
|
||||
resource: ['note'],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user