fix: import

This commit is contained in:
chenos 2024-03-03 23:35:13 +08:00
parent eda9a37e99
commit e5a380ff39
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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,