parent
							
								
									6ea34f9bda
								
							
						
					
					
						commit
						a53cda09d6
					
				
					 12 changed files with 12744 additions and 6100 deletions
				
			
		|  | @ -41,12 +41,12 @@ export const projectOperations: INodeProperties[] = [ | |||
| 				description: 'Get projects', | ||||
| 				action: 'Get a project', | ||||
| 			}, | ||||
| 			// {
 | ||||
| 			// 	name: 'Chykalophia',
 | ||||
| 			// 	value: 'getCklph',
 | ||||
| 			// 	description: 'Get projects by contributor\'s email for CKLPH',
 | ||||
| 			// 	action: 'Get a project',
 | ||||
| 			// },
 | ||||
| 			{ | ||||
| 				name: 'Get CKLPH', | ||||
| 				value: 'getCklph', | ||||
| 				description: 'Get projects by contributor\'s email for CKLPH', | ||||
| 				action: 'Get a project', | ||||
| 			}, | ||||
| 			{ | ||||
| 				name: 'Move', | ||||
| 				value: 'move', | ||||
|  | @ -85,130 +85,6 @@ 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', | ||||
|  | @ -256,7 +132,17 @@ export const projectDescription: INodeProperties[] = [ | |||
| 			}, | ||||
| 			{ | ||||
| 				displayName: 'Project Name or ID', | ||||
| 				name: '_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', | ||||
| 				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: '', | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue