2019-10-16 16:49:09 -07:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
|
|
|
NodePropertyTypes,
|
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
|
|
|
|
export class GitlabApi implements ICredentialType {
|
|
|
|
name = 'gitlabApi';
|
|
|
|
displayName = 'Gitlab API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'gitlab';
|
2019-10-16 16:49:09 -07:00
|
|
|
properties = [
|
|
|
|
{
|
|
|
|
displayName: 'Gitlab Server',
|
|
|
|
name: 'server',
|
|
|
|
type: 'string' as NodePropertyTypes,
|
2020-10-22 06:46:03 -07:00
|
|
|
default: 'https://gitlab.com',
|
2019-10-16 16:49:09 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Access Token',
|
|
|
|
name: 'accessToken',
|
|
|
|
type: 'string' as NodePropertyTypes,
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|