UNPKG

n8n-nodes-redis-message-aggregator

Version:

n8n custom node để gom tin nhắn từ nhiều trigger với Redis và intelligent delay

126 lines 4.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RedisApi = void 0; class RedisApi { constructor() { this.name = 'redisApi'; this.displayName = 'Redis API'; this.documentationUrl = 'https://redis.io/docs'; this.properties = [ { displayName: 'Connection Type', name: 'connectionType', type: 'options', options: [ { name: 'Host & Port', value: 'host', }, { name: 'Connection String', value: 'connectionString', }, ], default: 'host', }, { displayName: 'Host', name: 'host', type: 'string', default: 'localhost', placeholder: 'localhost', displayOptions: { show: { connectionType: ['host'], }, }, }, { displayName: 'Port', name: 'port', type: 'number', default: 6379, displayOptions: { show: { connectionType: ['host'], }, }, }, { displayName: 'Connection String', name: 'connectionString', type: 'string', default: '', placeholder: 'redis://localhost:6379', description: 'Redis connection string (redis://username:password@host:port/db)', displayOptions: { show: { connectionType: ['connectionString'], }, }, }, { displayName: 'Password', name: 'password', type: 'string', typeOptions: { password: true, }, default: '', description: 'Redis password (optional)', displayOptions: { show: { connectionType: ['host'], }, }, }, { displayName: 'Database', name: 'database', type: 'number', default: 0, description: 'Redis database number (0-15)', displayOptions: { show: { connectionType: ['host'], }, }, }, { displayName: 'Use TLS', name: 'useTLS', type: 'boolean', default: false, description: 'Use TLS/SSL connection', displayOptions: { show: { connectionType: ['host'], }, }, }, { displayName: 'Connection Timeout (ms)', name: 'connectTimeout', type: 'number', default: 5000, description: 'Connection timeout in milliseconds', }, { displayName: 'Command Timeout (ms)', name: 'commandTimeout', type: 'number', default: 3000, description: 'Command timeout in milliseconds', }, { displayName: 'Max Retries Per Request', name: 'maxRetriesPerRequest', type: 'number', default: 1, description: 'Maximum number of retries per request', }, ]; } } exports.RedisApi = RedisApi; //# sourceMappingURL=RedisApi.credentials.js.map