mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-25 15:01:03 +03:00
265de4e97e
* Added Openserch credential * fix issues detected by linter * rename to camelcase openSearchUrl * Update OpenSearch.ts --------- Co-authored-by: patrick <patrick.alves@br.experian.com> Co-authored-by: Henry Heng <henryheng@flowiseai.com>
25 lines
565 B
TypeScript
25 lines
565 B
TypeScript
import { INodeParams, INodeCredential } from '../src/Interface'
|
|
|
|
class OpenSearchUrl implements INodeCredential {
|
|
label: string
|
|
name: string
|
|
version: number
|
|
description: string
|
|
inputs: INodeParams[]
|
|
|
|
constructor() {
|
|
this.label = 'OpenSearch'
|
|
this.name = 'openSearchUrl'
|
|
this.version = 1.0
|
|
this.inputs = [
|
|
{
|
|
label: 'OpenSearch Url',
|
|
name: 'openSearchUrl',
|
|
type: 'string'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
module.exports = { credClass: OpenSearchUrl }
|