import { INodeParams, INodeCredential } from '../src/Interface'
class LunaryApi implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Lunary AI'
this.name = 'lunaryApi'
this.version = 1.0
this.description =
'Refer to the official guide to get a public key.'
this.inputs = [
{
label: 'Public Key / Project ID',
name: 'lunaryAppId',
type: 'string',
placeholder: ''
},
{
label: 'Endpoint',
name: 'lunaryEndpoint',
type: 'string',
default: 'https://api.lunary.ai'
}
]
}
}
module.exports = { credClass: LunaryApi }