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

26 lines
714 B
TypeScript

import { INodeParams, INodeCredential } from '../src/Interface'
class WolframAlphaApp implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'WolframAlpha App ID'
this.name = 'wolframAlphaAppId'
this.version = 1.0
this.description = 'Get an App Id from <a target="_blank" href="https://developer.wolframalpha.com">Wolfram Alpha Portal</a>'
this.inputs = [
{
label: 'App ID',
name: 'wolframAlphaAppId',
type: 'password'
}
]
}
}
module.exports = { credClass: WolframAlphaApp }