mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 22:54:05 -08:00
91d7e16c81
* 🔨 formatting nodes with prettier
27 lines
528 B
TypeScript
27 lines
528 B
TypeScript
import { INodeProperties } from 'n8n-workflow';
|
|
|
|
const resource = ['company'];
|
|
|
|
export const companyOperations: INodeProperties[] = [
|
|
{
|
|
displayName: 'Operation',
|
|
name: 'operation',
|
|
type: 'options',
|
|
noDataExpression: true,
|
|
displayOptions: {
|
|
show: {
|
|
resource,
|
|
},
|
|
},
|
|
options: [
|
|
{
|
|
name: 'Get',
|
|
value: 'get',
|
|
description: 'Retrieves the company for the currently authenticated user',
|
|
action: 'Retrieve the company for the currently authenticated user',
|
|
},
|
|
],
|
|
default: 'get',
|
|
},
|
|
];
|