mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
25 lines
661 B
TypeScript
25 lines
661 B
TypeScript
import { updateDisplayOptions, type INodeProperties } from 'n8n-workflow';
|
|
|
|
import { containerResourceLocator, paginationParameters } from '../common';
|
|
|
|
const properties: INodeProperties[] = [
|
|
{ ...containerResourceLocator, description: 'Select the container you want to use' },
|
|
...paginationParameters,
|
|
{
|
|
displayName: 'Simplify',
|
|
name: 'simple',
|
|
default: true,
|
|
description: 'Whether to return a simplified version of the response instead of the raw data',
|
|
type: 'boolean',
|
|
},
|
|
];
|
|
|
|
const displayOptions = {
|
|
show: {
|
|
resource: ['item'],
|
|
operation: ['getAll'],
|
|
},
|
|
};
|
|
|
|
export const description = updateDisplayOptions(displayOptions, properties);
|