mirror of
https://github.com/pawelmalak/flame.git
synced 2026-02-28 09:23:12 +08:00
Rewritten some parts of redux store to use typescript interfaces
This commit is contained in:
@@ -5,4 +5,9 @@ export interface App {
|
||||
icon: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}
|
||||
|
||||
export interface AppResponse {
|
||||
success: boolean;
|
||||
data: App[]
|
||||
}
|
||||
7
client/src/interfaces/GlobalState.ts
Normal file
7
client/src/interfaces/GlobalState.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { State as AppState } from '../store/reducers/app';
|
||||
import { State as ThemeState } from '../store/reducers/theme';
|
||||
|
||||
export interface GlobalState {
|
||||
theme: ThemeState;
|
||||
app: AppState;
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
export * from './App';
|
||||
export * from './Theme';
|
||||
export * from './Theme';
|
||||
export * from './GlobalState';
|
||||
Reference in New Issue
Block a user