n8n/packages/nodes-base/nodes/Files/ConvertToFile/actions/iCall.operation.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
543 B
TypeScript
Raw Normal View History

import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from 'n8n-workflow';
import * as createEvent from '../../../ICalendar/createEvent.operation';
import { updateDisplayOptions } from '@utils/utilities';
export const description: INodeProperties[] = updateDisplayOptions(
{
show: {
operation: ['iCal'],
},
},
createEvent.description,
);
export async function execute(this: IExecuteFunctions, items: INodeExecutionData[]) {
const returnData = await createEvent.execute.call(this, items);
return returnData;
}