Add Ghost-Node (#1221)

*  Ghost Node

*  Minor improvements to Ghost-Node

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
Ricardo Espinoza
2020-12-08 02:40:29 -05:00
committed by GitHub
parent 3c2d75ce68
commit 8424c792dc
7 changed files with 1445 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class GhostContentApi implements ICredentialType {
name = 'ghostContentApi';
displayName = 'Ghost Content API';
documentationUrl = 'ghost';
properties = [
{
displayName: 'URL',
name: 'url',
type: 'string' as NodePropertyTypes,
default: '',
placeholder: 'http://localhost:3001',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}