mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
25 lines
451 B
TypeScript
25 lines
451 B
TypeScript
|
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: '',
|
||
|
},
|
||
|
];
|
||
|
}
|