File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 22 display : flex ;
33 justify-content : center ;
44
5- width : 18 px ;
5+ width : 23 px ;
66 height : 18px ;
77
88 font-size : 10px ;
Original file line number Diff line number Diff line change 11import DataTable from '@gravity-ui/react-data-table' ;
22
3+ import { EType } from '../types/api/tablet' ;
4+
35const SECOND = 1000 ;
46
57export const AUTO_RELOAD_INTERVAL = 10 * SECOND ;
@@ -40,17 +42,18 @@ export const TABLET_COLORS = {
4042} ;
4143
4244export const TABLET_SYMBOLS = {
43- OldTxProxy : 'P' ,
44- TxProxy : 'P' ,
45- BSController : 'BS' ,
46- Dummy : 'DY' ,
47- RTMRPartition : 'RP' ,
48- PersQueueReadBalancer : 'PB' ,
49- Cms : 'CM' ,
50- BlockStorePartition : 'BP' ,
51- BlockStoreVolume : 'BV' ,
52- Console : 'CN' ,
53- TenantSlotBroker : 'TB' ,
45+ [ EType . OldTxProxy ] : 'P' ,
46+ [ EType . TxProxy ] : 'P' ,
47+ [ EType . BSController ] : 'BS' ,
48+ [ EType . Dummy ] : 'DY' ,
49+ [ EType . RTMRPartition ] : 'RP' ,
50+ [ EType . PersQueueReadBalancer ] : 'PB' ,
51+ [ EType . Cms ] : 'CM' ,
52+ [ EType . BlockStorePartition ] : 'BP' ,
53+ [ EType . BlockStoreVolume ] : 'BV' ,
54+ [ EType . Console ] : 'CN' ,
55+ [ EType . TenantSlotBroker ] : 'TB' ,
56+ [ EType . BlockStoreDiskRegistry ] : 'BDR' ,
5457} ;
5558
5659const isTabletType = ( type : string ) : type is keyof typeof TABLET_SYMBOLS => type in TABLET_SYMBOLS ;
You can’t perform that action at this time.
0 commit comments