import type {InfoViewerItem} from '..'; import {InfoViewer} from '..'; import {getEntityName} from '../../../containers/Tenant/utils'; import {EIndexType} from '../../../types/api/schema'; import type {TEvDescribeSchemeResult} from '../../../types/api/schema'; import {cn} from '../../../utils/cn'; import i18n from './i18n'; import {buildFulltextIndexSettingsInfo, buildVectorIndexSettingsInfo} from './utils'; const b = cn('ydb-diagnostics-table-info'); interface TableIndexInfoProps { data?: TEvDescribeSchemeResult; } export const TableIndexInfo = ({data}: TableIndexInfoProps) => { const entityName = getEntityName(data?.PathDescription); if (!data) { return