fix(core): Fix direct import of DTOs (no-changelog) (#18472)

This commit is contained in:
Charlie Kolb
2025-08-18 11:47:37 +02:00
committed by GitHub
parent f8f54f896b
commit adaa1180eb
3 changed files with 3 additions and 4 deletions

View File

@@ -7,8 +7,8 @@ import type {
DataStoreListOptions,
DataStoreRows,
UpsertDataStoreRowsDto,
UpdateDataStoreDto,
} from '@n8n/api-types';
import { UpdateDataStoreDto } from '@n8n/api-types/src/dto/data-store/update-data-store.dto';
import { Logger } from '@n8n/backend-common';
import { Service } from '@n8n/di';

View File

@@ -1,5 +1,4 @@
import type { UnixTimestamp, UpdateApiKeyRequestDto } from '@n8n/api-types';
import type { CreateApiKeyRequestDto } from '@n8n/api-types/src/dto/api-keys/create-api-key-request.dto';
import type { CreateApiKeyRequestDto, UnixTimestamp, UpdateApiKeyRequestDto } from '@n8n/api-types';
import type { AuthenticatedRequest, User } from '@n8n/db';
import { ApiKey, ApiKeyRepository, UserRepository } from '@n8n/db';
import { Service } from '@n8n/di';

View File

@@ -1,4 +1,4 @@
import type { ImportWorkflowFromUrlDto } from '@n8n/api-types/src/dto/workflows/import-workflow-from-url.dto';
import type { ImportWorkflowFromUrlDto } from '@n8n/api-types';
import type { AuthenticatedRequest } from '@n8n/db';
import axios from 'axios';
import type { Response } from 'express';