Add Cockpit node

This commit is contained in:
Krzysztof Janda
2020-04-04 16:04:25 +02:00
parent 174113a879
commit 52cbd323f2
13 changed files with 559 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class CockpitApi implements ICredentialType {
name = 'cockpitApi';
displayName = 'Cockpit API';
properties = [
{
displayName: 'Cockpit URL',
name: 'url',
type: 'string' as NodePropertyTypes,
default: '',
placeholder: 'https://example.com',
},
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}