2022-07-24 08:36:17 -07:00
|
|
|
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2021-06-05 13:43:54 -07:00
|
|
|
|
|
|
|
export class GitPassword implements ICredentialType {
|
|
|
|
name = 'gitPassword';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-06-05 13:43:54 -07:00
|
|
|
displayName = 'Git';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-06-18 14:46:21 -07:00
|
|
|
documentationUrl = 'git';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
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: '',
|
2022-04-13 23:32:27 -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',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|