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 messageOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const messageOperations: INodeProperties[] = [
type: 'options',
displayOptions: {
show: {
resource: [
'message',
],
resource: ['message'],
},
},
options: [
@@ -46,7 +42,6 @@ export const messageOperations: INodeProperties[] = [
];
export const messageFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */
/* message:create */
/* -------------------------------------------------------------------------- */
@@ -60,16 +55,13 @@ export const messageFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'create',
],
resource: ['message'],
operation: ['create'],
},
},
default: '',
description: 'Space resource name, in the form "spaces/*". Example: spaces/AAAAMpdlehY. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'Space resource name, in the form "spaces/*". Example: spaces/AAAAMpdlehY. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
},
{
displayName: 'JSON Parameters',
@@ -77,12 +69,8 @@ export const messageFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'create',
],
resource: ['message'],
operation: ['create'],
},
},
default: false,
@@ -96,15 +84,9 @@ export const messageFields: INodeProperties[] = [
placeholder: 'Add Message',
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'create',
],
jsonParameters: [
false,
],
resource: ['message'],
operation: ['create'],
jsonParameters: [false],
},
},
default: {},
@@ -165,20 +147,15 @@ export const messageFields: INodeProperties[] = [
],
},
{
displayName: 'See <a href="https://developers.google.com/chat/reference/rest/v1/spaces.messages#Message" target="_blank">Google Chat Guide</a> To Creating Messages',
displayName:
'See <a href="https://developers.google.com/chat/reference/rest/v1/spaces.messages#Message" target="_blank">Google Chat Guide</a> To Creating Messages',
name: 'jsonNotice',
type: 'notice',
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'create',
],
jsonParameters: [
true,
],
resource: ['message'],
operation: ['create'],
jsonParameters: [true],
},
},
default: '',
@@ -193,15 +170,9 @@ export const messageFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'create',
],
jsonParameters: [
true,
],
resource: ['message'],
operation: ['create'],
jsonParameters: [true],
},
},
default: '',
@@ -215,12 +186,8 @@ export const messageFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'create',
],
resource: ['message'],
operation: ['create'],
},
},
options: [
@@ -236,7 +203,8 @@ export const messageFields: INodeProperties[] = [
name: 'requestId',
type: 'string',
default: '',
description: 'A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.',
description:
'A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.',
},
],
},
@@ -251,12 +219,8 @@ export const messageFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'delete',
],
resource: ['message'],
operation: ['delete'],
},
},
default: '',
@@ -273,12 +237,8 @@ export const messageFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'get',
],
resource: ['message'],
operation: ['get'],
},
},
default: '',
@@ -295,12 +255,8 @@ export const messageFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'update',
],
resource: ['message'],
operation: ['update'],
},
},
default: '',
@@ -312,12 +268,8 @@ export const messageFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'update',
],
resource: ['message'],
operation: ['update'],
},
},
default: false,
@@ -331,15 +283,9 @@ export const messageFields: INodeProperties[] = [
placeholder: 'Add Options',
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'update',
],
jsonParameters: [
false,
],
resource: ['message'],
operation: ['update'],
jsonParameters: [false],
},
},
default: {},
@@ -400,20 +346,15 @@ export const messageFields: INodeProperties[] = [
],
},
{
displayName: 'See <a href="https://developers.google.com/chat/reference/rest/v1/spaces.messages#Message" target="_blank">Google Chat Guide</a> To Creating Messages',
displayName:
'See <a href="https://developers.google.com/chat/reference/rest/v1/spaces.messages#Message" target="_blank">Google Chat Guide</a> To Creating Messages',
name: 'jsonNotice',
type: 'notice',
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'update',
],
jsonParameters: [
true,
],
resource: ['message'],
operation: ['update'],
jsonParameters: [true],
},
},
default: '',
@@ -428,15 +369,9 @@ export const messageFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'update',
],
jsonParameters: [
true,
],
resource: ['message'],
operation: ['update'],
jsonParameters: [true],
},
},
default: '',