fix(editor): Make resource locator work with data tables (no-changelog) (#18899)

This commit is contained in:
Jaakko Husso
2025-08-28 11:38:47 +03:00
committed by GitHub
parent d244b99484
commit ab7998b441
7 changed files with 36 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ declare module 'n8n-workflow' {
hooks?: ExecutionLifecycleHooks;
externalSecretsProxy: ExternalSecretsProxy;
dataStoreProxyProvider?: DataStoreProxyProvider;
dataStoreProjectId?: string;
}
}

View File

@@ -14,8 +14,17 @@ export function getDataStoreHelperFunctions(
const dataStoreProxyProvider = additionalData.dataStoreProxyProvider;
return {
getDataStoreAggregateProxy: async () =>
await dataStoreProxyProvider.getDataStoreAggregateProxy(workflow, node),
await dataStoreProxyProvider.getDataStoreAggregateProxy(
workflow,
node,
additionalData.dataStoreProjectId,
),
getDataStoreProxy: async (dataStoreId: string) =>
await dataStoreProxyProvider.getDataStoreProxy(workflow, node, dataStoreId),
await dataStoreProxyProvider.getDataStoreProxy(
workflow,
node,
dataStoreId,
additionalData.dataStoreProjectId,
),
};
}