import { INodeParams, INodeCredential } from '../src/Interface'
class BrowserlessApi implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Browserless API'
this.name = 'browserlessApi'
this.version = 1.0
this.description =
'Refer to official guide on how to get your API token from the Browserless dashboard'
this.inputs = [
{
label: 'API Token',
name: 'browserlessApiToken',
type: 'password',
placeholder: ''
}
]
}
}
module.exports = { credClass: BrowserlessApi }