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

25 lines
442 B
TypeScript
Raw Normal View History

2019-10-20 13:57:06 -07:00
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: '',
},
];
}