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

26 lines
451 B
TypeScript
Raw Normal View History

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