mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
29 lines
585 B
TypeScript
29 lines
585 B
TypeScript
|
import {
|
||
|
ICredentialType,
|
||
|
NodePropertyTypes,
|
||
|
} from 'n8n-workflow';
|
||
|
|
||
|
export class GitPassword implements ICredentialType {
|
||
|
name = 'gitPassword';
|
||
|
displayName = 'Git';
|
||
|
properties = [
|
||
|
{
|
||
|
displayName: 'Username',
|
||
|
name: 'username',
|
||
|
type: 'string' as NodePropertyTypes,
|
||
|
default: '',
|
||
|
decription: 'The username to authenticate with.',
|
||
|
},
|
||
|
{
|
||
|
displayName: 'Password',
|
||
|
name: 'password',
|
||
|
type: 'string' as NodePropertyTypes,
|
||
|
typeOptions: {
|
||
|
password: true,
|
||
|
},
|
||
|
default: '',
|
||
|
description: 'The password to use in combination with the user',
|
||
|
},
|
||
|
];
|
||
|
}
|