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

31 lines
543 B
TypeScript
Raw Normal View History

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