Minor improvements to TravisCi-Node

This commit is contained in:
Jan Oberhauser 2020-08-04 15:53:34 +02:00
parent 3dfa55d850
commit 26f3f949aa
4 changed files with 28 additions and 23 deletions

View file

@ -68,6 +68,7 @@ export const buildFields = [
default: '', default: '',
description: 'Value uniquely identifying the build.', description: 'Value uniquely identifying the build.',
}, },
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* build:get */ /* build:get */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
@ -115,6 +116,7 @@ export const buildFields = [
}, },
], ],
}, },
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* build:getAll */ /* build:getAll */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
@ -235,6 +237,7 @@ export const buildFields = [
}, },
], ],
}, },
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* build:restart */ /* build:restart */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
@ -255,6 +258,7 @@ export const buildFields = [
default: '', default: '',
description: 'Value uniquely identifying the build.', description: 'Value uniquely identifying the build.',
}, },
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* build:trigger */ /* build:trigger */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
@ -272,6 +276,7 @@ export const buildFields = [
], ],
}, },
}, },
placeholder: 'n8n-io/n8n',
default: '', default: '',
description: 'Same as {ownerName}/{repositoryName}', description: 'Same as {ownerName}/{repositoryName}',
}, },

View file

@ -23,14 +23,14 @@ export class TravisCi implements INodeType {
description: INodeTypeDescription = { description: INodeTypeDescription = {
displayName: 'TravisCI', displayName: 'TravisCI',
name: 'travisCi', name: 'travisCi',
icon: 'file:travisCi.png', icon: 'file:travisci.png',
group: ['output'], group: ['output'],
version: 1, version: 1,
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}', subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
description: 'Consume TravisCI API', description: 'Consume TravisCI API',
defaults: { defaults: {
name: 'TravisCI', name: 'TravisCI',
color: '#FF0000', color: '#666666',
}, },
inputs: ['main'], inputs: ['main'],
outputs: ['main'], outputs: ['main'],

View file

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB