n8n/packages/nodes-base/credentials/GitlabApi.credentials.ts
2021-06-12 18:39:55 +02:00

26 lines
457 B
TypeScript

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