import clsx from 'clsx'; import { IconDownload, IconRSForm, IconRSFormImported, IconRSFormOwned, IconSynthesis } from '@/components/Icons'; import ValueStats from '@/components/ui/ValueStats'; import { IOperationSchemaStats } from '@/models/oss'; interface OssStatsProps { stats: IOperationSchemaStats; } function OssStats({ stats }: OssStatsProps) { return (
Всего {stats.count_operations}
} value={stats.count_inputs} title='Загрузка' /> } value={stats.count_synthesis} title='Синтез' /> } value={stats.count_schemas} title='Прикрепленные схемы' /> } value={stats.count_owned} title='Собственные' /> } value={stats.count_schemas - stats.count_owned} title='Внешние' />
); } export default OssStats;