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 webinarOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -10,9 +8,7 @@ export const webinarOperations: INodeProperties[] = [
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'webinar',
|
||||
],
|
||||
resource: ['webinar'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -63,12 +59,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: [
|
||||
'webinar',
|
||||
],
|
||||
operation: ['create'],
|
||||
resource: ['webinar'],
|
||||
},
|
||||
},
|
||||
description: 'User ID or email ID',
|
||||
@@ -81,13 +73,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
|
||||
],
|
||||
resource: [
|
||||
'webinar',
|
||||
],
|
||||
operation: ['create'],
|
||||
resource: ['webinar'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -142,7 +129,6 @@ export const webinarFields: INodeProperties[] = [
|
||||
name: 'VOIP',
|
||||
value: 'voip',
|
||||
},
|
||||
|
||||
],
|
||||
default: 'both',
|
||||
description: 'Determine how participants can join audio portion of the webinar',
|
||||
@@ -230,7 +216,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
name: 'startTime',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Start time should be used only for scheduled or recurring webinar with fixed time',
|
||||
description:
|
||||
'Start time should be used only for scheduled or recurring webinar with fixed time',
|
||||
},
|
||||
{
|
||||
displayName: 'Timezone Name or ID',
|
||||
@@ -240,7 +227,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getTimezones',
|
||||
},
|
||||
default: '',
|
||||
description: 'Time zone used in the response. The default is the time zone of the calendar. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'Time zone used in the response. The default is the time zone of the calendar. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Webinar Topic',
|
||||
@@ -268,7 +256,6 @@ export const webinarFields: INodeProperties[] = [
|
||||
],
|
||||
default: 5,
|
||||
},
|
||||
|
||||
],
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -282,12 +269,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: [
|
||||
'webinar',
|
||||
],
|
||||
operation: ['get'],
|
||||
resource: ['webinar'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -299,13 +282,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'get',
|
||||
|
||||
],
|
||||
resource: [
|
||||
'webinar',
|
||||
],
|
||||
operation: ['get'],
|
||||
resource: ['webinar'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -321,7 +299,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
name: 'showPreviousOccurrences',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether to view webinar details of all previous occurrences of the recurring webinar',
|
||||
description:
|
||||
'Whether to view webinar details of all previous occurrences of the recurring webinar',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -336,12 +315,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'webinar',
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['webinar'],
|
||||
},
|
||||
},
|
||||
description: 'User ID or email-ID',
|
||||
@@ -352,12 +327,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'webinar',
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['webinar'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
@@ -369,15 +340,9 @@ export const webinarFields: INodeProperties[] = [
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'webinar',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['webinar'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -398,12 +363,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'delete',
|
||||
],
|
||||
resource: [
|
||||
'webinarId',
|
||||
],
|
||||
operation: ['delete'],
|
||||
resource: ['webinarId'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -415,12 +376,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'delete',
|
||||
],
|
||||
resource: [
|
||||
'webinar',
|
||||
],
|
||||
operation: ['delete'],
|
||||
resource: ['webinar'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -431,9 +388,7 @@ export const webinarFields: INodeProperties[] = [
|
||||
default: '',
|
||||
description: 'Webinar occurrence ID',
|
||||
},
|
||||
|
||||
],
|
||||
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* webinar:update */
|
||||
@@ -446,12 +401,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: [
|
||||
'webinar',
|
||||
],
|
||||
operation: ['update'],
|
||||
resource: ['webinar'],
|
||||
},
|
||||
},
|
||||
description: 'User ID or email address of user',
|
||||
@@ -464,13 +415,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'update',
|
||||
|
||||
],
|
||||
resource: [
|
||||
'webinar',
|
||||
],
|
||||
operation: ['update'],
|
||||
resource: ['webinar'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -545,7 +491,6 @@ export const webinarFields: INodeProperties[] = [
|
||||
name: 'VOIP',
|
||||
value: 'voip',
|
||||
},
|
||||
|
||||
],
|
||||
default: 'both',
|
||||
description: 'Determine how participants can join audio portion of the webinar',
|
||||
@@ -617,7 +562,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
name: 'startTime',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Start time should be used only for scheduled or recurring webinar with fixed time',
|
||||
description:
|
||||
'Start time should be used only for scheduled or recurring webinar with fixed time',
|
||||
},
|
||||
{
|
||||
displayName: 'Timezone Name or ID',
|
||||
@@ -627,7 +573,8 @@ export const webinarFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getTimezones',
|
||||
},
|
||||
default: '',
|
||||
description: 'Time zone used in the response. The default is the time zone of the calendar. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'Time zone used in the response. The default is the time zone of the calendar. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Webinar Topic',
|
||||
@@ -657,5 +604,4 @@ export const webinarFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user