mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +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 scanOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -10,9 +8,7 @@ export const scanOperations: INodeProperties[] = [
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'scan',
|
||||
],
|
||||
resource: ['scan'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -48,12 +44,8 @@ export const scanFields: INodeProperties[] = [
|
||||
description: 'ID of the scan to retrieve',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'scan',
|
||||
],
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: ['scan'],
|
||||
operation: ['get'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -69,12 +61,8 @@ export const scanFields: INodeProperties[] = [
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'scan',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['scan'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -89,15 +77,9 @@ export const scanFields: INodeProperties[] = [
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'scan',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
resource: ['scan'],
|
||||
operation: ['getAll'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -109,12 +91,8 @@ export const scanFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'scan',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['scan'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -122,7 +100,8 @@ export const scanFields: INodeProperties[] = [
|
||||
displayName: 'Query',
|
||||
name: 'query',
|
||||
type: 'string',
|
||||
description: 'Query using the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-dsl-query-string-query">Elastic Search Query String syntax</a>. See <a href="https://urlscan.io/docs/search/">supported fields</a> in the documentation.',
|
||||
description:
|
||||
'Query using the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-dsl-query-string-query">Elastic Search Query String syntax</a>. See <a href="https://urlscan.io/docs/search/">supported fields</a> in the documentation.',
|
||||
default: '',
|
||||
placeholder: 'domain:n8n.io',
|
||||
},
|
||||
@@ -141,12 +120,8 @@ export const scanFields: INodeProperties[] = [
|
||||
description: 'URL to scan',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'scan',
|
||||
],
|
||||
operation: [
|
||||
'perform',
|
||||
],
|
||||
resource: ['scan'],
|
||||
operation: ['perform'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -158,19 +133,16 @@ export const scanFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'scan',
|
||||
],
|
||||
operation: [
|
||||
'perform',
|
||||
],
|
||||
resource: ['scan'],
|
||||
operation: ['perform'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
displayName: 'Custom Agent',
|
||||
name: 'customAgent',
|
||||
description: '<code>User-Agent</code> header to set for this scan. Defaults to <code>n8n</code>',
|
||||
description:
|
||||
'<code>User-Agent</code> header to set for this scan. Defaults to <code>n8n</code>',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
@@ -192,7 +164,8 @@ export const scanFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Tags',
|
||||
name: 'tags',
|
||||
description: 'Comma-separated list of user-defined tags to add to this scan. Limited to 10 tags.',
|
||||
description:
|
||||
'Comma-separated list of user-defined tags to add to this scan. Limited to 10 tags.',
|
||||
placeholder: 'phishing, malicious',
|
||||
type: 'string',
|
||||
default: '',
|
||||
|
||||
Reference in New Issue
Block a user