refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270)
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
/* eslint-disable no-underscore-dangle */
|
||||
import { Client, Entry as LdapUser, ClientOptions } from 'ldapts';
|
||||
import type { Entry as LdapUser, ClientOptions } from 'ldapts';
|
||||
import { Client } from 'ldapts';
|
||||
import type { LdapConfig } from './types';
|
||||
import { formatUrl, getMappingAttributes } from './helpers';
|
||||
import { BINARY_AD_ATTRIBUTES } from './constants';
|
||||
import { ConnectionOptions } from 'tls';
|
||||
import type { ConnectionOptions } from 'tls';
|
||||
|
||||
export class LdapService {
|
||||
private client: Client | undefined;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Entry as LdapUser } from 'ldapts';
|
||||
import { LoggerProxy as Logger } from 'n8n-workflow';
|
||||
import { QueryFailedError } from 'typeorm/error/QueryFailedError';
|
||||
import { LdapService } from './LdapService.ee';
|
||||
import type { LdapService } from './LdapService.ee';
|
||||
import type { LdapConfig } from './types';
|
||||
import {
|
||||
getLdapUserRole,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { RunningMode } from '@db/entities/AuthProviderSyncHistory';
|
||||
import { AuthenticatedRequest } from '@/requests';
|
||||
import type { AuthenticatedRequest } from '@/requests';
|
||||
|
||||
export type ConnectionSecurity = 'none' | 'tls' | 'startTls';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user