mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-24 23:00:55 +03:00
b55f87cc40
* add firecrawl * Update FireCrawl.ts (#2692) --------- Co-authored-by: Eric Ciarla <43451761+ericciarla@users.noreply.github.com>
27 lines
757 B
TypeScript
27 lines
757 B
TypeScript
import { INodeParams, INodeCredential } from '../src/Interface'
|
|
|
|
class FireCrawlApiCredential implements INodeCredential {
|
|
label: string
|
|
name: string
|
|
version: number
|
|
description: string
|
|
inputs: INodeParams[]
|
|
|
|
constructor() {
|
|
this.label = 'FireCrawl API'
|
|
this.name = 'fireCrawlApi'
|
|
this.version = 1.0
|
|
this.description =
|
|
'You can find the FireCrawl API token on your <a target="_blank" href="https://www.firecrawl.dev/">FireCrawl account</a> page.'
|
|
this.inputs = [
|
|
{
|
|
label: 'FireCrawl API',
|
|
name: 'firecrawlApiToken',
|
|
type: 'password'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
module.exports = { credClass: FireCrawlApiCredential }
|