n8n/packages/nodes-base/credentials/RundeckApi.credentials.ts
2020-03-15 19:20:41 +01:00

26 lines
452 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class RundeckApi implements ICredentialType {
name = 'rundeckApi';
displayName = 'Rundeck API';
properties = [
{
displayName: 'Url',
name: 'url',
type: 'string' as NodePropertyTypes,
default: '',
placeholder: 'http://127.0.0.1:4440',
},
{
displayName: 'Token',
name: 'token',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}