- Fix autofixable violations - Remove unused directives - Allow for PascalCased variables - needed for dynamically imported or assigned classes, decorators, routers, etc.
29 lines
509 B
TypeScript
29 lines
509 B
TypeScript
import type { INodeProperties } from 'n8n-workflow';
|
|
import * as get from './get';
|
|
|
|
export { get };
|
|
|
|
export const descriptions: INodeProperties[] = [
|
|
{
|
|
displayName: 'Operation',
|
|
name: 'operation',
|
|
type: 'options',
|
|
noDataExpression: true,
|
|
displayOptions: {
|
|
show: {
|
|
resource: ['companyReport'],
|
|
},
|
|
},
|
|
options: [
|
|
{
|
|
name: 'Get',
|
|
value: 'get',
|
|
description: 'Get a company report',
|
|
action: 'Get a company report',
|
|
},
|
|
],
|
|
default: 'get',
|
|
},
|
|
...get.description,
|
|
];
|