mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
28 lines
606 B
TypeScript
28 lines
606 B
TypeScript
import type { INodeProperties } from 'n8n-workflow';
|
|
import { updateDisplayOptions } from 'n8n-workflow';
|
|
|
|
import { groupLocator } from '../common';
|
|
|
|
const properties: INodeProperties[] = [
|
|
{
|
|
...groupLocator,
|
|
description: 'Select the group you want to retrieve',
|
|
},
|
|
{
|
|
displayName: 'Include Users',
|
|
name: 'includeUsers',
|
|
type: 'boolean',
|
|
default: false,
|
|
description: 'Whether to include a list of users in the group',
|
|
},
|
|
];
|
|
|
|
const displayOptions = {
|
|
show: {
|
|
resource: ['group'],
|
|
operation: ['get'],
|
|
},
|
|
};
|
|
|
|
export const description = updateDisplayOptions(displayOptions, properties);
|