import * as create from './create';
import * as del from './del';
import * as getAll from './getAll';

import { INodeProperties } from 'n8n-workflow';


export {
	create,
	del as delete,
	getAll,
};

export const descriptions = [
	{
		displayName: 'Operation',
		name: 'operation',
		type: 'options',
		displayOptions: {
			show: {
				resource: [
					'reaction',
				],
			},
		},
		options: [
			{
				name: 'Create',
				value: 'create',
				description: 'Add a reaction to a post.',
			},
			{
				name: 'Delete',
				value: 'delete',
				description: 'Remove a reaction from a post',
			},
			{
				name: 'Get All',
				value: 'getAll',
				description: 'Get all the reactions to one or more posts',
			},
		],
		default: 'create',
		description: 'The operation to perform',
	},
	...create.description,
	...del.description,
	...getAll.description,
] as INodeProperties[];
