mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
8424c792dc
* ✨ Ghost Node * ⚡ Minor improvements to Ghost-Node Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
26 lines
493 B
TypeScript
26 lines
493 B
TypeScript
import {
|
|
ICredentialType,
|
|
NodePropertyTypes,
|
|
} from 'n8n-workflow';
|
|
|
|
export class GhostAdminApi implements ICredentialType {
|
|
name = 'ghostAdminApi';
|
|
displayName = 'Ghost Admin 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: '',
|
|
},
|
|
];
|
|
}
|