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

25 lines
452 B
TypeScript
Raw Normal View History

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2020-01-05 15:47:55 -08:00
export class BitbucketApi implements ICredentialType {
name = 'bitbucketApi';
2020-01-05 15:47:55 -08:00
displayName = 'Bitbucket API';
documentationUrl = 'bitbucket';
properties: INodeProperties[] = [
2020-01-05 15:47:55 -08:00
{
displayName: 'Username',
name: 'username',
type: 'string',
2020-01-05 15:47:55 -08:00
default: '',
},
{
2020-01-06 10:33:22 -08:00
displayName: 'App Password',
2020-01-05 15:47:55 -08:00
name: 'appPassword',
type: 'string',
2020-01-05 15:47:55 -08:00
default: '',
},
];
}