n8n/packages/nodes-base/credentials/CockpitApi.credentials.ts
2021-06-12 18:39:55 +02:00

26 lines
476 B
TypeScript

import {
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class CockpitApi implements ICredentialType {
name = 'cockpitApi';
displayName = 'Cockpit API';
documentationUrl = 'cockpit';
properties: INodeProperties[] = [
{
displayName: 'Cockpit URL',
name: 'url',
type: 'string',
default: '',
placeholder: 'https://example.com',
},
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string',
default: '',
},
];
}