Flowise/packages/components/credentials/ChromaApi.credential.ts

25 lines
554 B
TypeScript

import { INodeParams, INodeCredential } from '../src/Interface'
class ChromaApi implements INodeCredential {
label: string
name: string
description: string
version: number
inputs: INodeParams[]
constructor() {
this.label = 'Chroma API'
this.name = 'chromaApi'
this.version = 1.0
this.inputs = [
{
label: 'Chroma Api Key',
name: 'chromaApiKey',
type: 'password'
}
]
}
}
module.exports = { credClass: ChromaApi }