mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-19 19:24:01 +00:00
feat: add color theme user setting definition
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
- [UpdateUserSettingResponse](#slash-api-v2-UpdateUserSettingResponse)
|
||||
- [UserSetting](#slash-api-v2-UserSetting)
|
||||
|
||||
- [UserSetting.ColorTheme](#slash-api-v2-UserSetting-ColorTheme)
|
||||
- [UserSetting.Locale](#slash-api-v2-UserSetting-Locale)
|
||||
|
||||
- [UserSettingService](#slash-api-v2-UserSettingService)
|
||||
@@ -680,6 +681,7 @@
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| id | [int32](#int32) | | id is the user id. |
|
||||
| locale | [UserSetting.Locale](#slash-api-v2-UserSetting-Locale) | | locale is the user locale. |
|
||||
| color_theme | [UserSetting.ColorTheme](#slash-api-v2-UserSetting-ColorTheme) | | color_theme is the user color theme. |
|
||||
|
||||
|
||||
|
||||
@@ -688,6 +690,19 @@
|
||||
|
||||
|
||||
|
||||
<a name="slash-api-v2-UserSetting-ColorTheme"></a>
|
||||
|
||||
### UserSetting.ColorTheme
|
||||
|
||||
|
||||
| Name | Number | Description |
|
||||
| ---- | ------ | ----------- |
|
||||
| COLOR_THEME_UNSPECIFIED | 0 | |
|
||||
| COLOR_THEME_LIGHT | 1 | |
|
||||
| COLOR_THEME_DARK | 2 | |
|
||||
|
||||
|
||||
|
||||
<a name="slash-api-v2-UserSetting-Locale"></a>
|
||||
|
||||
### UserSetting.Locale
|
||||
|
Reference in New Issue
Block a user