n8n/packages/nodes-base/credentials/GitlabApi.credentials.ts
Jan Oberhauser 40c2acd77b 👕 Fix lint issue
2020-10-22 15:46:03 +02:00

26 lines
482 B
TypeScript

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