* 👕 Enable `consistent-type-imports` for nodes-base * 👕 Apply to nodes-base * ⏪ Undo unrelated changes * 🚚 Move to `.eslintrc.js` in nodes-base * ⏪ Revert "Enable `consistent-type-imports` for nodes-base" This reverts commit 529ad72b051478fa1633aaf84b2864f2fdc7613c. * 👕 Fix severity
29 lines
548 B
TypeScript
29 lines
548 B
TypeScript
import type { INodeProperties } from 'n8n-workflow';
|
|
import * as search from './search.operation';
|
|
|
|
export { search };
|
|
|
|
export const description: INodeProperties[] = [
|
|
{
|
|
displayName: 'Operation',
|
|
name: 'operation',
|
|
type: 'options',
|
|
noDataExpression: true,
|
|
displayOptions: {
|
|
show: {
|
|
resource: ['userActivity'],
|
|
},
|
|
},
|
|
options: [
|
|
{
|
|
name: 'Search',
|
|
value: 'search',
|
|
description: 'Return user activity data',
|
|
action: 'Search user activity data',
|
|
},
|
|
],
|
|
default: 'search',
|
|
},
|
|
...search.description,
|
|
];
|