Added Opensearch credential (#2458)

* 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>
This commit is contained in:
patrickreinan
2024-05-23 07:49:15 -03:00
committed by GitHub
parent ff2381741e
commit 265de4e97e
2 changed files with 42 additions and 13 deletions
@@ -0,0 +1,24 @@
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 }