🔀 Merge branch 'master' of https://github.com/d3no/n8n into d3no-master

This commit is contained in:
Jan Oberhauser
2020-02-14 21:01:42 -08:00
4 changed files with 328 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class MoceanApi implements ICredentialType {
name = 'moceanApi';
displayName = 'Mocean 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: 'mocean-api-key',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'API Secret',
name: 'mocean-api-secret',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}