Redis Credential : Additional Redis URL based credential

This commit is contained in:
vinodkiran
2023-10-20 16:33:32 +05:30
parent 26898a2230
commit b40b41bdbc
3 changed files with 62 additions and 22 deletions
@@ -0,0 +1,25 @@
import { INodeParams, INodeCredential } from '../src/Interface'
class RedisCacheUrlApi implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Redis Cache URL'
this.name = 'redisCacheUrlApi'
this.version = 1.0
this.inputs = [
{
label: 'Redis URL',
name: 'redisUrl',
type: 'string',
default: '127.0.0.1'
}
]
}
}
module.exports = { credClass: RedisCacheUrlApi }