mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-05-31 01:11:05 +00:00
Frontend stuff
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { Types } from '@dotstats/common';
|
||||
import { Node } from './Node';
|
||||
|
||||
export interface State {
|
||||
best: Types.BlockNumber,
|
||||
nodes: Map<Types.NodeId, Node.Props>
|
||||
}
|
||||
|
||||
export type Update = <K extends keyof State>(changes: Pick<State, K> | null) => Readonly<State>;
|
||||
Reference in New Issue
Block a user