hyper/lib/constants/config.ts

17 lines
355 B
TypeScript
Raw Normal View History

2016-07-13 12:44:24 -08:00
export const CONFIG_LOAD = 'CONFIG_LOAD';
export const CONFIG_RELOAD = 'CONFIG_RELOAD';
2019-12-27 06:33:21 -09:00
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;