mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-16 01:24:05 -08:00
ecd3bbfcd3
* 👕 Autofix creds lint issues * 👕 Manually fix creds lint issues * 👕 Fix indentation * ✏️ Fix typo * 👕 Fix indentation * ✏️ Fix typo
30 lines
587 B
TypeScript
30 lines
587 B
TypeScript
import {
|
|
ICredentialType,
|
|
INodeProperties,
|
|
} from 'n8n-workflow';
|
|
|
|
export class GitPassword implements ICredentialType {
|
|
name = 'gitPassword';
|
|
displayName = 'Git';
|
|
documentationUrl = 'git';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'Username',
|
|
name: 'username',
|
|
type: 'string',
|
|
default: '',
|
|
description: 'The username to authenticate with',
|
|
},
|
|
{
|
|
displayName: 'Password',
|
|
name: 'password',
|
|
type: 'string',
|
|
typeOptions: {
|
|
password: true,
|
|
},
|
|
default: '',
|
|
description: 'The password to use in combination with the user',
|
|
},
|
|
];
|
|
}
|