25 lines
573 B
TypeScript
Executable File
25 lines
573 B
TypeScript
Executable File
import type { INodeProperties } from 'n8n-workflow';
|
|
import { updateDisplayOptions } from 'n8n-workflow';
|
|
|
|
import { userPoolResourceLocator, userResourceLocator } from '../common.description';
|
|
|
|
const properties: INodeProperties[] = [
|
|
{
|
|
...userPoolResourceLocator,
|
|
description: 'Select the user pool to use',
|
|
},
|
|
{
|
|
...userResourceLocator,
|
|
description: 'Select the user you want to delete',
|
|
},
|
|
];
|
|
|
|
const displayOptions = {
|
|
show: {
|
|
resource: ['user'],
|
|
operation: ['delete'],
|
|
},
|
|
};
|
|
|
|
export const description = updateDisplayOptions(displayOptions, properties);
|