mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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 profileOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -10,9 +8,7 @@ export const profileOperations: INodeProperties[] = [
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'profile',
|
||||
],
|
||||
resource: ['profile'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -51,15 +47,12 @@ export const profileFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: [
|
||||
'profile',
|
||||
],
|
||||
operation: ['create'],
|
||||
resource: ['profile'],
|
||||
},
|
||||
},
|
||||
description: 'The LinkedIn profile URL or email ID for creating a Humantic profile. If you are sending the resume, this should be a unique string.',
|
||||
description:
|
||||
'The LinkedIn profile URL or email ID for creating a Humantic profile. If you are sending the resume, this should be a unique string.',
|
||||
},
|
||||
{
|
||||
displayName: 'Send Resume',
|
||||
@@ -68,12 +61,8 @@ export const profileFields: INodeProperties[] = [
|
||||
default: false,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: [
|
||||
'profile',
|
||||
],
|
||||
operation: ['create'],
|
||||
resource: ['profile'],
|
||||
},
|
||||
},
|
||||
description: 'Whether to send a resume for a resume based analysis',
|
||||
@@ -85,15 +74,9 @@ export const profileFields: INodeProperties[] = [
|
||||
default: 'data',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: [
|
||||
'profile',
|
||||
],
|
||||
sendResume: [
|
||||
true,
|
||||
],
|
||||
operation: ['create'],
|
||||
resource: ['profile'],
|
||||
sendResume: [true],
|
||||
},
|
||||
},
|
||||
description: 'The resume in PDF or DOCX format',
|
||||
@@ -110,15 +93,12 @@ export const profileFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: [
|
||||
'profile',
|
||||
],
|
||||
operation: ['get'],
|
||||
resource: ['profile'],
|
||||
},
|
||||
},
|
||||
description: 'This value is the same as the User ID that was provided when the analysis was created. This could be a LinkedIn URL, email ID, or a unique string in case of resume based analysis.',
|
||||
description:
|
||||
'This value is the same as the User ID that was provided when the analysis was created. This could be a LinkedIn URL, email ID, or a unique string in case of resume based analysis.',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -128,12 +108,8 @@ export const profileFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: [
|
||||
'profile',
|
||||
],
|
||||
operation: ['get'],
|
||||
resource: ['profile'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -152,13 +128,12 @@ export const profileFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: [],
|
||||
description: 'Fetch the Humantic profile of the user for a particular persona type. Multiple persona values can be supported using comma as a delimiter.',
|
||||
description:
|
||||
'Fetch the Humantic profile of the user for a particular persona type. Multiple persona values can be supported using comma as a delimiter.',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* profile:update */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -170,15 +145,12 @@ export const profileFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: [
|
||||
'profile',
|
||||
],
|
||||
operation: ['update'],
|
||||
resource: ['profile'],
|
||||
},
|
||||
},
|
||||
description: 'This value is the same as the User ID that was provided when the analysis was created. Currently only supported for profiles created using LinkedIn URL.',
|
||||
description:
|
||||
'This value is the same as the User ID that was provided when the analysis was created. Currently only supported for profiles created using LinkedIn URL.',
|
||||
},
|
||||
{
|
||||
displayName: 'Send Resume',
|
||||
@@ -187,12 +159,8 @@ export const profileFields: INodeProperties[] = [
|
||||
default: false,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: [
|
||||
'profile',
|
||||
],
|
||||
operation: ['update'],
|
||||
resource: ['profile'],
|
||||
},
|
||||
},
|
||||
description: 'Whether to send a resume for a resume of the user',
|
||||
@@ -204,15 +172,9 @@ export const profileFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: [
|
||||
'profile',
|
||||
],
|
||||
sendResume: [
|
||||
false,
|
||||
],
|
||||
operation: ['update'],
|
||||
resource: ['profile'],
|
||||
sendResume: [false],
|
||||
},
|
||||
},
|
||||
description: 'Additional text written by the user',
|
||||
@@ -224,15 +186,9 @@ export const profileFields: INodeProperties[] = [
|
||||
default: 'data',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: [
|
||||
'profile',
|
||||
],
|
||||
sendResume: [
|
||||
true,
|
||||
],
|
||||
operation: ['update'],
|
||||
resource: ['profile'],
|
||||
sendResume: [true],
|
||||
},
|
||||
},
|
||||
description: 'The resume in PDF or DOCX format',
|
||||
|
||||
Reference in New Issue
Block a user