index.ts 415 B

12345678910111213141516171819
  1. import type { Preferences } from './types';
  2. import { preferencesManager } from './preferences';
  3. export const {
  4. getPreferences,
  5. updatePreferences,
  6. resetPreferences,
  7. clearCache,
  8. initPreferences,
  9. } = preferencesManager;
  10. export const preferences: Preferences = getPreferences();
  11. export { preferencesManager };
  12. export * from './constants';
  13. export type * from './types';
  14. export * from './use-preferences';