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

31 lines
606 B
TypeScript
Raw Normal View History

2019-11-26 12:38:38 -08:00
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class JiraSoftwareCloudApi implements ICredentialType {
name = 'jiraSoftwareCloudApi';
2019-12-02 13:40:24 -08:00
displayName = 'Jira SW Cloud API';
2019-11-26 12:38:38 -08:00
properties = [
{
2019-11-27 14:42:28 -08:00
displayName: 'Email',
name: 'email',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'API Token',
name: 'apiToken',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Domain',
name: 'domain',
2019-11-26 12:38:38 -08:00
type: 'string' as NodePropertyTypes,
default: '',
2020-02-06 19:03:29 -08:00
placeholder: 'https://example.atlassian.net',
2019-11-26 12:38:38 -08:00
},
];
}