index.ts 431 B

12345678910111213141516
  1. import type { Preferences } from '@vben-core/preferences';
  2. import type { DeepPartial } from '@vben-core/typings';
  3. /**
  4. * 如果你想所有的app都使用相同的默认偏好设置,你可以在这里定义
  5. * @param preferences
  6. * @returns
  7. */
  8. function defineOverridesPreferences(preferences: DeepPartial<Preferences>) {
  9. return preferences;
  10. }
  11. export { defineOverridesPreferences };
  12. export * from '@vben-core/preferences';