From e5a380ff394b6f1c2b8b77ad7505e78321c3f471 Mon Sep 17 00:00:00 2001 From: chenos Date: Sun, 3 Mar 2024 23:35:13 +0800 Subject: [PATCH] fix: import --- .../src/default-actions/proxy-to-repository.ts | 4 ++-- .../core/data-source-manager/src/default-actions/utils.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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,