mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Minor improvements to QuestDb-Node
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { ICredentialType, NodePropertyTypes } from 'n8n-workflow';
|
import { ICredentialType, NodePropertyTypes } from 'n8n-workflow';
|
||||||
|
|
||||||
export class QuestDB implements ICredentialType {
|
export class QuestDb implements ICredentialType {
|
||||||
name = 'questdb';
|
name = 'questDb';
|
||||||
displayName = 'QuestDB';
|
displayName = 'QuestDB';
|
||||||
properties = [
|
properties = [
|
||||||
{
|
{
|
||||||
@@ -5,10 +5,10 @@ import * as pgPromise from 'pg-promise';
|
|||||||
|
|
||||||
import { pgInsert, pgQuery, pgUpdate } from '../Postgres/Postgres.node.functions';
|
import { pgInsert, pgQuery, pgUpdate } from '../Postgres/Postgres.node.functions';
|
||||||
|
|
||||||
export class QuestDB implements INodeType {
|
export class QuestDb implements INodeType {
|
||||||
description: INodeTypeDescription = {
|
description: INodeTypeDescription = {
|
||||||
displayName: 'QuestDB',
|
displayName: 'QuestDB',
|
||||||
name: 'questdb',
|
name: 'questDb',
|
||||||
icon: 'file:questdb.png',
|
icon: 'file:questdb.png',
|
||||||
group: ['input'],
|
group: ['input'],
|
||||||
version: 1,
|
version: 1,
|
||||||
@@ -21,7 +21,7 @@ export class QuestDB implements INodeType {
|
|||||||
outputs: ['main'],
|
outputs: ['main'],
|
||||||
credentials: [
|
credentials: [
|
||||||
{
|
{
|
||||||
name: 'questdb',
|
name: 'questDb',
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -176,7 +176,7 @@ export class QuestDB implements INodeType {
|
|||||||
};
|
};
|
||||||
|
|
||||||
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
||||||
const credentials = this.getCredentials('questdb');
|
const credentials = this.getCredentials('questDb');
|
||||||
|
|
||||||
if (credentials === undefined) {
|
if (credentials === undefined) {
|
||||||
throw new Error('No credentials got returned!');
|
throw new Error('No credentials got returned!');
|
||||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
@@ -112,7 +112,7 @@
|
|||||||
"dist/credentials/PipedriveApi.credentials.js",
|
"dist/credentials/PipedriveApi.credentials.js",
|
||||||
"dist/credentials/Postgres.credentials.js",
|
"dist/credentials/Postgres.credentials.js",
|
||||||
"dist/credentials/PostmarkApi.credentials.js",
|
"dist/credentials/PostmarkApi.credentials.js",
|
||||||
"dist/credentials/Questdb.credentials.js",
|
"dist/credentials/QuestDb.credentials.js",
|
||||||
"dist/credentials/Redis.credentials.js",
|
"dist/credentials/Redis.credentials.js",
|
||||||
"dist/credentials/RocketchatApi.credentials.js",
|
"dist/credentials/RocketchatApi.credentials.js",
|
||||||
"dist/credentials/RundeckApi.credentials.js",
|
"dist/credentials/RundeckApi.credentials.js",
|
||||||
@@ -261,7 +261,7 @@
|
|||||||
"dist/nodes/Pipedrive/PipedriveTrigger.node.js",
|
"dist/nodes/Pipedrive/PipedriveTrigger.node.js",
|
||||||
"dist/nodes/Postgres/Postgres.node.js",
|
"dist/nodes/Postgres/Postgres.node.js",
|
||||||
"dist/nodes/Postmark/PostmarkTrigger.node.js",
|
"dist/nodes/Postmark/PostmarkTrigger.node.js",
|
||||||
"dist/nodes/QuestDB/QuestDB.node.js",
|
"dist/nodes/QuestDb/QuestDb.node.js",
|
||||||
"dist/nodes/ReadBinaryFile.node.js",
|
"dist/nodes/ReadBinaryFile.node.js",
|
||||||
"dist/nodes/ReadBinaryFiles.node.js",
|
"dist/nodes/ReadBinaryFiles.node.js",
|
||||||
"dist/nodes/ReadPdf.node.js",
|
"dist/nodes/ReadPdf.node.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user