Building out the skeleton for Clockify integration

This commit is contained in:
Mark Horninger
2020-02-03 17:11:35 -05:00
parent 56c8d4688f
commit d99e4a7bfb
9 changed files with 302 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class ClockifyApi implements ICredentialType {
name = 'clockifyApi';
displayName = 'Clockify API';
properties = [
// The credentials to get from user and save encrypted.
// Properties can be defined exactly in the same way
// as node properties.
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}