Add self hosted support to Sentry.io Node (#965)

This commit is contained in:
Ricardo Espinoza
2020-09-17 17:06:58 -04:00
committed by GitHub
parent 4192e7d3b4
commit a5655d0352
4 changed files with 109 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class SentryIoServerApi implements ICredentialType {
name = 'sentryIoServerApi';
displayName = 'Sentry.io API';
properties = [
{
displayName: 'Token',
name: 'token',
type: 'string' as NodePropertyTypes,
default: '',
}, {
displayName: 'URL',
name: 'url',
type: 'string' as NodePropertyTypes,
default: '',
placeholder: 'https://example.com',
},
];
}