gitlab credentials and triggers

This commit is contained in:
Luca Faggianelli
2019-10-17 01:49:09 +02:00
parent b8f0585185
commit 15bb156e81
4 changed files with 328 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class GitlabApi implements ICredentialType {
name = 'gitlabApi';
displayName = 'Gitlab API';
properties = [
{
displayName: 'Gitlab Server',
name: 'server',
type: 'string' as NodePropertyTypes,
default: 'https://gitlab.com'
},
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}