n8n/packages/nodes-base/credentials/GitlabApi.credentials.ts

26 lines
482 B
TypeScript
Raw Normal View History

2019-10-16 16:49:09 -07:00
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class GitlabApi implements ICredentialType {
name = 'gitlabApi';
displayName = 'Gitlab API';
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: '',
},
];
}