n8n/packages/nodes-base/credentials/MattermostApi.credentials.ts
2021-06-12 18:39:55 +02:00

26 lines
451 B
TypeScript

import {
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class MattermostApi implements ICredentialType {
name = 'mattermostApi';
displayName = 'Mattermost API';
documentationUrl = 'mattermost';
properties: INodeProperties[] = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string',
default: '',
},
{
displayName: 'Base URL',
name: 'baseUrl',
type: 'string',
default: '',
},
];
}