build: sync config

This commit is contained in:
jialin
2026-04-24 14:28:30 +08:00
committed by jialin
parent 48b357b1c6
commit 6c161c6ae7
55 changed files with 731 additions and 90 deletions
@@ -1,8 +1,11 @@
// columns.ts
import { tableSorter } from '@/config/settings';
import ModelTag from '@/pages/_components/model-tag';
import { AutoTooltip, DropdownButtons } from '@gpustack/core-ui';
import { type ColumnProps } from '@gpustack/core-ui/lib/components/table/types';
import {
AutoTooltip,
DropdownButtons,
type TableColumnProps
} from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import dayjs from 'dayjs';
import { useMemo } from 'react';
@@ -11,7 +14,7 @@ import { RouteItem } from '../config/types';
const useAccessColumns = (
handleSelect: (val: string, record: RouteItem) => void,
onCellClick?: (record: RouteItem, dataIndex: string) => void
): ColumnProps[] => {
): TableColumnProps[] => {
const intl = useIntl();
const filterActions = (record: RouteItem) => {