feat: add apifyApiToken credentials v1

This commit is contained in:
drobnikj
2023-08-01 10:22:51 +02:00
parent f3d74248dd
commit 3aa301119b
2 changed files with 42 additions and 8 deletions
@@ -0,0 +1,26 @@
import { INodeParams, INodeCredential } from '../src/Interface'
class ApifyApi implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Apify API'
this.name = 'apifyApi'
this.version = 1.0
this.description =
'You can find the Apify API token on your <a target="_blank" href="https://my.apify.com/account#/integrations">Apify account</a> page.'
this.inputs = [
{
label: 'Apify API',
name: 'apifyApiToken',
type: 'password'
}
]
}
}
module.exports = { credClass: ApifyApi }