mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-28 14:09:43 -08:00
0e340a1e2b
done
25 lines
421 B
TypeScript
25 lines
421 B
TypeScript
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: '',
|
|
},
|
|
];
|
|
}
|