mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -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',
|
|
},
|
|
];
|