import { RoleType, PageType } from '@/constants/app';
import { UserMessage } from '@/types/message';

import { LocationInfo } from './location';
import { UserInfo } from './user';

export interface IState {
  appState: AppState;
  userInfo: UserInfo;
  message: UserMessage;
}

export interface AppState {
  roleType: RoleType;
  homePageType: PageType;
  location: LocationInfo;
}
