n8n/packages/nodes-base/credentials/SlackApi.credentials.ts
2020-08-17 14:42:09 +02:00

20 lines
343 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class SlackApi implements ICredentialType {
name = 'slackApi';
displayName = 'Slack API';
documentationUrl = 'slack';
properties = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}