diff --git a/packages/core/data-source-manager/src/default-actions/proxy-to-repository.ts b/packages/core/data-source-manager/src/default-actions/proxy-to-repository.ts index 7b71d2d9a..5183a20fb 100644 --- a/packages/core/data-source-manager/src/default-actions/proxy-to-repository.ts +++ b/packages/core/data-source-manager/src/default-actions/proxy-to-repository.ts @@ -1,6 +1,6 @@ -import { getRepositoryFromParams } from './utils'; import lodash from 'lodash'; -import { DataSource } from '@nocobase/data-source-manager'; +import { DataSource } from '../data-source'; +import { getRepositoryFromParams } from './utils'; export function proxyToRepository(paramKeys: string[] | ((ctx: any) => object), repositoryMethod: string) { return async function (ctx, next) { diff --git a/packages/core/data-source-manager/src/default-actions/utils.ts b/packages/core/data-source-manager/src/default-actions/utils.ts index fe6520673..9adbdf29a 100644 --- a/packages/core/data-source-manager/src/default-actions/utils.ts +++ b/packages/core/data-source-manager/src/default-actions/utils.ts @@ -1,5 +1,5 @@ import { Context } from '@nocobase/actions'; -import { DataSource, IRepository } from '@nocobase/data-source-manager'; +import { DataSource, IRepository } from '../'; export function pageArgsToLimitArgs( page: number,