mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-27 21:49:41 -08:00
21 lines
543 B
TypeScript
21 lines
543 B
TypeScript
|
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;
|
||
|
}
|