Small improvements to Mindee-Node

This commit is contained in:
Jan Oberhauser 2020-10-03 14:09:37 +02:00
parent 419b58024a
commit ada65ebcbb
4 changed files with 9 additions and 6 deletions

View file

@ -1,6 +1,6 @@
import { import {
OptionsWithUri, OptionsWithUri,
} from 'request'; } from 'request';
import { import {
IExecuteFunctions, IExecuteFunctions,

View file

@ -21,7 +21,7 @@ export class Mindee implements INodeType {
description: INodeTypeDescription = { description: INodeTypeDescription = {
displayName: 'Mindee', displayName: 'Mindee',
name: 'mindee', name: 'mindee',
icon: 'file:mindee.png', icon: 'file:mindee.svg',
group: ['input'], group: ['input'],
version: 1, version: 1,
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}', subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
@ -62,14 +62,14 @@ export class Mindee implements INodeType {
name: 'resource', name: 'resource',
type: 'options', type: 'options',
options: [ options: [
{
name: 'Receipt',
value: 'receipt',
},
{ {
name: 'Invoice', name: 'Invoice',
value: 'invoice', value: 'invoice',
}, },
{
name: 'Receipt',
value: 'receipt',
},
], ],
default: 'receipt', default: 'receipt',
description: 'The resource to operate on.' description: 'The resource to operate on.'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 32 32">
<g fill="none" fill-rule="evenodd"><path d="M18.329 0h13.746v32H18.33V27.43h9.164V4.572H18.33V0zM4.582 13.714V27.43h9.165V32H0V0h13.747v4.571H4.582v9.143zm4.582 0v-4.57h13.747v4.57H9.164zm0 9.143v-4.571h4.583v4.571H9.164z" fill="#FD3246"></path></g>
</svg>

After

Width:  |  Height:  |  Size: 348 B