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

25 lines
451 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';
properties = [
{
displayName: 'Gitlab Server',
name: 'server',
type: 'string' as NodePropertyTypes,
default: 'https://gitlab.com'
},
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}