mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
26 lines
476 B
TypeScript
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: '',
|
|
},
|
|
];
|
|
}
|