2019-10-20 13:57:06 -07:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2019-10-20 13:57:06 -07:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
|
|
|
|
export class MattermostApi implements ICredentialType {
|
|
|
|
name = 'mattermostApi';
|
|
|
|
displayName = 'Mattermost API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'mattermost';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2019-10-20 13:57:06 -07:00
|
|
|
{
|
|
|
|
displayName: 'Access Token',
|
|
|
|
name: 'accessToken',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2019-10-20 13:57:06 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Base URL',
|
|
|
|
name: 'baseUrl',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2019-10-20 13:57:06 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|