mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
refactor(core): Enable import/order eslint rule (#10794)
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
import type { Scope } from '@n8n/permissions';
|
||||
import type { AiAssistantSDK } from '@n8n_io/ai-assistant-sdk';
|
||||
import { Expose } from 'class-transformer';
|
||||
import { IsBoolean, IsEmail, IsIn, IsOptional, IsString, Length } from 'class-validator';
|
||||
import type express from 'express';
|
||||
import type {
|
||||
BannerName,
|
||||
@@ -12,22 +16,19 @@ import type {
|
||||
IUser,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import { Expose } from 'class-transformer';
|
||||
import { IsBoolean, IsEmail, IsIn, IsOptional, IsString, Length } from 'class-validator';
|
||||
import { NoXss } from '@/validators/no-xss.validator';
|
||||
import type { PublicUser, SecretsProvider, SecretsProviderState } from '@/interfaces';
|
||||
import type { CredentialsEntity } from '@/databases/entities/credentials-entity';
|
||||
import type { Project, ProjectType } from '@/databases/entities/project';
|
||||
import { AssignableRole } from '@/databases/entities/user';
|
||||
import type { GlobalRole, User } from '@/databases/entities/user';
|
||||
import type { Variables } from '@/databases/entities/variables';
|
||||
import type { WorkflowEntity } from '@/databases/entities/workflow-entity';
|
||||
import type { CredentialsEntity } from '@/databases/entities/credentials-entity';
|
||||
import type { WorkflowHistory } from '@/databases/entities/workflow-history';
|
||||
import type { Project, ProjectType } from '@/databases/entities/project';
|
||||
import type { ProjectRole } from './databases/entities/project-relation';
|
||||
import type { Scope } from '@n8n/permissions';
|
||||
import type { ScopesField } from './services/role.service';
|
||||
import type { AiAssistantSDK } from '@n8n_io/ai-assistant-sdk';
|
||||
import type { PublicUser, SecretsProvider, SecretsProviderState } from '@/interfaces';
|
||||
import { NoUrl } from '@/validators/no-url.validator';
|
||||
import { NoXss } from '@/validators/no-xss.validator';
|
||||
|
||||
import type { ProjectRole } from './databases/entities/project-relation';
|
||||
import type { ScopesField } from './services/role.service';
|
||||
|
||||
export class UserUpdatePayload implements Pick<User, 'email' | 'firstName' | 'lastName'> {
|
||||
@Expose()
|
||||
|
||||
Reference in New Issue
Block a user