dtamind-components
Version:
Apps integration for Dtamind. Contain Nodes and Credentials.
26 lines (22 loc) • 739 B
text/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 }