mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 13:00:56 +03:00
add credentials
This commit is contained in:
@@ -59,7 +59,9 @@ export interface INodeParams {
|
||||
description?: string
|
||||
warning?: string
|
||||
options?: Array<INodeOptionsValue>
|
||||
credentialNames?: Array<string>
|
||||
optional?: boolean | INodeDisplay
|
||||
step?: number
|
||||
rows?: number
|
||||
list?: boolean
|
||||
acceptVariable?: boolean
|
||||
@@ -102,10 +104,18 @@ export interface INodeData extends INodeProperties {
|
||||
id: string
|
||||
inputs?: ICommonObject
|
||||
outputs?: ICommonObject
|
||||
credential?: string
|
||||
instance?: any
|
||||
loadMethod?: string // method to load async options
|
||||
}
|
||||
|
||||
export interface INodeCredential {
|
||||
label: string
|
||||
name: string
|
||||
description?: string
|
||||
inputs?: INodeParams[]
|
||||
}
|
||||
|
||||
export interface IMessage {
|
||||
message: string
|
||||
type: MessageType
|
||||
|
||||
Reference in New Issue
Block a user