n8n/packages/nodes-base/credentials/GhostContentApi.credentials.ts

26 lines
499 B
TypeScript
Raw Normal View History

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: '',
},
];
}