mirror of https://github.com/hyper-tuner/types.git
27 lines
467 B
TypeScript
27 lines
467 B
TypeScript
import { Config } from './config';
|
|
import { Tune } from './tune';
|
|
|
|
export interface ConfigState extends Config {}
|
|
|
|
export interface TuneState extends Tune {}
|
|
|
|
export interface UIState {
|
|
sidebarCollapsed: boolean;
|
|
}
|
|
|
|
export interface StatusState {
|
|
text: string | null;
|
|
}
|
|
|
|
export interface AppState {
|
|
tune: TuneState;
|
|
config: ConfigState;
|
|
ui: UIState;
|
|
status: StatusState;
|
|
}
|
|
|
|
export interface UpdateTunePayload {
|
|
name: string;
|
|
value: string | number;
|
|
}
|