mirror of https://github.com/hyper-tuner/types.git
commit
b77e48bcdd
|
@ -1,3 +1,4 @@
|
|||
export * from './types/config';
|
||||
export * from './types/logs';
|
||||
export * from './types/state';
|
||||
export * from './types/tune';
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
export interface LogEntry {
|
||||
[id: string]: number | string,
|
||||
}
|
||||
|
||||
export type Logs = LogEntry[];
|
|
@ -1,3 +1,4 @@
|
|||
import { Logs } from './logs';
|
||||
import { Config } from './config';
|
||||
import { Tune } from './tune';
|
||||
|
||||
|
@ -5,6 +6,8 @@ export interface ConfigState extends Config {}
|
|||
|
||||
export interface TuneState extends Tune {}
|
||||
|
||||
export interface LogsState extends Logs {}
|
||||
|
||||
export interface UIState {
|
||||
sidebarCollapsed: boolean;
|
||||
}
|
||||
|
@ -16,6 +19,7 @@ export interface StatusState {
|
|||
export interface AppState {
|
||||
tune: TuneState;
|
||||
config: ConfigState;
|
||||
logs: LogsState,
|
||||
ui: UIState;
|
||||
status: StatusState;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue