25 lines
554 B
TypeScript
25 lines
554 B
TypeScript
import { INodeParams, INodeCredential } from '../src/Interface'
|
|
|
|
class QdrantApi implements INodeCredential {
|
|
label: string
|
|
name: string
|
|
version: number
|
|
description: string
|
|
inputs: INodeParams[]
|
|
|
|
constructor() {
|
|
this.label = 'Qdrant API'
|
|
this.name = 'qdrantApi'
|
|
this.version = 1.0
|
|
this.inputs = [
|
|
{
|
|
label: 'Qdrant API Key',
|
|
name: 'qdrantApiKey',
|
|
type: 'password'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
module.exports = { credClass: QdrantApi }
|