Small changes to Twitter-Node

This commit is contained in:
Jan Oberhauser
2020-06-03 15:06:13 +02:00
parent d17d18ceb6
commit e3a6064196
5 changed files with 30 additions and 77 deletions

View File

@@ -1,6 +1,6 @@
import {
INodeProperties,
} from 'n8n-workflow';
} from 'n8n-workflow';
export const tweetOperations = [
{
@@ -78,53 +78,15 @@ export const tweetFields = [
},
options: [
{
name: 'attachmentsValues',
displayName: 'Attachments Values',
name: 'attachment',
displayName: 'Attachment',
values: [
{
displayName: 'Data',
name: 'data',
displayName: 'Binary Property',
name: 'binaryPropertyName',
type: 'string',
default: '',
description: 'The base64-encoded file content being uploaded.',
},
{
displayName: 'Category',
name: 'category',
type: 'options',
options: [
{
name: 'Amplify Video',
value: 'amplifyVideo',
},
{
name: 'Gif',
value: 'tweetGif',
},
{
name: 'Image',
value: 'tweetImage',
},
{
name: 'Video',
value: 'tweetVideo',
},
],
default: '',
description: 'The category that represents how the media will be used',
},
],
},
{
name: 'attachmentsBinary',
displayName: 'Attachments Binary',
values: [
{
displayName: 'Property',
name: 'property',
type: 'string',
default: '',
description: 'Name of the binary properties which contain data which should be added to email as attachment',
description: 'Name of the binary properties which contain data which should be added to tweet as attachment',
},
{
displayName: 'Category',