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.
37 lines
645 B
37 lines
645 B
|
1 month ago
|
/**
|
||
|
|
* Stores 模块统一导出
|
||
|
|
*/
|
||
|
|
|
||
|
|
// User Store
|
||
|
|
export {
|
||
|
|
useUserStore,
|
||
|
|
useUser,
|
||
|
|
useIsLoggedIn,
|
||
|
|
useToken,
|
||
|
|
useUserActions,
|
||
|
|
restoreUserState,
|
||
|
|
} from './userStore';
|
||
|
|
export type { User } from './userStore';
|
||
|
|
|
||
|
|
// Settings Store
|
||
|
|
export {
|
||
|
|
useSettingsStore,
|
||
|
|
useTheme,
|
||
|
|
useLanguage,
|
||
|
|
useNotificationsEnabled,
|
||
|
|
useSoundEnabled,
|
||
|
|
useHapticsEnabled,
|
||
|
|
useSettingsActions,
|
||
|
|
restoreSettingsState,
|
||
|
|
} from './settingsStore';
|
||
|
|
export type { Theme, Language } from './settingsStore';
|
||
|
|
|
||
|
|
// Tenant Store
|
||
|
|
export {
|
||
|
|
default as useTenantStore,
|
||
|
|
useTenantInfo,
|
||
|
|
useTenantStates,
|
||
|
|
useTenantActions,
|
||
|
|
restoreTenantState,
|
||
|
|
} from './tenantStore';
|