Files
ruoyi-plus-vben5/packages/@core/preferences/src/index.ts
ppxb 24d20ca9ee refactor: preference manager and export (#7068)
* fix: preferences drawer outline z-index

* refactor: preferencesManager and exports
2026-01-06 12:42:32 +08:00

20 lines
415 B
TypeScript

import type { Preferences } from './types';
import { preferencesManager } from './preferences';
export const {
getPreferences,
updatePreferences,
resetPreferences,
clearCache,
initPreferences,
} = preferencesManager;
export const preferences: Preferences = getPreferences();
export { preferencesManager };
export * from './constants';
export type * from './types';
export * from './use-preferences';