mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
Co-authored-by: Stamsy <stams_89@abv.bg> Co-authored-by: Adina Totorean <adinatotorean99@gmail.com> Co-authored-by: Giulio Andreini <g.andreini@gmail.com> Co-authored-by: AdinaTotorean <64439268+adina-hub@users.noreply.github.com> Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com> Co-authored-by: feelgood-interface <feelgood.interface@gmail.com>
33 lines
710 B
TypeScript
33 lines
710 B
TypeScript
import type { INodeProperties } from 'n8n-workflow';
|
|
import { updateDisplayOptions } from 'n8n-workflow';
|
|
|
|
import {
|
|
groupResourceLocator,
|
|
userPoolResourceLocator,
|
|
userResourceLocator,
|
|
} from '../common.description';
|
|
|
|
const properties: INodeProperties[] = [
|
|
{
|
|
...userPoolResourceLocator,
|
|
description: 'Select the user pool to use',
|
|
},
|
|
{
|
|
...userResourceLocator,
|
|
description: 'Select the user you want to add to the group',
|
|
},
|
|
{
|
|
...groupResourceLocator,
|
|
description: 'Select the group you want to add the user to',
|
|
},
|
|
];
|
|
|
|
const displayOptions = {
|
|
show: {
|
|
resource: ['user'],
|
|
operation: ['addToGroup'],
|
|
},
|
|
};
|
|
|
|
export const description = updateDisplayOptions(displayOptions, properties);
|