You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
/**
|
|
|
|
|
* Stores 模块统一导出
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// User Store
|
|
|
|
|
export { useUserStore, useUser, useIsLoggedIn, useToken, restoreUserState } from './userStore';
|
|
|
|
|
export type { User } from './userStore';
|
|
|
|
|
|
|
|
|
|
// Settings Store
|
|
|
|
|
export {
|
|
|
|
|
useSettingsStore,
|
|
|
|
|
useTheme,
|
|
|
|
|
useLanguage,
|
|
|
|
|
useNotificationsEnabled,
|
|
|
|
|
useSoundEnabled,
|
|
|
|
|
useHapticsEnabled,
|
|
|
|
|
restoreSettingsState,
|
|
|
|
|
} from './settingsStore';
|
|
|
|
|
export type { Theme, Language } from './settingsStore';
|
|
|
|
|
|
|
|
|
|
// Tenant Store
|
|
|
|
|
export { default as useTenantStore, restoreTenantState } from './tenantStore';
|
|
|
|
|
|
|
|
|
|
// Game Store
|
|
|
|
|
export { default as useGameStore, restoreGameState } from './gameStore';
|
|
|
|
|
|
|
|
|
|
// Msg Store
|
|
|
|
|
export { default as useMsgStore, restoreMsgState } from './msgStore';
|