fix: import
This commit is contained in:
parent
eda9a37e99
commit
e5a380ff39
@ -1,6 +1,6 @@
|
|||||||
import { getRepositoryFromParams } from './utils';
|
|
||||||
import lodash from 'lodash';
|
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) {
|
export function proxyToRepository(paramKeys: string[] | ((ctx: any) => object), repositoryMethod: string) {
|
||||||
return async function (ctx, next) {
|
return async function (ctx, next) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Context } from '@nocobase/actions';
|
import { Context } from '@nocobase/actions';
|
||||||
import { DataSource, IRepository } from '@nocobase/data-source-manager';
|
import { DataSource, IRepository } from '../';
|
||||||
|
|
||||||
export function pageArgsToLimitArgs(
|
export function pageArgsToLimitArgs(
|
||||||
page: number,
|
page: number,
|
||||||
|
Loading…
Reference in New Issue
Block a user