Download packages/preferences/src/index.ts from binhugg3/admin: direct link, hf CLI and curl.
- Browser
- Download file 501 Bytes
-
https://huggingface.co/spaces/binhugg3/admin/resolve/main/packages/preferences/src/index.ts
- Command line
-
hf download hf://spaces/binhugg3/admin/packages/preferences/src/index.ts
-
curl -L -o index.ts https://huggingface.co/spaces/binhugg3/admin/resolve/main/packages/preferences/src/index.ts
501 Bytes
| import type { Preferences } from '@vben-core/preferences'; | |
| import type { DeepPartial } from '@vben-core/typings'; | |
| /** | |
| * 如果你想所有的app都使用相同的默认偏好设置,你可以在这里定义 | |
| * 而不是去修改 @vben-core/preferences 中的默认偏好设置 | |
| * @param preferences | |
| * @returns | |
| */ | |
| function defineOverridesPreferences(preferences: DeepPartial<Preferences>) { | |
| return preferences; | |
| } | |
| export { defineOverridesPreferences }; | |
| export * from '@vben-core/preferences'; | |