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

27 lines
483 B
TypeScript
Raw Normal View History

2020-03-12 11:57:57 -07:00
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
2020-03-15 11:20:41 -07:00
export class RundeckApi implements ICredentialType {
name = 'rundeckApi';
displayName = 'Rundeck API';
documentationUrl = 'rundeck';
2020-03-12 11:57:57 -07:00
properties = [
{
displayName: 'Url',
name: 'url',
type: 'string' as NodePropertyTypes,
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' as NodePropertyTypes,
default: '',
},
];
}