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

26 lines
425 B
TypeScript
Raw Normal View History

2019-12-21 18:44:56 -08:00
import {
ICredentialType,
INodeProperties,
2019-12-21 18:44:56 -08:00
} from 'n8n-workflow';
export class TogglApi implements ICredentialType {
name = 'togglApi';
displayName = 'Toggl API';
documentationUrl = 'toggl';
properties: INodeProperties[] = [
2019-12-21 18:44:56 -08:00
{
displayName: 'Username',
name: 'username',
type: 'string',
2019-12-21 18:44:56 -08:00
default: '',
},
{
displayName: 'Password',
name: 'password',
type: 'string',
2019-12-21 18:44:56 -08:00
default: '',
},
];
}