mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 11:01:22 +03:00
e422ce287b
* indexing * fix for multiple files upsert * fix default Postgres port * fix SQLite node description * add MySQLRecordManager node * fix MySQL unique index * add upsert history * update jsx ui * lint-fix * update dialog details * update llamaindex pinecone --------- Co-authored-by: chungyau97 <chungyau97@gmail.com>
32 lines
759 B
TypeScript
32 lines
759 B
TypeScript
import { INodeParams, INodeCredential } from '../src/Interface'
|
|
|
|
class MySQLApi implements INodeCredential {
|
|
label: string
|
|
name: string
|
|
version: number
|
|
description: string
|
|
inputs: INodeParams[]
|
|
|
|
constructor() {
|
|
this.label = 'MySQL API'
|
|
this.name = 'MySQLApi'
|
|
this.version = 1.0
|
|
this.inputs = [
|
|
{
|
|
label: 'User',
|
|
name: 'user',
|
|
type: 'string',
|
|
placeholder: '<MYSQL_USERNAME>'
|
|
},
|
|
{
|
|
label: 'Password',
|
|
name: 'password',
|
|
type: 'password',
|
|
placeholder: '<MYSQL_PASSWORD>'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
module.exports = { credClass: MySQLApi }
|