n8n/packages/nodes-base/credentials/WordpressApi.credentials.ts
Ricardo Espinoza c172ac4879 done
2019-12-30 16:08:22 -05:00

30 lines
542 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class WordpressApi implements ICredentialType {
name = 'wordpressApi';
displayName = 'Wordpress API';
properties = [
{
displayName: 'Username',
name: 'username',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Password',
name: 'password',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Domain',
name: 'domain',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}