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

25 lines
421 B
TypeScript
Raw Normal View History

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