hyper/builder/typings/constants/config.d.ts
2025-08-10 02:06:07 -04:00

18 lines
422 B
TypeScript

import type {configOptions} from '../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;