mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-11 15:14:05 -08:00
0ecbb4a19d
* 🔨 prettier formated nodes - A * 🔨 prettier formated nodes - B * ⚡ prettier formated nodes - C * ⚡ prettier formated nodes - D * ⚡ prettier formated nodes - E-F * 🎨 Adjust nodes-base formatting command (#3805) * Format additional files in nodes A-F (#3811) * ⚡ fixes * 🎨 Add Mindee to ignored dirs Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
62 lines
1.4 KiB
TypeScript
62 lines
1.4 KiB
TypeScript
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
|
|
import { INodeTypeDescription } from 'n8n-workflow';
|
|
|
|
import * as file from './file';
|
|
import * as employee from './employee';
|
|
import * as employeeDocument from './employeeDocument';
|
|
import * as companyReport from './companyReport';
|
|
|
|
export const versionDescription: INodeTypeDescription = {
|
|
credentials: [
|
|
{
|
|
name: 'bambooHrApi',
|
|
required: true,
|
|
testedBy: 'bambooHrApiCredentialTest',
|
|
},
|
|
],
|
|
defaults: {
|
|
name: 'BambooHR',
|
|
},
|
|
description: 'Consume BambooHR API',
|
|
displayName: 'BambooHR',
|
|
group: ['transform'],
|
|
// eslint-disable-next-line n8n-nodes-base/node-class-description-icon-not-svg
|
|
icon: 'file:bambooHr.png',
|
|
inputs: ['main'],
|
|
name: 'bambooHr',
|
|
outputs: ['main'],
|
|
properties: [
|
|
{
|
|
displayName: 'Resource',
|
|
name: 'resource',
|
|
type: 'options',
|
|
noDataExpression: true,
|
|
options: [
|
|
{
|
|
name: 'Company Report',
|
|
value: 'companyReport',
|
|
},
|
|
{
|
|
name: 'Employee',
|
|
value: 'employee',
|
|
},
|
|
{
|
|
name: 'Employee Document',
|
|
value: 'employeeDocument',
|
|
},
|
|
{
|
|
name: 'File',
|
|
value: 'file',
|
|
},
|
|
],
|
|
default: 'employee',
|
|
},
|
|
...employee.descriptions,
|
|
...employeeDocument.descriptions,
|
|
...file.descriptions,
|
|
...companyReport.descriptions,
|
|
],
|
|
subtitle: '={{$parameter["resource"] + ": " + $parameter["operation"]}}',
|
|
version: 1,
|
|
};
|