mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-11 07:04:06 -08:00
26 lines
474 B
TypeScript
26 lines
474 B
TypeScript
import {
|
|
ICredentialType,
|
|
INodeProperties,
|
|
} from 'n8n-workflow';
|
|
|
|
export class GhostContentApi implements ICredentialType {
|
|
name = 'ghostContentApi';
|
|
displayName = 'Ghost Content API';
|
|
documentationUrl = 'ghost';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'URL',
|
|
name: 'url',
|
|
type: 'string',
|
|
default: '',
|
|
placeholder: 'http://localhost:3001',
|
|
},
|
|
{
|
|
displayName: 'API Key',
|
|
name: 'apiKey',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
];
|
|
}
|