Minor improvements to Box Node

This commit is contained in:
Jan Oberhauser
2020-07-25 19:59:12 +02:00
parent 8370940713
commit d726e11af4
5 changed files with 117 additions and 118 deletions

View File

@@ -1,6 +1,6 @@
import {
INodeProperties,
} from 'n8n-workflow';
} from 'n8n-workflow';
export const fileOperations = [
{
@@ -53,9 +53,9 @@ export const fileOperations = [
export const fileFields = [
/* -------------------------------------------------------------------------- */
/* file:copy */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* file:copy */
/* -------------------------------------------------------------------------- */
{
displayName: 'File ID',
name: 'fileId',
@@ -131,9 +131,10 @@ export const fileFields = [
},
],
},
/* -------------------------------------------------------------------------- */
/* file:delete */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* file:delete */
/* -------------------------------------------------------------------------- */
{
displayName: 'File ID',
name: 'fileId',
@@ -151,9 +152,10 @@ export const fileFields = [
default: '',
description: 'Field ID',
},
/* -------------------------------------------------------------------------- */
/* file:download */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* file:download */
/* -------------------------------------------------------------------------- */
{
displayName: 'File ID',
name: 'fileId',
@@ -189,9 +191,10 @@ export const fileFields = [
},
description: 'Name of the binary property to which to<br />write the data of the read file.',
},
/* -------------------------------------------------------------------------- */
/* file:get */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* file:get */
/* -------------------------------------------------------------------------- */
{
displayName: 'File ID',
name: 'fileId',
@@ -235,9 +238,10 @@ export const fileFields = [
},
],
},
/* -------------------------------------------------------------------------- */
/* file:search */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* file:search */
/* -------------------------------------------------------------------------- */
{
displayName: 'Query',
name: 'query',
@@ -491,9 +495,10 @@ export const fileFields = [
},
],
},
/* -------------------------------------------------------------------------- */
/* file:upload */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* file:upload */
/* -------------------------------------------------------------------------- */
{
displayName: 'File Name',
name: 'fileName',
@@ -550,7 +555,6 @@ export const fileFields = [
},
},
placeholder: '',
description: 'The text content of the file.',
},
{
@@ -573,7 +577,6 @@ export const fileFields = [
},
},
placeholder: '',
description: 'Name of the binary property which contains<br />the data for the file.',
},
{