n8n/packages/nodes-base/credentials/GhostAdminApi.credentials.ts
2021-06-12 18:39:55 +02:00

26 lines
468 B
TypeScript

import {
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class GhostAdminApi implements ICredentialType {
name = 'ghostAdminApi';
displayName = 'Ghost Admin API';
documentationUrl = 'ghost';
properties: INodeProperties[] = [
{
displayName: 'URL',
name: 'url',
type: 'string',
default: '',
placeholder: 'http://localhost:3001',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
default: '',
},
];
}