import { IUser } from "./schema";
import type Modals from "../components/modals";
import Modal from "../components/modals";

/**
 * The state definition
 */
export interface IState {
	user        : IUser | null,
	modalName   : Modal | null,
	modalVisible: boolean
}

/**
 * The state implementation
 */
export const state: IState = {
	user: null,
	modalName: null,
	modalVisible: false,
};
