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

32 lines
527 B
TypeScript
Raw Normal View History

2019-07-12 08:54:15 -07:00
import {
ICredentialType,
INodeProperties,
2019-07-12 08:54:15 -07:00
} from 'n8n-workflow';
export class TrelloApi implements ICredentialType {
name = 'trelloApi';
displayName = 'Trello API';
documentationUrl = 'trello';
properties: INodeProperties[] = [
2019-07-12 08:54:15 -07:00
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
2019-07-12 08:54:15 -07:00
default: '',
},
{
displayName: 'API Token',
name: 'apiToken',
type: 'string',
2019-07-12 08:54:15 -07:00
default: '',
},
{
displayName: 'OAuth Secret',
name: 'oauthSecret',
type: 'string',
2019-07-12 08:54:15 -07:00
default: '',
},
];
}