2019-10-16 16:49:09 -07:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2019-10-16 16:49:09 -07:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
|
|
|
|
export class GitlabApi implements ICredentialType {
|
|
|
|
name = 'gitlabApi';
|
|
|
|
displayName = 'Gitlab API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'gitlab';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2019-10-16 16:49:09 -07:00
|
|
|
{
|
|
|
|
displayName: 'Gitlab Server',
|
|
|
|
name: 'server',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
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',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2019-10-16 16:49:09 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|