mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
chore: refactoring (naming convention)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { INodeParams, INodeCredential } from '../src/Interface'
|
import { INodeParams, INodeCredential } from '../src/Interface'
|
||||||
|
|
||||||
class AstraApi implements INodeCredential {
|
class AstraDBApi implements INodeCredential {
|
||||||
label: string
|
label: string
|
||||||
name: string
|
name: string
|
||||||
version: number
|
version: number
|
||||||
@@ -8,12 +8,12 @@ class AstraApi implements INodeCredential {
|
|||||||
inputs: INodeParams[]
|
inputs: INodeParams[]
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.label = 'Astra API'
|
this.label = 'Astra DB API'
|
||||||
this.name = 'AstraApi'
|
this.name = 'AstraDBApi'
|
||||||
this.version = 1.0
|
this.version = 1.0
|
||||||
this.inputs = [
|
this.inputs = [
|
||||||
{
|
{
|
||||||
label: 'Colection Name',
|
label: 'Collection Name',
|
||||||
name: 'collectionName',
|
name: 'collectionName',
|
||||||
type: 'string'
|
type: 'string'
|
||||||
},
|
},
|
||||||
@@ -31,4 +31,4 @@ class AstraApi implements INodeCredential {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = { credClass: AstraApi }
|
module.exports = { credClass: AstraDBApi }
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class Astra_VectorStores implements INode {
|
|||||||
label: 'Connect Credential',
|
label: 'Connect Credential',
|
||||||
name: 'credential',
|
name: 'credential',
|
||||||
type: 'credential',
|
type: 'credential',
|
||||||
credentialNames: ['AstraApi']
|
credentialNames: ['AstraDBApi']
|
||||||
}
|
}
|
||||||
this.inputs = [
|
this.inputs = [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user