merge to master

This commit is contained in:
Joel Sanguenza 2022-09-14 23:34:59 +08:00
parent a85a3d40a7
commit 6ea34f9bda
12 changed files with 6102 additions and 12746 deletions
nodes/Plutio/descriptions

View file

@ -41,12 +41,12 @@ export const projectOperations: INodeProperties[] = [
description: 'Get projects',
action: 'Get a project',
},
{
name: 'Get CKLPH',
value: 'getCklph',
description: 'Get projects by contributor\'s email for CKLPH',
action: 'Get a project',
},
// {
// name: 'Chykalophia',
// value: 'getCklph',
// description: 'Get projects by contributor\'s email for CKLPH',
// action: 'Get a project',
// },
{
name: 'Move',
value: 'move',
@ -85,6 +85,130 @@ export const projectDescription: INodeProperties[] = [
},
description: 'ID of Project',
},
{
displayName: 'Options',
name: 'options',
type: 'collection',
placeholder: 'Add Option',
default: {},
displayOptions: {
show: {
resource: [
'project',
],
operation: [
'update',
'create',
],
},
},
options: [
{
displayName: 'Project Name',
name: 'name',
type: 'string',
default: '',
description: 'Name of Project',
},
{
displayName: 'Template Name or ID',
name: 'templateId',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
default: '',
typeOptions: {
loadOptionsMethod: 'getProjectTemplateId',
},
},
],
},
{
displayName: 'Custom Fields',
name: 'customFields',
type: 'fixedCollection',
placeholder: 'Add Custom Field',
typeOptions: {
multipleValues: true,
},
displayOptions: {
show: {
resource: [
'project',
],
operation: [
'create',
'update',
],
},
},
description: 'Key value pairs containing the name and value of the custom field. Only dates in the format YYYY-MM-DD are accepted as input for custom date fields.',
default: [],
options: [
{
displayName: 'Custom Field',
name: 'customField',
values: [
{
displayName: 'Custom Field Name or ID',
name: '_id',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
default: '',
typeOptions: {
loadOptionsMethod: 'getProjectCustomField',
},
},
{
displayName: 'Value Name or ID',
name: 'value',
type: 'string',
default: '',
description: 'Custom Field\'s values',
},
],
},
],
},
{
displayName: 'Contributors',
name: 'contributorsUi',
type: 'fixedCollection',
default: [],
placeholder: 'Add Person',
typeOptions: {
multipleValues: true,
},
displayOptions: {
show: {
resource: [
'project',
],
operation: [
'update',
'create',
],
},
},
options: [
{
displayName: 'Contributors',
name: 'contributors',
values: [
{
displayName: 'Contributors: Name or ID',
name: 'value',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
},
],
},
],
description: 'Name or ID of the user to whom the task has been assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Index',
name: 'index',
@ -132,17 +256,7 @@ export const projectDescription: INodeProperties[] = [
},
{
displayName: 'Project Name or ID',
name: 'name',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
default: '',
typeOptions: {
loadOptionsMethod: 'getProjectId',
},
},
{
displayName: 'Client Name or ID',
name: 'name',
name: '_id',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
default: '',