hyper/lib/constants/config.ts
2019-12-29 15:55:53 +01:00

16 lines
355 B
TypeScript

export const CONFIG_LOAD = 'CONFIG_LOAD';
export const CONFIG_RELOAD = 'CONFIG_RELOAD';
export interface ConfigLoadAction {
type: typeof CONFIG_LOAD;
config: any;
now?: number;
}
export interface ConfigReloadAction {
type: typeof CONFIG_RELOAD;
config: any;
now: number;
}
export type ConfigActions = ConfigLoadAction | ConfigReloadAction;