2021-06-05 13:43:54 -07:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2021-06-05 13:43:54 -07:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
export class GitPassword implements ICredentialType {
|
|
|
|
name = 'gitPassword';
|
|
|
|
displayName = 'Git';
|
2021-06-18 14:46:21 -07:00
|
|
|
documentationUrl = 'git';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2021-06-05 13:43:54 -07:00
|
|
|
{
|
|
|
|
displayName: 'Username',
|
|
|
|
name: 'username',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2021-06-05 13:43:54 -07:00
|
|
|
default: '',
|
2021-06-12 09:39:55 -07:00
|
|
|
description: 'The username to authenticate with.',
|
2021-06-05 13:43:54 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Password',
|
|
|
|
name: 'password',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2021-06-05 13:43:54 -07:00
|
|
|
typeOptions: {
|
|
|
|
password: true,
|
|
|
|
},
|
|
|
|
default: '',
|
|
|
|
description: 'The password to use in combination with the user',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|