2021-01-12 03:40:49 -08:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2021-01-12 03:40:49 -08:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
export class BeeminderApi implements ICredentialType {
|
|
|
|
name = 'beeminderApi';
|
|
|
|
displayName = 'Beeminder API';
|
2021-06-18 14:46:21 -07:00
|
|
|
documentationUrl = 'beeminder';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2021-01-12 03:40:49 -08:00
|
|
|
{
|
|
|
|
displayName: 'User',
|
|
|
|
name: 'user',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2021-01-12 03:40:49 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Auth Token',
|
|
|
|
name: 'authToken',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2021-01-12 03:40:49 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|