Add parameter type "hidden"

This commit is contained in:
Jan Oberhauser
2020-02-09 13:33:40 -08:00
parent 928bf4dc68
commit 6bff3dc199
4 changed files with 26 additions and 3 deletions

View File

@@ -1,15 +1,21 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class GithubOAuth2Api implements ICredentialType {
name = 'githubOAuth2Api';
// name = 'oAuth2Api/githubOAuth2Api';
extends = [
'oAuth2Api',
];
displayName = 'Github OAuth2 API';
properties = [
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
default: '',
},
];
}