chore: tweak user settings

This commit is contained in:
Steven
2024-07-23 22:39:05 +08:00
parent 6920313b77
commit 87deeca110
13 changed files with 192 additions and 615 deletions

View File

@ -724,23 +724,6 @@ definitions:
description: |-
expires_at is the expiration time of the access token.
If expires_at is not set, the access token will never expire.
UserSettingColorTheme:
type: string
enum:
- COLOR_THEME_UNSPECIFIED
- COLOR_THEME_SYSTEM
- COLOR_THEME_LIGHT
- COLOR_THEME_DARK
default: COLOR_THEME_UNSPECIFIED
UserSettingLocale:
type: string
enum:
- LOCALE_UNSPECIFIED
- LOCALE_EN
- LOCALE_ZH
- LOCALE_FR
- LOCALE_JA
default: LOCALE_UNSPECIFIED
apiv1AutoBackupWorkspaceSetting:
type: object
properties:
@ -845,10 +828,10 @@ definitions:
format: int32
description: id is the user id.
locale:
$ref: '#/definitions/UserSettingLocale'
type: string
description: locale is the user locale.
colorTheme:
$ref: '#/definitions/UserSettingColorTheme'
type: string
description: color_theme is the user color theme.
apiv1Visibility:
type: string