import { INodeParams, INodeCredential } from '../src/Interface' class GithubApi implements INodeCredential { label: string name: string version: number description: string inputs: INodeParams[] constructor() { this.label = 'Github API' this.name = 'githubApi' this.version = 1.0 this.description = 'Refer to official guide on how to get accessToken on Github' this.inputs = [ { label: 'Access Token', name: 'accessToken', type: 'password', placeholder: '' } ] } } module.exports = { credClass: GithubApi }