Add basic Mattermost-Node

This commit is contained in:
Jan Oberhauser
2019-10-20 22:57:06 +02:00
parent 45a21d5ce1
commit bc08c7da2d
5 changed files with 529 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class MattermostApi implements ICredentialType {
name = 'mattermostApi';
displayName = 'Mattermost API';
properties = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Base URL',
name: 'baseUrl',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}