refactor(editor): Extract API Requests into @n8n/rest-api-client package (no-changelog) (#15930)

This commit is contained in:
Alex Grozav
2025-06-05 12:08:10 +02:00
committed by GitHub
parent a18822af0e
commit 6cf07200dc
90 changed files with 502 additions and 279 deletions

View File

@@ -1,5 +1,6 @@
import type { ILdapConfig, ILdapSyncData, IRestApiContext } from '@/Interface';
import { makeRestApiRequest } from '@/utils/apiUtils';
import type { ILdapConfig, ILdapSyncData } from '@/Interface';
import type { IRestApiContext } from '@n8n/rest-api-client';
import { makeRestApiRequest } from '@n8n/rest-api-client';
import type { IDataObject } from 'n8n-workflow';
export async function getLdapConfig(context: IRestApiContext): Promise<ILdapConfig> {