mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-24 19:00:50 +03:00
656f6cad81
* Add Spider Scraper & Crawler * fix pnpm lint * chore: Update metadata to be correct format * fix pnpm lint
26 lines
698 B
TypeScript
26 lines
698 B
TypeScript
import { INodeParams, INodeCredential } from '../src/Interface'
|
|
|
|
class SpiderApiCredential implements INodeCredential {
|
|
label: string
|
|
name: string
|
|
version: number
|
|
description: string
|
|
inputs: INodeParams[]
|
|
|
|
constructor() {
|
|
this.label = 'Spider API'
|
|
this.name = 'spiderApi'
|
|
this.version = 1.0
|
|
this.description = 'Get your API key from the <a target="_blank" href="https://spider.cloud">Spider</a> dashboard.'
|
|
this.inputs = [
|
|
{
|
|
label: 'Spider API Key',
|
|
name: 'spiderApiKey',
|
|
type: 'password'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
module.exports = { credClass: SpiderApiCredential }
|