test(core): Fix typing issues in tests (no-changelog) (#10244)
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
import { filterListQueryMiddleware } from './filter';
|
||||
import { selectListQueryMiddleware } from './select';
|
||||
import { paginationListQueryMiddleware } from './pagination';
|
||||
import type { ListQuery } from '@/requests';
|
||||
import type { NextFunction, Response } from 'express';
|
||||
|
||||
export const listQueryMiddleware = [
|
||||
export type ListQueryMiddleware = (
|
||||
req: ListQuery.Request,
|
||||
res: Response,
|
||||
next: NextFunction,
|
||||
) => void;
|
||||
|
||||
export const listQueryMiddleware: ListQueryMiddleware[] = [
|
||||
filterListQueryMiddleware,
|
||||
selectListQueryMiddleware,
|
||||
paginationListQueryMiddleware,
|
||||
|
||||
Reference in New Issue
Block a user