mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
feat(Data Table Node): Enable Data Table as Tool (no-changelog) (#19041)
This commit is contained in:
@@ -35,7 +35,7 @@ export class DataStoreProxyService implements DataStoreProxyProvider {
|
||||
}
|
||||
|
||||
private validateRequest(node: INode) {
|
||||
if (node.type !== 'n8n-nodes-base.dataTable') {
|
||||
if (node.type !== 'n8n-nodes-base.dataTable' && node.type !== 'n8n-nodes-base.dataTableTool') {
|
||||
throw new Error('This proxy is only available for data table nodes');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -227,6 +227,7 @@ export const TELEGRAM_TRIGGER_NODE_TYPE = 'n8n-nodes-base.telegramTrigger';
|
||||
export const FACEBOOK_LEAD_ADS_TRIGGER_NODE_TYPE = 'n8n-nodes-base.facebookLeadAdsTrigger';
|
||||
export const RESPOND_TO_WEBHOOK_NODE_TYPE = 'n8n-nodes-base.respondToWebhook';
|
||||
export const DATA_STORE_NODE_TYPE = 'n8n-nodes-base.dataTable';
|
||||
export const DATA_STORE_TOOL_NODE_TYPE = 'n8n-nodes-base.dataTableTool';
|
||||
|
||||
export const CREDENTIAL_ONLY_NODE_PREFIX = 'n8n-creds-base';
|
||||
export const CREDENTIAL_ONLY_HTTP_NODE_VERSION = 4.1;
|
||||
@@ -254,9 +255,9 @@ export const NODES_USING_CODE_NODE_EDITOR = [
|
||||
AI_CODE_NODE_TYPE,
|
||||
AI_TRANSFORM_NODE_TYPE,
|
||||
];
|
||||
|
||||
export const MODULE_ENABLED_NODES = [
|
||||
{ nodeType: DATA_STORE_NODE_TYPE, module: DATA_STORE_MODULE_NAME },
|
||||
{ nodeType: DATA_STORE_TOOL_NODE_TYPE, module: DATA_STORE_MODULE_NAME },
|
||||
];
|
||||
|
||||
export const NODE_POSITION_CONFLICT_ALLOWLIST = [STICKY_NODE_TYPE];
|
||||
|
||||
Reference in New Issue
Block a user