mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
18 lines
433 B
TypeScript
18 lines
433 B
TypeScript
import type {configOptions} from '../../typings/config';
|
|
|
|
export const CONFIG_LOAD = 'CONFIG_LOAD';
|
|
export const CONFIG_RELOAD = 'CONFIG_RELOAD';
|
|
|
|
export interface ConfigLoadAction {
|
|
type: typeof CONFIG_LOAD;
|
|
config: configOptions;
|
|
now?: number;
|
|
}
|
|
|
|
export interface ConfigReloadAction {
|
|
type: typeof CONFIG_RELOAD;
|
|
config: configOptions;
|
|
now: number;
|
|
}
|
|
|
|
export type ConfigActions = ConfigLoadAction | ConfigReloadAction;
|