2022-07-24 08:36:17 -07:00
|
|
|
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2020-10-13 04:00:14 -07:00
|
|
|
|
|
|
|
export class WekanApi implements ICredentialType {
|
|
|
|
name = 'wekanApi';
|
|
|
|
displayName = 'Wekan API';
|
|
|
|
documentationUrl = 'wekan';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-10-13 04:00:14 -07:00
|
|
|
{
|
|
|
|
displayName: 'Username',
|
|
|
|
name: 'username',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-10-13 04:00:14 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Password',
|
|
|
|
name: 'password',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-10-13 04:00:14 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'URL',
|
|
|
|
name: 'url',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-10-13 04:00:14 -07:00
|
|
|
default: '',
|
|
|
|
placeholder: 'https://wekan.yourdomain.com',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|