add Milvus

This commit is contained in:
Henry
2023-08-17 21:23:40 +01:00
parent bfa14fb290
commit b4c2550c77
9 changed files with 503 additions and 280 deletions
@@ -0,0 +1,31 @@
import { INodeParams, INodeCredential } from '../src/Interface'
class MilvusCredential implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Milvus Auth'
this.name = 'milvusAuth'
this.version = 1.0
this.description =
'You can find the Milvus Authentication from <a target="_blank" href="https://milvus.io/docs/authenticate.md#Authenticate-User-Access">here</a> page.'
this.inputs = [
{
label: 'Milvus User',
name: 'milvusUser',
type: 'string'
},
{
label: 'Milvus Password',
name: 'milvusPassword',
type: 'password'
}
]
}
}
module.exports = { credClass: MilvusCredential }