n8n/packages/nodes-base/credentials/GitPassword.credentials.ts

30 lines
588 B
TypeScript
Raw Normal View History

import {
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class GitPassword implements ICredentialType {
name = 'gitPassword';
displayName = 'Git';
2021-06-18 14:46:21 -07:00
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',
},
];
}