This commit is contained in:
Piotr Rogowski 2021-09-27 20:45:35 +02:00
parent 4f1620ff7e
commit 7c833652fb
No known key found for this signature in database
GPG Key ID: F40F61D5587F5673
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,4 @@
export * from './types/config';
export * from './types/logs';
export * from './types/state';
export * from './types/tune';

5
src/types/logs.ts Normal file
View File

@ -0,0 +1,5 @@
export interface LogEntry {
[id: string]: number | string,
}
export type Logs = LogEntry[];

View File

@ -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;
}