Files
n8n-enterprise-unlocked/packages/nodes-base/credentials/StrapiApi.credentials.ts
Ricardo Espinoza a5ecf3d58d Add Strapi-Node (#1143)
*  Strapi-Node

*  Small improvements

*  Small improvement
2020-11-11 09:44:53 +01:00

30 lines
521 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class StrapiApi implements ICredentialType {
name = 'strapiApi';
displayName = 'Strapi API';
properties = [
{
displayName: 'Email',
name: 'email',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Password',
name: 'password',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'URL',
name: 'url',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}