n8n/packages/nodes-base/credentials/RundeckApi.credentials.ts

27 lines
458 B
TypeScript
Raw Normal View History

2020-03-12 11:57:57 -07:00
import {
ICredentialType,
INodeProperties,
2020-03-12 11:57:57 -07:00
} from 'n8n-workflow';
2020-03-15 11:20:41 -07:00
export class RundeckApi implements ICredentialType {
name = 'rundeckApi';
displayName = 'Rundeck API';
documentationUrl = 'rundeck';
properties: INodeProperties[] = [
2020-03-12 11:57:57 -07:00
{
displayName: 'Url',
name: 'url',
type: 'string',
2020-03-12 11:57:57 -07:00
default: '',
2020-03-15 11:20:41 -07:00
placeholder: 'http://127.0.0.1:4440',
2020-03-12 11:57:57 -07:00
},
{
displayName: 'Token',
name: 'token',
type: 'string',
2020-03-12 11:57:57 -07:00
default: '',
},
];
}