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

23 lines
457 B
TypeScript
Raw Normal View History

import { ICredentialType, INodeProperties } from 'n8n-workflow';
2019-12-21 18:44:56 -08:00
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',
typeOptions: { password: true },
2019-12-21 18:44:56 -08:00
default: '',
},
];
}