Add Strapi-Node (#1143)

*  Strapi-Node

*  Small improvements

*  Small improvement
This commit is contained in:
Ricardo Espinoza
2020-11-11 03:44:53 -05:00
committed by GitHub
parent 702a8bf3bf
commit a5ecf3d58d
6 changed files with 746 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
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: '',
},
];
}