File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import { useMemo } from 'react';
2121import { useTranslation } from 'react-i18next' ;
2222
2323import { getRouteListQueryOptions , useRouteList } from '@/apis/hooks' ;
24- import type { GetRouteListReqParams } from '@/apis/routes' ;
24+ import type { WithServiceIdFilter } from '@/apis/routes' ;
2525import { DeleteResourceBtn } from '@/components/page/DeleteResourceBtn' ;
2626import PageHeader from '@/components/page/PageHeader' ;
2727import { ToAddPageBtn , ToDetailPageBtn } from '@/components/page/ToAddPageBtn' ;
@@ -34,7 +34,7 @@ import type { ListPageKeys } from '@/utils/useTablePagination';
3434
3535export type RouteListProps = {
3636 routeKey : Extract < ListPageKeys , '/routes/' | '/services/detail/$id/routes/' > ;
37- defaultParams ?: Partial < GetRouteListReqParams > ;
37+ defaultParams ?: Partial < WithServiceIdFilter > ;
3838 ToDetailBtn : ( props : {
3939 record : APISIXType [ 'RespRouteItem' ] ;
4040 } ) => React . ReactNode ;
You can’t perform that action at this time.
0 commit comments